Advertisement
eea

Untitled

eea
Aug 5th, 2021
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. local player = owner
  2. local p1 = Instance.new("Part",workspace)
  3. local p2 = Instance.new("Part",workspace)
  4. local a1 = Instance.new("Attachment",p1)
  5. local a2 = Instance.new("Attachment",player.Character.HumanoidRootPart)
  6. print(a2.Parent)
  7. local w1 = Instance.new("WeldConstraint",p1)
  8. local w2 = Instance.new("WeldConstraint",p2)
  9. local r = Instance.new("RopeConstraint",a1)
  10. p1.Name = "Handle"
  11. p2.Name = "Ham"
  12. a1.Name = "A"
  13. a2.Name = "B"
  14. w1.Name = "WeldA"
  15. w2.Name = "WeldB"
  16. r.Name = "Rope"
  17. p1.Position = Vector3.new(46.875,50,50)
  18. p1.Size = Vector3.new(4, 1.25, 1.25)
  19. p1.BrickColor = BrickColor.new("Rust")
  20. p1.Material = "Plastic"
  21. p1.BottomSurface = "Smooth"
  22. p1.TopSurface = "Smooth"
  23. p1.Anchored = true
  24. p2.Position = Vector3.new(50,50,50)
  25. p2.Size = Vector3.new(2.25, 1.75, 3.75)
  26. p2.BrickColor = BrickColor.new("Smoky grey")
  27. p2.Material = "Plastic"
  28. p2.BottomSurface = "Smooth"
  29. p2.TopSurface = "Smooth"
  30. p2.CustomPhysicalProperties = PhysicalProperties.new(0.01, 0.2, 0.5, 100, 1)
  31. p2.Anchored = true
  32. w1.Part0 = p1
  33. w1.Part1 = p2
  34. w2.Part0 = p2
  35. w2.Part1 = p1
  36. a1.Position = Vector3.new(-1,0,0)
  37. wait(3)
  38. player.Character.HumanoidRootPart.Anchored = true
  39. p1.Anchored = false
  40. p2.Anchored = false
  41. r.Attachment0 = a1
  42. r.Attachment1 = a2
  43. r.Length = 9
  44. r.Visible = true
  45. player.Character.HumanoidRootPart.Anchored = false
  46.  
  47. p2.Touched:Connect(function(p)
  48. if p:IsA("Part") and not p.Parent:FindFirstChild("Humanoid") then
  49. p.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.2, 0.5, 1, 1)
  50. end
  51.  
  52. if p.Parent:FindFirstChild("Humanoid") and not p.Name == player.Name then
  53. local human = p.Parent:FindFirstChild("Humanoid")
  54. local cool = true
  55. if cool == true then
  56. print("nice scripting skills dang bro")
  57. human:TakeDamage(43)
  58. end
  59. cool = false
  60. wait(2)
  61. cool = true
  62. end
  63. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement