How do you use UserInputService

My apologies, I haven’t used UserInputService for a few weeks which i forgot 56% of it on how it works and all that stuff

2 Likes

Yeah, both of you have helped me a lot and I really appreciate that you guys took time to help me, I have learnt a lot from this, also, would you stll use the keydown and keyup events. And again, thank you both zaydoudou and SpacialEthanRB!!!

1 Like

I have never used KeyDown in my life, they are also deprecated which means they are old.

You can see it here:

oh, well that’s nice to know, why would ROBLOX studio still keep the deprecated events then?

Well autocomplete doesn’t work with them.

I assume roblox keeps them to stop millions of games from breaking everytime an item gets deprecated.

For example, a few months ago :FindPartOnRay() was deprecated and there was a whole new way to do raycasting. If roblox removed them thousands of games that use the old raycasting would break.

That actually makes a lot of sense, anyways thank you for your help, I really appreciate it.

Have a wonderful day!!!

2 Likes

Yeah like if roblox removes game.Players.NumPlayers (depecrated property) then every sword fighting games which has the alvinblox’s sword fighting script will break