I'm trying to make a game like titan fall but what script can help me make the player a object or mesh?
Deleting the player's parts sets the player to watch where his dead invisible body was forever.
To counteract that, use a generic loop and set every part invisible plus deleting hats.
player = --find a way to refer to the player, do not use LocalPlayer for i, v in ipairs(player:GetChildren()) do if v:IsA("Part") or v:IsA("MeshPart") then -- R15 and R6 friendly v.Transparency = 1 elseif v:IsA("Accesory") then -- rip hats v:Destroy() end end
If you want to set the mech and stuff just weld it to the player's invisible body parts.
To weld, there's a wiki page but the primary properties of the weld required to attach the mech is
C0 -- the part to attach aka the mech.
Part0 -- same as C0 but gathering the part's CFrame aka mech's CFrame.
C1 -- the part to attach to aka the player's body part such as a torso.
Part1 -- same as C1 but gathering the part's CFrame aka torso's CFrame.
I dont actually know, but try doing something like
Mech= --Directory to Mech game.Players.LocalPlayer.Character = Mech -- or try Mech= --Directory to Mech Mech.Parent = game.Players.LocalPlayer.Character