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

How do I copy the whole character? [closed]

Asked by
Zerio920 285 Moderation Voter
9 years ago

Character:Clone() only clones the bricks, the model has no textures or meshes. How do I clone the whole character rather than just the bricks?

EDIT: I get what's happening, my script loads exactly as the player enters, and by that point all the assets haven't loaded yet. How do I get the script to start once all the things have loaded?

0
Perhaps try cloning the entire model of the Player from the Workspace? SlickPwner 534 — 9y
0
Won't let me, it returns nil. Zerio920 285 — 9y
0
What exactly is the output giving you, and what is the code you are using? SlickPwner 534 — 9y
0
It gives me exactly that, a nil value. Zerio920 285 — 9y
0
local player = game.Players.LocalPlayer / player2 = player:Clone() / character = player2.Character Zerio920 285 — 9y

Locked by adark and Shawnyg

This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.

Why was this question closed?

1 answer

Log in to vote
5
Answered by
TopDev 0
9 years ago

Try this.

local player = game.Players.LocalPlayer
player.CharacterAdded:wait()
player2 = player.Character:clone()
player2.Parent = game.Workspace

0
It's in a local script, attempting to copy the player's character. Zerio920 285 — 9y
0
It will work unless you have FilteringEnabled on. If you do, you can use the PlayerAdded event. gskw 1046 — 9y
Ad