Advertisement
pa1nx9

Free Roblox Script Ragdoll System Test | Godmode

Sep 19th, 2021
631
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").HealthChanged:Connect(function(Health)
  2. if Health < 100 then
  3. local ohNumber1 = -1
  4. local ohBoolean2 = false
  5.  
  6. game:GetService("ReplicatedStorage").FallDamageEvent:FireServer(ohNumber1, ohBoolean2)
  7. end
  8. end)
  9.  
  10.  
  11. game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(Character)
  12. game:GetService("Players").LocalPlayer.Character:WaitForChild("Humanoid").HealthChanged:Connect(function(Health)
  13. if Health < 100 then
  14. local ohNumber1 = -1
  15. local ohBoolean2 = false
  16.  
  17. game:GetService("ReplicatedStorage").FallDamageEvent:FireServer(ohNumber1, ohBoolean2)
  18. end
  19. end)
  20. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement