--[[ MOBILE FLYING SCRIPTS Original: me_ozoneYT & Lucifear Remade and optimized by Riky47#3355 for Arceus X # spdmteam.com ]] local Script_Title = `Speed Evade<font color="rgb(128, 0, 255)"></font>` -- Instances: local Arceus = Instance.new("ScreenGui") local Main = Instance.new("Frame") local UICorner = Instance.new("UICorner") local Intro = Instance.new("Frame") local UICorner_2 = Instance.new("UICorner") local Logo = Instance.new("ImageButton") local UIAspectRatioConstraint = Instance.new("UIAspectRatioConstraint") local Title = Instance.new("TextLabel") local Menu = Instance.new("ScrollingFrame") local UIListLayout = Instance.new("UIListLayout") local Toggle = Instance.new("ImageButton") local UICorner_3 = Instance.new("UICorner") local Enabled = Instance.new("Frame") local UIAspectRatioConstraint_2 = Instance.new("UIAspectRatioConstraint") local UICorner_4 = Instance.new("UICorner") local Check = Instance.new("Frame") local UIAspectRatioConstraint_3 = Instance.new("UIAspectRatioConstraint") local UICorner_5 = Instance.new("UICorner") local Name = Instance.new("TextLabel") local UIGradient = Instance.new("UIGradient") local Button = Instance.new("ImageButton") local UICorner_6 = Instance.new("UICorner") local Name_2 = Instance.new("TextLabel") local UIGradient_2 = Instance.new("UIGradient") local tab = Instance.new("Frame") local Close = Instance.new("TextButton") local ComboElem = Instance.new("ImageButton") local UICorner_7 = Instance.new("UICorner") local Name_3 = Instance.new("TextLabel") local UIGradient_3 = Instance.new("UIGradient") local Img = Instance.new("TextLabel") local UIAspectRatioConstraint_4 = Instance.new("UIAspectRatioConstraint") local ComboBox = Instance.new("ImageButton") local UICorner_8 = Instance.new("UICorner") local Name_4 = Instance.new("TextLabel") local UIGradient_4 = Instance.new("UIGradient") local Img_2 = Instance.new("TextLabel") local UIAspectRatioConstraint_5 = Instance.new("UIAspectRatioConstraint") --Properties: Arceus.Name = "Arceus" Arceus.Enabled = true Arceus.ResetOnSpawn = true Arceus.ZIndexBehavior = Enum.ZIndexBehavior.Sibling Arceus.DisplayOrder = 999999999 Main.Name = "Main" Main.Parent = Arceus Main.Active = true Main.Draggable = true Main.AnchorPoint = Vector2.new(0.5, 0.5) Main.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Main.BorderSizePixel = 0 Main.Position = UDim2.new(0.5, 0, -0.2, 0) --UDim2.new(0.5, 0, 0.5, 0) Main.Size = UDim2.new(0.22, 0, 0.3, 0) UICorner.CornerRadius = UDim.new(0.1, 0) UICorner.Parent = Main Intro.Name = "Intro" Intro.Parent = Main Intro.BackgroundColor3 = Color3.fromRGB(40, 40, 40) Intro.ClipsDescendants = true Intro.Size = UDim2.new(1, 0, 1, 0) Intro.ZIndex = 2 UICorner_2.CornerRadius = UDim.new(0.1, 0) UICorner_2.Parent = Intro Logo.Parent = Intro Logo.AnchorPoint = Vector2.new(0.5, 0.5) Logo.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Logo.BackgroundTransparency = 1 Logo.BorderSizePixel = 0 Logo.Position = UDim2.new(0.5, 0, 0.5, 0) Logo.Size = UDim2.new(0.75, 0, 0.75, 0) Logo.ZIndex = 2 Logo.Image = "http://www.roblox.com/asset/?id=9178187770" Logo.ScaleType = Enum.ScaleType.Fit Logo.Active = false UIAspectRatioConstraint.Parent = Logo Title.Name = "Title" Title.Parent = Main Title.AnchorPoint = Vector2.new(1, 0) Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Title.BackgroundTransparency = 1 Title.BorderSizePixel = 0 Title.Position = UDim2.new(0.975, 0, 0.075, 0) Title.Size = UDim2.new(0.85, 0, 0.155, 0) Title.Font = Enum.Font.TitilliumWeb Title.FontFace = Font.new("rbxasset://fonts/families/TitilliumWeb.json", Enum.FontWeight.Bold) Title.RichText = true Title.Text = Script_Title Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextScaled = true Title.TextSize = 14 Title.TextWrapped = true Title.TextXAlignment = Enum.TextXAlignment.Left Title.TextYAlignment = Enum.TextYAlignment.Center Menu.Name = "Menu" Menu.Parent = Main Menu.Active = true Menu.AnchorPoint = Vector2.new(0.5, 1) Menu.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Menu.BackgroundTransparency = 1 Menu.AutomaticCanvasSize = Enum.AutomaticSize.Y Menu.BorderSizePixel = 0 Menu.Position = UDim2.new(0.5, 0, 1.17, 0) Menu.Size = UDim2.new(0.65, 0, 0.85, 0) Menu.CanvasSize = UDim2.new(0, 0, 0, 0) Menu.ScrollBarImageColor3 = Color3.fromRGB(255, 255, 255) Menu.ScrollBarThickness = Menu.AbsoluteSize.X/25 UIListLayout.Parent = Menu --UIListLayout.Padding = UDim.new(0.025, 0) UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder Toggle.Name = "Toggle" Toggle.Visible = false --Toggle.Parent = Arceus Toggle.BackgroundColor3 = Color3.fromRGB(55, 55, 55) Toggle.Size = UDim2.new(0.95, 0, 0, 50) UICorner_3.CornerRadius = UDim.new(0.25, 0) UICorner_3.Parent = Toggle Enabled.Name = "Enabled" Enabled.Parent = Toggle Enabled.AnchorPoint = Vector2.new(1, 0.5) Enabled.BackgroundColor3 = Color3.fromRGB(50, 50, 50) Enabled.Position = UDim2.new(0.975, 0, 0.5, 0) Enabled.Size = UDim2.new(0.75, 0, 0.75, 0) UIAspectRatioConstraint_2.Parent = Enabled UICorner_4.CornerRadius = UDim.new(0.3, 0) UICorner_4.Parent = Enabled Check.Name = "Check" Check.Parent = Enabled Check.AnchorPoint = Vector2.new(0.5, 0.5) Check.BackgroundColor3 = Color3.fromRGB(128, 0, 255) Check.Position = UDim2.new(0.5, 0, 0.5, 0) Check.Size = UDim2.new(0.65, 0, 0.65, 0) UIAspectRatioConstraint_3.Parent = Check UICorner_5.CornerRadius = UDim.new(0.3, 0) UICorner_5.Parent = Check Name.Name = "Name" Name.Parent = Toggle Name.AnchorPoint = Vector2.new(0, 0.5) Name.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Name.BackgroundTransparency = 1 Name.BorderSizePixel = 0 Name.Position = UDim2.new(0.05, 0, 0.5, 0) Name.Size = UDim2.new(0.75, 0, 0.8, 0) Name.Font = Enum.Font.TitilliumWeb Name.Text = "Script" Name.TextColor3 = Color3.fromRGB(255, 255, 255) Name.TextScaled = true Name.TextSize = 14 Name.TextWrapped = true Name.TextXAlignment = Enum.TextXAlignment.Left Name.TextYAlignment = Enum.TextYAlignment.Bottom UIGradient.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(180, 180, 180))} UIGradient.Parent = Toggle Button.Name = "Button" --Button.Parent = Arceus Button.BackgroundColor3 = Color3.fromRGB(55, 55, 55) Button.Size = UDim2.new(0.95, 0, 0, 50) UICorner_6.CornerRadius = UDim.new(0.25, 0) UICorner_6.Parent = Button Name_2.Name = "Name" Name_2.Parent = Button Name_2.AnchorPoint = Vector2.new(0, 0.5) Name_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Name_2.BackgroundTransparency = 1 Name_2.BorderSizePixel = 0 Name_2.Position = UDim2.new(0.05, 0, 0.5, 0) Name_2.Size = UDim2.new(0.95, 0, 0.82, 0) Name_2.Font = Enum.Font.TitilliumWeb Name_2.Text = "Enabled" Name_2.TextColor3 = Color3.fromRGB(255, 255, 255) Name_2.TextScaled = true Name_2.TextSize = 14 Name_2.TextWrapped = true Name_2.TextXAlignment = Enum.TextXAlignment.Left Name_2.TextYAlignment = Enum.TextYAlignment.Bottom UIGradient_2.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(180, 180, 180))} UIGradient_2.Parent = Button tab.Name = "Tab" tab.Visible = false --tab.Parent = Arceus tab.BackgroundTransparency = 1 tab.Size = UDim2.new(0.95, 0, 0.025, 0) Close.Name = "Close" Close.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Close.BackgroundTransparency = 1 Close.BorderSizePixel = 0 Close.Position = UDim2.new(0.8, 0, 0.1, 0) Close.Size = UDim2.new(0.15, 0, 0.125, 0) Close.Font = Enum.Font.FredokaOne Close.Text = "X" Close.TextColor3 = Color3.fromRGB(128, 0, 255) Close.TextScaled = true Close.TextSize = 14 Close.TextWrapped = true Close.TextXAlignment = Enum.TextXAlignment.Right Close.Parent = Main ComboElem.Name = "ComboElem" ComboElem.BackgroundColor3 = Color3.fromRGB(55, 55, 55) ComboElem.Size = UDim2.new(0.95, 0, 0, 50) UICorner_7.CornerRadius = UDim.new(0.25, 0) UICorner_7.Parent = ComboElem Name_3.Name = "Name" Name_3.Parent = ComboElem Name_3.AnchorPoint = Vector2.new(0, 0.5) Name_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Name_3.BackgroundTransparency = 1 Name_3.BorderSizePixel = 0 Name_3.Position = UDim2.new(0.05, 0, 0.5, 0) Name_3.Size = UDim2.new(0.75, 0, 0.8, 0) Name_3.Font = Enum.Font.TitilliumWeb Name_3.Text = "Enabled" Name_3.TextColor3 = Color3.fromRGB(128, 0, 255) Name_3.TextScaled = true Name_3.TextSize = 14 Name_3.TextWrapped = true Name_3.TextXAlignment = Enum.TextXAlignment.Left Name_3.TextYAlignment = Enum.TextYAlignment.Bottom UIGradient_3.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(180, 180, 180))} UIGradient_3.Rotation = 180 UIGradient_3.Parent = ComboElem Img.Name = "Img" Img.Parent = ComboElem Img.AnchorPoint = Vector2.new(1, 0.5) Img.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Img.BackgroundTransparency = 1 Img.BorderSizePixel = 0 Img.Position = UDim2.new(0.975, 0, 0.5, 0) Img.Rotation = 90 Img.Size = UDim2.new(0.75, 0, 0.75, 0) Img.Font = Enum.Font.FredokaOne Img.Text = "^" Img.TextColor3 = Color3.fromRGB(255, 255, 255) Img.TextScaled = true Img.TextSize = 14 Img.TextWrapped = true UIAspectRatioConstraint_4.Parent = Img ComboBox.Name = "ComboBox" ComboBox.BackgroundColor3 = Color3.fromRGB(55, 55, 55) ComboBox.Size = UDim2.new(0.95, 0, 0, 50) UICorner_8.CornerRadius = UDim.new(0.25, 0) UICorner_8.Parent = ComboBox Name_4.Name = "Name" Name_4.Parent = ComboBox Name_4.AnchorPoint = Vector2.new(0, 0.5) Name_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Name_4.BackgroundTransparency = 1.000 Name_4.BorderSizePixel = 0 Name_4.Position = UDim2.new(0.05, 0, 0.5, 0) Name_4.Size = UDim2.new(0.75, 0, 0.8, 0) Name_4.Font = Enum.Font.TitilliumWeb Name_4.Text = "Enabled" Name_4.TextColor3 = Color3.fromRGB(255, 255, 255) Name_4.TextScaled = true Name_4.TextSize = 14 Name_4.TextWrapped = true Name_4.TextXAlignment = Enum.TextXAlignment.Left Name_4.TextYAlignment = Enum.TextYAlignment.Bottom UIGradient_4.Color = ColorSequence.new{ColorSequenceKeypoint.new(0.00, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1.00, Color3.fromRGB(180, 180, 180))} UIGradient_4.Parent = ComboBox Img_2.Name = "Img" Img_2.Parent = ComboBox Img_2.AnchorPoint = Vector2.new(1, 0.5) Img_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Img_2.BackgroundTransparency = 1 Img_2.BorderSizePixel = 0 Img_2.Rotation = 180 Img_2.Position = UDim2.new(0.975, 0, 0.5, 0) Img_2.Size = UDim2.new(0.75, 0, 0.75, 0) Img_2.Font = Enum.Font.FredokaOne Img_2.Text = "^" Img_2.TextColor3 = Color3.fromRGB(128, 0, 255) Img_2.TextScaled = true Img_2.TextSize = 14 Img_2.TextWrapped = true UIAspectRatioConstraint_5.Parent = Img_2 -- SCRIPT local TweenService = game:GetService("TweenService") Close.MouseButton1Click:Connect(function() Logo.Active = true TweenService:Create(Intro, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 0}):Play() task.wait(0.3) Logo:TweenSizeAndPosition( UDim2.fromScale(0.75, 0.75), UDim2.fromScale(0.5, 0.5), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.25, true, nil ) task.wait(0.3) Main:TweenSize( UDim2.fromScale(0.1, 0.175), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.25, true, nil ) task.wait(0.3) for _, obj in pairs(Main:GetChildren()) do if obj:IsA("GuiObject") and obj ~= Intro then obj.Visible = false end end TweenService:Create(Logo, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {ImageTransparency = 0.8}):Play() TweenService:Create(Intro, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play() TweenService:Create(Main, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 0.8}):Play() end) Logo.MouseButton1Click:Connect(function() Logo.Active = false TweenService:Create(Logo, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {ImageTransparency = 0}):Play() TweenService:Create(Intro, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 0}):Play() TweenService:Create(Main, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 0}):Play() task.wait(0.3) Main:TweenSize( UDim2.fromScale(0.22, 0.3), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.25, true, nil ) task.wait(0.3) Logo:TweenSizeAndPosition( UDim2.fromScale(0.175, 0.175), UDim2.fromScale(0.075, 0.15), Enum.EasingDirection.Out, Enum.EasingStyle.Quad, 0.25, true, nil ) for _, obj in pairs(Main:GetChildren()) do if obj:IsA("GuiObject") and obj ~= Intro then obj.Visible = true end end task.wait(0.3) TweenService:Create(Intro, TweenInfo.new(0.25, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play() end) local function uiparent() local success, parent = pcall(function() return gethui() end) if not success then return game:GetService("CoreGui") end return parent end local success, err = pcall(function() Arceus.Parent = uiparent() end) if not success then Arceus.Parent = game:GetService("Players").LocalPlayer.PlayerGui end local element_height = 50*Menu.AbsoluteSize.Y/210 local elements = 0 local function addSpace(parent) local space = tab:Clone() space.Parent = parent space.LayoutOrder = elements space.Visible = true elements += 1 end local function addToggle(name, funct, enabled, ...) local newTog = Toggle:Clone() local args = {...} newTog.MouseButton1Click:Connect(function() enabled = not enabled newTog:WaitForChild("Enabled"):WaitForChild("Check").Visible = enabled funct(enabled, unpack(args)) end) newTog:WaitForChild("Enabled"):WaitForChild("Check").Visible = enabled newTog:WaitForChild("Name").Text = name newTog.Size = UDim2.new(0.95, 0, 0, element_height) -- Y1 = 50 : Y2 = X newTog.Name = name newTog.Parent = Menu newTog.LayoutOrder = elements newTog.Visible = true elements += 1 addSpace(Menu) return newTog end local function addButton(name, funct, ...) local newBut = Button:Clone() local args = {...} newBut.MouseButton1Click:Connect(function() funct(unpack(args)) end) newBut:WaitForChild("Name").Text = name newBut.Size = UDim2.new(0.95, 0, 0, element_height) newBut.Name = name newBut.Parent = Menu newBut.LayoutOrder = elements newBut.Visible = true elements += 1 addSpace(Menu) return newBut end local function addComboBox(text, options, funct, ...) -- ADD CUSTOM ELEMENT INSTEAD local newCombo = ComboBox:Clone() local enabled = false local elems = {} local args = {...} local function setBoxState() newCombo:WaitForChild("Img").Rotation = enabled and 0 or 180 for _, elem in ipairs(elems) do elem.Visible = enabled end end newCombo.MouseButton1Click:Connect(function() enabled = not enabled setBoxState() end) newCombo:WaitForChild("Name").Text = text .. ": " .. (#options > 0 and options[1] or "") newCombo.Size = UDim2.new(0.95, 0, 0, element_height) newCombo.Name = #options > 0 and options[1] or "" newCombo.Parent = Menu newCombo.LayoutOrder = elements newCombo.Parent = Menu newCombo.Visible = true elements += 1 addSpace(Menu) for _, name in ipairs(options) do local newElem = ComboElem:Clone() table.insert(elems, newElem) newElem.MouseButton1Click:Connect(function() newCombo:WaitForChild("Name").Text = text .. ": " .. name enabled = false setBoxState() funct(name, unpack(args)) end) newElem:WaitForChild("Name").Text = name newElem.Size = UDim2.new(0.95, 0, 0, element_height) newElem.Name = name newElem.Parent = Menu newElem.LayoutOrder = elements newElem.Visible = false elements += 1 addSpace(Menu) end return newCombo end -- Actual Script local speeds = 3 local nowe = false local tpwalking = false local speaker = game:GetService("Players").LocalPlayer local heartbeat = game:GetService("RunService").Heartbeat local function updatespeed(char, hum) if nowe == true then tpwalking = false heartbeat:Wait() task.wait(.1) heartbeat:Wait() -- Make sure old threads are terminated for i = 1, speeds do spawn(function() tpwalking = true while tpwalking and heartbeat:Wait() and char and hum and hum.Parent do if hum.MoveDirection.Magnitude > 0 then char:TranslateBy(hum.MoveDirection) end end end) end end end speaker.CharacterAdded:Connect(function(char) local char = speaker.Character if char then task.wait(0.7) char.Humanoid.PlatformStand = false char.Animate.Disabled = false end end) local toggleBtn toggleBtn = addToggle("Speed Evade: " .. speeds, function(enabled) local char = speaker.Character if not char or not char.Humanoid then return end local hum = char.Humanoid if nowe == true then nowe = false hum:SetStateEnabled(Enum.HumanoidStateType.Climbing,true) hum:SetStateEnabled(Enum.HumanoidStateType.FallingDown,true) hum:SetStateEnabled(Enum.HumanoidStateType.Flying,true) hum:SetStateEnabled(Enum.HumanoidStateType.Freefall,true) hum:SetStateEnabled(Enum.HumanoidStateType.GettingUp,true) hum:SetStateEnabled(Enum.HumanoidStateType.Jumping,true) hum:SetStateEnabled(Enum.HumanoidStateType.Landed,true) hum:SetStateEnabled(Enum.HumanoidStateType.Physics,true) hum:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,true) hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,true) hum:SetStateEnabled(Enum.HumanoidStateType.Running,true) hum:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,true) hum:SetStateEnabled(Enum.HumanoidStateType.Seated,true) hum:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,true) hum:SetStateEnabled(Enum.HumanoidStateType.Swimming,true) hum:ChangeState(Enum.HumanoidStateType.RunningNoPhysics) else nowe = true updatespeed(char, hum) char.Animate.Disabled = true for i,v in next, hum:GetPlayingAnimationTracks() do v:AdjustSpeed(0) end hum:SetStateEnabled(Enum.HumanoidStateType.Climbing,false) hum:SetStateEnabled(Enum.HumanoidStateType.FallingDown,false) hum:SetStateEnabled(Enum.HumanoidStateType.Flying,false) hum:SetStateEnabled(Enum.HumanoidStateType.Freefall,false) hum:SetStateEnabled(Enum.HumanoidStateType.GettingUp,false) hum:SetStateEnabled(Enum.HumanoidStateType.Jumping,false) hum:SetStateEnabled(Enum.HumanoidStateType.Landed,false) hum:SetStateEnabled(Enum.HumanoidStateType.Physics,false) hum:SetStateEnabled(Enum.HumanoidStateType.PlatformStanding,false) hum:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,false) hum:SetStateEnabled(Enum.HumanoidStateType.Running,false) hum:SetStateEnabled(Enum.HumanoidStateType.RunningNoPhysics,false) hum:SetStateEnabled(Enum.HumanoidStateType.Seated,false) hum:SetStateEnabled(Enum.HumanoidStateType.StrafingNoPhysics,false) hum:SetStateEnabled(Enum.HumanoidStateType.Swimming,false) hum:ChangeState(Enum.HumanoidStateType.Swimming) end local UpperTorso = speaker.Character.LowerTorso or speaker.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 = 3 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 hum.PlatformStand = true end while nowe == true or hum.Health == 0 do task.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)*4*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() hum.PlatformStand = false char.Animate.Disabled = false tpwalking = false end, false) local incraseBtn incraseBtn = addButton("Speed +", function() local char = speaker.Character if char and char.Humanoid then local hum = char.Humanoid speeds = speeds + 1 updatespeed(char, hum) toggleBtn:WaitForChild("Name").Text = "Speed Evade: " .. speeds end end) local decraseBtn decraseBtn = addButton("Speed -", function() local char = speaker.Character if char and char.Humanoid then local hum = char.Humanoid if speeds > 1 then speeds = speeds - 1 updatespeed(char, hum) end toggleBtn:WaitForChild("Name").Text = "Speed Evade: " .. speeds end end) -- INIT Main:TweenPosition( UDim2.fromScale(0.5, 0.5), Enum.EasingDirection.In, Enum.EasingStyle.Quad, 1, true, nil ) task.wait(1.5) Logo:TweenSizeAndPosition( UDim2.fromScale(0.175, 0.175), UDim2.fromScale(0.075, 0.15), Enum.EasingDirection.In, Enum.EasingStyle.Quad, 1, true, nil ) task.wait(1.5) TweenService:Create(Intro, TweenInfo.new(1, Enum.EasingStyle.Linear, Enum.EasingDirection.In), {BackgroundTransparency = 1}):Play()