Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Clone To Local Player?

I need clone a object into a local player im stuck

What I Have

local player = game.Players.LocalPlayer

local part = Instance.new("Part")
part.Parent = player
 
local clone = game.serverstorage.Item:Clone()
print(clone.Parent)

I need item get clone into the localplayer in the game

1 comment

0

You can't put parts in the player, why would you even want that?

1 answer

✓ Accepted answer

You cant put items into the player i think you want the character so here ya go.

local player = game.Players.LocalPlayer.Character--gets the players character
local part = Instance.new("Part")
part.Parent = player
local clone = game.ServerStorage.Item:Clone()
clone.Parent = player--idk if ya want the clone to be parented to the player
print(clone.Parent)

Also you are putting a part into the player not the cloned object what even is the point of that.

If this worked then please accept this answer

This discussion is preserved as it was. New answers, comments, and votes are closed.