local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvents = ReplicatedStorage.RemoteEvents
local GivePoint = RemoteEvents.GivePoint
GivePoint.OnServerEvent:Connect(function(player)
local points = player:WaitForChild("leaderstats").Points
local ClickBonus = player:WaitForChild("Playerstats").ClickBonus
points.Value = points.Value + (1 + ClickBonus.Value)
end)
✓ ANSWER ACCEPTED
Why do i have an infinite yield for leaderstats?
1 answer
✓ Accepted answer
are you sure that leaderstats is in player?
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
wdym player?
how do u do that?
Where is leaderstats located?