|
| 22 Jun 2012 02:25 AM |
p=true script.Parent.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then if p then p=false if hit.Parent.Name == "cyclone3260" then local a = Instance.new("Message",game.Workspace) a.Text = "Welcome Cyclone3260" script.Parent.CanCollide = false wait(2) a:Destroy() script.Parent.CanCollide = true else hit.Parent:BreakJoints() wait(1) p=true end end end) ----------- AGAIN it was working but sending up several messages and so I added debounce. And it stopped working. ._. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 22 Jun 2012 02:27 AM |
p = true script.Parent.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then if p == true then p = false if hit.Parent.Name == "cyclone3260" then local a = Instance.new("Message",game.Workspace) a.Text = "Welcome Cyclone3260" script.Parent.CanCollide = false wait(2) a:Destroy() script.Parent.CanCollide = true else hit.Parent:BreakJoints() wait(1) p = true end end end end)
|
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:36 AM |
| Cheater... It did the same thing.. :P |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 04:46 AM |
p = true script.Parent.Touched:connect(function(hit) if hit.Parent:findFirstChild("Humanoid") then if p == true then p = false if hit.Parent.Name == "cyclone3260" then local a = Instance.new("Message",game.Workspace) a.Text = "Welcome Cyclone3260" script.Parent.CanCollide = false wait(2) a:Destroy() script.Parent.CanCollide = true else hit.Parent:BreakJoints() wait(1) end p = true end end end) |
|
|
| Report Abuse |
|
|