|
| 29 Dec 2011 04:51 PM |
function onTouched(hit) if hit.Parent:FindFirstChild("Humanoid") and debounce == false then --change this to the teamcolor of the team you want to be able to open this door tournamentactivated = true debounce = true local h = Instance.new("Message") h.Parent = Workspace h.Text = "The tournament has been activated" lol = true e = 0 c = 0 wait(5) h:Destroy() debounce = false end while lol == true do wait(2) if e == 8 then local t = Instance.new("Message") t.Text = "The bagels have won the tournament!" e = 0 c = 0 lol = false tournamentactivated = false elseif c == 8 then local z = Instance.new("Message") z.Text = "The Jalepenos have won the tournament" e = 0 c = 0 lol = false tournamentactivated = false end end end script.Parent.Touched:connect(onTouched)
|
|
|
| Report Abuse |
|
|
Xsitsu
|
  |
| Joined: 28 Jul 2009 |
| Total Posts: 2921 |
|
| |
|
|
| 29 Dec 2011 04:51 PM |
| The message does not display... |
|
|
| Report Abuse |
|
|
|
| 29 Dec 2011 04:52 PM |
| Output says nothing apparently... |
|
|
| Report Abuse |
|
|
| |
|
|
| 29 Dec 2011 06:09 PM |
| Aren't you guys supposed to *help* people with their scripts? |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 29 Dec 2011 06:41 PM |
h:Destroy() should be h:remove() |
|
|
| Report Abuse |
|
|
Phellem
|
  |
| Joined: 04 Aug 2011 |
| Total Posts: 1984 |
|
|
| 29 Dec 2011 06:42 PM |
@jode6543
That does not matter. |
|
|
| Report Abuse |
|
|
jode6543
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 5363 |
|
|
| 29 Dec 2011 06:43 PM |
... *wiki's* http://wiki.roblox.com/index.php/Destroy
... You learn something new every day. |
|
|
| Report Abuse |
|
|