In my script it changes the walkspeed and maxhealth of the player. That's good... until the player dies.
So is there any way to keep the same properties in the Humanoid the same? Even after death? (kind of like StarterGear is to the backpack)
I made this script but it doesn't work...
player = script.Parent.Parent.Parent.Parent
character = player.Character
character:WaitForChild("Humanoid").Died:connect(function()
Builder = player.Builder
if Builder.Value == true then
player.Character.Humanoid.MaxHealth = 200
player.Character.Humanoid.Health = 200
player.Character.Humanoid.WalkSpeed = 12
end
end)

2 comments
That script works, but I want the script to run ONLY if they're 'Builder' property is true and only after they die
Updated.