Advertisement
SmokeDelsin

mah beam

Jun 12th, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Instance.new("HopperBin",game.Players.LocalPlayer.Backpack).Name = "Earth-shattering kamehameha"
  2. script.Parent = game.Players.LocalPlayer.Backpack:findFirstChild"Earth-shattering kamehameha"
  3. local char = script.Parent.Parent.Parent.Character
  4. local humanoid = char.Humanoid
  5. local Head = char.Head
  6. local Torso = char.Torso
  7. local LeftArm = char["Left Arm"]
  8. local RightArm = char["Right Arm"]
  9. local LeftLeg = char["Left Leg"]
  10. local RightLeg = char["Right Leg"]
  11. local RightHip = Torso["Right Hip"]
  12. local LeftHip = Torso["Left Hip"]
  13. local Neck = Torso.Neck
  14. local RightShoulder = Torso["Right Shoulder"]
  15. local LeftShoulder = Torso["Left Shoulder"]
  16. local NeckC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  17. local NeckC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  18. local LeftShoulderC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  19. local LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  20. local RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  21. local RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  22. local LeftHipC0 = CFrame.new(-1, -1, 0, 0, 0, -1,0,1, 0, 1, 0, 0)
  23. local LeftHipC1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1, 0, 0)
  24. local RightHipC0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  25. local RightHipC1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  26. local taco = false
  27. local taco2 = true
  28. local time = game.Lighting.TimeOfDay
  29. local h = tonumber(string.sub(time,1,2))
  30. local m = tonumber(string.sub(time,4,5))+1
  31. local s = tonumber(string.sub(time,7,8))
  32. local function frame()
  33. TiltX = 0
  34. TiltY = 0
  35. TiltZ = 0
  36. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  37. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
  38. TiltX = -1.65
  39. TiltY = 0
  40. TiltZ = 0
  41. MoveX = 0
  42. MoveY = -0.31
  43. MoveZ = -0.4
  44. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  45. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  46. TiltX = -0.12
  47. TiltY = -0.01
  48. TiltZ = -0.1
  49. MoveX = 0
  50. MoveY = 0.2
  51. MoveZ = 0
  52. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  53. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX,MoveY,MoveZ)
  54. end
  55. function switch(bool)
  56. for i,v in pairs(char:GetChildren())do
  57. if v == Torso or v == Head or v == LeftArm or v == RightArm or v == LeftLeg or v == RightLeg then
  58. v.Anchored = bool
  59. end end end
  60. local function frame2()
  61. TiltX = 0
  62. TiltY = 0
  63. TiltZ = 1.57
  64. RightShoulder.C0 = RightShoulderC0 * CFrame.Angles(TiltX, TiltY, TiltZ)
  65. LeftShoulder.C0 = LeftShoulderC0 * CFrame.Angles(TiltX, TiltY, -TiltZ)
  66. TiltX = 0.6
  67. TiltY = 0
  68. TiltZ = 0
  69. MoveX = 0
  70. MoveY = 0
  71. MoveZ = -0.3
  72. RightShoulder.C0 = RightShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  73. LeftShoulder.C0 = LeftShoulder.C0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  74. TiltX = -0.05
  75. TiltY = 0
  76. TiltZ = 0
  77. MoveX = 0
  78. MoveY = 0.1
  79. MoveZ = 0
  80. RightHip.C0 = RightHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  81. LeftHip.C0 = LeftHipC0 * CFrame.Angles(TiltX, TiltY, TiltZ) * CFrame.new(MoveX, MoveY, MoveZ)
  82. end
  83. local function RefreshWelds()
  84. Neck.C0 = NeckC0
  85. Neck.C1 = NeckC1
  86. RightShoulder.C0 = RightShoulderC0
  87. RightShoulder.C1 = RightShoulderC1
  88. LeftShoulder.C0 = LeftShoulderC0
  89. LeftShoulder.C1 = LeftShoulderC1
  90. RightHip.C0 = RightHipC0
  91. RightHip.C1 = RightHipC1
  92. LeftHip.C0 = LeftHipC0
  93. LeftHip.C1 = LeftHipC1
  94. end
  95. local function Button1Down(mouse)
  96. if taco then return end
  97. taco = true
  98. humanoid.PlatformStand = true
  99. local staystill = Instance.new("BodyPosition",Torso)
  100. staystill.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  101. staystill.position = Torso.Position
  102. frame()
  103. local energy = Instance.new("Part",char)
  104. energy.Size = Vector3.new(0.1,0.1,0.1)
  105. energy.CanCollide = false
  106. energy.Anchored = true
  107. energy.Locked = true
  108. energy.Shape = "Ball"
  109. energy.TopSurface = "Smooth"
  110. energy.BottomSurface = "Smooth"
  111. energy.Color = Color3.new(0/0,0/0,0/0)
  112. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  113. local energy2 = Instance.new("Part",char)
  114. energy2.Size = Vector3.new(0.1,0.1,0.1)
  115. energy2.CanCollide = false
  116. energy2.Anchored = true
  117. energy2.Locked = true
  118. energy2.Shape = "Ball"
  119. energy2.TopSurface = "Smooth"
  120. energy2.BottomSurface = "Smooth"
  121. energy2.Color = Color3.new(0.0,0.0,0.0)
  122. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  123. local f1 = Instance.new("Fire",energy)
  124. f1.Color = energy.Color
  125. f1.SecondaryColor = Color3.new(0,0,0)
  126. f1.Heat = 0
  127. local f2 = Instance.new("Fire",energy2)
  128. f2.Color = energy2.Color
  129. f2.SecondaryColor = Color3.new(1,1,1)
  130. f2.Heat = 0
  131. local f1 = Instance.new("Fire",energy)
  132. f1.Color = energy.Color
  133. f1.SecondaryColor = Color3.new(0,0,0)
  134. f1.Heat = 0
  135. local f2 = Instance.new("Fire",energy2)
  136. f2.Color = energy2.Color
  137. f2.SecondaryColor = Color3.new(1,1,1)
  138. f2.Heat = 0
  139. local f1 = Instance.new("Fire",energy)
  140. f1.Color = energy.Color
  141. f1.SecondaryColor = Color3.new(0,0,0)
  142. f1.Heat = 0
  143. local f2 = Instance.new("Fire",energy2)
  144. f2.Color = energy2.Color
  145. f2.SecondaryColor = Color3.new(1,1,1)
  146. f2.Heat = 0
  147. --[[ ]]
  148.  
  149.  
  150.  
  151.  
  152.  
  153. switch(true)
  154. wait(0.5)
  155. repeat m = m * 2 if m >= 60 then m = 1 h = h + 1 end game.Lighting.TimeOfDay = ""..h..":"..m..":"..s.."" wait(0) until game.Lighting.TimeOfDay >= "18:00:00"
  156. for i = 1,10 do
  157. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  158. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  159. energy.Size = energy.Size + Vector3.new(0.5,0.5,0.5)
  160. energy2.Size = energy2.Size + Vector3.new(0.5,0.5,0.5)
  161. energy.Reflectance = energy.Reflectance + 0.1
  162. energy2.Reflectance = energy2.Reflectance + 0.1
  163. wait()
  164. energy.CFrame = RightArm.CFrame * CFrame.new(-0.1,-0.7,-0.6)
  165. energy2.CFrame = LeftArm.CFrame * CFrame.new(0,-0.7,-0.6)
  166. end
  167. game:GetService("Chat"):Chat(Head,"Dark Power Wave",0)
  168. wait(0.6)
  169. switch(false)
  170. frame2()
  171. wait()
  172. switch(true)
  173. for i = 1,10 do
  174. wait()
  175. energy.CFrame = energy.CFrame * CFrame.new(0,0.25,-0.25)
  176. energy2.CFrame = energy2.CFrame * CFrame.new(0,0.25,-0.25)
  177. end
  178. for i = 1,20 do
  179. energy.Size = energy.Size * Vector3.new(0.5,0.5,0.5)
  180. energy2.Size = energy2.Size * Vector3.new(0.5,0.5,0.5)
  181. energy.Reflectance = energy.Reflectance - 0.1
  182. energy2.Reflectance = energy2.Reflectance - 0.1
  183. wait()
  184. energy.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
  185. energy2.CFrame = Torso.CFrame * CFrame.new(0,0.2,-4.5)
  186. end
  187. energy:Destroy()
  188. energy2:Destroy()
  189. wait(0.6)
  190. game:GetService("Chat"):Chat(Head,"Enitiated",0)
  191. local blast = Instance.new("Part",char)
  192. blast.Size = Vector3.new(8,8,8)
  193. blast.Shape = "Ball"
  194. blast.TopSurface = "Smooth"
  195. blast.BottomSurface = "Smooth"
  196. blast.Anchored = true
  197. blast.Locked = true
  198. blast.CanCollide = false
  199. blast.Color = Color3.new(0/0,0/0,0/0)
  200. blast.Transparency = 0
  201. blast.CFrame = Torso.CFrame * CFrame.new(0,0.2,-6.5)
  202. wait(0.6)
  203. game:GetService("Chat"):Chat(Head,"Now Die...",1)
  204. local xf = Instance.new("Fire",blast)
  205. xf.Size = 25
  206. xf.Color = blast.Color
  207. xf.SecondaryColor = Color3.new(0.0,0.0,0.0)
  208. xf.Heat = 0
  209. local xf = Instance.new("Fire",blast)
  210. xf.Size = 25
  211. xf.Color = blast.Color
  212. xf.SecondaryColor = Color3.new(0.0,0.0,0.0)
  213. xf.Heat = 0
  214. for i = 1,20 do
  215. blast.Transparency = blast.Transparency + 0.05
  216. blast.Reflectance = blast.Reflectance + 0.01
  217. wait(0.1)
  218. if blast.Transparency >= 1 then
  219. blast.Transparency = blast.Transparency - 0.1
  220. end end
  221. blast.Transparency = 0.1
  222. wait(0.5)
  223. game:GetService("Chat"):Chat(Head,".............",2)
  224. coroutine.resume(coroutine.create(function()
  225. for i = 1,5 do wait(0)
  226. local p = Instance.new("Part",blast)
  227. p.Size = Vector3.new(0,0,0)
  228. p.Anchored = true
  229. p.CanCollide = false
  230. p.Locked = true
  231. p.BrickColor = BrickColor.new("Really black")
  232. p.TopSurface = "Smooth"
  233. p.Reflectance = 0.3
  234. p.Transparency = 0.4
  235. p.BottomSurface = "Smooth"
  236. p.CFrame = blast.CFrame * CFrame.new(0,0,0)
  237. local m1 = Instance.new("SpecialMesh",p)
  238. m1.Scale = p.Size
  239. m1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  240. local p2 = Instance.new("Part",blast)
  241. p2.CFrame = blast.CFrame * CFrame.new(0,0,0)
  242. p2.Size = Vector3.new(0,0,0)
  243. p2.Anchored = true
  244. p2.CanCollide = false
  245. p2.Locked = true
  246. p2.BrickColor = BrickColor.new("Really black")
  247. p2.TopSurface = "Smooth"
  248. p2.Reflectance = 0.3
  249. p2.Transparency = 0.4
  250. p2.BottomSurface = "Smooth"
  251. local m2 = Instance.new("SpecialMesh",p2)
  252. m2.Scale = p2.Size
  253. m2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  254. local p3 = Instance.new("Part",blast)
  255. p3.Size = Vector3.new(0,0,0)
  256. p3.Anchored = true
  257. p3.CanCollide = false
  258. p3.Locked = true
  259. p3.Color = blast.Color
  260. p3.TopSurface = "Smooth"
  261. p3.Reflectance = 0.3
  262. p3.Transparency = 0.4
  263. p3.BottomSurface = "Smooth"
  264. p3.CFrame = blast.CFrame * CFrame.new(0,0,0)
  265. local m3 = Instance.new("SpecialMesh",p3)
  266. m3.Scale = p.Size
  267. m3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  268. coroutine.resume(coroutine.create(function()
  269. for i = 1,20 do wait(0)
  270. m1.Scale = m1.Scale + Vector3.new(5,5,5)
  271. p.CFrame = p.CFrame * CFrame.new(0,0,-5)
  272. end
  273. p:Destroy()
  274. end))
  275. coroutine.resume(coroutine.create(function()
  276. for i = 1,20 do wait(0)
  277. m2.Scale = m2.Scale + Vector3.new(5,5,5)
  278. p2.CFrame = p2.CFrame * CFrame.new(0,0,-5)
  279. end
  280. p2:Destroy()
  281. end))
  282. coroutine.resume(coroutine.create(function()
  283. for i = 1,20 do wait(0)
  284. m3.Scale = m3.Scale + Vector3.new(5,5,5)
  285. p3.CFrame = p3.CFrame * CFrame.new(0,0,-5)
  286. end
  287. p3:Destroy()
  288. end))end end))
  289. local p = Instance.new("Part",blast)
  290. p.Size = blast.Size
  291. p.CanCollide = true
  292. p.Anchored = true
  293. p.Locked = true
  294. p.Color = blast.Color
  295. p.Reflectance = blast.Reflectance
  296. p.Transparency = blast.Transparency
  297. p.TopSurface = "Smooth"
  298. p.BottomSurface = "Smooth"
  299. p.CFrame = blast.CFrame * CFrame.fromEulerAnglesXYZ(1.57, 0, 0)
  300. p.Touched:connect(function(hit)
  301. if not taco2 then return end
  302. taco2 = false
  303. if hit.Parent:findFirstChild("Humanoid")then
  304. for i,v in pairs(hit.Parent:GetChildren())do
  305. if v:IsA"Hat" then
  306. v:Destroy()
  307. elseif v:IsA"Part" then
  308. v.Velocity = v.Position * Vector3.new(50,3,0)
  309. v.RotVelocity = v.Position - v.Velocity
  310. v.Parent:BreakJoints()
  311. end end end
  312. wait(8)
  313. taco2 = true
  314. end)
  315. local mesh = Instance.new("CylinderMesh",p)
  316. mesh.Scale = Vector3.new(1,0,1)
  317. for i = 1,150 do
  318. mesh.Scale = mesh.Scale + Vector3.new(-0.16,1.19,-0.16)
  319. p.CFrame = p.CFrame * CFrame.new(0,-5,0)
  320. wait(0)
  321. mesh.Scale = mesh.Scale + Vector3.new(0.1599,0,0.1599)
  322. end
  323. blast:Destroy()
  324. game.Lighting.TimeOfDay = 12
  325. switch(false)
  326. RefreshWelds()
  327. humanoid.PlatformStand = false
  328. staystill:Destroy()
  329. wait(8)
  330. taco = false
  331. end
  332. script.Parent.Selected:connect(function(mouse)mouse.Button1Down:connect(function(mouse)Button1Down(mouse)end)end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement