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: Any One Know Why This Wont't Work???

Previous Thread :: Next Thread 
sox660 is not online. sox660
Joined: 31 Jan 2008
Total Posts: 51
08 Aug 2014 05:19 PM
while true do
if script.Parent.Parent.Zone.Value == "World" then
script.Parent:Play()
else
script.Parent:Stop()
end
end

I'm using the script for my RPG so I can work the music in a GUI and change songs Just by changing the Zone value text. But the issue I'm having is that the music won't play. Ideas? Iv tried to trouble shoot by just making a script stating

script.Parent:Play()

But even that didn't work so yeh I'm Lost...
Report Abuse
LightningfireNinja is not online. LightningfireNinja
Joined: 18 Sep 2011
Total Posts: 5941
08 Aug 2014 05:24 PM
Check if its disabled, if the sound id isn't working or something weird.
It should work.....

ggnore
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
08 Aug 2014 05:27 PM
because infininte loop with no wait
Report Abuse
sox660 is not online. sox660
Joined: 31 Jan 2008
Total Posts: 51
08 Aug 2014 07:26 PM
Yep it was disabled.. Knew my coding was that rusty...
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