The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
BedWars script pastebin roblox
By LINK GAME on 2024-09-20 08:00 am | Syntax: LUA | Views: 20



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1.  while wait() do
  2.    pcall(function()
  3.        for i,v in pairs(game:GetService("Workspace").Map.Blocks:GetChildren()) do
  4.            if v.Name == "bed" and v.Covers.BrickColor ~= game.Players.LocalPlayer.TeamColor and game.Players.LocalPlayer:DistanceFromCharacter(v.Position) < 150 then
  5.                spawn(function()
  6.                    game:GetService("ReplicatedStorage").rbxts_include.node_modules.net.out._NetManaged.BreakBlock:InvokeServer({
  7.                        ["blockRef"] = {
  8.                            ["blockPosition"] = v.Position/3--.new(186, 14, 108)
  9.                        },
  10.                        ["hitPosition"] = v.Position,
  11.                        ["hitNormal"] = Vector3.new(1, 0, 0)
  12.                    })
  13.                end)
  14.            end
  15.        end
  16.    end)
  17. end