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: Need some help

Previous Thread :: Next Thread 
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 09:48 PM
open = game.Workpace.Open
closed = game.Workspace.Closed
Alert = script.Parent
time = 50

while true do
open.CanCollide = true
open.Transparency = 0
closed.CanCollide = false
closed.Transparency = 1
Alert.Text = ("Reinforcements come in : "..time..)
for i = 1, 50 do
wait(1)
time = time - 1
script.Parent.Text = tostring(time)
end
if time == 0 then
open.CanCollide = false
open.Transparency = 1
closed.CanCollide = true
closed.Transparency = 0
Alert.Text = "Reinforcements have arrived!"
wait(10)
end
end



Ive made a mistake but I dont know where it when wrong :L
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
23 Sep 2011 09:51 PM
Output?
Report Abuse
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 09:54 PM
The output wont run at all. I think I have the scripting and items semi correct.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
23 Sep 2011 09:55 PM
What is it doing vs. what it's supposed to do?
Report Abuse
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 09:58 PM
What its doing right now. Nothing / Suppose to "open a door" for players to charge, with a timer of when the next landing is.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
23 Sep 2011 10:00 PM
There is no wait time between when the door opens and when the door closes...you probably need to fix that :P
Report Abuse
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 10:03 PM
if time == 0 then

Is that what you mean?

Or should I just simplify it by seperating the doors into a new part of the script?
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
23 Sep 2011 10:05 PM
open.CanCollide = false
open.Transparency = 1
--no time between opening and closing?
closed.CanCollide = true
closed.Transparency = 0
Report Abuse
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 10:07 PM
I think I have a solution. Let me try it out.
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
23 Sep 2011 10:08 PM
Derp, I read it wrong...I'm too tired to be doing this Q_Q
Report Abuse
billwiw is not online. billwiw
Joined: 03 Sep 2008
Total Posts: 2765
23 Sep 2011 10:18 PM
Then what should I fix :o
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