|
| 21 Mar 2015 04:14 PM |
function tab1() if dojo1.Visible == true or dojo3.Visible == true then dojo2.Visible = false end end function tab2() if dojo2.Visible == true or dojo3.Visible == true then dojo1.Visible = false end end function tab3() if dojo3.Visible == true or dojo1.Visible == true then dojo2.Visible = false end end
wont switch tabs so idk |
|
|
| Report Abuse |
|
|
| |
|
pienoodle
|
  |
| Joined: 16 Nov 2010 |
| Total Posts: 147 |
|
|
| 21 Mar 2015 04:46 PM |
| Is this the whole script? If not, please post the rest. I will then be able to help you. |
|
|
| Report Abuse |
|
|
Egzekiel
|
  |
| Joined: 10 Jan 2011 |
| Total Posts: 1079 |
|
| |
|
|
| 21 Mar 2015 07:13 PM |
local skillo = script.Parent.open local skillc = script.Parent.close repeat wait() until script.Parent.dojo1 local dojo1 = script.Parent.dojo1 local dojo2 = script.Parent.dojo2 local dojo3 = script.Parent.dojo3 local data = script.Parent.Parent.Parent.leaderstats local physb = script.Parent.Phys local miscb = script.Parent.Misc local kib = script.Parent.Ki
function openm8() skillo.Visible = false kib.Visible = true physb.Visible = true skillc.Visible = true miscb.Visible=true wait(0.1) dojo1.Visible = true end function closem8() skillc.Visible = false miscb.Visible = false kib.Visible = false physb.Visible = false skillo.Visible = true wait(0.1) if dojo1.Visible == true then dojo1.Visible = false end if dojo2.Visible == true then dojo2.Visible = false end if dojo3.Visible == true then dojo3.Visible = false end end function tab1() if dojo1.Visible == true or dojo3.Visible == true then dojo2.Visible = false end end function tab2() if dojo2.Visible == true or dojo3.Visible == true then dojo1.Visible = false end end function tab3() if dojo3.Visible == true or dojo1.Visible == true then dojo2.Visible = false end end
skillo.MouseButton1Down:connect(openm8) skillc.MouseButton1Down:connect(closem8) script.Parent.Phys.MouseButton1Down:connect(tab1) script.Parent.Ki.MouseButton1Down:connect(tab2) script.Parent.Misc.MouseButton1Down:connect(tab3) |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|
amanda
|
  |
| Joined: 21 Nov 2006 |
| Total Posts: 5925 |
|
|
| 23 Mar 2015 05:07 PM |
gah I would love to help, but the names of your variables are killing me.
How about starting with this:
What are you trying to accomplish? |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2015 05:15 PM |
| The tabs wont switch it stays on one tab ;-; |
|
|
| Report Abuse |
|
|
| |
|
| |
|