06-24-2011, 07:14 PM
First line: 'then' expected near '='
[lua]if msg = "/clone" then
clone = create("NPC")
label = create("Label")
clone.Parent = World
clone.Name = speaker.Name .. "'s Clone"
clone.Label.Text = speaker.Name.. "'s Clone"
speaker.Body:clone().Parent = game.World
end[/lua]
[lua]if msg = "/clone" then
clone = create("NPC")
label = create("Label")
clone.Parent = World
clone.Name = speaker.Name .. "'s Clone"
clone.Label.Text = speaker.Name.. "'s Clone"
speaker.Body:clone().Parent = game.World
end[/lua]
All my mods are available here.