Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/4bkx1mLs"))()
- local Flyspeed = 1
- local Players = game:GetService("Players")
- function NOFLY()
- FLYING = false
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- local w1 = library:CreateWindow("B123's Vlieg Menu")
- w1:Slider("Snelheid", {
- min = 1,
- max = 50,
- flag = 'fs'
- }, function(v)
- Flyspeed = v;
- end)
- w1:Button("Vliegen", function()
- local savedpos = Players.LocalPlayer.Character.HumanoidRootPart.Position
- spawn(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Laden...";
- Text = "1%";
- Icon = "";
- Duration = 3;
- })
- end)
- local ch = game.Players.LocalPlayer.Character
- local prt = Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name = "Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 = Instance.new("Part", prt)
- z2.Name = "Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 = Instance.new("Humanoid", prt)
- z3.Name = "Humanoid"
- z1.Position = Vector3.new(0, 9999, 0)
- z2.Position = Vector3.new(0, 9991, 0)
- game.Players.LocalPlayer.Character = prt
- wait(5)
- spawn(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Laden...";
- Text = "50%";
- Icon = "";
- Duration = 4;
- })
- end)
- game.Players.LocalPlayer.Character = ch
- wait(6)
- spawn(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Klaar!";
- Text = "100%";
- Icon = "";
- Duration = 5;
- })
- end)
- local plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- local Hum = Instance.new("Humanoid")
- Hum.Parent = game.Players.LocalPlayer.Character
- local root = game.Players.LocalPlayer.Character.HumanoidRootPart
- for i, v in pairs(plr.Character:GetChildren()) do
- if v ~= root and v.Name ~= "Humanoid" then
- v:Destroy()
- end
- end
- workspace.CurrentCamera.CameraSubject = root
- local se = Instance.new("SelectionBox", root)
- se.Adornee = root
- game:GetService("RunService").Stepped:connect(
- function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end
- )
- game:GetService("RunService").RenderStepped:connect(
- function()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CanCollide = false
- end
- )
- power = 999999 -- change this to make it more or less powerful
- power = power * 10
- ---
- wait(.1)
- local bambam = Instance.new("BodyThrust")
- bambam.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
- bambam.Force = Vector3.new(power, 0, power)
- bambam.Location = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
- local plr = game.Players.LocalPlayer
- local torso = root
- local flying = true
- local deb = true
- local ctrl = {f = 0, b = 0, l = 0, r = 0}
- local lastctrl = {f = 0, b = 0, l = 0, r = 0}
- local maxspeed = 120
- local speed = 15
- groot = root
- local Players = game:GetService("Players")
- local Mouse = Players.LocalPlayer:GetMouse()
- function sFLY()
- local T = Players.LocalPlayer.Character.HumanoidRootPart
- local CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- local SPEED = 0
- function FLY()
- FLYING = true
- local BG = Instance.new('BodyGyro', T)
- local BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- BG.cframe = T.CFrame
- BV.velocity = Vector3.new(0, 0, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 or CONTROL.Q + CONTROL.E ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 or (CONTROL.Q + CONTROL.E) ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and (CONTROL.Q + CONTROL.E) == 0 and SPEED ~= 0 then
- BV.velocity = ((workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B + CONTROL.Q + CONTROL.E) * 0.2, 0).p) - workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0, 0)
- end
- BG.cframe = workspace.CurrentCamera.CoordinateFrame
- until not FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0, Q = 0, E = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end)
- end
- Mouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = Flyspeed
- elseif KEY:lower() == 's' then
- CONTROL.B = - Flyspeed
- elseif KEY:lower() == 'a' then
- CONTROL.L = - Flyspeed
- elseif KEY:lower() == 'd' then
- CONTROL.R = Flyspeed
- elseif KEY:lower() == 'e' then
- CONTROL.Q = Flyspeed*2
- elseif KEY:lower() == 'q' then
- CONTROL.E = -Flyspeed*2
- end
- end)
- Mouse.KeyUp:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 0
- elseif KEY:lower() == 's' then
- CONTROL.B = 0
- elseif KEY:lower() == 'a' then
- CONTROL.L = 0
- elseif KEY:lower() == 'd' then
- CONTROL.R = 0
- elseif KEY:lower() == 'e' then
- CONTROL.Q = 0
- elseif KEY:lower() == 'q' then
- CONTROL.E = 0
- end
- end)
- FLY()
- end
- sFLY()
- wait()
- groot.CFrame = CFrame.new(savedpos)
- end)
- w1:Button("Stoppen", function()
- spawn(function()
- game.StarterGui:SetCore("SendNotification", {
- Title = "Respawnen";
- Text = "Laden...";
- Icon = "";
- Duration = 10;
- })
- end)
- local saved = Players.LocalPlayer.Character.HumanoidRootPart.Position
- local ch = game.Players.LocalPlayer.Character
- local prt = Instance.new("Model", workspace)
- local z1 = Instance.new("Part", prt)
- z1.Name = "Torso"
- z1.CanCollide = false
- z1.Anchored = true
- local z2 = Instance.new("Part", prt)
- z2.Name = "Head"
- z2.Anchored = true
- z2.CanCollide = false
- local z3 = Instance.new("Humanoid", prt)
- z3.Name = "Humanoid"
- z1.Position = Vector3.new(0, 9999, 0)
- z2.Position = Vector3.new(0, 9991, 0)
- game.Players.LocalPlayer.Character = prt
- wait(5)
- game.Players.LocalPlayer.Character = ch
- local poop = nil
- repeat
- wait()
- poop = game.Players.LocalPlayer.Character:FindFirstChild("Head")
- until poop ~= nil
- NOFLY()
- wait(1)
- game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(saved)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement