explainment at below answer:
PLEASE PUT THIS AS A LOCALSCRIPT OR IT WONT WORK!!!
03 | local UIS = game:GetService( "UserInputService" ) |
04 | local plr = game.Players.LocalPlayer |
05 | local Char = plr.Character or plr.CharacterAdded:Wait() |
07 | game:GetService( "UserInputService" ).InputBegan:Connect( function (inputObject,gameProcessedEvent) |
08 | if inputObject.KeyCode = = Enum.KeyCode [ KeyQ ] then |
09 | print (Key.. "has been pressed" , debug) |
12 | if inputObject.KeyCode = = Enum.KeyCode [ KeyE ] then |
13 | print (Key.. "has been pressed" , debug) |
I'll type more later cuz i gonna sleep
Closed as Not Constructive by iuclds, ScuffedAI, Xapelize, and Ziffixture
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?