|
| 10 Oct 2016 07:53 PM |
In this gun script how do I make it were if you push r nothing happens instead of reload? I looked under reload function and can't find "r"
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 07:54 PM |
give us the code for it
-skydude221 |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 10 Oct 2016 08:08 PM |
it might be enum.inputobject.value or w/e
aka the number equivalent not the letter
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 08:11 PM |
So I search for one of those 2
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
|
| 10 Oct 2016 08:16 PM |
yeah search for the value too, or it might be a depreciated method
|
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 08:22 PM |
Nope none of those :(
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|
|
| 10 Oct 2016 08:25 PM |
Maybe this can help
reloadtrigger=waitfor(sp,"Reload")
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2016 08:30 PM |
I FIXED IT BY DELETING REMOVE FUNCTION Should I also delete anything else that says reload
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|
|
| 10 Oct 2016 09:11 PM |
I wont let me post script it just says error so
If I shout "Hello fellow ogers!", that would be wrong as i'm a human. |
|
|
| Report Abuse |
|
|
| |
|
Cytheur
|
  |
| Joined: 12 Aug 2014 |
| Total Posts: 7328 |
|
|
| 10 Oct 2016 10:29 PM |
If you can't figure it out, you can always change the if key == "r" to if key == "~" because nobody is going to press ~
|
|
|
| Report Abuse |
|
|
|
| 11 Oct 2016 11:16 AM |
local Player = game:GetService("Players").LocalPlayer local mouse = Player:GetMouse()
function KeyPressed(Key) if Key = 'r' then --Your code. end end
mouse.KeyDown:connect(KeyPressed)
This should do it I guess. |
|
|
| Report Abuse |
|
|
12904
|
  |
| Joined: 29 Oct 2012 |
| Total Posts: 441 |
|
| |
|