generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: A bit of help?

Previous Thread :: Next Thread 
DjBadyBoy is not online. 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
darkkiller5555 is not online. darkkiller5555
Joined: 22 Nov 2009
Total Posts: 6359
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 is not online. DjBadyBoy
Joined: 01 Aug 2011
Total Posts: 681
22 Jul 2012 11:04 AM
ok :/
Report Abuse
Mathfreak231 is not online. Mathfreak231
Joined: 21 Jun 2010
Total Posts: 5311
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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image