Dark_EccentricYT

Untitled

Aug 30th, 2017
3,265
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. --Saz
  2.  
  3. vPlayer=game.Players.LocalPlayer
  4.  
  5. Tool=Instance.new("Tool")
  6. Tool.Name="Tea"
  7. Tool.Parent=vPlayer.Backpack
  8. Handle=Instance.new("Part")
  9. Handle.Size=Vector3.new(2.6,2.6,2.6)
  10. Handle.TopSurface=0
  11. Handle.BottomSurface=0
  12. Handle.Name="Handle"
  13. Handle.formFactor="Custom"
  14. Handle.Parent=Tool
  15. Handle.BrickColor=BrickColor:White()
  16. Tool.GripRight=Vector3.new(0,0,1)
  17. Tool.GripPos=Vector3.new(-1.08,-.1,.1)
  18.  
  19. m=Instance.new("SpecialMesh")
  20. m.MeshType="FileMesh"
  21. m.MeshId="http://www.roblox.com/asset/?id=1029523"
  22. m.Parent=Handle
  23. m.Scale=Vector3.new(.05,.05,.05)
  24.  
  25. Mouse=vPlayer:GetMouse()
  26. deb=true
  27. onClick=function()
  28. if deb==false then
  29. return
  30. end
  31. deb=false
  32. e=0
  33. rs=vPlayer.Character["Torso"]["Right Shoulder"]
  34.  
  35.  
  36. s=Instance.new("Sound")
  37. s.SoundId="http://www.roblox.com/asset/?id=159257160"
  38. s.Volume=1
  39. s.Parent=Tool.Handle
  40. s:Play()
  41. game:GetService("Debris"):AddItem(s,5)
  42. wait(5)
  43. lolol=rs.C0
  44. for i=1, 4 do
  45. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  46. wait(.031)
  47. end
  48. for i=1, 2 do
  49. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  50. wait(.031)
  51. end
  52. --throw
  53. hh=Tool.Handle:clone()
  54. dir=(hh.Position - game.Players.LocalPlayer:GetMouse().Hit.p).unit*-1
  55. Tool.Handle.Transparency=1
  56. hh.CanCollide=true
  57. hh.Parent=workspace
  58. hh.Velocity=dir*200+Vector3.new(0,5,0)
  59. ff=Instance.new("BodyForce")
  60. ff.force=Vector3.new(0,hh:GetMass()*140,0)
  61. ff.Parent=hh
  62. for i=1, 2 do
  63. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  64. hh.Velocity=dir*300
  65. wait(.031)
  66. end
  67. hh.Touched:connect(function(hit)
  68. if hit==nil then return end
  69. if hit.Parent==nil then return end
  70. if hit.Parent:FindFirstChild("Humanoid")~=nil and hh:FindFirstChild("Hit")==nil then
  71. if hit.Parent==game.Players.LocalPlayer.Character then return end
  72. hit.Parent:BreakJoints()
  73. s=Instance.new("Sound")
  74. s.Volume=1
  75. s.Parent=hh
  76. s.Name="Hit1"
  77. s.SoundId="http://www.roblox.com/asset/?id=160423437"
  78. s:Play()
  79.  
  80. for i=1, 4 do
  81. s5=Instance.new("Sound")
  82. s5.Volume=1
  83. s5.Parent=hh
  84. s5.Name="Hit"
  85. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  86. s5.Pitch=.85
  87. s5:Play()
  88. end
  89.  
  90. for _,v in pairs(hit.Parent:children()) do
  91. if v:IsA("BasePart") then
  92. v.Velocity=(v.Position - hh.Position).unit * 90 + Vector3.new(math.random(-20,20),math.random(0,20),math.random(-20,20))
  93. v.RotVelocity=-v.Velocity * 1.2
  94. end
  95. end
  96.  
  97. hh.Transparency=1
  98. for i=1, 30 do
  99. p=Instance.new("Part")
  100. p.TopSurface=0
  101. p.BottomSurface=0
  102. p.Name="Shard"
  103. p.CFrame=hh.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) + Vector3.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10)
  104. p.BrickColor=hh.BrickColor
  105. p.CanCollide=false
  106. p.formFactor="Custom"
  107. p.Size=Vector3.new(.2,.2,.2)
  108. if math.random(1,3)==1 then
  109. m=Instance.new("BlockMesh")
  110. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  111. m.Parent=p
  112. else
  113. m=Instance.new("SpecialMesh")
  114. m.MeshType="Wedge"
  115. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  116. m.Parent=p
  117. end
  118. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  119. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  120. p.Parent=workspace
  121. end
  122.  
  123. hh.Anchored=true
  124.  
  125. end
  126. if hit.Parent:FindFirstChild("Humanoid")==nil and hh:FindFirstChild("Hit")==nil and hit.CanCollide==true then
  127. hh.Transparency=1
  128. for i=1, 30 do
  129. p=Instance.new("Part")
  130. p.TopSurface=0
  131. p.BottomSurface=0
  132. p.Name="Shard"
  133. p.CFrame=hh.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) + Vector3.new(math.random(-15,15)/10,math.random(-15,15)/10,math.random(-15,15)/10)
  134. p.BrickColor=hh.BrickColor
  135. p.CanCollide=false
  136. p.formFactor="Custom"
  137. p.Size=Vector3.new(.2,.2,.2)
  138. if math.random(1,3)==1 then
  139. m=Instance.new("BlockMesh")
  140. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  141. m.Parent=p
  142. else
  143. m=Instance.new("SpecialMesh")
  144. m.MeshType="Wedge"
  145. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  146. m.Parent=p
  147. end
  148. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  149. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  150. p.Parent=workspace
  151. end
  152. for i=1, 4 do
  153. s5=Instance.new("Sound")
  154. s5.Volume=1
  155. s5.Parent=hh
  156. s5.Name="Hit"
  157. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  158. s5.Pitch=.85
  159. s5:Play()
  160. end
  161. hh.Anchored=true
  162. end
  163. end)
  164. game:GetService("Debris"):AddItem(hh,5)
  165. wait(2.7)
  166. Tool.Handle.Transparency=0
  167. deb=true
  168. end
  169. Tool.Activated:connect(onClick)
Add Comment
Please, Sign In to add comment