Advertisement
SxScripting

Flash Step Local Script

Jul 28th, 2022
3,531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. repeat wait() until game.Players.LocalPlayer.Character
  2.  
  3. local UIS = game:GetService("UserInputService")
  4. local FlashEvent = game:GetService("ReplicatedStorage").Step
  5. local Player = game.Players.LocalPlayer
  6.  
  7.  
  8. UIS.InputBegan:Connect(function(Input,IsTyping)
  9. if IsTyping then return end
  10. if Input.KeyCode == Enum.KeyCode.Q then
  11. FlashEvent:FireServer()
  12. end
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement