Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to turn a person into a part without suddenly respawning?

Asked by 10 years ago

This script:

local char = game.Workspace.Part
game.Players.WiseDumbledore.Character = char
game.Workspace.CurrentCamera.CameraSubject = char.Humanoid

does turn you into a part. However, it respawns you afterwards. The Part that I am using consists of just a Head and a Humanoid. What should I do to prevent respawning.

Thanks -WiseDumbledore -ROBLOX Account -Primary Group MODE

1 answer

Log in to vote
0
Answered by 10 years ago

To stop the character automatically loading set CharacterAutoLoads to false:

local Players = Game:GetService("Players")
Players.CharacterAutoLoads = false
local char = game.Workspace.Part
game.Players.WiseDumbledore.Character = char
game.Workspace.CurrentCamera.CameraSubject = char.Humanoid

I hope this helps.

Ad

Answer this question