-
What do you want to achieve? Keep it simple and clear!
I want to create a value in player’s character when they joined -
What is the issue? Include screenshots / videos if possible!
it won’t create -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
Searching
game.Players.PlayerAdded:Connect(function(player)
local HeartRate = Instance.new("IntValue")
HeartRate.Parent = player.Character
HeartRate.Name = "HeartRate"
HeartRate.Value = 60
end)
The script is a server script in Server script service