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: Something wrong with this?

Previous Thread :: Next Thread 
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:29 PM
while true do
wait(1)
if(script.Parent.On.Value == true) then
if(script.Parent.Value > 0) then
script.Parent.Value = script.Parent.Value - 1
end

if(script.Parent.Value < 1) then
players = game.Players:GetChildren()
for i = 1,#players do
workspaceplayer = game.Workspace:findFirstChild(players[i].Name)
workspaceplayer.Humanoid.Health = 0
end
msg = Instance.new("Message")
msg.Parent = Workspace
msg.Text = "Time's Up!"
wait(1)
msg:remove()
script.Parent.On.Value = false
script.Parent.Value = 150
end
end

if(script.Parent.On.Value == false) then
script.Parent.Value = 150
end
end
Report Abuse
zerogravity1014 is not online. zerogravity1014
Joined: 08 Apr 2010
Total Posts: 436
05 Apr 2014 03:31 PM
Okay what is this suppose to do?
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:32 PM
is it this part or something...i'm trying to get the timer to work.
V

script.Parent.On.Value = false
script.Parent.Value = 150
end
end

if(script.Parent.On.Value == false) then
script.Parent.Value = 150
end
end
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:33 PM
?
Report Abuse
zerogravity1014 is not online. zerogravity1014
Joined: 08 Apr 2010
Total Posts: 436
05 Apr 2014 03:33 PM
what's the part name is it On?
Report Abuse
zerogravity1014 is not online. zerogravity1014
Joined: 08 Apr 2010
Total Posts: 436
05 Apr 2014 03:35 PM
okay i'm sorry brain fart i'm having a brain fart day I under stand. "this happens a lot"
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:35 PM
what do i do?
Report Abuse
zerogravity1014 is not online. zerogravity1014
Joined: 08 Apr 2010
Total Posts: 436
05 Apr 2014 03:36 PM
I didn't read it correctly I'm sorry I feel stupid lmao sooo stupid.
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:38 PM
you must not know.do you?
Report Abuse
zerogravity1014 is not online. zerogravity1014
Joined: 08 Apr 2010
Total Posts: 436
05 Apr 2014 03:38 PM
Okay I see what's wrong what is the script in a text or a number value
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
05 Apr 2014 03:46 PM
Works now thanks
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
06 Apr 2014 12:10 AM
nope,after 2 rounds it breaks :(
Report Abuse
MlL0 is not online. MlL0
Joined: 29 Dec 2012
Total Posts: 945
06 Apr 2014 12:16 AM
true**
Report Abuse
MlL0 is not online. MlL0
Joined: 29 Dec 2012
Total Posts: 945
06 Apr 2014 12:17 AM
CAPITALIZE :Remove()!
Report Abuse
ruines is not online. ruines
Joined: 25 Oct 2013
Total Posts: 7823
06 Apr 2014 12:18 AM
thanks,i'll try it.
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