Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local GrapeGui = Instance.new("ScreenGui")
- local Holder = Instance.new("Frame")
- local Top = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local Main = Instance.new("Frame")
- local Shutdown = Instance.new("TextButton")
- local Sound = Instance.new("TextButton")
- local Noclip = Instance.new("TextButton")
- local NoclipStatus = Instance.new("Frame")
- local TextN = Instance.new("TextLabel")
- local StatusN = Instance.new("TextLabel")
- local Fly = Instance.new("TextButton")
- local FlyStatus = Instance.new("Frame")
- local TextF = Instance.new("TextLabel")
- local StatusF = Instance.new("TextLabel")
- local Swing = Instance.new("TextButton")
- local SwingName = Instance.new("TextBox")
- local Icon = Instance.new("ImageLabel")
- local Exit = Instance.new("TextButton")
- local Open = Instance.new("TextButton")
- local Workspace = game:GetService("Workspace")
- local Players = game:GetService("Players")
- local CoreGui = game:GetService("CoreGui")
- local UserInputService = game:GetService("UserInputService")
- local noclip = false
- local oof = false
- local shutdown = false
- local speed = 50
- local c
- local h
- local bv
- local bav
- local cam
- local flying = false
- local p = Players.LocalPlayer
- local buttons = {W = false, S = false, A = false, D = false, Moving = false}
- local startFly = function () -- Call this function to begin flying
- if not p.Character or not p.Character.Head or flying then return end
- c = p.Character
- h = c.Humanoid
- h.PlatformStand = true
- cam = workspace:WaitForChild('Camera')
- bv = Instance.new("BodyVelocity")
- bav = Instance.new("BodyAngularVelocity")
- bv.Velocity, bv.MaxForce, bv.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bav.AngularVelocity, bav.MaxTorque, bav.P = Vector3.new(0, 0, 0), Vector3.new(10000, 10000, 10000), 1000
- bv.Parent = c.Head
- bav.Parent = c.Head
- flying = true
- h.Died:connect(function() flying = false end)
- end
- local endFly = function ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement