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: Dont understand this error

Previous Thread :: Next Thread 
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:11 PM
This one excerpt from my script was just working and randomly stopped working out of nowhere and now it gives me this error:

attempt to index global 'timertime' (a number value)

I've gotten errors similar to this except it says (a nil value) instead of (a number value) so I'm not sure how to fix it or what it means. Help
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
17 Aug 2014 05:13 PM
What is the part of the script that's erroring?
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:14 PM
These 4 lines:

for i = 30, 0, -1 do
timertime.Text = i
wait(1)
end
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:14 PM
the second line more specifically
Report Abuse
Vescatur is not online. Vescatur
Joined: 18 Feb 2012
Total Posts: 3426
17 Aug 2014 05:15 PM
Show us where you defined "timertime".
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:15 PM
Its a textlabel.

timertime = timer.SurfaceGui.Frame1.Frame2.Time
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
17 Aug 2014 05:16 PM
Show us where you defined timer


http://www.roblox.com/My/Groups.aspx?gid=1160238 Join today!
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:17 PM
its a part

timer = game.Workspace:WaitForChild("RoundClock")
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
17 Aug 2014 05:17 PM
Show us where you defined "game".


http://www.roblox.com/My/Groups.aspx?gid=1160238 Join today!
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:18 PM
it was literally just working and now its not for no reason. i didnt edit it at all after it was working.

the error occurs when the timer hits 0
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:19 PM
you're not being funny or helpful, ScriptOn wanna-be
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
17 Aug 2014 05:20 PM
How am I a ScriptOn wanna be?


http://www.roblox.com/My/Groups.aspx?gid=1160238 Join today!
Report Abuse
Vescatur is not online. Vescatur
Joined: 18 Feb 2012
Total Posts: 3426
17 Aug 2014 05:21 PM
Hats + Clothing @ScriptOnWannabie

Where is game defined? You sir, are a troll. Get outa here. @ByDefault
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
17 Aug 2014 05:21 PM
exact same bucket hat, face, beard, clothes, and package...
Report Abuse
ByDefault is not online. ByDefault
Joined: 25 Jul 2014
Total Posts: 3197
17 Aug 2014 05:26 PM
Im wearing the default face, I think.
ScriptOn wears no clothes...
I have had this bucket since it was on sale for Tix
Oh wow, I have the same package and beard as someone else! That makes me such a wanna be!


http://www.roblox.com/My/Groups.aspx?gid=1160238 Join today!
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