local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Br GUI", Icon = 893052425, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Br GUI", LoadingSubtitle = "by BanForReport", Theme = "Default", -- Check https://docs.sirius.menu/rayfield/configuration/themes DisableRayfieldPrompts = false, DisableBuildWarnings = false, -- Prevents Rayfield from warning when the script has a version mismatch with the interface ConfigurationSaving = { Enabled = true, FolderName = nil, -- Create a custom folder for your hub/game FileName = "Br Gui" }, Discord = { Enabled = false, -- Prompt the user to join your Discord server if their executor supports it Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ ABCD would be ABCD RememberJoins = true -- Set this to false to make them join the discord every time they load it up }, KeySystem = true, -- Set this to true to use our key system KeySettings = { Title = "Br GUI", Subtitle = "Key System", Note = "Check discord server", -- Use this to tell the user how to get a key FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from Key = {"IWINMYEMPIREWILLRISEANDDESTROYHAH"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22") } }) local Tab = Window:CreateTab("Main", 893052425) -- Title, Image local Section = Tab:CreateSection("Scripts") Rayfield:Notify({ Title = "Br GUI loaded!", Content = "Time to destroy", Duration = 5, Image = 893052425, }) local Button = Tab:CreateButton({ Name = "Decal Spam", Callback = function() local decalID = 893052425 function applyDecals(root) for _, v in pairs(root:GetChildren()) do if v:IsA("Decal") and v.Texture ~= "http://www.roblox.com/asset/?id=" .. decalID then v:Destroy() elseif v:IsA("BasePart") then v.Material = "Plastic" v.Transparency = 0 -- Add decals to all faces local faces = {"Front", "Back", "Right", "Left", "Top", "Bottom"} for _, face in ipairs(faces) do local decal = Instance.new("Decal", v) decal.Texture = "http://www.roblox.com/asset/?id=" .. decalID decal.Face = face end end applyDecals(v) -- Recursive call for children end end applyDecals(game.Workspace) end, }) local Button = Tab:CreateButton({ Name = "Set Skybox", Callback = function() local skyboxID = 893052425 local sky = Instance.new("Sky") sky.Name = "CustomSky" sky.Parent = game.Lighting sky.SkyboxBk = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxDn = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxFt = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxLf = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxRt = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxUp = "http://www.roblox.com/asset/?id=" .. skyboxID game.Lighting.TimeOfDay = 12 end, }) local Button = Tab:CreateButton({ Name = "Play Music", Callback = function() local skyboxID = 16190760005 local sky = Instance.new("Sky") sky.Name = "CustomSky" sky.Parent = game.Lighting sky.SkyboxBk = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxDn = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxFt = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxLf = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxRt = "http://www.roblox.com/asset/?id=" .. skyboxID sky.SkyboxUp = "http://www.roblox.com/asset/?id=" .. skyboxID game.Lighting.TimeOfDay = 12 end, }) local Button = Tab:CreateButton({ Name = "Hint", Callback = function() local hint = Instance.new("Hint", game.Workspace) hint.Text = "BanForReport: REST IN HELL" end, }) local Button = Tab:CreateButton({ Name = "Noob all", Callback = function() local Players = game:GetService("Players") -- Function to turn a player's character into a noob local function turnToNoob(player) player.CharacterAppearanceLoaded:Connect(function(character) -- Set body colors to noob colors local bodyColors = character:FindFirstChildOfClass("BodyColors") if not bodyColors then bodyColors = Instance.new("BodyColors") bodyColors.Parent = character end bodyColors.HeadColor3 = Color3.fromRGB(255, 255, 0) -- Yellow bodyColors.TorsoColor3 = Color3.fromRGB(13, 105, 172) -- Blue bodyColors.LeftArmColor3 = Color3.fromRGB(13, 105, 172) -- Blue bodyColors.RightArmColor3 = Color3.fromRGB(13, 105, 172) -- Blue bodyColors.LeftLegColor3 = Color3.fromRGB(0, 255, 33) -- Green bodyColors.RightLegColor3 = Color3.fromRGB(0, 255, 33) -- Green -- Remove hats and accessories for _, accessory in pairs(character:GetChildren()) do if accessory:IsA("Accessory") then accessory:Destroy() end end -- Set the player's name to "Noob" character.Humanoid.DisplayName = "Noob" end) end -- Apply to all current players for _, player in ipairs(Players:GetPlayers()) do turnToNoob(player) end -- Apply to new players who join Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) turnToNoob(player) end) end, }) local Button = Tab:CreateButton({ Name = "666", Callback = function() local Lighting = game:GetService("Lighting") local Players = game:GetService("Players") local Debris = game:GetService("Debris") -- Store original lighting settings local originalLighting = { ClockTime = Lighting.ClockTime, FogColor = Lighting.FogColor, FogStart = Lighting.FogStart, FogEnd = Lighting.FogEnd, Ambient = Lighting.Ambient, OutdoorAmbient = Lighting.OutdoorAmbient } -- Store original player states local originalStates = {} -- Capture the original state of a character local function captureOriginalState(character) local state = {} for _, obj in ipairs(character:GetDescendants()) do if obj:IsA("BasePart") then state[obj] = { Color = obj.Color, Material = obj.Material, Transparency = obj.Transparency } elseif obj:IsA("Decal") and obj.Name == "face" then state[obj] = { Texture = obj.Texture, Transparency = obj.Transparency } end end return state end -- Restore a character to its original state local function restoreOriginalState(character, state) for obj, properties in pairs(state) do if obj and obj.Parent then for prop, value in pairs(properties) do obj[prop] = value end end end local fire = character:FindFirstChild("HumanoidRootPart"):FindFirstChild("DarkModeFire") if fire then fire:Destroy() end end -- Apply "666 Mode" to a character local function apply666Effect(character) local root = character:FindFirstChild("HumanoidRootPart") if not root then return end for _, obj in ipairs(character:GetDescendants()) do if obj:IsA("BasePart") then obj.Color = Color3.fromRGB(0, 0, 0) obj.Material = Enum.Material.SmoothPlastic elseif obj:IsA("Decal") and obj.Name == "face" then obj.Texture = "rbxassetid://45345525662" end end local fire = Instance.new("Fire") fire.Name = "DarkModeFire" fire.Size = 15 fire.Heat = 50 fire.Color = Color3.fromRGB(255, 0, 0) fire.SecondaryColor = Color3.fromRGB(255, 127, 0) fire.Parent = root end -- Raining fire effect local function spawnFire() local fireball = Instance.new("Part") fireball.Shape = Enum.PartType.Ball fireball.Material = Enum.Material.Neon fireball.Size = Vector3.new(8, 8, 8) fireball.Position = Vector3.new(math.random(-50, 50), math.random(20, 100), math.random(-50, 50)) fireball.Anchored = true fireball.CanCollide = false fireball.Color = Color3.fromRGB(255, 100, 0) fireball.Parent = workspace local fire = Instance.new("Fire") fire.Size = 25 fire.Heat = 50 fire.Color = Color3.fromRGB(255, 0, 0) fire.SecondaryColor = Color3.fromRGB(255, 127, 0) fire.Parent = fireball local light = Instance.new("PointLight") light.Color = Color3.fromRGB(255, 150, 0) light.Range = 20 light.Brightness = 5 light.Parent = fireball Debris:AddItem(fireball, 5) end -- Apply 666 Mode to all players local function apply666ToAllPlayers() for _, player in ipairs(Players:GetPlayers()) do if player.Character and not originalStates[player.UserId] then originalStates[player.UserId] = captureOriginalState(player.Character) end if player.Character then apply666Effect(player.Character) end end Lighting.ClockTime = 0 Lighting.FogColor = Color3.fromRGB(0, 0, 0) Lighting.FogStart = 0 Lighting.FogEnd = 300 Lighting.Ambient = Color3.fromRGB(0, 0, 0) Lighting.OutdoorAmbient = Color3.fromRGB(0, 0, 0) end -- Remove 666 Mode and restore players local function remove666Effect() for _, player in ipairs(Players:GetPlayers()) do if player.Character and originalStates[player.UserId] then restoreOriginalState(player.Character, originalStates[player.UserId]) end end Lighting.ClockTime = originalLighting.ClockTime Lighting.FogColor = originalLighting.FogColor Lighting.FogStart = originalLighting.FogStart Lighting.FogEnd = originalLighting.FogEnd Lighting.Ambient = originalLighting.Ambient Lighting.OutdoorAmbient = originalLighting.OutdoorAmbient end -- Start the raining fire local function startRainingFire() spawn(function() while true do spawnFire() wait(0.5) end end) end -- Example usage: -- Apply 666 Mode to all players apply666ToAllPlayers() -- Start raining fire startRainingFire() -- To remove 666 Mode, you can call: -- remove666Effect() end, }) local Button = Tab:CreateButton({ Name = "Shutdown this server", Callback = function() -- Kick all players from the server local Players = game:GetService("Players") for _, player in pairs(Players:GetPlayers()) do player:Kick("BanForReport is shutting down this server please join later.") end -- Optionally shutdown server wait(5) -- Allow time for players to be kicked game:Shutdown() -- Forces the server to stop running end, }) local Button = Tab:CreateButton({ Name = "Ban All", Callback = function() local Players = game:GetService("Players") local MemoryStoreService = game:GetService("MemoryStoreService") -- Create a MemoryStore sorted map for banned players local banList = MemoryStoreService:GetSortedMap("TemporaryBanList") local banDuration = 3600 -- Duration of the ban in seconds (1 hour) -- Function to add all players to the ban list local function banAllPlayers() for _, player in pairs(Players:GetPlayers()) do -- Ban each player by adding their UserId to the ban list with an expiration time banList:SetAsync(tostring(player.UserId), true, banDuration) player:Kick("You have been temporarily banned from the game.") end end -- Call the function to ban all players after a short delay (for testing) wait(5) banAllPlayers() end, }) local Button = Tab:CreateButton({ Name = "Kill all", Callback = function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local KillAllEvent = ReplicatedStorage:WaitForChild("KillAllEvent") -- Function to kill the player's character local function killPlayer() local player = game.Players.LocalPlayer -- Check if the character exists and has a Humanoid if player.Character and player.Character:FindFirstChild("Humanoid") then player.Character.Humanoid.Health = 0 -- Set health to 0 to "kill" the player end end -- Listen for the KillAll event KillAllEvent.OnClientEvent:Connect(killPlayer) end, }) local Button = Tab:CreateButton({ Name = "Jumpscare", Callback = function() --[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] local jumpscareSound = Instance.new("Sound", workspace) jumpscareSound.Name = "JumpscareSound" jumpscareSound.Volume = 9999999999999999 jumpscareSound.Pitch = 1 jumpscareSound.SoundId = "rbxassetid:/7236490488/" local jumpscareGUI = Instance.new("ScreenGui", nil) jumpscareGUI.Name = "Jumpscare" local image = Instance.new("ImageLabel", jumpscareGUI) image.Name = "JumpscareImage" image.BackgroundColor3 = Color3.new(0, 0, 0) image.BorderColor3 = Color3.new(255, 255, 255) image.BorderSizePixel = 0 image.Size = UDim2.new(1, 0, 1, 0) image.Image = "http://www.roblox.com/asset/?id893052425=" image.Active = true for i, c in pairs(game.Players:GetChildren()) do local jumpscareClone = jumpscareGUI:Clone() jumpscareClone.Parent = c.PlayerGui end jumpscareSound:Play() wait(5) jumpscareSound:Destroy() for i, c in pairs(game.Players:GetChildren()) do c.PlayerGui.Jumpscare:Destroy() end end, }) local Button = Tab:CreateButton({ Name = "Fly", Callback = function() local main = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local up = Instance.new("TextButton") local down = Instance.new("TextButton") local plus = Instance.new("TextButton") local mine = Instance.new("TextButton") local speed = Instance.new("TextLabel") local onof = Instance.new("TextButton") local title = Instance.new("TextLabel") local close = Instance.new("TextButton") local small = Instance.new("TextButton") local stopgame = Instance.new("TextButton") local isWaiting = false -- GUIの設定 main.Name = "FlyGUIV4" main.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") main.ResetOnSpawn = false Frame.Parent = main Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Frame.Size = UDim2.new(0, 200, 0, 150) Frame.Position = UDim2.new(0.5, -100, 0.5, -75) Frame.BorderSizePixel = 2 -- ドラッグ機能 Frame.Active = true Frame.Draggable = true -- タイトル title.Name = "Title" title.Parent = Frame title.BackgroundColor3 = Color3.fromRGB(200, 200, 200) title.Size = UDim2.new(1, 0, 0.2, 0) title.Position = UDim2.new(0, 0, 0, 0) title.Text = "Fly GUI v4" title.Font = Enum.Font.SourceSansBold title.TextSize = 18 title.TextColor3 = Color3.fromRGB(0, 0, 0) -- ボタン(UP) up.Name = "Up" up.Parent = Frame up.Size = UDim2.new(0.45, -5, 0.2, 0) up.Position = UDim2.new(0.05, 0, 0.3, 0) up.Text = "UP" up.BackgroundColor3 = Color3.fromRGB(170, 220, 255) up.Font = Enum.Font.SourceSans up.TextSize = 16 up.BorderSizePixel = 2 -- ボタン(DOWN) down.Name = "Down" down.Parent = Frame down.Size = UDim2.new(0.45, -5, 0.2, 0) down.Position = UDim2.new(0.05, 0, 0.55, 0) down.Text = "DOWN" down.BackgroundColor3 = Color3.fromRGB(170, 220, 255) down.Font = Enum.Font.SourceSans down.TextSize = 16 down.BorderSizePixel = 2 -- ボタン(+) plus.Name = "Plus" plus.Parent = Frame plus.Size = UDim2.new(0.2, 0, 0.2, 0) plus.Position = UDim2.new(0.55, 5, 0.3, 0) plus.Text = "+" plus.BackgroundColor3 = Color3.fromRGB(170, 255, 170) plus.Font = Enum.Font.SourceSans plus.TextSize = 18 plus.BorderSizePixel = 2 -- ボタン(-) mine.Name = "Minus" mine.Parent = Frame mine.Size = UDim2.new(0.2, 0, 0.2, 0) mine.Position = UDim2.new(0.55, 5, 0.55, 0) mine.Text = "-" mine.BackgroundColor3 = Color3.fromRGB(255, 170, 170) mine.Font = Enum.Font.SourceSans mine.TextSize = 18 mine.BorderSizePixel = 2 -- スピードラベル speed.Name = "Speed" speed.Parent = Frame speed.Size = UDim2.new(0.2, 0, 0.2, 0) speed.Position = UDim2.new(0.8, 0, 0.3, 0) speed.Text = "1" speed.Font = Enum.Font.SourceSans speed.TextSize = 18 speed.TextColor3 = Color3.fromRGB(0, 0, 0) speed.BorderSizePixel = 2 -- ON/OFFボタン onof.Name = "OnOff" onof.Parent = Frame onof.Size = UDim2.new(0.4, -5, 0.2, 0) onof.Position = UDim2.new(0.55, 5, 0.75, 0) onof.Text = "Fly: OFF" onof.BackgroundColor3 = Color3.fromRGB(255, 255, 170) onof.Font = Enum.Font.SourceSans onof.TextSize = 16 onof.BorderSizePixel = 2 -- 閉じるボタン close.Name = "Close" close.Parent = Frame close.Size = UDim2.new(0.2, 0, 0.2, 0) close.Position = UDim2.new(1, -40, 0, 0) -- ここを変更して右寄せにしました close.Text = "X" close.BackgroundColor3 = Color3.fromRGB(255, 170, 170) close.Font = Enum.Font.SourceSans close.TextSize = 18 close.BorderSizePixel = 2 close.MouseButton1Click:Connect(function() if not nowe then -- 空を飛んでいない状態でのみGUIを閉じる game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "Thank you for using."; Icon = ""}) main:Destroy() else game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "The GUI cannot be closed while Fly is on."; Icon = ""}) end end) -- 最小化ボタン small.Name = "FullBright" small.Parent = Frame small.Size = UDim2.new(0.2, 0, 0.2, 0) small.Position = UDim2.new(1, -200, 0, 0) -- ここを変更して右寄せにしました small.Text = "-" small.BackgroundColor3 = Color3.fromRGB(255, 255, 170) small.Font = Enum.Font.SourceSans small.TextSize = 18 small.BorderSizePixel = 2 local isSmalled = false -- smallボタンがクリックされたときの処理 small.MouseButton1Click:Connect(function() isWaiting = false if isSmalled == false then Frame.Visible = false isSmalled = true game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "Press right shift to show GUI."; Icon = ""}) end end) stopgame.Name = "Endgame" stopgame.Parent = Frame stopgame.Size = UDim2.new(0.45, -5, 0.2, -1) stopgame.Position = UDim2.new(0.05, 0, 0.75, 2) stopgame.Text = "EndGame" stopgame.BackgroundColor3 = Color3.fromRGB(0,226,180) stopgame.Font = Enum.Font.SourceSans stopgame.TextSize = 16 stopgame.BorderSizePixel = 2 stopgame.MouseButton1Click:Connect(function() isWaiting = true game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "Really?Press right shift to exit the game"; Icon = ""}) wait(5) -- Robloxでの5秒間の待機 isWaiting = false end) speeds = 1 local speaker = game:GetService("Players").LocalPlayer local chr = game.Players.LocalPlayer.Character local hum = chr and chr:FindFirstChildWhichIsA("Humanoid") nowe = false local UserInputService = game:GetService("UserInputService") -- Function to detect when a key is pressed UserInputService.InputBegan:Connect(function(input, gameProcessed) -- Check if the input is the right Shift key if input.KeyCode == Enum.KeyCode.RightShift then -- Execute the desired action if isSmalled == true then Frame.Visible = true isSmalled = false elseif isWaiting == true then game.Players.LocalPlayer:Kick("GameEnd") end end end) game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "Created by MyNuko"; Icon = ""}) Duration = 5; Frame.Active = true -- main = gui Frame.Draggable = true onof.MouseButton1Down:connect(function() if nowe == true then onof.Text = "Fly: off" nowe = false speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,true) speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.RunningNoPhysics) else onof.Text = "Fly: on" nowe = true for i = 1, speeds do spawn(function() local hb = game:GetService("RunService").Heartbeat tpwalking = true local chr = game.Players.LocalPlayer.Character local hum = chr and chr:FindFirstChildWhichIsA("Humanoid") while tpwalking and hb:Wait() and chr and hum and hum.Parent do if hum.MoveDirection.Magnitude > 0 then chr:TranslateBy(hum.MoveDirection) end end end) end game.Players.LocalPlayer.Character.Animate.Disabled = true local Char = game.Players.LocalPlayer.Character local Hum = Char:FindFirstChildOfClass("Humanoid") or Char:FindFirstChildOfClass("AnimationController") for i,v in next, Hum:GetPlayingAnimationTracks() do v:AdjustSpeed(0) end speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Flying,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Freefall,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Landed,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Physics,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Running,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Seated,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false) speaker.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,false) speaker.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Swimming) end if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Humanoid").RigType == Enum.HumanoidRigType.R6 then 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 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) if nowe == true then plr.Character.Humanoid.PlatformStand = true end while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do game:GetService("RunService").RenderStepped:Wait() 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,0) end -- game.Players.LocalPlayer.Character.Animate.Disabled = true bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) end 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 game.Players.LocalPlayer.Character.Animate.Disabled = false tpwalking = false else local plr = game.Players.LocalPlayer local UpperTorso = plr.Character.UpperTorso 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 local bg = Instance.new("BodyGyro", UpperTorso) bg.P = 9e4 bg.maxTorque = Vector3.new(9e9, 9e9, 9e9) bg.cframe = UpperTorso.CFrame local bv = Instance.new("BodyVelocity", UpperTorso) bv.velocity = Vector3.new(0,0.1,0) bv.maxForce = Vector3.new(9e9, 9e9, 9e9) if nowe == true then plr.Character.Humanoid.PlatformStand = true end while nowe == true or game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 0 do wait() 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,0) end bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0) end 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 game.Players.LocalPlayer.Character.Animate.Disabled = false tpwalking = false end end) local tis up.MouseButton1Down:connect(function() tis = up.MouseEnter:connect(function() while tis do wait() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,1,0) end end) end) up.MouseLeave:connect(function() if tis then tis:Disconnect() tis = nil end end) local dis down.MouseButton1Down:connect(function() dis = down.MouseEnter:connect(function() while dis do wait() game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(0,-1,0) end end) end) down.MouseLeave:connect(function() if dis then dis:Disconnect() dis = nil end end) game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(char) wait(0.7) game.Players.LocalPlayer.Character.Humanoid.PlatformStand = false game.Players.LocalPlayer.Character.Animate.Disabled = false end) plus.MouseButton1Down:connect(function() speeds = speeds + 1 speed.Text = speeds if nowe == true then tpwalking = false for i = 1, speeds do spawn(function() local hb = game:GetService("RunService").Heartbeat tpwalking = true local chr = game.Players.LocalPlayer.Character local hum = chr and chr:FindFirstChildWhichIsA("Humanoid") while tpwalking and hb:Wait() and chr and hum and hum.Parent do if hum.MoveDirection.Magnitude > 0 then chr:TranslateBy(hum.MoveDirection) end end end) end end end) mine.MouseButton1Down:connect(function() if speeds == 1 then speed.Text = '1' game:GetService("StarterGui"):SetCore("SendNotification", { Title = "Fly GUI v4"; Text = "Can not be less than 1"; Icon = ""}) wait(1) speed.Text = speeds else speeds = speeds - 1 speed.Text = speeds if nowe == true then tpwalking = false for i = 1, speeds do spawn(function() local hb = game:GetService("RunService").Heartbeat tpwalking = true local chr = game.Players.LocalPlayer.Character local hum = chr and chr:FindFirstChildWhichIsA("Humanoid") while tpwalking and hb:Wait() and chr and hum and hum.Parent do if hum.MoveDirection.Magnitude > 0 then chr:TranslateBy(hum.MoveDirection) end end end) end end end end) end, }) local Button = Tab:CreateButton({ Name = "no", Callback = function() -- function to do nothing end, })