Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.40 KB | None | 0 0
  1. --Saz
  2.  
  3. wait(.2)
  4.  
  5. vPlayer=game.Players.LocalPlayer
  6.  
  7. Allowed={"SazErenos","Fenrier","Qaeo","Luxilon"}
  8.  
  9. Okd=false
  10. for _,v in pairs(Allowed) do
  11. if vPlayer.Name==v then
  12. Okd=true
  13. end
  14. end
  15. if Okd==false then
  16. script.Parent:Remove()
  17. end
  18.  
  19. Tool=script.Parent
  20. if script.Parent.className~="Tool" then
  21.  
  22. Tool=Instance.new("Tool")
  23. Tool.Name="Tea"
  24. Tool.Parent=vPlayer.Backpack
  25. Handle=Instance.new("Part")
  26. Handle.Size=Vector3.new(2.6,2.6,2.6)
  27. Handle.TopSurface=0
  28. Handle.BottomSurface=0
  29. Handle.Name="Handle"
  30. Handle.formFactor="Custom"
  31. Handle.Parent=Tool
  32. Handle.BrickColor=BrickColor:White()
  33. Tool.GripRight=Vector3.new(0,0,1)
  34. Tool.GripPos=Vector3.new(-1.08,-.1,.1)
  35.  
  36.  
  37. m=Instance.new("SpecialMesh")
  38. m.MeshType="FileMesh"
  39. m.MeshId="http://www.roblox.com/asset/?id=1029523"
  40. m.Parent=Handle
  41. m.Scale=Vector3.new(.05,.05,.05)
  42.  
  43. script:clone().Parent=Tool
  44.  
  45. else
  46.  
  47. Tool=script.Parent
  48. Mouse=vPlayer:GetMouse()
  49. deb=true
  50. onClick=function()
  51. if deb==false then
  52. return
  53. end
  54. deb=false
  55. e=0
  56. rs=vPlayer.Character["Torso"]["Right Shoulder"]
  57.  
  58.  
  59. s=Instance.new("Sound")
  60. s.SoundId="http://www.roblox.com/asset/?id=159257160"
  61. s.Volume=1
  62. s.Parent=Tool.Handle
  63. s:Play()
  64. game:GetService("Debris"):AddItem(s,5)
  65. wait(5)
  66. lolol=rs.C0
  67. for i=1, 4 do
  68. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  69. wait(.031)
  70. end
  71. s=Instance.new("Sound")
  72. s.Volume=1
  73. s.Parent=Tool.Handle
  74. s.Name="Throw"
  75. s.Pitch=.8
  76. s.SoundId="http://www.roblox.com/asset/?id=189505665"
  77. s:Play()
  78. game:GetService("Debris"):AddItem(s,5)
  79. for i=1, 2 do
  80. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  81. wait(.031)
  82. end
  83. --throw
  84. hh=Tool.Handle:clone()
  85. dir=(hh.Position - game.Players.LocalPlayer:GetMouse().Hit.p).unit*-1
  86. Tool.Handle.Transparency=1
  87. hh.CanCollide=true
  88. hh.Parent=workspace
  89. hh.Velocity=dir*200+Vector3.new(0,5,0)
  90. ff=Instance.new("BodyForce")
  91. ff.force=Vector3.new(0,hh:GetMass()*140,0)
  92. ff.Parent=hh
  93. for i=1, 2 do
  94. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  95. hh.Velocity=dir*330
  96. wait(.031)
  97. end
  98. hitdeb=true
  99. hh.Touched:connect(function(hit)
  100. if hit==nil or hitdeb==false then return end
  101. if hit.Parent==nil then return end
  102. if hit.Parent:FindFirstChild("Humanoid")~=nil and hh:FindFirstChild("Hit")==nil then
  103. if hit.Parent==game.Players.LocalPlayer.Character then return end
  104. hitdeb=false
  105. hit.Anchored=true
  106. hh.Anchored=true
  107. s=Instance.new("Sound")
  108. s.Volume=1
  109. s.Parent=hit
  110. s.Name="Hit1"
  111. s.SoundId="http://www.roblox.com/asset/?id=167783266"
  112. s:Play()
  113. wait(.5)
  114. hit.Anchored=false
  115. hit.Parent:BreakJoints()
  116. s=Instance.new("Sound")
  117. s.Volume=1
  118. s.Parent=hh
  119. s.Name="Hit1"
  120. s.SoundId="http://www.roblox.com/asset/?id=168009623"
  121. s:Play()
  122. s=Instance.new("Sound")
  123. s.Volume=1
  124. s.Parent=hh
  125. s.Name="Hit2"
  126. s.SoundId="http://www.roblox.com/asset/?id=163680447"
  127. s:Play()
  128. s5=Instance.new("Sound")
  129. s5.Volume=1
  130. s5.Parent=hh
  131. s5.Name="Hit"
  132. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  133. s5.Pitch=.85
  134. s5:Play()
  135. e=Instance.new("Explosion",workspace)
  136. e.Position=hh.Position
  137. e.BlastPressure=e.BlastPressure*4
  138.  
  139. for _,v in pairs(hit.Parent:children()) do
  140. if v:IsA("BasePart") then
  141. v.Velocity=(v.Position - hh.Position).unit * 90 + Vector3.new(math.random(-20,20),math.random(0,20),math.random(-20,20))
  142. v.RotVelocity=-v.Velocity * 1.2
  143. end
  144. end
  145.  
  146. m=Instance.new("Model",workspace)
  147. m.Name="Illuminaughty"
  148. p=Instance.new("Part",m)
  149. p.Name="REK"
  150. p.TopSurface=0
  151. p.BottomSurface=0
  152. p.Anchored=true
  153. p.CanCollide=false
  154. p.Transparency=1
  155. p.CFrame=hh.CFrame
  156. b=Instance.new("BillboardGui",p)
  157. b.Size=UDim2.new(25,0,25,0)
  158. b.Adornee=p
  159. ss=script.REKT:clone()
  160. ss.Disabled=false
  161. ss.Parent=b
  162.  
  163. hh.Transparency=1
  164. for i=1, 20 do
  165. p=Instance.new("Part")
  166. p.TopSurface=0
  167. p.BottomSurface=0
  168. p.Name="Shard"
  169. 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)
  170. p.BrickColor=hh.BrickColor
  171. p.CanCollide=false
  172. p.formFactor="Custom"
  173. p.Size=Vector3.new(.2,.2,.2)
  174. if math.random(1,3)==1 then
  175. m=Instance.new("BlockMesh")
  176. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  177. m.Parent=p
  178. else
  179. m=Instance.new("SpecialMesh")
  180. m.MeshType="Wedge"
  181. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  182. m.Parent=p
  183. end
  184. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  185. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  186. p.Parent=workspace
  187. end
  188.  
  189. hh.Anchored=true
  190.  
  191. end
  192. if hit.Parent:FindFirstChild("Humanoid")==nil and hh:FindFirstChild("Hit")==nil and hit.CanCollide==true then
  193. hh.Transparency=1
  194. for i=1, 20 do
  195. p=Instance.new("Part")
  196. p.TopSurface=0
  197. p.BottomSurface=0
  198. p.Name="Shard"
  199. 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)
  200. p.BrickColor=hh.BrickColor
  201. p.CanCollide=false
  202. p.formFactor="Custom"
  203. p.Size=Vector3.new(.2,.2,.2)
  204. if math.random(1,3)==1 then
  205. m=Instance.new("BlockMesh")
  206. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  207. m.Parent=p
  208. else
  209. m=Instance.new("SpecialMesh")
  210. m.MeshType="Wedge"
  211. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  212. m.Parent=p
  213. end
  214. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  215. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  216. p.Parent=workspace
  217. end
  218. for i=1, 4 do
  219. s5=Instance.new("Sound")
  220. s5.Volume=1
  221. s5.Parent=hh
  222. s5.Name="Hit"
  223. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  224. s5.Pitch=.85
  225. s5:Play()
  226. end
  227. hh.Anchored=true
  228. end
  229. end)
  230. game:GetService("Debris"):AddItem(hh,5)
  231. wait(4.33)
  232. Tool.Handle.Transparency=0
  233. deb=true
  234. end
  235. Tool.Activated:connect(onClick)
  236. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement