Deplexity
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 1965 |
|
|
| 26 Jul 2013 09:48 PM |
Everything else is defined dont worry.
gungui = player.PlayerGui:FindFirstChild("GunGui")
function onClickTeamChangerButton() if terminalopen == false then if teamchangeropen == true then teamchangeropen = false if gungui ~= nil then gungui.Back:TweenPosition(UDim2.new(0.5,-100,0,40)) end sp.InfoFrame:TweenPosition(UDim2.new(0,340,0,-60)) else teamchangeropen = true if gungui ~= nil then gungui.Back:TweenPosition(UDim2.new(0.5,-100,0,80)) end sp.InfoFrame:TweenPosition(UDim2.new(0,340,0,40)) end end end
- Deplexity |
|
|
| Report Abuse |
|
Deplexity
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 1965 |
|
| |
|
| 26 Jul 2013 10:04 PM |
You need a connection for your click function.
|
|
|
| Report Abuse |
|
Deplexity
|
  |
| Joined: 18 Nov 2011 |
| Total Posts: 1965 |
|
|
| 26 Jul 2013 10:07 PM |
There is a connection for it sorry.
sp.Frame.Info.MouseButton1Click:connect(onClickTeamChangerButton)
- Deplexity |
|
|
| Report Abuse |
|