menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
How to make so things don't disappear when you die.
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How to make so things don't disappear when you die.
Crack498
Join Date: 2011-04-16
Post Count: 69
#137156750
Monday, June 16, 2014 12:16 PM GMT
I have a IntValue called "Points". But when I die, it disappears. What can I do?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
xXxkarlxXx
Join Date: 2009-02-05
Post Count: 269
#137156851
Monday, June 16, 2014 12:20 PM GMT
It depends on where you put the IntValue. Where do you put it?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
XxChopSlaperxX
Join Date: 2010-11-09
Post Count: 3112
#137156989
Monday, June 16, 2014 12:24 PM GMT
Put it inside the player, not the backpack/statergui
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Crack498
Join Date: 2011-04-16
Post Count: 69
#137158034
Monday, June 16, 2014 12:54 PM GMT
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) ins = Instance.new("IntValue", player.Character) ins.Value = 0 ins.Name = "Points" end) end)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
smiley599
Join Date: 2010-01-23
Post Count: 21869
#137158395
Monday, June 16, 2014 1:03 PM GMT
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) ins = Instance.new("IntValue", player) ins.Value = 0 ins.Name = "Points" end) end) There you go.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Crack498
Join Date: 2011-04-16
Post Count: 69
#137159099
Monday, June 16, 2014 1:22 PM GMT
Thanks smiley599 :D ~Closed~
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Crack498
Join Date: 2011-04-16
Post Count: 69
#137159135
Monday, June 16, 2014 1:23 PM GMT
~Closed now :P ~
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right