Advertisement
Diep8328Paster

Untitled

Jun 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. wait(0.1)
  2. print("soda")
  3. local b = 5
  4. local a = 0
  5. local IT = Instance.new
  6. CF = CFrame.new
  7. VT = Vector3.new
  8. RAD = math.rad
  9. C3 = Color3.new
  10. UD2 = UDim2.new
  11. BRICKC = BrickColor.new
  12. ANGLES = CFrame.Angles
  13. EULER = CFrame.fromEulerAnglesXYZ
  14. COS = math.cos
  15. ACOS = math.acos
  16. SIN = math.sin
  17. ASIN = math.asin
  18. ABS = math.abs
  19. MRANDOM = math.random
  20. FLOOR = math.floor
  21. local p = game:GetService("Players").LocalPlayer
  22. local m = p:GetMouse()
  23. local char = p.Character
  24. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  25. local NEWMESH = IT(MESH)
  26. if MESH == "SpecialMesh" then
  27. NEWMESH.MeshType = MESHTYPE
  28. if MESHID ~= "nil" and MESHID ~= "" then
  29. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=10470609"
  30. end
  31. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  32. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=10470600"
  33. end
  34. end
  35. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  36. NEWMESH.Scale = SCALE
  37. NEWMESH.Parent = PARENT
  38. return NEWMESH
  39. end
  40.  
  41. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  42. local NEWPART = IT("Part")
  43. NEWPART.formFactor = FORMFACTOR
  44. NEWPART.Reflectance = REFLECTANCE
  45. NEWPART.Transparency = TRANSPARENCY
  46. NEWPART.CanCollide = false
  47. NEWPART.Locked = true
  48. NEWPART.Anchored = true
  49. if ANCHOR == false then
  50. NEWPART.Anchored = false
  51. end
  52. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  53. NEWPART.Name = NAME
  54. NEWPART.Size = SIZE
  55. NEWPART.Position = char.Torso.Position
  56. NEWPART.Material = MATERIAL
  57. NEWPART:BreakJoints()
  58. NEWPART.Parent = PARENT
  59. return NEWPART
  60. end
  61. local tool = Instance.new("Tool",p.Backpack)
  62. local hande = Instance.new("Part",tool)
  63. hande.Size = Vector3.new(1,1,1)
  64. hande.Name = "Handle"
  65. tool.Name = "bsoda"
  66. local mesh = Instance.new("SpecialMesh",hande)
  67. mesh.MeshId = "rbxassetid://10470609"
  68. mesh.Scale = Vector3.new(1.25,1.25,1.25)
  69. mesh.TextureId = "rbxassetid://1925646979"
  70. tool.Activated:connect(function()
  71. for i=1,10 do
  72. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0.100,0)
  73. wait()
  74. end
  75. for i=1,5 do
  76. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(-0.100,0,0)
  77. wait()
  78. end
  79. local sip = Instance.new("Sound",char.Torso)
  80. sip.SoundId = "http://www.roblox.com/asset/?id=10722059"
  81. sip.Volume = 5
  82. sip:Play()
  83. wait(2)
  84. for i=1,5 do
  85. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0.100,0,0)
  86. wait()
  87. end
  88. for i=1,10 do
  89. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,-0.100,0)
  90. wait()
  91. end
  92. end)
  93. while tool.Activated do
  94. wait()
  95. m.KeyDown:connect(function(k)
  96. if k == "q" and a == 0 then
  97. a = 1
  98. local soundeffect = IT("Sound",char.Torso)
  99. soundeffect.SoundId = "rbxassetid://188703219"
  100. soundeffect.Looped = true
  101. soundeffect.Volume = 10
  102. soundeffect.Playing = true
  103. while b ~= 0 do
  104. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.200)
  105. wait(0.1)
  106. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.200)
  107. wait(0.1)
  108. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.200)
  109. wait(0.1)
  110. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.200)
  111. wait(0.1)
  112. b = b - 1
  113. end
  114. soundeffect:Destroy()
  115. hande.Transparency = 1
  116. local hande2 = IT("Part",workspace)
  117. hande2.Size = Vector3.new(1,1,1)
  118. hande2.Name = "Handle"
  119. local mesh2 = Instance.new("SpecialMesh",hande2)
  120. mesh2.MeshId = "rbxassetid://10470609"
  121. mesh2.Scale = Vector3.new(1.25,1.25,1.25)
  122. mesh2.TextureId = "rbxassetid://1925646979"
  123. hande2.Position = hande.Position
  124. wait(4)
  125. local boom = IT("Part",char)
  126. boom.Position = hande2.Position
  127. boom.Material = "Neon"
  128. boom.CanCollide = false
  129. boom.Anchored = true
  130. boom.Shape = "Ball"
  131. boom.Size = Vector3.new(10,10,10)
  132. local boom2 = IT("Explosion",workspace)
  133. boom2.Position = boom.Position
  134. boom2.BlastRadius = 10
  135. boom2.BlastPressure = 3000
  136. local he = Instance.new("Sound",boom)
  137. he.SoundId = "rbxassetid://1388740053"
  138. he.Volume = 10
  139. he:Play()
  140. boom.BrickColor = BrickColor.new("Dark blue")
  141. hande2:Destroy()
  142. for i = 1,100 do
  143. boom.Size = boom.Size + Vector3.new(3.5,3.5,3.5)
  144. boom.Transparency = boom.Transparency + 0.01
  145. wait()
  146. end
  147. b = 5
  148. he:Destroy()
  149. boom:Destroy()
  150. hande.Transparency = 0
  151. a = 0
  152. end
  153. if k == "e" and a == 0 then
  154. -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --
  155. a = 1
  156. for i = 1,10 do
  157. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,-0.150)
  158. wait()
  159. end
  160. wait(0.1)
  161. local slap = IT("Part",workspace)
  162. slap.Size = Vector3.new(4,4,0.1)
  163. slap.Transparency = 1
  164. gui1=Instance.new("BillboardGui")
  165. gui1.Parent = slap
  166. gui1.Adornee = slap
  167. gui1.Size=UDim2.new(2.5,0,2.5,0)
  168. gui1.StudsOffset=Vector3.new(0,0.2,0)
  169. gui1.AlwaysOnTop = false
  170. text1=Instance.new("ImageLabel")
  171. text1.Image = "http://www.roblox.com/asset/?id=1840665129" --
  172. text1.Size=UDim2.new(2,0,2,0)
  173. text1.Position=UDim2.new(0,0,0,0)
  174. text1.BackgroundTransparency = 1
  175. text1.Parent=gui1
  176. local v = IT("BodyVelocity",slap)
  177. v.MaxForce = Vector3.new(4e9,4e9,4e9)
  178. v.Velocity = char.Torso.CFrame.lookVector * 60
  179. slap.Position = hande.Position - Vector3.new(0,1,0)
  180. local v2 = IT("BodyRotation",slap)
  181. v2.Velocity = char.Torso.CFrame.lookVector * 60
  182. for i = 1,10 do
  183. char.Torso["Right Shoulder"].C0 = char.Torso["Right Shoulder"].C0 * CFrame.Angles(0,0,0.150)
  184. wait()
  185. end
  186. a = 0
  187. end
  188. end)
  189. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement