|
| 23 Aug 2015 10:34 AM |
i made this script all by myself without any help or guidance if script.Parent.TimeOfDay = 0:00:00 then script.Parent.12PM:Play() ifelse script.Parent.12PM:Stop() if script.Parent.TimeOfDay = 1:00:00 then script.Parent.1AM:Play() ifelse script.Parent.1AM:Stop() if script.Parent.TimeOfDay = 2:00:00 then script.Parent.2AM:Play() ifelse script.Parent.2AM:Stop() end |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 10:37 AM |
| i made it out of pure instinct |
|
|
| Report Abuse |
|
|
R0WE
|
  |
| Joined: 10 Mar 2013 |
| Total Posts: 1807 |
|
|
| 23 Aug 2015 10:38 AM |
| i found an error, 0:00:00 should be 0:00:10 or it will break! FIX |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Aug 2015 10:47 AM |
it plays songs at the defined times trying to add an animal crossing soundtrack also thanks for pointing out the error (unless troll) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 10:48 AM |
| thx all I had to do was click Ctrl C and Ctrl V |
|
|
| Report Abuse |
|
|
| |
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 10:50 AM |
not at all.
also the times have to be strings and not number values
im not sure tho
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 10:51 AM |
yeah this wouldn't work at all
1. that's not how elseif works
2. not enough ends
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 10:52 AM |
| Is this some kind of troll? |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 10:53 AM |
http://wiki.roblox.com/index.php?title=Scripting_1
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:05 AM |
| im running the script right now and its working |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:06 AM |
| ......Dont let your dreams be dreams? |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:08 AM |
| no wait thats just my music playing -fp- |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 11:24 AM |
"im running the script right now and its working"
impossible.
to check for something is equal to something else (if 1 + 1 is 2) then you go
if 1+1 == 2 then
end
and not
if 1+1=2 then
end
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:39 AM |
is this better if script.Parent.TimeOfDay = "0:00:00" then script.Parent.12AM:Play() else script.Parent.12AM:Stop() if script.Parent.TimeOfDay = "1:00:00" then script.Parent.1AM:Play() else script.Parent.1AM:Stop() if script.Parent.TimeOfDay = "2:00:00" then script.Parent.2AM:Play() else script.Parent.2AM:Stop() if script.Parent.TimeOfDay = "3:00:00" then script.Parent.3AM:Play() else script.Parent.3AM:Stop() if script.Parent.TimeOfDay = "4:00:00" then script.Parent.4AM:Play() else script.Parent.4AM:Stop() if script.Parent.TimeOfDay = "5:00:00" then script.Parent.5AM:Play() else script.Parent.5AM:Stop() if script.Parent.TimeOfDay = "6:00:00" then script.Parent.6AM:Play() else script.Parent.6AM:Stop() if script.Parent.TimeOfDay = "7:00:00" then script.Parent.7AM:Play() else script.Parent.7AM:Stop() if script.Parent.TimeOfDay = "8:00:00" then script.Parent.8AM:Play() else script.Parent.8AM:Stop() if script.Parent.TimeOfDay = "9:00:00" then script.Parent.9AM:Play() else script.Parent.9AM:Stop() if script.Parent.TimeOfDay = "10:00:00" then script.Parent.10AM:Play() else script.Parent.10AM:Stop() if script.Parent.TimeOfDay = "11:00:00" then script.Parent.11AM:Play() else script.Parent.11AM:Stop() if script.Parent.TimeOfDay = "12:00:00" then script.Parent.12PM:Play() else script.Parent.12PM:Stop() if script.Parent.TimeOfDay = "13:00:00" then script.Parent.1PM:Play() else script.Parent.1PM:Stop() if script.Parent.TimeOfDay = "14:00:00" then script.Parent.2PM:Play() else script.Parent.2PM:Stop() if script.Parent.TimeOfDay = "15:00:00" then script.Parent.3PM:Play() else script.Parent.3PM:Stop() if script.Parent.TimeOfDay = "16:00:00" then script.Parent.4PM:Play() else script.Parent.4PM:Stop() if script.Parent.TimeOfDay = "17:00:00" then script.Parent.5PM:Play() else script.Parent.5PM:Stop() if script.Parent.TimeOfDay = "18:00:00" then script.Parent.6PM:Play() else script.Parent.6PM:Stop() if script.Parent.TimeOfDay = "19:00:00" then script.Parent.7PM:Play() else script.Parent.7PM:Stop() if script.Parent.TimeOfDay = "20:00:00" then script.Parent.8PM:Play() else script.Parent.8PM:Stop() if script.Parent.TimeOfDay = "21:00:00" then script.Parent.9PM:Play() else script.Parent.9PM:Stop() if script.Parent.TimeOfDay = "22:00:00" then script.Parent.10PM:Play() else script.Parent.10PM:Stop() if script.Parent.TimeOfDay = "23:00:00" then script.Parent.11PM:Play() else script.Parent.11PM:Stop() end |
|
|
| Report Abuse |
|
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 11:44 AM |
nope.
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:46 AM |
it's fine batfitz is just butthurt that he cant script.
~~ the epic noob of OT ~~ |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 11:47 AM |
it's sort of lacking a while true do at the top
~somebody once told me ZA WARUDO is gonna roll me~ |
|
|
| Report Abuse |
|
|
Ziconic
|
  |
| Joined: 15 May 2014 |
| Total Posts: 980 |
|
| |
|
badfitz67
|
  |
| Joined: 03 Jun 2010 |
| Total Posts: 13165 |
|
|
| 23 Aug 2015 12:13 PM |
"it's fine batfitz is just butthurt that he cant script."
are you sure?
https://www.youtube.com/watch?v=uEFn218f6MQ&user=badfitz66 https://www.youtube.com/watch?v=vUUeM1YQoFs&user=badfitz66 http://www.roblox.com/games/285002584/Base-WIP
JumbleBee5 wrote at 4/10/2014 11:39 AM Report Abuse nice yolks honey ( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 23 Aug 2015 12:14 PM |
http://www.roblox.com/Forum/ShowPost.aspx?PostID=172173874
When people say that Pearl is salty, you gotta remember that pearls are made in the ocean!!! |
|
|
| Report Abuse |
|
|