wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 12 Aug 2015 07:24 PM |
The negative update is that you changed the KeyDown/KeyUp to the function "IsKeyDown" and "GetKeysPressed". You use UserInputService where its slightly harder than the normal KeyDown/Up.
All I do is to use while wait() do end and I have to loop it until there is an key down.
How is this negative/difference to this new update: - Changing it makes us have to use the longest line. - Mouse is easy and simple to use. - You do not need to loop to use the mouse. - Very long to do - This looping isn't perfectly accurate, the mouse uses very accurate using event.
Change that back. |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
| |
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 12 Aug 2015 07:34 PM |
k then, enjoy living in the past of roblox. no cool mobile/gamepad support for you, m8
UIS/CAS > KeyDown/KeyUp
|
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 12 Aug 2015 07:36 PM |
| also GetKeysPreesed dont work. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2015 07:37 PM |
You clearly have no actual idea how UserInputService/ContextActionService work.
local CAS = game:GetService("ContextActionService")
function reloadGun(name, state, input) if state == Enum.UserInputState then --when input begins like when a button is pressed --code here end end
CAS:BindAction("ReloadGun", reloadGun, true, Enum.KeyCode.R, Enum.KeyCode.ButtonX) --Binds this function to the R key --The X button on controllers --And creates a touch button for touch devices(the third input) |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2015 07:37 PM |
| GetKeysPressed does work, but like I said you're far too incompetent to understand how to use it. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 12 Aug 2015 07:37 PM |
| Also I did not mention to delete UserInputService. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 12 Aug 2015 07:39 PM |
If I used roblox studio everytime why I did not see this change?
ROBLOX wiki says this is deprecated and shows me nothing about these 2 services.
But thanks. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 12 Aug 2015 07:40 PM |
we never said you did mention that, OP
just learn to get user input the much better way:
http://wiki.roblox.com/index.php?title=Keyboard_input |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 12 Aug 2015 07:41 PM |
"ROBLOX wiki says this is deprecated and shows me nothing about these 2 services."
>http://wiki.roblox.com/index.php?title=Keyboard_input >http://wiki.roblox.com/index.php?title=ContextActionService_tutorial >http://wiki.roblox.com/index.php?title=API:Class/UserInputService >http://wiki.roblox.com/index.php?title=API:Class/InputObject >http://wiki.roblox.com/index.php?title=API:Class/UserInputService/InputBegan |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2015 07:42 PM |
Wiki says nothing about it? What?
http://wiki.roblox.com/index.php?title=Keyboard_input http://wiki.roblox.com/index.php?title=Gamepad_input http://wiki.roblox.com/index.php?title=ContextActionService_Tutorial |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 12 Aug 2015 07:44 PM |
The page "KeyDown"!
Bye leaving this thread dead. |
|
|
| Report Abuse |
|
|
|
| 12 Aug 2015 07:46 PM |
| That's why there is a search bar. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 12 Aug 2015 08:35 PM |
local uis = game:GetService("UserInputService")
uis.InputBegan:connect(function(input, event) if event then return end if input.KeyCode == Enum.KeyCode.E then print("Pressing E") end end)
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
CrowClaws
|
  |
| Joined: 04 Jul 2010 |
| Total Posts: 4466 |
|
|
| 12 Aug 2015 09:17 PM |
Guys, wubby is like an extreme zealot of KeyDown
He protects the depcereitaed method like it's his god i don't get it |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 12 Aug 2015 09:18 PM |
| he probably uses remove lmao |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 17 Aug 2015 10:36 PM |
| Fat fr00bs still posting in my dead thread. |
|
|
| Report Abuse |
|
|
lupine
|
  |
| Joined: 24 Jun 2008 |
| Total Posts: 3561 |
|
|
| 17 Aug 2015 10:39 PM |
| I just want to point out - you no longer have to do super cumbersome ways to get a table of all keys pressed simultaneously. It's super easy now. :] |
|
|
| Report Abuse |
|
|
|
| 17 Aug 2015 10:40 PM |
| You're the negative update. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 17 Aug 2015 10:45 PM |
OOOOOOOOOO @OP YOU GOT ROASTED
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
Garybyte
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 789 |
|
|
| 17 Aug 2015 10:48 PM |
| 10/10, top notch, quality sh et post. |
|
|
| Report Abuse |
|
|
wubby301
|
  |
| Joined: 15 May 2010 |
| Total Posts: 1907 |
|
|
| 18 Aug 2015 06:35 PM |
Ok take your time and post bad things.
ILL start!
BLAHHB:AKBALJLBHBHABLHLHABBA
FAT FR00BS THIS IS NAEGATIVE UODATES |
|
|
| Report Abuse |
|
|
Garybyte
|
  |
| Joined: 24 Jul 2014 |
| Total Posts: 789 |
|
|
| 18 Aug 2015 07:52 PM |
Op "Still posting in dead thread"
*op posts"
Op is og hyopcrite |
|
|
| Report Abuse |
|
|
|
| 18 Aug 2015 08:03 PM |
| Does OP stand for owner post? |
|
|
| Report Abuse |
|
|