Advertisement
Honansik

Ragdoll Engine Loop Push All Script

Apr 4th, 2022
4,052
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.92 KB | None | 0 0
  1. --game: https://www.roblox.com/games/6584731191/Ragdoll-Engine
  2.  
  3. for i, v in pairs(game.Workspace:GetDescendants()) do
  4.    if string.find(v.Name, "Ragdoll") then
  5.        v:Destroy()
  6.    end
  7. end
  8. game.Workspace.Gravity = math.huge
  9. while task.wait(.2) do
  10.    pcall(
  11.        function()
  12.            for i, v in pairs(game.Players:GetPlayers()) do
  13.                if v.Name == game.Players.LocalPlayer.Name then
  14.                else
  15.                    game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame =
  16.                        game.Players[v.Name].Character.HumanoidRootPart.CFrame * CFrame.new(0, 3, 0)
  17.                    wait(.1)
  18.                    local args = {
  19.                        [1] = game:GetService("Players")[v.Name].Character
  20.                    }
  21.  
  22.                    game:GetService("Players").LocalPlayer.Character.Push.PushTool:FireServer(unpack(args))
  23.                end
  24.            end
  25.        end
  26.    )
  27. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement