Advertisement
HenloMyDude

hed

Jun 22nd, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. char = owner.Character
  2. Character = char
  3. lefta=Character["Left Arm"]
  4. leftl=Character["Left Leg"]
  5. righta=Character["Right Arm"]
  6. rightl=Character["Right Leg"]
  7. rootpart=Character["HumanoidRootPart"]
  8. hed=Character["Head"]
  9. torso=Character["Torso"]
  10.  
  11. lefta:Destroy()
  12. leftl:Destroy()
  13. torso.Transparency = 1
  14. righta:Destroy()
  15. rightl:Destroy()
  16.  
  17. weld = Instance.new("Weld",hed)
  18. weld.Part0 = hed
  19. weld.Part1 = torso
  20. weld.C0 = CFrame.new(0, 0.38, 0)
  21.  
  22. char.Animate.Parent = nil
  23.  
  24. for _,v in pairs (char:children()) do
  25. if v:IsA("Part") then
  26. v.CanCollide = true
  27. end
  28. end
  29.  
  30. crushed = false
  31.  
  32. hed.Touched:connect(function()
  33. if crushed == false then
  34. crushed = true
  35. hed.Size = hed.Size - Vector3.new(0, 0.65, 0)
  36. weld.C0 = CFrame.new(0, 0.75, 0)
  37. char.Humanoid.MaxHealth = 1000
  38. char.Humanoid.Health = 0
  39. end
  40. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement