|
| 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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 06 Jul 2012 11:17 AM |
| I said i dont know about scripting and also that was rlly quick :P |
|
|
| Report Abuse |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 06 Jul 2012 11:19 AM |
| omg i may aswell go put tis on wiki answers |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 11:19 AM |
Now:
miz, y u no reply to MY thread?! =P
-GD987, the FPS Developer- |
|
|
| Report Abuse |
|
|
|
| 06 Jul 2012 11:19 AM |
| YOU ARE TALKING GOBLDYGOOP!!! soz |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 06 Jul 2012 11:30 AM |
No, I still have like 1 million problems o.o
-GD987, the FPS Developer- |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|