DjBadyBoy
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 681 |
|
|
| 22 Jul 2012 10:55 AM |
can any one help with this? i am making a RPG game, and i am making a boss, another boss after it, i need a script the checks if the player has killed the first boss, and if they touch the door they can go to the next boss, so it should be: the the first boss is nil then the player can enter the door on touch
Please help, i need a script that does this
Thank You. |
|
|
| Report Abuse |
|
|
|
| 22 Jul 2012 10:57 AM |
'i need a script that does this'
'need'
There's your problem.
We do not make scripts, we fix them. Please don't request scripts here. |
|
|
| Report Abuse |
|
|
DjBadyBoy
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 681 |
|
| |
|
|
| 22 Jul 2012 11:29 AM |
local boss1 = game.Workspace.FirstBoss --replace with the path to the first boss local boss2 = game.Workspace.SecondBoss --replace with the path to the second boss local door = game.Workspace.Door --replace with path to door
door.Touched:connect(function() if not boss1 then door.CanCollide = false wait(1) door.CanCollide = true end end) |
|
|
| Report Abuse |
|
|
DjBadyBoy
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 681 |
|
|
| 22 Jul 2012 11:41 AM |
what do you mean by replace with the path? the name? |
|
|
| Report Abuse |
|
|