Parts not appears.
P1 = game.Lighting.Part1 P2 = game.Lighting.Part2 P3 = game.Lighting.Part3 P4 = game.Lighting.Part4 P11 = workspace.Part1 P22 = workspace.Part2 P33 = workspace.Part3 P44 = workspace.Part4 torch = script.Parent torch.Touched:Connect(function() P1:Clone().Parent = workspace P2:Clone().Parent = workspace P3:Clone().Parent = workspace P4:Clone().Parent = workspace wait(0.1) P11.Anchored = false P22.Anchored = false P33.Anchored = false P44.Anchored = false P11.Transparency = 0 P22.Transparency = 0 P33.Transparency = 0 P44.Transparency = 0 wait(4) P11:Destroy() P22:Destroy() P33:Destroy() P44:Destroy() end)
What wrong? pls help:c
I believe your error is here:
P1:clone().P1 = workspace -- ?
I assuming you were trying to parent it to workspace, the way to do this is like this:
P1:Clone().Parent = workspace
You can read up more about parenting here.
P1 = game.Lighting.Part1 P2 = game.Lighting.Part2 P3 = game.Lighting.Part3 P4 = game.Lighting.Part4 P11 = workspace.House.Entering.Part1 P22 = workspace.House.Entering.Part2 P33 = workspace.House.Entering.Part3 P44 = workspace.House.Entering.Part4 torch = script.Parent torch.Touched:Connect(function() P1:Clone().Parent = workspace.House.Entering P2:Clone().Parent = workspace.House.Entering P3:Clone().Parent = workspace.House.Entering P4:Clone().Parent = workspace.House.Entering wait(0.1) P11.Anchored = false P22.Anchored = false P33.Anchored = false P44.Anchored = false P11.Transparency = 0 P22.Transparency = 0 P33.Transparency = 0 P44.Transparency = 0 wait(4) P11:Destroy() P22:Destroy() P33:Destroy() P44:Destroy() end)