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: What's Wrong With This?!?!?

Previous Thread :: Next Thread 
LightningUnlimited is not online. LightningUnlimited
Joined: 24 Apr 2012
Total Posts: 1403
15 May 2014 03:33 PM
timer = script.Parent

while true do
wait(1)
timer.Value = timer.Value + 1
end
Report Abuse
robertjh12 is not online. robertjh12
Joined: 24 Feb 2008
Total Posts: 601
15 May 2014 03:35 PM
I see no issue. Is timer's parent actually a value?
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
15 May 2014 03:36 PM
Nothing is. Use this instead.


timer = script.Parent
while wait(1) do
timer.Value = timer.Value + 1
end
Report Abuse
LightningUnlimited is not online. LightningUnlimited
Joined: 24 Apr 2012
Total Posts: 1403
15 May 2014 03:42 PM
Still doesn't work. That is the script's parent....and it's a NumberValue....
Report Abuse
LightningUnlimited is not online. LightningUnlimited
Joined: 24 Apr 2012
Total Posts: 1403
15 May 2014 03:46 PM
No output, isn't locked, normal script, family tree:

Players
-Player
--Timer
---Script
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
15 May 2014 03:47 PM
Use my script, inside the player, while true do doesnt run because 'true' is false.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
15 May 2014 03:49 PM
"because 'true' is false."

how high are you right now

Report Abuse
LightningUnlimited is not online. LightningUnlimited
Joined: 24 Apr 2012
Total Posts: 1403
15 May 2014 03:53 PM
I'm not stupid (I hope). Sensei's didn't work either...
Report Abuse
robertjh12 is not online. robertjh12
Joined: 24 Feb 2008
Total Posts: 601
15 May 2014 04:10 PM
senseis was just a faster way. If theres an issue, its one due to the scripts place in game.
Report Abuse
TehIcyStar is not online. TehIcyStar
Joined: 07 Mar 2010
Total Posts: 1649
15 May 2014 04:11 PM
Is timer an IntValue or a StringValue?
Report Abuse
powertool is not online. powertool
Joined: 01 Feb 2008
Total Posts: 3771
15 May 2014 04:13 PM
--Assuming timer is an intvalue.

local tmr = script.Parent
while wait(1) do tmr.Value = tmr.Value + 1 end
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
15 May 2014 04:45 PM
When I run while true do scripts inside the player, it doesnt work, therefor 'true' isnt true.
Report Abuse
LightningUnlimited is not online. LightningUnlimited
Joined: 24 Apr 2012
Total Posts: 1403
15 May 2014 07:50 PM
Then would while false do work??
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
15 May 2014 07:51 PM
while wait() do
end
Report Abuse
TehIcyStar is not online. TehIcyStar
Joined: 07 Mar 2010
Total Posts: 1649
16 May 2014 09:25 AM
@sensei

try this in studio, you noob:

while true do
print("while true do works")
wait(1)
end
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