Rayfield bedwurs FIXED
Key Required

Rayfield bedwurs FIXED

BedWars [UPDATE]wesdfrwesdfr 8.6K views 202 executesUpdated Feb 10, 2025
2.0/ 5(5 votes)
2340% Positive
Lua Script•240 lines (8374 chars)
--[[
	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."})

Features & Information

added raycast for the kill aura so its way better (still worse than nights) added fast break and fly

Community Comments (23)

wesdfrwesdfrFeb 10, 2025(edited)

i recommend using flyjump with infinite yield if yk how to use it but if ur autistic then dont

FrateleFrateleFeb 10, 2025(edited)

@wesdfr i hope ur not calling other people autistic because you mispelt bedwars + you made ts with chatgpt and then you also said "except queue button🤫" like LMFAO its 1 remote and not able to name ur hub something so you gotta put "Rayfield" (library name) and "bedwurs" autist

FrenchFrenchFeb 10, 2025(edited)

@Pateuing stfu, this don't listen to this guy @wesdfr, i tested his scripts are they don't even work, I don't what he is really yapping about but alteast you're script is nice and works :)

FrateleFrateleFeb 10, 2025(edited)

@DaNoob lmao sthu stupid a.ss , ong u stupid asf n1 tard , my sh.it work unless u got a garbage executor LMAO

FrateleFrateleFeb 10, 2025(edited)

@DaNoob + im not the one calling people autistic for NO reason at all

wesdfrwesdfrFeb 11, 2025(edited)

@Pateuing ur scripts dont even work + hush im js saying if you dont know how to use flyjump with infinite yield then dont use it but its recommended also i mispelt bedwars on purpose so i could put in the title dumbass

FrateleFrateleFeb 11, 2025(edited)

@wesdfr not my problem u cant give ur script a random a.ss name + my scripts work unless u use trash a.ss executors

YFMZombieYFMZombieFeb 12, 2025(edited)

@Pateuing you dont know what the meaning of satire is? what a du.mba.ss

FrenchFrenchFeb 12, 2025(edited)

@YFMZombie FR, @Pateuing, before going around calling people autistic, at least know if they are, and if they are, then don't make fun of that, and atleast make 1 script that works,

FrenchFrenchFeb 12, 2025(edited)

like lil bro is being toxic to people, then decides to say "IT REQUIRES HIGH UNC EXECUTORS, URS IS JUST TRASH," like that is just stupid, and you're really tryna bypass the filter, which moderators state, "against the rules"

wesdfrwesdfrFeb 12, 2025(edited)

@Pateuing your script doesnt even work + my executor is good which js means ur script is horrid

FrateleFrateleFeb 12, 2025(edited)

@DaNoob im not the one who calls random people who may not know how to use a script autists LOL

FrateleFrateleFeb 12, 2025(edited)

@YFMZombie LOL what

FrenchFrenchFeb 13, 2025(edited)

@Pateuing, i wonder why this whole argument started, some man named "Pateuing" decides to call a script bad, that some one worked hard on, "@wesdfr i hope ur not calling other people autistic because you mispelt bedwars + you made ts with chatgpt and then you also said "except queue button🤫" like LMFAO its 1 remote and not able to name ur hub something so you gotta put "Rayfield" (library name) and "bedwurs" autist"

FrenchFrenchFeb 13, 2025(edited)

And like you can't call this chat GPT when urs doesnt do a thing

wesdfrwesdfrFeb 14, 2025(edited)

alot of yall dont get alot of what i said cuz i literally have to explain everything like everyones 5 when they are like 14 or sum but its ok js think whatever u want

YFMZombieYFMZombieFeb 15, 2025(edited)

@DaNoob @wesdfr @Pateuing we should all let it go its almost been a week of arguing

wesdfrwesdfrFeb 15, 2025(edited)

ok daddy

FrateleFrateleFeb 15, 2025(edited)

@YFMZombie @wesdfr ok see ya guys 💖💖💖 (@DaNoob u a tard tho ngl)

FrenchFrenchFeb 15, 2025(edited)

@Pateuing and despite that you still calls people trash when he has no working scripts, crazy.

FrateleFrateleFeb 15, 2025(edited)

@DaNoob keep crying

FrenchFrenchFeb 15, 2025(edited)

@Pateuing, keep making those chat GPT nonworking patched ahh scripts

FrateleFrateleFeb 15, 2025(edited)

@DaNoob they arent chat gpt made and they work LOL , keep crying

More Scripts for BedWars [UPDATE]