i have tried to use this localscript from tutorials:
redvalue = script.Parent
game.Players.PlayerAdded:Connect(function(player) redvalue.Text = tostring(player.leaderstats.RedPoints.Value)
wait(0.5)
end)
again, not gui.
i have tried to use this localscript from tutorials:
redvalue = script.Parent
game.Players.PlayerAdded:Connect(function(player) redvalue.Text = tostring(player.leaderstats.RedPoints.Value)
wait(0.5)
end)
again, not gui.
You are not creating a leaderstat when the player joins. Do that first as otherwise the code throws an error because you are trying to reference nil.
This discussion is preserved as it was. New answers, comments, and votes are closed.