Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Finity = loadstring(game:HttpGet("http://finity.vip/scripts/finity_lib.lua "))()
- local FinityWindow = Finity.new(true, "Doomspire x, but better toggle = P")
- FinityWindow.ChangeToggleKey(Enum.KeyCode.P)
- local Doomspire = FinityWindow:Category("Doomspire x")
- local Values = Doomspire:Sector("Main")
- local Defaults = Doomspire:Sector("Defaults")
- IYMouse = game.Players.LocalPlayer:GetMouse()
- Values:Cheat("Slider", "Speed", function(value)
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(value)
- end, {min = 5, max = 100, suffix = "°"})
- Defaults:Cheat("Button", "Reset Speed", function()
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
- end, {text = "Reset"})
- Values:Cheat("Slider", "Jump Power", function(value)
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = tonumber(value)
- end, {min = 10, max = 100, suffix = "°"})
- Defaults:Cheat("Button", "Reset JumpPower", function()
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
- end, {text = "Reset"})
- Values:Cheat("Slider", "Gravity", function(value)
- game.Workspace.Gravity = tonumber(value)
- end, {min = 0, max = 300, suffix = "°"})
- Defaults:Cheat("Button", "Gravity", function()
- game.Workspace.Gravity = 196.2
- end, {text = "Reset"})
- Values:Cheat("Button", "Destroy Gui", function()
- game.CoreGui.FinityUI:Destroy()
- end, {text = "Delete"})
- dfly = false
- FLYING = false
- iyflyspeed = 1
- vehicleflyspeed = 1
- function sFLY(vfly)
- repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:FindFirstChild('HumanoidRootPart') and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid')
- repeat wait() until IYMouse
- local T = game.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
- local 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()
- if not vfly then
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = true
- end
- 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()
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end)
- end
- IYMouse.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- if vfly then
- CONTROL.F = vehicleflyspeed
- else
- CONTROL.F = iyflyspeed
- end
- elseif KEY:lower() == 's' then
- if vfly then
- CONTROL.B = - vehicleflyspeed
- else
- CONTROL.B = - iyflyspeed
- end
- elseif KEY:lower() == 'a' then
- if vfly then
- CONTROL.L = - vehicleflyspeed
- else
- CONTROL.L = - iyflyspeed
- end
- elseif KEY:lower() == 'd' then
- if vfly then
- CONTROL.R = vehicleflyspeed
- else
- CONTROL.R = iyflyspeed
- end
- elseif KEY:lower() == 'e' then
- if vfly then
- CONTROL.Q = vehicleflyspeed*2
- else
- CONTROL.Q = iyflyspeed*2
- end
- elseif KEY:lower() == 'q' then
- if vfly then
- CONTROL.E = -vehicleflyspeed*2
- else
- CONTROL.E = -iyflyspeed*2
- end
- end
- end)
- IYMouse.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
- function NOFLY()
- FLYING = false
- game.Players.LocalPlayer.Character:FindFirstChildOfClass('Humanoid').PlatformStand = false
- end
- Values:Cheat("Checkbox", "Fly", function()
- dfly = not dfly
- if dfly then
- sFLY()
- elseif not dfly then
- NOFLY()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment