Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local BasicCommands = Instance.new("ScreenGui")
- local MainFrame = Instance.new("Frame")
- local Fly = Instance.new("TextButton")
- local DirtsLabel = Instance.new("TextLabel")
- local Madebystenhisdirt = Instance.new("TextLabel")
- local Btools = Instance.new("TextButton")
- local Shield = Instance.new("TextButton")
- local TpTool = Instance.new("TextButton")
- local God = Instance.new("TextButton")
- local Close = Instance.new("TextButton")
- local TpToPlayer = Instance.new("TextButton")
- local Playertext = Instance.new("TextBox")
- local OpenFrame = Instance.new("Frame")
- local ImageLabel = Instance.new("ImageLabel")
- local ImageLabel_2 = Instance.new("ImageLabel")
- local Open = Instance.new("TextButton")
- --Properties:
- BasicCommands.Name = "Basic Commands"
- BasicCommands.Parent = game.CoreGui
- BasicCommands.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- MainFrame.Name = "MainFrame"
- MainFrame.Parent = BasicCommands
- MainFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- MainFrame.Position = UDim2.new(0, 0, -0.00122848246, 0)
- MainFrame.Size = UDim2.new(0, 245, 0, 309)
- MainFrame.Visible = false
- MainFrame.Style = Enum.FrameStyle.RobloxRound
- MainFrame.Draggable = true
- Fly.Name = "Fly"
- Fly.Parent = MainFrame
- Fly.BackgroundColor3 = Color3.new(1, 1, 1)
- Fly.BackgroundTransparency = 0.55000001192093
- Fly.Position = UDim2.new(0.0435743704, 0, 0.201475799, 0)
- Fly.Size = UDim2.new(0, 94, 0, 50)
- Fly.Font = Enum.Font.SourceSans
- Fly.Text = "Fly [Press E]"
- Fly.TextColor3 = Color3.new(0, 0, 0)
- Fly.TextSize = 14
- Fly.MouseButton1Down:connect(function()
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
- local mouse = game.Players.LocalPlayer:GetMouse()
- repeat wait() until mouse
- local plr = game.Players.LocalPlayer
- local torso = plr.Character.Torso
- 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 = 50
- local speed = 0
- function Fly()
- local bg = Instance.new("BodyGyro", torso)
- bg.P = 9e4
- bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
- bg.cframe = torso.CFrame
- local bv = Instance.new("BodyVelocity", torso)
- bv.velocity = Vector3.new(0,0.1,0)
- bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
- repeat wait()
- plr.Character.Humanoid.PlatformStand = true
- if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
- speed = speed+.5+(speed/maxspeed)
- if speed > maxspeed then
- speed = maxspeed
- end
- elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
- speed = speed-1
- if speed < 0 then
- speed = 0
- end
- end
- if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
- lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
- elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
- bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.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 * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
- until not flying
- ctrl = {f = 0, b = 0, l = 0, r = 0}
- lastctrl = {f = 0, b = 0, l = 0, r = 0}
- speed = 0
- bg:Destroy()
- bv:Destroy()
- plr.Character.Humanoid.PlatformStand = false
- end
- mouse.KeyDown:connect(function(key)
- if key:lower() == "e" then
- if flying then flying = false
- else
- flying = true
- Fly()
- end
- elseif key:lower() == "w" then
- ctrl.f = 1
- elseif key:lower() == "s" then
- ctrl.b = -1
- elseif key:lower() == "a" then
- ctrl.l = -1
- elseif key:lower() == "d" then
- ctrl.r = 1
- end
- end)
- mouse.KeyUp:connect(function(key)
- if key:lower() == "w" then
- ctrl.f = 0
- elseif key:lower() == "s" then
- ctrl.b = 0
- elseif key:lower() == "a" then
- ctrl.l = 0
- elseif key:lower() == "d" then
- ctrl.r = 0
- end
- end)
- Fly()
- end)
- DirtsLabel.Name = "DirtsLabel"
- DirtsLabel.Parent = MainFrame
- DirtsLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- DirtsLabel.BackgroundTransparency = 1
- DirtsLabel.Position = UDim2.new(-0.0367346928, 0, 0.0124245016, 0)
- DirtsLabel.Size = UDim2.new(0, 131, 0, 36)
- DirtsLabel.Font = Enum.Font.SciFi
- DirtsLabel.Text = "BASIC!"
- DirtsLabel.TextColor3 = Color3.new(1, 1, 1)
- DirtsLabel.TextScaled = true
- DirtsLabel.TextSize = 14
- DirtsLabel.TextWrapped = true
- Madebystenhisdirt.Name = "Madebystenhisdirt"
- Madebystenhisdirt.Parent = MainFrame
- Madebystenhisdirt.BackgroundColor3 = Color3.new(1, 1, 1)
- Madebystenhisdirt.BackgroundTransparency = 1
- Madebystenhisdirt.Position = UDim2.new(0.468561471, 0, 0.0169491526, 0)
- Madebystenhisdirt.Size = UDim2.new(0, 113, 0, 34)
- Madebystenhisdirt.Font = Enum.Font.SciFi
- Madebystenhisdirt.Text = "Made By StenHisDirt"
- Madebystenhisdirt.TextColor3 = Color3.new(1, 1, 1)
- Madebystenhisdirt.TextScaled = true
- Madebystenhisdirt.TextSize = 11
- Madebystenhisdirt.TextWrapped = true
- Btools.Name = "Btools"
- Btools.Parent = MainFrame
- Btools.BackgroundColor3 = Color3.new(1, 1, 1)
- Btools.BackgroundTransparency = 0.55000001192093
- Btools.Position = UDim2.new(0.545615196, 0, 0.201475799, 0)
- Btools.Size = UDim2.new(0, 94, 0, 50)
- Btools.Font = Enum.Font.SourceSans
- Btools.Text = "Btools"
- Btools.TextColor3 = Color3.new(0, 0, 0)
- Btools.TextSize = 14
- Btools.MouseButton1Down:connect(function()
- Player = game.Players.LocalPlayer
- function Give(x)
- H = Instance.new("HopperBin", Player.Backpack)
- H.BinType = x
- end
- for i = 2, 4 do
- Give(i)
- end
- end)
- Shield.Name = "Shield"
- Shield.Parent = MainFrame
- Shield.BackgroundColor3 = Color3.new(1, 1, 1)
- Shield.BackgroundTransparency = 0.55000001192093
- Shield.Position = UDim2.new(0.0394927412, 0, 0.650363028, 0)
- Shield.Size = UDim2.new(0, 94, 0, 50)
- Shield.Font = Enum.Font.SourceSans
- Shield.Text = "Shield"
- Shield.TextColor3 = Color3.new(0, 0, 0)
- Shield.TextSize = 14
- Shield.MouseButton1Down:connect(function()
- Instance.new("ForceField", game.Players.LocalPlayer.Character)
- end)
- TpTool.Name = "Tp Tool"
- TpTool.Parent = MainFrame
- TpTool.BackgroundColor3 = Color3.new(1, 1, 1)
- TpTool.BackgroundTransparency = 0.55000001192093
- TpTool.Position = UDim2.new(0.0435743704, 0, 0.422232956, 0)
- TpTool.Size = UDim2.new(0, 94, 0, 50)
- TpTool.Font = Enum.Font.SourceSans
- TpTool.Text = "Tp Tool"
- TpTool.TextColor3 = Color3.new(0, 0, 0)
- TpTool.TextSize = 14
- TpTool.MouseButton1Down:connect(function()
- mouse = game.Players.LocalPlayer:GetMouse()
- tool = Instance.new("Tool")
- tool.RequiresHandle = false
- tool.Name = "Click Teleport"
- tool.Activated:connect(function()
- local pos = mouse.Hit+Vector3.new(0,2.5,0)
- pos = CFrame.new(pos.X,pos.Y,pos.Z)
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
- end)
- tool.Parent = game.Players.LocalPlayer.Backpack
- end)
- God.Name = "God"
- God.Parent = MainFrame
- God.BackgroundColor3 = Color3.new(1, 1, 1)
- God.BackgroundTransparency = 0.55000001192093
- God.Position = UDim2.new(0.549696803, 0, 0.42546922, 0)
- God.Size = UDim2.new(0, 94, 0, 50)
- God.Font = Enum.Font.SourceSans
- God.Text = "God Mode"
- God.TextColor3 = Color3.new(0, 0, 0)
- God.TextSize = 14
- God.MouseButton1Down:connect(function()
- game.Players.LocalPlayer.Character.Humanoid.Name = 1
- local l = game.Players.LocalPlayer.Character["1"]:Clone()
- l.Parent = game.Players.LocalPlayer.Character
- l.Name = "Humanoid"
- wait(0.1)
- game.Players.LocalPlayer.Character["1"]:Destroy()
- game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character
- game.Players.LocalPlayer.Character.Animate.Disabled = true
- wait(0.1)
- game.Players.LocalPlayer.Character.Animate.Disabled = false
- game.Players.LocalPlayer.Character.Humanoid.DisplayDistanceType = "None"
- end)
- Close.Name = "Close"
- Close.Parent = MainFrame
- Close.BackgroundColor3 = Color3.new(1, 1, 1)
- Close.Position = UDim2.new(0.910087407, 0, -0.0297851563, 0)
- Close.Size = UDim2.new(0, 28, 0, 28)
- Close.Style = Enum.ButtonStyle.RobloxRoundButton
- Close.Font = Enum.Font.SourceSans
- Close.Text = "X"
- Close.TextColor3 = Color3.new(0, 0, 0)
- Close.TextScaled = true
- Close.TextSize = 14
- Close.TextWrapped = true
- Close.MouseButton1Down:connect(function()
- MainFrame.Visible = false
- OpenFrame.Visible = true
- end)
- TpToPlayer.Name = "TpToPlayer"
- TpToPlayer.Parent = MainFrame
- TpToPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
- TpToPlayer.BackgroundTransparency = 0.55000001192093
- TpToPlayer.Position = UDim2.new(0.549696863, 0, 0.648077726, 0)
- TpToPlayer.Size = UDim2.new(0, 94, 0, 50)
- TpToPlayer.Font = Enum.Font.SourceSans
- TpToPlayer.Text = "Tp To Player"
- TpToPlayer.TextColor3 = Color3.new(0, 0, 0)
- TpToPlayer.TextSize = 14
- TpToPlayer.MouseButton1Down:connect(function()
- local tp_namedplayer = Playertext.Text
- local tp_player = game:GetService("Players")[tp_namedplayer]
- local PLR = game:GetService("Players").LocalPlayer
- local p = Playertext.Text
- if tp_player then
- for i = 1,20 do
- wait()
- PLR.Character.HumanoidRootPart.CFrame = tp_player.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
- end
- end
- end)
- Playertext.Name = "Playertext"
- Playertext.Parent = MainFrame
- Playertext.BackgroundColor3 = Color3.new(1, 1, 1)
- Playertext.BackgroundTransparency = 0.55000001192093
- Playertext.Position = UDim2.new(0.062374007, 0, 0.878090918, 0)
- Playertext.Size = UDim2.new(0, 200, 0, 34)
- Playertext.Font = Enum.Font.SourceSans
- Playertext.Text = ""
- Playertext.TextColor3 = Color3.new(0, 0, 0)
- Playertext.TextSize = 14
- OpenFrame.Name = "OpenFrame"
- OpenFrame.Parent = BasicCommands
- OpenFrame.BackgroundColor3 = Color3.new(1, 1, 1)
- OpenFrame.BackgroundTransparency = 0.55000001192093
- OpenFrame.Position = UDim2.new(0.475106627, 0, 0, 0)
- OpenFrame.Size = UDim2.new(0, 70, 0, 33)
- ImageLabel.Parent = OpenFrame
- ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel.Position = UDim2.new(0.00367808435, 0, 0, 0)
- ImageLabel.Size = UDim2.new(0, 69, 0, 5)
- ImageLabel.Image = "rbxassetid://73278435"
- ImageLabel_2.Parent = OpenFrame
- ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel_2.Position = UDim2.new(0.00367780402, 0, 0.151515156, 0)
- ImageLabel_2.Size = UDim2.new(0, 69, 0, 28)
- ImageLabel_2.Image = "rbxassetid://2752638393"
- Open.Name = "Open"
- Open.Parent = ImageLabel_2
- Open.BackgroundColor3 = Color3.new(1, 1, 1)
- Open.BackgroundTransparency = 0.55000001192093
- Open.Position = UDim2.new(0.0822656602, 0, 0.234822512, 0)
- Open.Size = UDim2.new(0, 58, 0, 14)
- Open.Font = Enum.Font.SourceSans
- Open.Text = "Open"
- Open.TextColor3 = Color3.new(0, 0, 0)
- Open.TextSize = 14
- Open.MouseButton1Down:connect(function()
- MainFrame.Visible = true
- OpenFrame.Visible = false
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement