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

Previous Thread :: Next Thread 
Tempestatem is not online. Tempestatem
Joined: 12 Nov 2010
Total Posts: 1618
09 Mar 2014 06:10 PM

I have something that triggers this script to turn on, and it is not working, can someone tell me if anything is wrong with this?


local minutes=script.Parent.MinutesVal.Value
local seconds=script.Parent.SecondsVal.Value
local hours=script.Parent.HoursVal.Value

script.Parent.Time.Text="01:00:00"
wait(1)
script.Parent.SecondsVal.Script.Disabled=false
script.Parent.MinutesVal.Script.Disabled=false
while true do
wait()
script.Parent.Time.Text="00:"..minutes..":"..seconds
end
Report Abuse
KidCrumpet is not online. KidCrumpet
Joined: 16 Jul 2013
Total Posts: 193
09 Mar 2014 06:11 PM
the output says?
Report Abuse
Tempestatem is not online. Tempestatem
Joined: 12 Nov 2010
Total Posts: 1618
09 Mar 2014 06:20 PM
Nothing.
Report Abuse
KidCrumpet is not online. KidCrumpet
Joined: 16 Jul 2013
Total Posts: 193
09 Mar 2014 06:31 PM
--Use tostring

local minutes = script.Parent.MinutesVal.Value
local seconds = script.Parent.SecondsVal.Value
local hours = script.Parent.HoursVal.Value

local min = tostring(minutes)
local sec = tostring(seconds)

script.Parent.Time.Text="01:00:00"
wait(1)
script.Parent.SecondsVal.Script.Disabled = false
script.Parent.MinutesVal.Script.Disabled = false
while true do
wait()
script.Parent.Time.Text="00:"..min..":"..sec
end


Report Abuse
Tempestatem is not online. Tempestatem
Joined: 12 Nov 2010
Total Posts: 1618
10 Mar 2014 03:38 PM
Tried it, it doesnt work.
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