hello, I'm trying to make a script that when a sword hits you, your character turns into a certain players character through userid, I have all that working but after a certain amount of time I want the player to change back to their original character/userid but I can't figure out how to do that. any help would be appreciated
debounce = true
game.Players.PlayerAdded:Connect(function(player)
script.Parent.Touched:Connect(function()
if debounce == true then
debounce = false
player.CharacterAppearanceId = 261
player:LoadCharacter()
debounce = true
end
end)
end)

1 comment
Before changing their id. Save their previous appearance id. Maybe that works