|
| 22 Mar 2015 05:56 PM |
-- ps = {"hi"}
game:GetService("UserInputService").InputBegan:connect(function(input) if input.KeyCode == Enum.KeyCode.Return then for i,v in pairs(ps) do print(v,script.Parent.Frame.PassBox.Text) --This line here is where it prints if script.Parent.Frame.PassBox.Text == v then break end end end end) --//
>hi Enter pass |
|
|
| Report Abuse |
|
|
|
| 22 Mar 2015 06:00 PM |
| This is a LocalScript in a Gui in CoreGui by the way. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Mar 2015 06:33 PM |
| Why do you have a LocalScript in CoreGui? The only time you should ever use CoreGui is for plugins, and plugins don't use LocalScripts. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Mar 2015 06:36 PM |
| Still, there is absolutely no need to make it a LocalScript. Scripts work just fine. |
|
|
| Report Abuse |
|
|
|
| 22 Mar 2015 06:40 PM |
| Doesn't solve the issue so it doesn't really matter. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 23 Mar 2015 12:05 AM |
| This is starting to really piss me off. |
|
|
| Report Abuse |
|
|