Advertisement
exploit43262

Untitled

Jul 23rd, 2022
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.14 KB | None | 0 0
  1. local Speed = 60
  2.  
  3. -- Gui to Lua
  4. -- Version: 3.2
  5. local HumanoidRP = game.Players.LocalPlayer.Character.HumanoidRootPart
  6. -- Instances:
  7.  
  8. local ScreenGui = Instance.new("ScreenGui")
  9. local W = Instance.new("TextButton")
  10. local S = Instance.new("TextButton")
  11. local A = Instance.new("TextButton")
  12. local D = Instance.new("TextButton")
  13. local Fly = Instance.new("TextButton")
  14. local unfly = Instance.new("TextButton")
  15. local StopFly = Instance.new("TextButton")
  16.  
  17. --Properties:
  18.  
  19. ScreenGui.Parent = game.CoreGui
  20. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  21.  
  22. unfly.Name = "unfly"
  23. unfly.Parent = ScreenGui
  24. unfly.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  25. unfly.Position = UDim2.new(0.694387913, 0, 0.181818187, 0)
  26. unfly.Size = UDim2.new(0, 72, 0, 50)
  27. unfly.Font = Enum.Font.SourceSans
  28. unfly.Text = "unfly"
  29. unfly.TextColor3 = Color3.fromRGB(170, 0, 255)
  30. unfly.TextScaled = true
  31. unfly.TextSize = 14.000
  32. unfly.TextWrapped =
  33. unfly.MouseButton1Down:Connect(function()
  34. HumanoidRP:FindFirstChildOfClass("BodyVelocity"):Destroy()
  35. HumanoidRP:FindFirstChildOfClass("BodyGyro"):Destroy()
  36. end)
  37.  
  38. StopFly.Name = "Stop Fly"
  39. StopFly.Parent = ScreenGui
  40. StopFly.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  41. StopFly.Position = UDim2.new(0.695689976, 0, 0.0213903747, 0)
  42. StopFly.Size = UDim2.new(0, 71, 0, 50)
  43. StopFly.Font = Enum.Font.SourceSans
  44. StopFly.Text = "Stop fly"
  45. StopFly.TextColor3 = Color3.fromRGB(170, 0, 255)
  46. StopFly.TextScaled = true
  47. StopFly.TextSize = 14.000
  48. StopFly.TextWrapped = true
  49. StopFly.MouseButton1Down:Connect(function()
  50. HumanoidRP.Anchored = true
  51. end)
  52.  
  53. Fly.Name = "Fly"
  54. Fly.Parent = ScreenGui
  55. Fly.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  56. Fly.Position = UDim2.new(0.588797748, 0, 0.0213903747, 0)
  57. Fly.Size = UDim2.new(0, 66, 0, 50)
  58. Fly.Font = Enum.Font.SourceSans
  59. Fly.Text = "Fly"
  60. Fly.TextColor3 = Color3.fromRGB(170, 0, 127)
  61. Fly.TextScaled = true
  62. Fly.TextSize = 14.000
  63. Fly.TextWrapped = true
  64. Fly.MouseButton1Down:Connect(function()
  65. local BV = Instance.new("BodyVelocity",HumanoidRP)
  66. local BG = Instance.new("BodyGyro",HumanoidRP)
  67. BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  68. BG.D = 5000
  69. BG.P = 50000
  70. BG.CFrame = game.Workspace.CurrentCamera.CFrame
  71. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  72. end)
  73.  
  74. W.Name = "W"
  75. W.Parent = ScreenGui
  76. W.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  77. W.Position = UDim2.new(0.161668837, 0, 0.601604283, 0)
  78. W.Size = UDim2.new(0, 58, 0, 50)
  79. W.Font = Enum.Font.SourceSans
  80. W.Text = "↑"
  81. W.TextColor3 = Color3.fromRGB(226, 226, 226)
  82. W.TextScaled = true
  83. W.TextSize = 5.000
  84. W.TextWrapped = true
  85. W.MouseButton1Down:Connect(function()
  86. HumanoidRP.Anchored = false
  87. HumanoidRP:FindFirstChildOfClass("BodyVelocity"):Destroy()
  88. HumanoidRP:FindFirstChildOfClass("BodyGyro"):Destroy()
  89. wait(.1)
  90. local BV = Instance.new("BodyVelocity",HumanoidRP)
  91. local BG = Instance.new("BodyGyro",HumanoidRP)
  92. BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  93. BG.D = 5000
  94. BG.P = 50000
  95. BG.CFrame = game.Workspace.CurrentCamera.CFrame
  96. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  97. BV.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector * Speed
  98. end)
  99.  
  100.  
  101. S.Name = "S"
  102. S.Parent = ScreenGui
  103. S.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  104. S.Position = UDim2.new(0.161668837, 0, 0.735294104, 0)
  105. S.Size = UDim2.new(0, 58, 0, 50)
  106. S.Font = Enum.Font.SourceSans
  107. S.Text = "↓"
  108. S.TextColor3 = Color3.fromRGB(255, 255, 255)
  109. S.TextScaled = true
  110. S.TextSize = 14.000
  111. S.TextWrapped = true
  112. S.MouseButton1Down:Connect(function()
  113. HumanoidRP.Anchored = false
  114. HumanoidRP:FindFirstChildOfClass("BodyVelocity"):Destroy()
  115. HumanoidRP:FindFirstChildOfClass("BodyGyro"):Destroy()
  116. wait(.1)
  117. local BV = Instance.new("BodyVelocity",HumanoidRP)
  118. local BG = Instance.new("BodyGyro",HumanoidRP)
  119. BG.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  120. BG.D = 5000
  121. BG.P = 50000
  122. BG.CFrame = game.Workspace.CurrentCamera.CFrame
  123. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  124. BV.Velocity = game.Workspace.CurrentCamera.CFrame.LookVector * -Speed
  125. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement