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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:21 PM
while wait(1.5) do
player = script.Parent.Parent.Parent.Parent.Parent
times = player.Times
if times ~= nil then
if times.ForestRace.BestLapForestRace.Second.Value < 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : 0"..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
if times.ForestRace.BestLapForestRace.Second.Value >= 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : "..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
end
end
end
end
Report Abuse
XxminijokerXx is not online. XxminijokerXx
Joined: 13 Nov 2011
Total Posts: 10321
02 Mar 2014 05:22 PM
[ Content Deleted ]
Report Abuse
YumERAGON is not online. YumERAGON
Joined: 18 Apr 2012
Total Posts: 3893
02 Mar 2014 05:23 PM
What about 1.5
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:23 PM
the while wait(1.5) do should be perfectly fine...
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
02 Mar 2014 05:24 PM
times = player.Times
if times ~= nil then

times = player:FindFirstChild("Times")

@mini do you know how to script yourself?
Report Abuse
XxminijokerXx is not online. XxminijokerXx
Joined: 13 Nov 2011
Total Posts: 10321
02 Mar 2014 05:26 PM
[ Content Deleted ]
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:27 PM
well it is
any decimal in a wait works
ex. wait(2.5) = 2.5 seconds
Report Abuse
XxminijokerXx is not online. XxminijokerXx
Joined: 13 Nov 2011
Total Posts: 10321
02 Mar 2014 05:28 PM
[ Content Deleted ]
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:28 PM
XD you learned something today xD
Report Abuse
XxminijokerXx is not online. XxminijokerXx
Joined: 13 Nov 2011
Total Posts: 10321
02 Mar 2014 05:31 PM
[ Content Deleted ]
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:31 PM
@wazap
still won't work...
let me try something else but idk whats wrong...
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
02 Mar 2014 05:32 PM
Output?
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:36 PM
i cant find an output
it seems like the script wont work...
script.Disabled = false so...?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
02 Mar 2014 05:36 PM
Change

if times.ForestRace.BestLapForestRace.Second.Value < 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : 0"..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
if times.ForestRace.BestLapForestRace.Second.Value >= 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : "..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
end
end

Into

if times.ForestRace.BestLapForestRace.Second.Value < 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : 0"..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
elseif times.ForestRace.BestLapForestRace.Second.Value >= 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : "..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
end
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:41 PM
nope... still wont work...
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
02 Mar 2014 05:44 PM
What do you have atm?
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:49 PM
atm?
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
02 Mar 2014 05:50 PM
At the moment.
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:51 PM
while wait(1.5) do
player = script.Parent.Parent.Parent.Parent.Parent
times = player:findFirstChild("Times")
if times ~= nil then
if times.ForestRace.BestLapForestRace.Second.Value < 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : 0"..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
elseif times.ForestRace.BestLapForestRace.Second.Value >= 10 then
script.Parent.Text = ""..times.ForestRace.BestLapForestRace.Minute.Value.." : "..times.BestLapForestRace.Second.Value.." : "..times.BestLapForestRace.Decisecond.Value..""
end
end
end
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
02 Mar 2014 05:53 PM
"i cant find an output"
Can`t find it or there isn`t one?
My guess is the number of parents.
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
02 Mar 2014 05:54 PM
The only thing I can think of is that Times really is nil....
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:55 PM
im guessing time may be nil... idk though
it isnt.. i checked in studio test
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
02 Mar 2014 05:55 PM
Ye
Try putting some prints in.
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:55 PM
ill test it w/o the if times ~= nil and see the output
Report Abuse
Drybones3363 is not online. Drybones3363
Joined: 16 Aug 2013
Total Posts: 1547
02 Mar 2014 05:57 PM
i got this:
18:55:49.277 - BestLapForestRace is not a valid member of StringValue
18:55:49.279 - Script 'Players.Player1.PlayerGui.Menu Gui.ForestRace.BLRecord.Scri', Line 7
18:55:49.284 - stack 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