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

Why Does My Script Not Work?

I am Attempting to Clone a Player Not making him/her a Model but the Actual Player, can someone tell me what is wrong with my script??

player = game.Players.LocalPlayer
player.Chatted:connect(function(message)
if message == "Clone Me" then
a = Instance.new("LocalPlayer")
a:clone().Parent = game.Players
end	
end)

1 comment

1

You can't create a LocalPlayer.

1 answer

player = game.Players.LocalPlayer
player.Chatted:connect(function(message)
if message == "Clone Me" then
a = player:Clone()
a.Parent = game.Workspace
end 
end)

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