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: Music gui help.

Previous Thread :: Next Thread 
nobbybobby123 is not online. nobbybobby123
Joined: 11 Jun 2011
Total Posts: 460
06 Jul 2012 11:14 AM
Before I start I just want to tell you I know nothing of scripting and need help. I need a script so when you click on a gui the text changes to off and some music plays. If you can please explain kind of how it works and what i have to do so i dont mess it up compleatly :P I know all the song id's and all the basic stuff all I need is that script and after youve posted a solution can you please keep checking back to see if it worked. Thanks.
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:15 AM
Use the .Clicked event and then just make the music play. Then, also make the text change. Simple.








-GD987, the FPS Developer-
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Jul 2012 11:16 AM
"I know nothing about scripting and need help"

Right when I read that my mind thought

"Watch out miz! This guy might ask for a request! Run before he parties you and messages you about this!"

I should go now. . . Ignore what I said.
Report Abuse
nobbybobby123 is not online. nobbybobby123
Joined: 11 Jun 2011
Total Posts: 460
06 Jul 2012 11:17 AM
I said i dont know about scripting and also that was rlly quick :P
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:18 AM
Requests aren't allowed here, sorry. We don't make scripts for people.




-GD987, the FPS Developer-
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Jul 2012 11:18 AM
Fine. Do what greenday said and in a localscript I would preload your assetid just in case it's messed up.
Report Abuse
nobbybobby123 is not online. nobbybobby123
Joined: 11 Jun 2011
Total Posts: 460
06 Jul 2012 11:19 AM
omg i may aswell go put tis on wiki answers
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:19 AM
Now:

miz, y u no reply to MY thread?! =P




-GD987, the FPS Developer-
Report Abuse
nobbybobby123 is not online. nobbybobby123
Joined: 11 Jun 2011
Total Posts: 460
06 Jul 2012 11:19 AM
YOU ARE TALKING GOBLDYGOOP!!! soz
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Jul 2012 11:29 AM
Greenday

So many people posted in the gui forum thing I thought you were already helped :O
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:30 AM
No, I still have like 1 million problems o.o






-GD987, the FPS Developer-
Report Abuse
miz656 is not online. miz656
Joined: 19 Jul 2010
Total Posts: 15336
06 Jul 2012 11:33 AM
I like it how you make tutorials about Gui's and yet you still get errors :P
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:34 AM
I only make tutorials about da buttons :P

This is much more complicated :o




-GD987, the FPS Developer-
Report Abuse
johnhugh is not online. johnhugh
Joined: 26 Mar 2009
Total Posts: 1971
06 Jul 2012 11:36 AM
Go to the wiki
Search what you need to know (like functions such as Touched or Clicked, or in a GUI it would be onMouseButton1Down)
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
06 Jul 2012 11:37 AM
@john

I'm having issues with TweenSize, and other stuff. Not the clicking.






-GD987, the FPS Developer-
Report Abuse
nobbybobby123 is not online. nobbybobby123
Joined: 11 Jun 2011
Total Posts: 460
06 Jul 2012 11:53 AM
I got this from free modles and edited it with some brain power and got this...

onMouseButton1Down(function


script.Parent.Text = "Off"
script.Parent.Music:Play()

else
script.Parent.Text = "The lol song"
script.Parent.Music:Stop()

end
end
script.Parent.Player.MouseButton1Click:connect(pm)

anything wrong?
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