Guest User

Untitled

a guest
Jun 18th, 2018
23
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. m = Instance.new("Model",game.Workspace)
  2. m.Name = "Robux Giver"
  3. h = Instance.new("Humanoid",m)
  4. h.MaxHealth = 0
  5. h.Health = 0
  6. p = Instance.new("Part")
  7. p.Size = Vector3.new(1,1,1)
  8. p.BrickColor = BrickColor.new("Bright green")
  9. p.Name = "Head"
  10. p.Parent = m
  11. p.Anchored = true
  12.  
  13. p.Touched:connect(function(hit)
  14. if not hit.Parent:findFirstChild("Humanoid") then return end
  15. hit.Parent.Humanoid.Health = 0
  16. end)
  17.  
  18. p.Touched:connect(onTouched)
Add Comment
Please, Sign In to add comment