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 » Scripters
Home Search
 

Help with this

Previous Thread :: Next Thread 
javlon123 is not online. javlon123
Joined: 17 Apr 2010
Total Posts: 317
15 Jan 2015 07:22 PM
I am creating a music gui but my STOP button has recently broken and i cant figure out the problem.
Heres the script for the STOP button:
script.Parent.MouseButton1Down:connect(function()
game.Workspace.Music:stop()
end)

Heres the script for the Play Button:

script.Parent.MouseButton1Down:connect(function()
script.Music:play()
end)
Report Abuse
jamdane22 is not online. jamdane22
Joined: 21 Aug 2011
Total Posts: 87
15 Jan 2015 07:24 PM
In the stop section, you did "game.Workspace.Music"

Yet in the play button you did "script.Music"

Switch "game.Workspace.Music" to "script.Music"
Report Abuse
javlon123 is not online. javlon123
Joined: 17 Apr 2010
Total Posts: 317
15 Jan 2015 07:32 PM
Nope didn't work
Play:
script.Parent.MouseButton1Down:connect(function()
script.Music:play()
end)

Stop:
script.Parent.MouseButton1Down:connect(function()
script.Music:stop()
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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