--[[ WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk! ]] -- bedwars rayfield local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Rayfield Bedwars", Icon = 0, -- Icon in Topbar. Can use Lucide Icons (string) or Roblox Image (number). 0 to use no icon (default). LoadingTitle = "Loaded", LoadingSubtitle = "by Wesd", Theme = "AmberGlow", -- 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 = "Big Hub" }, 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 = false, -- Set this to true to use our key system KeySettings = { Title = "Untitled", Subtitle = "Key System", Note = "No method of obtaining the key is provided", -- 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 = {"Hello"} -- 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", 4483362458) -- Title, Image local Section = Tab:CreateSection("Read the README at the bottom before complaining") local Button = Tab:CreateButton({ Name = "Fly, Fastbreak(only if yk how to use IY", Callback = function() loadstring(game:HttpGet("https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source"))() end, }) local Button = Tab:CreateButton({ Name = "Kill Aura (made with chatgpt)", -- using raycasting to make it better Callback = function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local NetManaged = ReplicatedStorage:WaitForChild("rbxts_include") :WaitForChild("node_modules") :WaitForChild("@rbxts") :WaitForChild("net") :WaitForChild("out") :WaitForChild("_NetManaged") local SwordHit = NetManaged:FindFirstChild("SwordHit") local SetInvItem = NetManaged:FindFirstChild("SetInvItem") local swordNames = { ["wood_sword"] = true, ["stone_sword"] = true, ["iron_sword"] = true, ["diamond_sword"] = true, ["emerald_sword"] = true } local currentSword = nil local oldNamecall oldNamecall = hookmetamethod(game, "__namecall", function(self, ...) local method = getnamecallmethod() local args = {...} if self == SetInvItem and method == "InvokeServer" then if args[1] and args[1]["hand"] then local item = args[1]["hand"] if item and swordNames[item.Name] then currentSword = item.Name print("Equipped Sword: " .. item.Name) end end end return oldNamecall(self, ...) end) local function getPlayersInRange() local targets = {} local selfCharacter = LocalPlayer.Character local selfRoot = selfCharacter and selfCharacter:FindFirstChild("HumanoidRootPart") if not selfRoot then return targets end for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then local targetRoot = player.Character.HumanoidRootPart local distance = (selfRoot.Position - targetRoot.Position).Magnitude if distance <= 19.5 then local direction = (targetRoot.Position - selfRoot.Position).Unit local raycastParams = RaycastParams.new() raycastParams.FilterDescendantsInstances = {selfCharacter} raycastParams.FilterType = Enum.RaycastFilterType.Blacklist local result = workspace:Raycast(selfRoot.Position, direction * 19.5, raycastParams) if result and result.Instance:IsDescendantOf(player.Character) then table.insert(targets, player) end end end end return targets end local function attackTarget(targetPlayer) if not LocalPlayer or not LocalPlayer.Character or not currentSword then return end local character = LocalPlayer.Character local humanoidRootPart = character:FindFirstChild("HumanoidRootPart") if not humanoidRootPart then return end if targetPlayer and targetPlayer.Character and targetPlayer.Character:FindFirstChild("HumanoidRootPart") then local targetPosition = targetPlayer.Character.HumanoidRootPart.Position local selfPosition = humanoidRootPart.Position local args = { [1] = { ["chargedAttack"] = {["chargeRatio"] = 0}, ["entityInstance"] = targetPlayer.Character, ["validate"] = { ["selfPosition"] = {["value"] = selfPosition}, ["targetPosition"] = {["value"] = targetPosition} }, ["weapon"] = ReplicatedStorage:WaitForChild("Inventories")[LocalPlayer.Name]:FindFirstChild(currentSword) } } if args[1]["weapon"] then SwordHit:FireServer(unpack(args)) end end end task.spawn(function() while true do if currentSword then local targets = getPlayersInRange() for _, target in pairs(targets) do task.spawn(function() attackTarget(target) end) end end task.wait(0.01) -- 🔥 Ultra-fast hit rate with minimal delay end end) end, }) local Button = Tab:CreateButton({ Name = "Speed(made with chatgpt cuz i cant code)", Callback = function() local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer task.spawn(function() while true do if LocalPlayer and LocalPlayer.Character then local humanoid = LocalPlayer.Character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = 23 end end task.wait(0.1) -- Adjust frequency if needed end end) end, }) local Button = Tab:CreateButton({ Name = "Anti Knockback (made by chatgpt)", Callback = function() local ReplicatedStorage = game:GetService("ReplicatedStorage") local NetManaged = ReplicatedStorage:FindFirstChild("rbxts_include") and ReplicatedStorage.rbxts_include:FindFirstChild("node_modules") and ReplicatedStorage.rbxts_include.node_modules:FindFirstChild("@rbxts") and ReplicatedStorage.rbxts_include.node_modules["@rbxts"]:FindFirstChild("net") and ReplicatedStorage.rbxts_include.node_modules["@rbxts"].net:FindFirstChild("out") and ReplicatedStorage.rbxts_include.node_modules["@rbxts"].net.out:FindFirstChild("_NetManaged") if NetManaged then local AckKnockback = NetManaged:FindFirstChild("AckKnockback") if AckKnockback then AckKnockback:Destroy() print("AckKnockback deleted successfully!") else print("AckKnockback not found.") end else print("_NetManaged not found.") end end, }) local Paragraph = Tab:CreateParagraph({Title = "README", Content = "this only works on good executors (i dont ACTUALLY know so dont say xeno or ur xeno paste is the best just cuz it works) not your xeno paste with 30% sunc and not solara which is better than xeno but still cant run this so consider using velocity discord.gg/getvelocity or something else that you know isnt shit."})