Advertisement
EvonsLakil

Ragdoll Engine fling script

Dec 23rd, 2020
25,123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. local Animation = Instance.new("Animation")
  2. Animation.AnimationId = "rbxassetid://1984283994"
  3.  
  4. Instance = Instance.new("Tool", game:GetService("Players").LocalPlayer.Backpack)
  5. Instance.RequiresHandle = false
  6.  
  7. Instance.Activated:connect(
  8. function()
  9. if game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").RigType == Enum.HumanoidRigType.R15 then
  10. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid"):LoadAnimation(Animation):Play()
  11. for i, v in pairs(game:GetService("Players"):GetDescendants()) do
  12. if v:IsA("RemoteEvent") and v.Name == "PushEvent" then
  13. v:FireServer()
  14. end
  15. end
  16. else
  17. for i, v in pairs(game:GetService("Players"):GetDescendants()) do
  18. if v:IsA("RemoteEvent") and v.Name == "PushEvent" then
  19. v:FireServer()
  20. end
  21. end
  22. end
  23. end
  24. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement