Advertisement
Guest User

d33k

a guest
Mar 6th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. local plr = 'Goulstem'
  2. if game.Players:FindFirstChild(plr) then
  3. local char = game.Players[plr]
  4. char.Animate:Destroy()
  5. local arm = char:WaitForChild('Torso')['Right Shoulder']
  6. --Holder
  7. local m = Instance.new('Model',char)
  8. m.Name = 'd33k'
  9. --Right nut
  10. local p = Instance.new('Part',m)
  11. p.Size = Vector3.new(1,1,1)
  12. p.Shape = 'Ball'
  13. p.TopSurface = 'Smooth'
  14. p.BottomSurface = 'Smooth'
  15. p.BrickColor = BrickColor.new('Br. yellowish orange')
  16. p.Name = 'Right nut'
  17. local w = Instance.new('Weld',p)
  18. w.Part0 = char.Torso
  19. w.Part1 = p
  20. w.C0 = CFrame.new(.5,-.5,-.5)
  21. --Left nut
  22. local p1 = Instance.new('Part',m)
  23. p1.Size = Vector3.new(1,1,1)
  24. p1.Shape = 'Ball'
  25. p1.TopSurface = 'Smooth'
  26. p1.BottomSurface = 'Smooth'
  27. p1.BrickColor = BrickColor.new('Br. yellowish orange')
  28. p1.Name = 'Left nut'
  29. local w1 = Instance.new('Weld',p1)
  30. w1.Part0 = char.Torso
  31. w1.Part1 = p1
  32. w1.C0 = CFrame.new(-.5,-.5,-.5)
  33. --Shaft
  34. local p2 = Instance.new('Part',m)
  35. p2.FormFactor = 'Custom'
  36. p2.Size = Vector3.new(.5,5,.5)
  37. p2.TopSurface = 'Smooth'
  38. p2.BottomSurface = 'Smooth'
  39. p2.BrickColor = BrickColor.new('Br. yellowish orange')
  40. p2.Name = 'Shaft'
  41. local w2 = Instance.new('Weld',p2)
  42. w2.Part0 = char.Torso
  43. w2.Part1 = p2
  44. w2.C0 = CFrame.new(0,1,-2.3)
  45. * CFrame.Angles(
  46. math.rad(-45),
  47. 0,
  48. 0
  49. )
  50. --Audio
  51. local sound = Instance.new('Sound',p2)
  52. sound.SoundId = 'http://www.roblox.com/asset/?id=138285836'
  53. --Head
  54. local p3 = Instance.new('Part',m)
  55. p3.FormFactor = 'Custom'
  56. p3.Size = Vector3.new(.5,.5,.5)
  57. p3.Shape = 'Ball'
  58. p3.TopSurface = 'Smooth'
  59. p3.BottomSurface = 'Smooth'
  60. p3.BrickColor = BrickColor.new('Pink')
  61. p3.Name = 'Head'
  62. local w3 = Instance.new('Weld',p3)
  63. w3.Part0 = char.Torso
  64. w3.Part1 = p3
  65. w3.C0 = CFrame.new(0,2.9,-4.2)
  66. * CFrame.Angles(
  67. math.rad(45),
  68. 0,
  69. 0
  70. )
  71. --------------------------------------------------------------
  72. --Damage
  73. local db = false
  74. p2.Touched:connect(function(hit)
  75. if db == false then db = true
  76. if hit.Parent:FindFirstChild('Humanoid') then
  77. sound:Play()
  78. hit.Parent.Humanoid:TakeDamage(5)
  79. end
  80. wait(.1)
  81. db = false
  82. end
  83. end)
  84. --------------------------------------------------------------
  85. --Jerking Animation
  86. while wait() do
  87. --Up
  88. for i = 1,30 do
  89. arm.C0 = CFrame.new(.8,.8,0)
  90. * CFrame.Angles(
  91. math.rad(40+(i*3)),
  92. math.rad((i*1.5)+5),
  93. math.rad(-45)
  94. )
  95. wait()
  96. end
  97. --Down
  98. for i = 30,1,-1 do
  99. arm.C0 = CFrame.new(.8,.8,0)
  100. * CFrame.Angles(
  101. math.rad(40+(i*3)),
  102. math.rad((i*1.5)+5),
  103. math.rad(-45)
  104. )
  105. wait()
  106. end
  107. end
  108. end)
  109. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement