Advertisement
UltimateGate

THE MLG TEA

Sep 13th, 2017
2,509
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.74 KB | None | 0 0
  1. --
  2. --by SazErenos i think
  3. wait(.2)
  4.  
  5. vPlayer=game.Players.LocalPlayer
  6.  
  7.  
  8.  
  9. Tool=script.Parent
  10. --if script.Parent.className~="Tool" then
  11.  
  12. Tool=Instance.new("Tool")
  13. Tool.Name="Tea"
  14. Tool.Parent=vPlayer.Backpack
  15. Handle=Instance.new("Part")
  16. Handle.Size=Vector3.new(2.6,2.6,2.6)
  17. Handle.TopSurface=0
  18. Handle.BottomSurface=0
  19. Handle.Name="Handle"
  20. Handle.formFactor="Custom"
  21. Handle.Parent=Tool
  22. Handle.BrickColor=BrickColor:White()
  23. Tool.GripRight=Vector3.new(0,0,1)
  24. Tool.GripPos=Vector3.new(-1.08,-.1,.1)
  25.  
  26.  
  27. m=Instance.new("SpecialMesh")
  28. m.MeshType="FileMesh"
  29. m.MeshId="http://www.roblox.com/asset/?id=1029523"
  30. m.Parent=Handle
  31. m.Scale=Vector3.new(.05,.05,.05)
  32. --script:clone().Parent=Tool
  33. script.Parent=Tool
  34. wait()
  35. --else
  36.  
  37. Tool=script.Parent
  38. Mouse=vPlayer:GetMouse()
  39. deb=true
  40. onClick=function()
  41. if deb==false then
  42. return
  43. end
  44. deb=false
  45. e=0
  46. rs=vPlayer.Character["Torso"]["Right Shoulder"]
  47.  
  48.  
  49. s=Instance.new("Sound")
  50. s.SoundId="http://www.roblox.com/asset/?id=159257160"
  51. s.Volume=1
  52. s.Parent=Tool.Handle
  53. s:Play()
  54. game:GetService("Debris"):AddItem(s,5)
  55. wait(5)
  56. lolol=rs.C0
  57. for i=1, 4 do
  58. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,math.rad(30))
  59. wait(.031)
  60. end
  61. s=Instance.new("Sound")
  62. s.Volume=1
  63. s.Parent=Tool.Handle
  64. s.Name="Throw"
  65. s.Pitch=.8
  66. s.SoundId="http://www.roblox.com/asset/?id=189505665"
  67. s:Play()
  68. game:GetService("Debris"):AddItem(s,5)
  69. for i=1, 2 do
  70. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  71. wait(.031)
  72. end
  73. --throw
  74. hh=Tool.Handle:clone()
  75. dir=(hh.Position - game.Players.LocalPlayer:GetMouse().Hit.p).unit*-1
  76. Tool.Handle.Transparency=1
  77. hh.CanCollide=true
  78. hh.Parent=workspace
  79. hh.Velocity=dir*200+Vector3.new(0,5,0)
  80. ff=Instance.new("BodyForce")
  81. ff.force=Vector3.new(0,hh:GetMass()*140,0)
  82. ff.Parent=hh
  83. for i=1, 2 do
  84. rs.C0=rs.C0*CFrame.fromEulerAnglesXYZ(0,0,-math.rad(30))
  85. hh.Velocity=dir*330
  86. wait(.031)
  87. end
  88. hitdeb=true
  89. hh.Touched:connect(function(hit)
  90. if hit==nil or hitdeb==false then return end
  91. if hit.Parent==nil then return end
  92. if hit.Parent:FindFirstChild("Humanoid")~=nil and hh:FindFirstChild("Hit")==nil then
  93. if hit.Parent==game.Players.LocalPlayer.Character then return end
  94. hitdeb=false
  95. hit.Anchored=true
  96. hh.Anchored=true
  97. s=Instance.new("Sound")
  98. s.Volume=1
  99. s.Parent=hit
  100. s.Name="Hit1"
  101. s.SoundId="http://www.roblox.com/asset/?id=167783266"
  102. s:Play()
  103. wait(.5)
  104. hit.Anchored=false
  105. hit.Parent:BreakJoints()
  106. s=Instance.new("Sound")
  107. s.Volume=1
  108. s.Parent=hh
  109. s.Name="Hit1"
  110. s.SoundId="http://www.roblox.com/asset/?id=168009623"
  111. s:Play()
  112. s=Instance.new("Sound")
  113. s.Volume=1
  114. s.Parent=hh
  115. s.Name="Hit2"
  116. s.SoundId="http://www.roblox.com/asset/?id=163680447"
  117. s:Play()
  118. s5=Instance.new("Sound")
  119. s5.Volume=1
  120. s5.Parent=hh
  121. s5.Name="Hit"
  122. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  123. s5.Pitch=.85
  124. s5:Play()
  125. e=Instance.new("Explosion",workspace)
  126. e.Position=hh.Position
  127. e.BlastPressure=e.BlastPressure*4
  128.  
  129. for _,v in pairs(hit.Parent:children()) do
  130. if v:IsA("BasePart") then
  131. v.Velocity=(v.Position - hh.Position).unit * 90 + Vector3.new(math.random(-20,20),math.random(0,20),math.random(-20,20))
  132. v.RotVelocity=-v.Velocity * 1.2
  133. end
  134. end
  135.  
  136. m=Instance.new("Model",workspace)
  137. m.Name="Illuminaughty"
  138. p=Instance.new("Part",m)
  139. p.Name="REK"
  140. p.TopSurface=0
  141. p.BottomSurface=0
  142. p.Anchored=true
  143. p.CanCollide=false
  144. p.Transparency=1
  145. p.CFrame=hh.CFrame
  146. b=Instance.new("BillboardGui",p)
  147. b.Size=UDim2.new(25,0,25,0)
  148. b.Adornee=p
  149. --ss=script.REKT:clone()
  150. --ss.Disabled=false
  151. --recentchar=b
  152. --ss.Parent=b
  153. partica(b)
  154.  
  155.  
  156. hh.Transparency=1
  157. for i=1, 20 do
  158. p=Instance.new("Part")
  159. p.TopSurface=0
  160. p.BottomSurface=0
  161. p.Name="Shard"
  162. 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)
  163. p.BrickColor=hh.BrickColor
  164. p.CanCollide=false
  165. p.formFactor="Custom"
  166. p.Size=Vector3.new(.2,.2,.2)
  167. if math.random(1,3)==1 then
  168. m=Instance.new("BlockMesh")
  169. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  170. m.Parent=p
  171. else
  172. m=Instance.new("SpecialMesh")
  173. m.MeshType="Wedge"
  174. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  175. m.Parent=p
  176. end
  177. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  178. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  179. p.Parent=workspace
  180. end
  181.  
  182. hh.Anchored=true
  183.  
  184. end
  185. if hit.Parent:FindFirstChild("Humanoid")==nil and hh:FindFirstChild("Hit")==nil and hit.CanCollide==true then
  186. hh.Transparency=1
  187. for i=1, 20 do
  188. p=Instance.new("Part")
  189. p.TopSurface=0
  190. p.BottomSurface=0
  191. p.Name="Shard"
  192. 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)
  193. p.BrickColor=hh.BrickColor
  194. p.CanCollide=false
  195. p.formFactor="Custom"
  196. p.Size=Vector3.new(.2,.2,.2)
  197. if math.random(1,3)==1 then
  198. m=Instance.new("BlockMesh")
  199. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  200. m.Parent=p
  201. else
  202. m=Instance.new("SpecialMesh")
  203. m.MeshType="Wedge"
  204. m.Scale=Vector3.new(math.random(10,15)/10,.2,math.random(10,15)/10)
  205. m.Parent=p
  206. end
  207. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  208. p.Velocity=p.RotVelocity + Vector3.new(0,25,0) + hh.Velocity / 6
  209. p.Parent=workspace
  210. end
  211. for i=1, 4 do
  212. s5=Instance.new("Sound")
  213. s5.Volume=1
  214. s5.Parent=hh
  215. s5.Name="Hit"
  216. s5.SoundId="http://www.roblox.com/asset/?id=138122923"
  217. s5.Pitch=.85
  218. s5:Play()
  219. end
  220. hh.Anchored=true
  221. end
  222. end)
  223. game:GetService("Debris"):AddItem(hh,5)
  224. wait(4.33)
  225. Tool.Handle.Transparency=0
  226. deb=true
  227. end
  228. Tool.Activated:connect(onClick)
  229. --end
  230. partica=function(hit)
  231. wait()
  232. Images={
  233. "http://www.roblox.com/asset/?id=186565637",
  234. "http://www.roblox.com/asset/?id=186565642",
  235. "http://www.roblox.com/asset/?id=186565650",
  236. "http://www.roblox.com/asset/?id=186565652",
  237. "http://www.roblox.com/asset/?id=186565662",
  238. "http://www.roblox.com/asset/?id=186565671",
  239. "http://www.roblox.com/asset/?id=186565685",
  240. "http://www.roblox.com/asset/?id=186565693",
  241. "http://www.roblox.com/asset/?id=186565702",
  242. "http://www.roblox.com/asset/?id=186565710",
  243. "http://www.roblox.com/asset/?id=186565720",
  244. "http://www.roblox.com/asset/?id=186565730",
  245. "http://www.roblox.com/asset/?id=186565734",
  246. "http://www.roblox.com/asset/?id=186565741",
  247. "http://www.roblox.com/asset/?id=186565749",
  248. "http://www.roblox.com/asset/?id=186565754",
  249. }
  250. sos=b--script.Parent
  251. for i=1, #Images do
  252. p=Instance.new("ImageLabel",sos)
  253. p.Image=Images[i]
  254. p.BackgroundTransparency=1
  255. p.Visible=false
  256. p.Size=UDim2.new(1,0,1,0)
  257. p.Name=i
  258. end
  259. i=0
  260. sossij=0
  261. lel=game:GetService("RunService").Heartbeat:connect(function()
  262. if i<#Images then
  263. if sossij==1 then
  264. i=i+1
  265. --[[script.Parent[i]]b:children()[i].Visible=true
  266. if i>1 then
  267. --[[script.Parentb[i-1]]b:children()[i]:Destroy()
  268. end
  269. sossij=0
  270. else
  271. sossij=1
  272. end
  273. else
  274. lel:disconnect()
  275. end
  276. end)
  277. rekt={"http://www.roblox.com/asset/?id=185386536",
  278. "http://www.roblox.com/asset/?id=8979672",
  279. "http://www.roblox.com/asset/?id=10524802",
  280. "http://www.roblox.com/asset/?id=176067516",
  281. "http://www.roblox.com/asset/?id=179012130",
  282. "http://www.roblox.com/asset/?id=155875030",
  283. "http://www.roblox.com/asset/?id=180976600",
  284. "http://www.roblox.com/asset/?id=188207856",
  285. "http://www.roblox.com/asset/?id=89513267",
  286. }
  287. sparkles={"http://www.roblox.com/asset/?id=186675771",
  288. "http://www.roblox.com/asset/?id=185386497",
  289. "http://www.roblox.com/asset/?id=185386514"}
  290. for jooj=1, 30 do
  291. p=Instance.new("Part",sos)
  292. p.Name="Shrubbery"
  293. p.TopSurface=0
  294. p.BottomSurface=0
  295. p.Transparency=1
  296.  
  297. p.Shape="Ball"
  298. soos=math.random(1,3)
  299. p.Size=Vector3.new(soos,soos,soos)
  300. p.CFrame=sos.Parent.CFrame * CFrame.new(Vector3.new(math.random(-50,50),math.random(-10,100),math.random(-50,50))/10)
  301.  
  302. p.Velocity=Vector3.new(math.random(-30,30),math.random(10,100),math.random(-30,30))
  303. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  304.  
  305. b=Instance.new("BillboardGui",p)
  306. b.Name="SOSSIJ"
  307. b.Size=UDim2.new(soos*2,0,soos*2,0)
  308. b.Adornee=p
  309. s=Instance.new("ImageLabel",b)
  310. s.Name="Qaeoisgeyhuehuehuehuehuehuehueheuehu"
  311. s.Size=UDim2.new(1,0,1,0)
  312. s.Image=rekt[math.random(1,#rekt)]
  313. s.BackgroundTransparency=1
  314.  
  315. p.Elasticity=0
  316.  
  317. f=Instance.new("BodyForce")
  318. f.force=Vector3.new(0,p:GetMass()*140,0)
  319. f.Parent=p
  320.  
  321. coroutine.resume(coroutine.create(function(p)
  322. while p.Parent~=nil do
  323. p.Rotation=-p.Parent.Parent.Rotation.x + p.Parent.Parent.Rotation.z
  324. wait()
  325. end
  326. end),s)
  327.  
  328. game:GetService("Debris"):AddItem(p,15)
  329. end
  330. for jooj=1, 40 do
  331. p=Instance.new("Part",sos)
  332. p.Name="Spork"
  333. p.TopSurface=0
  334. p.BottomSurface=0
  335. p.Transparency=1
  336. p.CanCollide=false
  337. p.Shape="Ball"
  338. soos=1
  339. p.Size=Vector3.new(soos,soos,soos)
  340. p.CFrame=sos.Parent.CFrame * CFrame.new(Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))/10)
  341.  
  342. p.Velocity=Vector3.new(math.random(-30,30),math.random(10,100),math.random(-30,30))
  343. p.RotVelocity=Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  344. soos=math.random(1,3)
  345. b=Instance.new("BillboardGui",p)
  346. b.Name="SOSSIJ"
  347. b.Size=UDim2.new(soos,0,soos,0)
  348. b.Adornee=p
  349. s=Instance.new("ImageLabel",b)
  350. s.Name="Qaeoisgeyhuehuehuehuehuehuehueheuehu"
  351. s.Size=UDim2.new(1,0,1,0)
  352. s.Image=sparkles[math.random(1,#sparkles)]
  353. s.BackgroundTransparency=1
  354. bbbg=b
  355. p.Elasticity=0
  356.  
  357. f=Instance.new("BodyVelocity")
  358. f.velocity=p.Velocity / 5
  359. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  360. f.Parent=p
  361.  
  362. coroutine.resume(coroutine.create(function(p)
  363. while p.Parent~=nil do
  364. p.Rotation=-p.Parent.Parent.Rotation.x + p.Parent.Parent.Rotation.z
  365. p.Parent.Parent.BodyVelocity.velocity=p.Parent.Parent.BodyVelocity.velocity - Vector3.new(0,183/800,0)
  366. wait()
  367. end
  368. end),s)
  369.  
  370. game:GetService("Debris"):AddItem(p,12)
  371. end
  372. repeat wait() until i==#Images
  373. --script.Parent]]b:children()[tonumber(#Images)].Visible=false
  374. --script.Parent]]b:children()[tonumber(#Images)]:Remove()
  375. bbbg:Destroy()
  376. wait(10)
  377. --sos.Parent.Parent:Destroy()
  378. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement