of     1   

TheLionLiar
#225788989Saturday, September 30, 2017 7:47 PM GMT

Ok, so im trying to make it so if the player clicks on a dialog choice, some of thier cash will dissapear. i made some leader boards for cash, but im having truoble scripting.
TheLionLiar
#225789148Saturday, September 30, 2017 7:50 PM GMT

plz help meh
hiimfree5
#225789273Saturday, September 30, 2017 7:53 PM GMT

local dummy= workspace.Dummy local dialog= dummy.Head.Dialogorwhatevernameitshouldbe local amount= 5 dialog.DialogChoiceSelected:Connect(function(plr, msg) if msg== "BLA" then plr.leaderstats.CASH.Value=plr.leaderstats.CASH.Value-amount end end)
TheLionLiar
#225789579Saturday, September 30, 2017 7:59 PM GMT

where do i place the script?
TheLionLiar
#225790204Saturday, September 30, 2017 8:13 PM GMT

Here is my script: whenever i run the script, it says, "Dialog Choice Selected is not a valid member of Dialog Choice" what does that means and how do i fix it?

    of     1