Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- repeat wait()
- until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Head") 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.Head
- local flying = false
- 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 = 400
- local speed = 5000
- 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() == "g" 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()
- -- FULLBRIGHT by ricey#7090
- pcall(function()
- local lighting = game:GetService("Lighting");
- lighting.Ambient = Color3.fromRGB(255, 255, 255);
- lighting.Brightness = 1;
- lighting.FogEnd = 1e10;
- for i, v in pairs(lighting:GetDescendants()) do
- if v:IsA("BloomEffect") or v:IsA("BlurEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("SunRaysEffect") then
- v.Enabled = false;
- end;
- end;
- lighting.Changed:Connect(function()
- lighting.Ambient = Color3.fromRGB(255, 255, 255);
- lighting.Brightness = 1;
- lighting.FogEnd = 1e10;
- end);
- spawn(function()
- local character = game:GetService("Players").LocalPlayer.Character;
- while wait() do
- repeat wait() until character ~= nil;
- if not character.HumanoidRootPart:FindFirstChildWhichIsA("PointLight") then
- local headlight = Instance.new("PointLight", character.HumanoidRootPart);
- headlight.Brightness = 1;
- headlight.Range = 60;
- end;
- end;
- end);
- end)
- -- Made by ILoveCats9030
- -- Version: 1.3
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local main = Instance.new("Frame")
- local Text = Instance.new("TextLabel")
- local BT = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- main.Name = "main"
- main.Parent = ScreenGui
- main.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
- main.BorderColor3 = Color3.fromRGB(0, 0, 0)
- main.BorderSizePixel = 5
- main.Position = UDim2.new(0.0198598132, 0, 0.687250972, 0)
- main.Size = UDim2.new(0, 207, 0, 146)
- main.Active = true
- Text.Name = "Text"
- Text.Parent = ScreenGui
- Text.BackgroundColor3 = Color3.fromRGB(157, 157, 157)
- Text.Position = UDim2.new(0.0292056073, 0, 0.699203134, 0)
- Text.Size = UDim2.new(0, 190, 0, 34)
- Text.Font = Enum.Font.SciFi
- Text.Text = "Btools script"
- Text.TextColor3 = Color3.fromRGB(0, 0, 0)
- Text.TextSize = 14.000
- BT.Name = "BT"
- BT.Parent = ScreenGui
- BT.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
- BT.Position = UDim2.new(0.0443925261, 0, 0.860557795, 0)
- BT.Size = UDim2.new(0, 164, 0, 40)
- BT.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- BT.Font = Enum.Font.Highway
- BT.Text = "Btools"
- BT.TextColor3 = Color3.fromRGB(0, 0, 0)
- BT.TextScaled = true
- BT.TextSize = 14.000
- BT.TextWrapped = true
- BT.MouseButton1Down:connect(function()
- local tool1 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool2 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool3 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool4 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- local tool5 = Instance.new("HopperBin",game.Players.LocalPlayer.Backpack)
- tool1.BinType = "Clone"
- tool2.BinType = "GameTool"
- tool3.BinType = "Hammer"
- tool4.BinType = "Script"
- tool5.BinType = "Grab"
- end)
Advertisement
Advertisement