I'm a basic scripter and I want to add a script that makes player parts stay longer to my game. Again, is it possible?
COMMUNITY QUESTION
Is it possible for a script to make player parts stay longer?
1 answer
Pls explain in more depth next time so we can better understand what you are trying to achieve. e.g. do you want the player to be able to spawn while the parts are in the workspace?
This is an example only and I am re-using my old scripts, this will stop the player from re-spawning while the parts are in the workspace:-
local keepPartsFor = 15 -- delay time
game.Players.CharacterAutoLoads = false --Stop character auto load
game.Players.PlayerAdded:connect(function(player) -- new player in the game added
player.CharacterAdded:connect(function(character) -- character sporns/ re-sporns
local humanoid = character:FindFirstChild("Humanoid") -- find humanoid in character
if humanoid then -- humanoid is found
humanoid.Died:connect(function() -- add a humanoid died event
wait(keepPartsFor)
humanoid.Parent:Destroy() -- cleanup character or it will stay in the game
player:LoadCharacter() -- load new character
end)
end
end)
player:LoadCharacter()
end)
If you want the player to spawn while their parts are on the workspace then you will need to make a clone of the players model. This should be simple to do so I would 1st like you to try it.
Hope this helps.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
What do you mean exactly by "player parts" Parts players added or the players character?
I agree. What are you talking about?
might be talking about when they die their body parts but that is sickening lol