Advertisement
REDPlays

UI Dodge Script.

May 16th, 2018
7,261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.53 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local Character = game.Players.LocalPlayer.Character
  3. local Mouse = Player:GetMouse()
  4.  
  5. Dodge1 = script.Dodge1
  6. Dodge2 = script.Dodge2
  7.  
  8. --//Ultra Instinct Dodge1 and 2
  9.  
  10. Mouse.KeyDown:connect(function(Key)
  11.     if Key == "q" then
  12.         print("Dodge1 Activated")
  13.         m = Player.Character.Humanoid:LoadAnimation(Dodge1)
  14.         m:Play()
  15.     end
  16. end)
  17.  
  18. Mouse.KeyDown:connect(function(Key)
  19.     if Key == "e" then
  20.         print("Dodge2 Activated")
  21.         m = Player.Character.Humanoid:LoadAnimation(Dodge2)
  22.         m:Play()
  23.     end
  24. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement