|
| 17 Apr 2015 12:30 PM |
I need a map builder! Based on Battlefield 4 by Digital Illusions CE and published by Electronic Arts.
Also how do I put tab as a key pressed because I wanna use tab button for leaderboard display. Thank you. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
Intletro
|
  |
| Joined: 29 Jun 2014 |
| Total Posts: 365 |
|
|
| 17 Apr 2015 12:34 PM |
| You need to learn how to script first. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 17 Apr 2015 12:41 PM |
get the client's keyboard input with UserInputService
UIS.InputBegan:connect(function(input) if input.KeyCode = Enum.KeyCode.Tab then print("tab pressed") end end)
and also disable the leaderboard coregui from the same local script
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false) |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 17 Apr 2015 12:44 PM |
oh and also in order for all of that to work you need to put this at the top of the local script
while true do end |
|
|
| Report Abuse |
|
|
|
| 17 Apr 2015 12:51 PM |
MyMouse.KeyDown:connect(function(key) if key == string.char(9) then if LeaderboardFrame then if TOGGLES then LeaderboardFrame.Visible = not LeaderboardFrame.Visible else LeaderboardFrame.Visible = true end end end end)
MyMouse.KeyUp:connect(function(key) if key == string.char(9) then if LeaderboardFrame then if not TOGGLES then LeaderboardFrame.Visible = false end end end end)
I'm using the ROBLOX Team Deathmatch template and I don't wanna mess with it 'cause it affects the whole game scripts. :) |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 17 Apr 2015 12:57 PM |
learn to script
and when you learn one day, you will realize that i was trolling you with my last post |
|
|
| Report Abuse |
|
|
Intletro
|
  |
| Joined: 29 Jun 2014 |
| Total Posts: 365 |
|
| |
|
|
| 17 Apr 2015 03:55 PM |
| LOL Insta. I can't script very well but I can still read that. Funny. |
|
|
| Report Abuse |
|
|
| |
|