Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait() until game.Players.LocalPlayer.Character
- local UIS = game:GetService("UserInputService")
- local FlashEvent = game:GetService("ReplicatedStorage").Step
- local Player = game.Players.LocalPlayer
- UIS.InputBegan:Connect(function(Input,IsTyping)
- if IsTyping then return end
- if Input.KeyCode == Enum.KeyCode.Q then
- FlashEvent:FireServer()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement