Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
| |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
| |
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 08:02 PM |
| oh come on I'm not good at this! |
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
| |
|
| |
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 10 May 2014 08:06 PM |
Playergui -screengui --frame ---script
Gui = script.Parent.Parent |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 10 May 2014 08:07 PM |
| I lol'd at thread and liked the count. |
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 08:35 PM |
function Click() ShopCharacterGUI.Frame.ItemChoice1.MouseButton1Down:connect(Click) ShopCharacterGUI.Frame.WI.ImageLabel = "http://www.roblox.com/asset?id=156500006" thing.Frame.EBlackBar.ENOrangeBar.object.Size = UDim2.new(0,61,0,20) thing.Frame.WBlackBar.WGOrangeBar.object.Size = UDim2.new(0,31,0,20) end script.Parent.MouseButton1Down:connect(Click)
|
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 08:36 PM |
| About that post I just made, where do I add the defined variable? And what should it be? |
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 08:51 PM |
| No one's going to help? Fine... |
|
|
| Report Abuse |
|
|
|
| 10 May 2014 08:52 PM |
You make a path to it. For example
local YouCanChangeTheVariableName = script.Parent -- The path is the script's parent |
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 09:07 PM |
Okay, so my variable is ShopCharacterGUI.
So my path is
local ShopCharacterGUI = script.Parent --Rest of script here? |
|
|
| Report Abuse |
|
|
|
| 10 May 2014 09:08 PM |
| Well; is the script inside the GUI you want? |
|
|
| Report Abuse |
|
|
Gybro
|
  |
| Joined: 23 Apr 2014 |
| Total Posts: 808 |
|
|
| 10 May 2014 09:19 PM |
| It is in the textlabel. Could that be why it isn't working? |
|
|
| Report Abuse |
|
|