SHARE
TWEET

Untitled

D_rawest15 Oct 18th, 2019 (edited) 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for i,v in pairs(game.Player:GetChildren()) do
  2. if v.Name 'D_rawest15' then
  3. local part = Instance.new("Part")
  4. local weld = Instance.new("Weld")
  5. weld.Part0 = v.Character.HumanoidRootPart
  6. weld.Part1 = part
  7. part.Anchored = false
  8. part.Massless = true
  9. part.Size = Vector3.new(20,20,20)
  10. part.CFrame = v.Character.HumanoidRootPart.CFrame
  11. weld.Parent = game.Workspace
  12. part.Parent = v.Character
  13. part.Touched:Connect(function(hit)
  14. local hum = hit.Parent:FindFirstChild("Humanoid")
  15. if hum then
  16. local dmg = hum.MaxHealth
  17. hum:TakeDamage(dmg)
  18. end
  19. end)
  20. end
  21. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top