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
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
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
maybe you should test it out in the game
Correct your formatting please.