Advertisement
MaxproGlitcher

scritp back flip by Max

Aug 30th, 2022 (edited)
40
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.42 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification",{
  2. Title = "BackFlip",
  3. Text = "Script a ÊtÊ executer",
  4. Icon = "rbxassetid://11823384169",
  5. Duration = 15
  6. })
  7.  
  8. wait(5)
  9.  
  10. --[[ Info ]]--
  11.  
  12. local ver = "2.00"
  13. local scriptname = "feFlip"
  14.  
  15.  
  16. --[[ Keybinds ]]--
  17.  
  18. local FrontflipKey = Enum.KeyCode.Z
  19. local BackflipKey = Enum.KeyCode.X
  20. local AirjumpKey = Enum.KeyCode.C
  21.  
  22.  
  23. --[[ Dependencies ]]--
  24.  
  25. local ca = game:GetService("ContextActionService")
  26. local zeezy = game:GetService("Players").LocalPlayer
  27. local h = 0.0174533
  28. local antigrav
  29.  
  30.  
  31. --[[ Functions ]]--
  32.  
  33. function zeezyFrontflip(act,inp,obj)
  34. if inp == Enum.UserInputState.Begin then
  35. zeezy.Character.Humanoid:ChangeState("Jumping")
  36. wait()
  37. zeezy.Character.Humanoid.Sit = true
  38. for i = 1,360 do
  39. delay(i/720,function()
  40. zeezy.Character.Humanoid.Sit = true
  41. zeezy.Character.HumanoidRootPart.CFrame = zeezy.Character.HumanoidRootPart.CFrame * CFrame.Angles(-h,0,0)
  42. end)
  43. end
  44. wait(0.55)
  45. zeezy.Character.Humanoid.Sit = false
  46. end
  47. end
  48.  
  49. function zeezyBackflip(act,inp,obj)
  50. if inp == Enum.UserInputState.Begin then
  51. zeezy.Character.Humanoid:ChangeState("Jumping")
  52. wait()
  53. zeezy.Character.Humanoid.Sit = true
  54. for i = 1,360 do
  55. delay(i/720,function()
  56. zeezy.Character.Humanoid.Sit = true
  57. zeezy.Character.HumanoidRootPart.CFrame = zeezy.Character.HumanoidRootPart.CFrame * CFrame.Angles(h,0,0)
  58. end)
  59. end
  60. wait(0.55)
  61. zeezy.Character.Humanoid.Sit = false
  62. end
  63. end
  64.  
  65. function zeezyAirjump(act,inp,obj)
  66. if inp == Enum.UserInputState.Begin then
  67. zeezy.Character:FindFirstChildOfClass'Humanoid':ChangeState("Seated")
  68. wait()
  69. zeezy.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")
  70. end
  71. end
  72.  
  73.  
  74. --[[ Binds ]]--
  75.  
  76. ca:BindAction("zeezyFrontflip",zeezyFrontflip,false,FrontflipKey)
  77. ca:BindAction("zeezyBackflip",zeezyBackflip,false,BackflipKey)
  78. ca:BindAction("zeezyAirjump",zeezyAirjump,false,AirjumpKey)
  79.  
  80. --[[ Load Message ]]--
  81.  
  82. print(scriptname .. " " .. ver .. " loaded successfully")
  83. print("made by Zeezy#7203")
  84.  
  85. local notifSound = Instance.new("Sound",workspace)
  86. notifSound.PlaybackSpeed = 1.5
  87. notifSound.Volume = 0.15
  88. notifSound.SoundId = "rbxassetid://170765130"
  89. notifSound.PlayOnRemove = true
  90. notifSound:Destroy()
  91. game.StarterGui:SetCore("SendNotification", {Title = "feFlip", Text = "feFlip loaded successfully!", Icon = "rbxassetid://505845268", Duration = 5, Button1 = "Okay"})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement