Advertisement
Guest User

roblox fly and noclip script

a guest
Aug 7th, 2018
16,495
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. local GrapeGui = Instance.new("ScreenGui")
  2. local Holder = Instance.new("Frame")
  3. local Top = Instance.new("Frame")
  4. local Title = Instance.new("TextLabel")
  5. local Main = Instance.new("Frame")
  6. local Shutdown = Instance.new("TextButton")
  7. local Sound = Instance.new("TextButton")
  8. local Noclip = Instance.new("TextButton")
  9. local NoclipStatus = Instance.new("Frame")
  10. local TextN = Instance.new("TextLabel")
  11. local StatusN = Instance.new("TextLabel")
  12. local Fly = Instance.new("TextButton")
  13. local FlyStatus = Instance.new("Frame")
  14. local TextF = Instance.new("TextLabel")
  15. local StatusF = Instance.new("TextLabel")
  16. local Swing = Instance.new("TextButton")
  17. local SwingName = Instance.new("TextBox")
  18. local Icon = Instance.new("ImageLabel")
  19. local Exit = Instance.new("TextButton")
  20. local Open = Instance.new("TextButton")
  21. local Workspace = game:GetService("Workspace")
  22. local Players = game:GetService("Players")
  23. local CoreGui = game:GetService("CoreGui")
  24. local UserInputService = game:GetService("UserInputService")
  25. local noclip = false
  26. local oof = false
  27. local shutdown = false
  28. local speed = 50
  29. local c
  30. local h
  31. local bv
  32. local bav
  33. local cam
  34. local flying = false
  35. local p = Players.LocalPlayer
  36. local buttons = {W = false, S = false, A = false, D = false, Moving = false}
  37.  
  38. local startFly = function () -- Call this function to begin flying
  39. if not p.Character or not p.Character.Head or flying then return end
  40. c = p.Character
  41. h = c.Humanoid
  42. h.PlatformStand = true
  43. cam = workspace:WaitForChild('Camera')
  44. bv = Instance.new("BodyVelocity")
  45. bav = Instance.new("BodyAngularVelocity")
  46. bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  47. bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
  48. bv.Parent = c.Head
  49. bav.Parent = c.Head
  50. flying = true
  51. h.Died:connect(function() flying = false end)
  52. end
  53.  
  54. local endFly = function ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement