bigkopa
|
  |
| Joined: 05 Mar 2015 |
| Total Posts: 448 |
|
|
| 11 Jul 2015 12:17 AM |
local mouse = game.Players.LocalPlayer:GetMouse() local visible = true
mouse.KeyDown:connect(function(key) key = string.lower(key) if string.byte(key) == 9 and visible == true then script.Parent.Hos.Visible = false script.Parent.ZC.Visible = false script.Parent.Raid.Visible = false visible = false elseif string.byte(key) == 9 and visible == false then script.Parent.Hos.Visible = true script.Parent.ZC.Visible = true script.Parent.Raid.Visible = true visible = true end end)
----------------------------------
This script is fine, other than the number 9, which is the Tab key. I know it's a problem with the CoreGui, but I'm trying to figure out a way so that I can use the Tab key without disabling the CoreGui for the leaderboard. |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 12:18 AM |
| didnt another dude already answer your question |
|
|
| Report Abuse |
|
|
bigkopa
|
  |
| Joined: 05 Mar 2015 |
| Total Posts: 448 |
|
|
| 11 Jul 2015 12:20 AM |
he gave me the key to the tab key
now i need to know how to use the tab key without removing the leaderboard coregui |
|
|
| Report Abuse |
|
|
|
| 11 Jul 2015 12:33 AM |
| as in toggling the coregui on/off? skim through starterplayer scripts and look for the spot where it does that; remove that i guess |
|
|
| Report Abuse |
|
|
bigkopa
|
  |
| Joined: 05 Mar 2015 |
| Total Posts: 448 |
|
|
| 11 Jul 2015 12:38 AM |
no
basically it won't let me use the key "tab" in this script because it's already used for one of the coreguis, which is the leaderboard
and i don't want to remove the coregui because it is needed for the game |
|
|
| Report Abuse |
|
|
bigkopa
|
  |
| Joined: 05 Mar 2015 |
| Total Posts: 448 |
|
| |
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 11 Jul 2015 12:54 AM |
| For some reaso, tab only works with KeyUp |
|
|
| Report Abuse |
|
|