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: 10



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.Players:GetPlayers()) do
  4.            if v.Team ~= game.Players.LocalPlayer.Team and v.Character and game.Players.LocalPlayer.Character.HandInvItem.Value ~= nil and game.Players.LocalPlayer:DistanceFromCharacter(v.Character.HumanoidRootPart.Position) < 60 then
  5.                game.ReplicatedStorage:WaitForChild("rbxts_include")["node_modules"]["net"]["out"]["_NetManaged"].SwordHit:InvokeServer({
  6.                    entityInstance = v.Character,
  7.                    weapon = game.Players.LocalPlayer.Character.HandInvItem.Value
  8.                })
  9.            end
  10.        end
  11.    end)
  12. end