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

Why Does My Script Not Work?

Asked by
IcyEvil 260 Moderation Voter
9 years ago

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
You can't create a LocalPlayer. GoldenPhysics 474 — 9y

1 answer

Log in to vote
-1
Answered by
Tynezz 0
9 years ago
player = game.Players.LocalPlayer
player.Chatted:connect(function(message)
if message == "Clone Me" then
a = player:Clone()
a.Parent = game.Workspace
end 
end)

Ad

Answer this question