of     1   

Veggetossj
#15977809Wednesday, October 28, 2009 10:02 PM GMT

ok what i need is a script (preferable in workspace) that will remove the 'Interface'from a persons PlayerGui when he/she presses the ESC key (if Esc key is possible else just use the 'Q' key) Can any1 make me such a script?
RightLegRed
#15977827Wednesday, October 28, 2009 10:02 PM GMT

Sorry, no script requests.
Veggetossj
#15978846Wednesday, October 28, 2009 10:17 PM GMT

so? never stopped other from helping me out with scripts and as free models is just plain rubbish to get such script and the wiki hasnt been updated for ages this is the one and only place to get such a decent script
munchkinsqu
#15979133Wednesday, October 28, 2009 10:22 PM GMT

So why don't you ask for the start of the script? If you read the stickys then you'll know that thats what this form is for
Veggetossj
#15979227Wednesday, October 28, 2009 10:24 PM GMT

ok then give me just the start as in finding a player hitting the ESC key
BladzofChaos70
#15983292Wednesday, October 28, 2009 11:35 PM GMT

function onKeyDown(key) key:lower() if (key=="Esc") then *Insert scripting stuffz here* end end function onSelected(mouse) mouse.KeyDown:connect(function(key) onKeyDown(key) end) end bin.Selected:connect(onSelected)
BladzofChaos70
#15983403Wednesday, October 28, 2009 11:36 PM GMT

sorry, forgot to set "bin" bin = script.Parent
BladzofChaos70
#15983445Wednesday, October 28, 2009 11:37 PM GMT

Put all of that into a Hopperbin. It will only work whilst selected though, you can't make a universal onKeyDown script.
munchkinsqu
#15983672Wednesday, October 28, 2009 11:40 PM GMT

See was that so hard? Now you know how to ask for help in the scripting form
DerProgrammierer
#15984727Wednesday, October 28, 2009 11:55 PM GMT

Bladz fails, that will not work. >.>
BladzofChaos70
#15985025Wednesday, October 28, 2009 11:59 PM GMT

What about it? The thing inside Asterix's was for him to fill out. I connected it correctly, and checked for the correct key (right? Or does the key "Esc" not exist?)
DerProgrammierer
#15985573Thursday, October 29, 2009 12:09 AM GMT

You cannot simply put in "Esc".
Veggetossj
#15996784Thursday, October 29, 2009 6:35 AM GMT

but bladz the script i put here is for a tool??? i just want a plain script that is placed in the workspace that detects any player pressing the Q key
Veggetossj
#15996811Thursday, October 29, 2009 6:40 AM GMT

i meant the script u put here that script is to place it in a hopperbin/tool
MrBlockson
#15998327Thursday, October 29, 2009 10:32 AM GMT

You can't make a keylistener in the workspace... Also, "Esc" isn't a key. Use the byte code.
Veggetossj
#15999513Thursday, October 29, 2009 11:56 AM GMT

what about a script in the character of a player? and whats a byte code?
Veggetossj
#16003722Thursday, October 29, 2009 4:19 PM GMT

is there any place for such a script to be put to detect a player withtout the use of a button or tool whatsoever?
pipwig12345
#16004804Thursday, October 29, 2009 5:07 PM GMT

Maybe a GUI, can be placed to track the player.
Ashispro97
#16004929Thursday, October 29, 2009 5:12 PM GMT

ESC is 27.
RightLegRed
#16005036Thursday, October 29, 2009 5:16 PM GMT

bin = script.Parent function onKeyDown(key) key:lower() if (key == string.char(27)) then --stuff here end end function onSelected(mouse) mouse.KeyDown:connect(function(key) onKeyDown(key) end) end bin.Selected:connect(onSelected) That is for the ESC key.
Veggetossj
#16017425Thursday, October 29, 2009 10:57 PM GMT

is it possible with a Gui then? if a place a Gui in the workspace or in the PlayerGui
Veggetossj
#16035432Friday, October 30, 2009 2:10 PM GMT

any1?
RightLegRed
#16035732Friday, October 30, 2009 2:23 PM GMT

No, it is not possible.
pipwig12345
#16038879Friday, October 30, 2009 4:48 PM GMT

Yes, too bad. I realised it. Oh well.

    of     1