|
| 01 May 2016 08:49 PM |
I'm sorry if I'm not allowed to ask, but it should take you expert scripters a second to figure out. Here's the script;
function OnTouch(part) local human = part.Parent:findFirstChild("Humanoid") if (human ~= nil ) then local check = game.Players:findFirstChild(part.Parent.Name) game.Lighting.spook:clone().Parent = game.Workspace end end
script.Parent.Touched:connect(OnTouch)
It clones in something from the lighting when you touch it. But why does it kill the player who touches it? |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 May 2016 08:51 PM |
function OnTouch(part) local human = part.Parent:findFirstChild("Humanoid") if (human ~= nil ) then local check = game.Players:findFirstChild(W0T IS THIS) game.Lighting.spook:clone().Parent = game.Workspace end end
script.Parent.Touched:connect(OnTouch) |
|
|
| Report Abuse |
|
|
| |
|
|
| 01 May 2016 08:58 PM |
| ;c Nu, don't ignore the troll!! |
|
|
| Report Abuse |
|
|
|
| 01 May 2016 09:37 PM |
| it has literally no reason to kill the player, do you have another script on the brick or anything? |
|
|
| Report Abuse |
|
|