x = script.Parent
function onMouseClick()
noob = game.Lighting.Troll:Clone()
noob.Name = "Troll"
noob.Position = Vector3.new(-77.6, 2.4, 31.2)
noob.Parent = Workspace
noob:MakeJoints()
x.Locked = true
x.Transparency = 1
x.CanCollide = false
x.BrickColor = "Earth green"
wait (3)
x.Locked = false
x.Transparency = 0
x.CanCollide = true
x.BrickColor = "Dark stone grey"
end
x.MouseClick:connect(onMouseClick)
It's supposed to make it so whenever I click the brick, the brick dissapears and a monster named "Troll" appears. Only it's not dissapearing and no Troll is appearing. My script is in Workspace>Part>ClickDetector>Script.
I guess you could say I'm being "Trolled"
Thanks in advance!
