game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:wait() --Waits until the CharacterAdded event has fired.
wait(1)
local Quest=Instance.new("IntValue") -- New IntValue
Quest.Parent = player
Quest.Name = "Quest" --Give a name to the IntValue, so you can easily identify it in other scrip
Quest.Value=1
end)
This works and puts a IntValue in the player, but how would I change that IntValue? I'm stuck on the parenting of Quest, bearing in mind it will be Unique for each player. I know I can do this:
Quest.Value=Quest.Value+.1

2 comments
What do you mean by "change"?
Increase/Decrease it. I'll add to the script.