How do i make not deletable script in players character? So, when character dies, the script not deletes.
you put the script in starterplayerscrips
You either put it in starterplayerscrips or if that's not passible Somehow then use this
Note: This script has to be the parent of the Script you want undeletable
script.Test:Clone().Parent = game.StarterPlayer.StarterPlayerScripts game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(C) local hum = C:WaitForChild("Humanoid") hum.Died:connect(function() script.Test:Clone().Parent = game.StarterPlayer.StarterPlayerScripts end) end) end)