Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local TEST = Instance.new("ScreenGui")
- local OpenFrame = Instance.new("Frame")
- local Open = Instance.new("TextButton")
- local Main = Instance.new("Frame")
- local Frame = Instance.new("Frame")
- local Frame_2 = Instance.new("Frame")
- local TextLabel = Instance.new("TextLabel")
- local Close = Instance.new("TextButton")
- local Fly = Instance.new("TextButton")
- --Properties:
- TEST.Name = "TEST"
- TEST.Parent = game.CoreGui
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = TEST
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.Position = UDim2.new(0.0451467298, 0, 0.229226351, 0)
- OpenFrame.Size = UDim2.new(0, 108, 0, 45)
- Open.Name = "Open"
- Open.Parent = OpenFrame
- Open.BackgroundColor3 = Color3.new(0.427451, 0.427451, 0.427451)
- Open.Size = UDim2.new(0, 108, 0, 45)
- Open.Font = Enum.Font.SourceSans
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextSize = 14
- Open.MouseButton1Down:connect(function()
- Main.Visible = true
- OpenFrame.Visible = false
- end)
- Main.Name = "Main"
- Main.Parent = TEST
- Main.Active = true
- Main.BackgroundColor3 = Color3.new(1, 1, 1)
- Main.BackgroundTransparency = 0.69999998807907
- Main.BorderSizePixel = 0
- Main.Position = UDim2.new(0.204288945, 0, 0.419987142, 0)
- Main.Size = UDim2.new(0, 225, 0, 152)
- Main.Visible = false
- Main.Draggable = true
- Frame.Parent = Main
- Frame.BackgroundColor3 = Color3.new(0.333333, 1, 0)
- Frame.Position = UDim2.new(0, 0, 0.960526228, 0)
- Frame.Size = UDim2.new(0, 225, 0, 6)
- Frame_2.Parent = Main
- Frame_2.BackgroundColor3 = Color3.new(0.92549, 0.980392, 0.72549)
- Frame_2.BorderColor3 = Color3.new(0.0117647, 0.0862745, 0.207843)
- Frame_2.Position = UDim2.new(0, 0, -1.00386771e-07, 0)
- Frame_2.Size = UDim2.new(0, 225, 0, 23)
- TextLabel.Parent = Frame_2
- TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel.BackgroundTransparency = 1
- TextLabel.Position = UDim2.new(0, 43, 0, 3)
- TextLabel.Size = UDim2.new(0, 139, 0, 19)
- TextLabel.Font = Enum.Font.SourceSans
- TextLabel.Text = "GUI MADE BY @KhietLe"
- TextLabel.TextColor3 = Color3.new(1, 1, 1)
- TextLabel.TextSize = 14
- Close.Name = "Close"
- Close.Parent = Main
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.BackgroundTransparency = 1
- Close.Position = UDim2.new(0.828683257, 0, -0.00106549263, 0)
- Close.Size = UDim2.new(0, 38, 0, 22)
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextSize = 19
- Close.MouseButton1Down:connect(function()
- OpenFrame.Visible = true
- Main.Visible = false
- end)
- Fly.Name = "Fly"
- Fly.Parent = Main
- Fly.BackgroundColor3 = Color3.new(1, 1, 1)
- Fly.Position = UDim2.new(0.0377276093, 0, 0.190118164, 0)
- Fly.Size = UDim2.new(0, 56, 0, 20)
- Fly.Modal = true
- Fly.Font = Enum.Font.SourceSans
- Fly.Text = "Fly"
- Fly.TextColor3 = Color3.new(0, 0, 0)
- Fly.TextSize = 14
- Fly.MouseButton1Down:connect(function()
- --By lindsay on v3rmillion
- _G.FLYING = false
- local LP = game:service('Players').LocalPlayer
- local T = LP.Character.UpperTorso
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local SPEED = 5
- local MOUSE = LP:GetMouse()
- local function FLY()
- _G.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.1, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- spawn(function()
- repeat wait()
- LP.Character.Humanoid.PlatformStand = true
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - game.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 SPEED ~= 0 then
- BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.cframe = game.Workspace.CurrentCamera.CoordinateFrame
- until not _G.FLYING
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- BG:destroy()
- BV:destroy()
- LP.Character.Humanoid.PlatformStand = false
- end)
- end
- MOUSE.KeyDown:connect(function(KEY)
- if KEY:lower() == 'w' then
- CONTROL.F = 1
- elseif KEY:lower() == 's' then
- CONTROL.B = -1
- elseif KEY:lower() == 'a' then
- CONTROL.L = -1
- elseif KEY:lower() == 'd' then
- CONTROL.R = 1
- 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
- end
- end)
- FLY()
- end)
- -- Scripts:
- function SCRIPT_OKCI67_FAKESCRIPT() -- Open.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Open
- function zigzag(X) return math.atan(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_OKCI67_FAKESCRIPT))
- function SCRIPT_IMQN66_FAKESCRIPT() -- Main.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Main
- function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_IMQN66_FAKESCRIPT))
- function SCRIPT_YRQC87_FAKESCRIPT() -- Frame_2.LocalScript
- local script = Instance.new('LocalScript')
- script.Parent = Frame_2
- function zigzag(X) return math.atan(math.cos(X*math.pi))/math.pi end
- counter = 0
- while wait(0.1)do
- script.Parent.BackgroundColor3 = Color3.fromHSV(zigzag(counter),1,1)
- counter = counter + 0.01
- end
- end
- coroutine.resume(coroutine.create(SCRIPT_YRQC87_FAKESCRIPT))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement