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

Workspace.SCPTELEPORTS.087-B.tele2.Script:13: attempt to index boolean with 'Clone' ? server script [closed]

Asked by 2 years ago

Ready = true function onTouch(part) if Ready == true then Ready = false script.Parent.Parent.tele1:remove() script.Parent.BrickColor = BrickColor.new("Really red") local humanoid = part.Parent:findFirstChild("Humanoid") if(humanoid ~= nil)then humanoid.Parent["Body Colors"]:Destroy() humanoid.Parent.Head.face:Destroy() humanoid.Parent.Head.Mesh:Destroy() game.Lighting.teleporter3:Clone().Parent = humanoid.Parent script.Enabled:Clone().Parent = humanoid.Parent.Torso script.teleport:Clone().Parent = humanoid.Parent.Torso script.TorsoMesh:Clone().Parent = humanoid.Parent.Torso script.HeadMesh:Clone().Parent = humanoid.Parent.Head script["Body Colors"]:Clone().Parent = humanoid.Parent script.Black:Clone().Parent = part.Parent:findFirstChild("Head") script.Black:Clone().Parent = part.Parent:findFirstChild("Torso") script.Black:Clone().Parent = part.Parent:findFirstChild("Right Arm") script.Black:Clone().Parent = part.Parent:findFirstChild("Left Arm") script.Black:Clone().Parent = part.Parent:findFirstChild("Left Leg") script.Black:Clone().Parent = part.Parent:findFirstChild("Right Leg") script.LeftMesh:Clone().Parent = part.Parent:findFirstChild("Left Arm") script.RightMesh:Clone().Parent = part.Parent:findFirstChild("Right Arm") wait(1) humanoid.WalkSpeed = 15 wait(1) script.Parent.Parent:remove() Ready = true script.Parent.BrickColor = BrickColor.new("Lime green") end end end script.Parent.Touched:connect(onTouch)

0
Please edit your question and put it in a code block so we can actually See what is going on and help you... Kingu_Criminal 205 — 2y

Closed as Non-Descriptive by T3_MasterGamer and COUNTYL1MITS

This question has been closed because its title or content does not adequately describe the problem you are trying to solve.
Please ensure that your question pertains to your actual problem, rather than your attempted solution. That is, you were trying to solve problem X, and you thought solution Y would work, but instead of asking about X when you ran into trouble, you asked about Y.

Why was this question closed?