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: Help?

Previous Thread :: Next Thread 
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Sep 2011 01:34 PM
local h = Instance.new("Hint")
h.Parent = Workspace
for i = 10,0,-1 do
for h = 59,0,-1 do
h.Text = i..":"..h
if game.Players.NumPlayer <=2 or 1 then
Hint.archivable = false
end
end
end

Output
Workspace.Countdown:5: attempt to index local 'h' (a number value)
Report Abuse
Fl0x is not online. Fl0x
Joined: 06 Aug 2010
Total Posts: 5169
04 Sep 2011 01:35 PM
h = Hint
h is overwritten by 'for h = 59,0,-1 do' to a number
h = number
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
04 Sep 2011 01:36 PM
local Hint = Instance.new("Hint", workspace)
for i = 10,0,-1 do
for h = 59,0,-1 do
Hint.Text = i..":"..h
if game.Players.NumPlayesr <=2 hen
Hint.Archivable = false
end
end
end


-Like an __AWESOME__ boss
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Sep 2011 01:36 PM
OH didn't see that.Ima change the variable.
Report Abuse
ElectricBlaze is not online. ElectricBlaze
Joined: 18 Jul 2011
Total Posts: 22930
04 Sep 2011 01:36 PM
Fail typos.

local Hint = Instance.new("Hint", workspace)
for i = 10,0,-1 do
for h = 59,0,-1 do
Hint.Text = i..":"..h
if game.Players.NumPlayers <=2 then
Hint.Archivable = false
end
end
end


-Like an __AWESOME__ boss
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
04 Sep 2011 01:38 PM
@Fl0x
Yeah, I changed hte variable and it worked!Thanks.
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