script.GroupPay.OnServerEvent:Connect(function(plr) plr.leaderstats.Cash.Value = plr.leaderstats.Cash.Value +500 plr.recieved.Value = true end)~~~~~~~~~~~~~~~~~


this is my script, the problem is the event is firing its just this script won't do anything and keeps saying expected end on line 1 or something like that, if anyone could help me correct it that would be very appreciated I need it to give the player 500 cash and set another value to true to stop it being repeated. thanks.

4 comments

0

You forgot a bracket on the end statement -----> end) not "end"

0

was that it?

0

still doesnt work

0

Can you post your whole script in the lua box? Not code block?