Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

I need help with events, its a quick help?

Asked by
iDevity -2
6 years ago

Is this correct for a leaderstat?

local h= script.Parent.h local st= game.Players

h.OnServerInvoke= function(plr, handle, Turtles) local pf= st:FindFirstChild(plr.Name).leaderstats if pf then pf.Turtles.Value = pf.Turtles.Value + 1

end

end

0
maybe you should test it out in the game greatneil80 2647 — 6y
0
Correct your formatting please. AdministratorReece 193 — 6y

Answer this question