-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- Ability Wars Test Hub -- Rayfield UI -- Roblox Studio test environment local Players = game:GetService("Players") local RunService = game:GetService("RunService") local UIS = game:GetService("UserInputService") local Player = Players.LocalPlayer local WalkSpeed = 32 local FlySpeed = 60 local SpeedEnabled = false local Flying = false local Noclip = false local FlyConnection local NoclipConnection local FlyVelocity local FlyAttachment local OriginalCollision = {} local Rayfield = loadstring(game:HttpGet( "https://sirius.menu/rayfield" ))() local Window = Rayfield:CreateWindow({ Name = "Ability Wars | Test Hub", LoadingTitle = "Movement Hub", LoadingSubtitle = "Rayfield Edition", ConfigurationSaving = { Enabled = false } }) local Movement = Window:CreateTab("Movement", 4483362458) local function GetCharacter() return Player.Character end local function GetHumanoid() local char = GetCharacter() return char and char:FindFirstChildOfClass("Humanoid") end local function GetRoot() local char = GetCharacter() return char and char:FindFirstChild("HumanoidRootPart") end -- SPEED local function SetSpeed(state) SpeedEnabled = state local hum = GetHumanoid() if hum then hum.WalkSpeed = state and WalkSpeed or 16 end end Movement:CreateSlider({ Name = "WalkSpeed", Range = {16, 150}, Increment = 1, CurrentValue = 32, Callback = function(value) WalkSpeed = value if SpeedEnabled then SetSpeed(true) end end }) Movement:CreateToggle({ Name = "Speedhack [T]", CurrentValue = false, Callback = function(value) SetSpeed(value) end }) -- FLY local function StopFly() Flying = false if FlyConnection then FlyConnection:Disconnect() FlyConnection = nil end if FlyVelocity then FlyVelocity:Destroy() FlyVelocity = nil end if FlyAttachment then FlyAttachment:Destroy() FlyAttachment = nil end local hum = GetHumanoid() local root = GetRoot() if hum then hum.AutoRotate = true hum.PlatformStand = false hum:ChangeState(Enum.HumanoidStateType.GettingUp) end if root then root.AssemblyLinearVelocity = Vector3.zero root.AssemblyAngularVelocity = Vector3.zero end end local function StartFly() StopFly() local root = GetRoot() local hum = GetHumanoid() if not root or not hum then return end Flying = true hum.AutoRotate = false hum:ChangeState(Enum.HumanoidStateType.Physics) FlyAttachment = Instance.new("Attachment") FlyAttachment.Parent = root FlyVelocity = Instance.new("LinearVelocity") FlyVelocity.Attachment0 = FlyAttachment FlyVelocity.RelativeTo = Enum.ActuatorRelativeTo.World FlyVelocity.MaxForce = math.huge FlyVelocity.VectorVelocity = Vector3.zero FlyVelocity.Parent = root FlyConnection = RunService.Heartbeat:Connect(function() if not Flying or not root.Parent then StopFly() return end local camera = workspace.CurrentCamera local direction = Vector3.zero if UIS:IsKeyDown(Enum.KeyCode.W) then direction += camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.S) then direction -= camera.CFrame.LookVector end if UIS:IsKeyDown(Enum.KeyCode.A) then direction -= camera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.D) then direction += camera.CFrame.RightVector end if UIS:IsKeyDown(Enum.KeyCode.Space) then direction += Vector3.yAxis end if UIS:IsKeyDown(Enum.KeyCode.LeftControl) then direction -= Vector3.yAxis end FlyVelocity.VectorVelocity = direction.Magnitude > 0 and direction.Unit * FlySpeed or Vector3.zero end) end local function SetFly(state) if state then StartFly() else StopFly() end end Movement:CreateSlider({ Name = "Fly Speed", Range = {10, 150}, Increment = 5, CurrentValue = 60, Callback = function(value) FlySpeed = value end }) Movement:CreateToggle({ Name = "Fly [F]", CurrentValue = false, Callback = function(value) SetFly(value) end }) -- NOCLIP local function SetNoclip(state) Noclip = state if NoclipConnection then NoclipConnection:Disconnect() NoclipConnection = nil end if not state then for part, original in pairs(OriginalCollision) do if part and part.Parent then part.CanCollide = original end end table.clear(OriginalCollision) return end NoclipConnection = RunService.Stepped:Connect(function() local char = GetCharacter() if not char then return end for _, part in ipairs(char:GetDescendants()) do if part:IsA("BasePart") then if OriginalCollision[part] == nil then OriginalCollision[part] = part.CanCollide end part.CanCollide = false end end end) end Movement:CreateToggle({ Name = "Noclip", CurrentValue = false, Callback = function(value) SetNoclip(value) end }) -- KEYBINDS UIS.InputBegan:Connect(function(input, processed) if processed then return end if UIS:GetFocusedTextBox() then return end if input.KeyCode == Enum.KeyCode.F then SetFly(not Flying) elseif input.KeyCode == Enum.KeyCode.T then SetSpeed(not SpeedEnabled) end end) -- RESPAWN Player.CharacterAdded:Connect(function() StopFly() SetSpeed(false) SetNoclip(false) end) Rayfield:Notify({ Title = "Test Hub", Content = "F = Fly | T = Speedhack", Duration = 5 })