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

[SOLVED] How did Hex - Arena Shooter use custom Player.Character models?

Asked by
debugd 5
9 years ago

I would like the players in my own game to take on the appearance of some models I have built in keeping with the theme of the game. I can't make the Player/Character take on the appearance of the models. Whenever I parent the Humanoid object from the player into the model, my player dies.

With this LocalScript, my player lands dead

function loadModel(model)
    local clone = game.ServerStorage:FindFirstChild(model):Clone()
    clone.Parent = workspace
    clone:MakeJoints()
end

loadModel("Robot")

local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:wait()
local humanoid = character:FindFirstChild("Humanoid")
humanoid.Parent = game.Workspace.Robot

I've also learned that

character:Destroy()

kills my player.

I'm beginning to think I need to clear the players of their appearance and then just stick them inside the coordinates of another model, but this seems lame and doesn't account for animations, etc...

Another user had a similar question over here but it doesn't seem to be getting any attention.

0
Lots and lots of welding with Instance.new('Part') then a custom humanoid with the new Part's connected to the Humanoid then a new animation script (locally) MessorAdmin 598 — 9y
0
The actual armor in Hex is just welded parts with custom animations - Not a whole new character Goulstem 8144 — 9y
0
I think all characters are made with welding with the character being invisible. Not exactly sure how to make a completely new character. alphawolvess 1784 — 9y
0
Thanks for the direction. I consider this to be solved until I can prove otherwise with some examples. debugd 5 — 9y

Answer this question