|
| 22 Jun 2012 02:22 AM |
p=true script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then if p then p=false local i = Instance.new("Message",game.Workspace) i.Text="SSJ!" wait(0.8) i:Destroy() local a = Instance.new("Fire",game.Workspace.hit.Parent.Torso) a.Size=10 wait(1) p=true end end end) --------
It sent up several messages so I added a debounce script. And now it's only say "SSJ!" with no fire, and it wont let me press it again. |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 22 Jun 2012 02:24 AM |
p = true script.Parent.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then if p == true then p = false local i = Instance.new("Message",game.Workspace) i.Text = "SSJ!" wait(0.8) i:Destroy() local a = Instance.new("Fire",game.Workspace:findFirstChild(hit.Parent).Torso) a.Size = 10 --I don't know much about fire, you don't need any Vector or something? wait(1) p = true end end end)
|
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:34 AM |
| Cheater... It did the same thing.. :( |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:36 AM |
| No, Cheaters script is different to yours. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:37 AM |
| Dude, it still had the same effect. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:38 AM |
| It did the exact same thing as what mine has done.. :l |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 22 Jun 2012 02:42 AM |
| It shows once the message and had problems with the Fire thing as I said already. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:44 AM |
It shows ONE message. Then when you touch it again, NO message comes up..
>:l |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
|
| 22 Jun 2012 02:50 AM |
| Look at the output, it tells you why. |
|
|
| Report Abuse |
|
|
|
| 22 Jun 2012 02:53 AM |
I'm gonna deal with this tomorrow. I'm tired.
I'll keep you updated.
g'Night! |
|
|
| Report Abuse |
|
|
Cheater
|
  |
| Joined: 29 Jun 2007 |
| Total Posts: 5258 |
|
| |
|
| |
|