kingkoolie

Untitled

Jan 26th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.01 KB | None | 0 0
  1. script.Parent = game.Players.LocalPlayer.PlayerScripts
  2. wait(1)
  3. p = script.Parent.Parent
  4. m = p:GetMouse()
  5. char = p.Character
  6. torso = char:WaitForChild("Torso")
  7. arm = char:FindFirstChild("Right Arm")
  8. arm2 = char:FindFirstChild("Left Arm")
  9. enabled = false
  10. humanoid = char.Humanoid
  11. Animation = Instance.new("Animation",script)
  12. Animation.AnimationId = "rbxassetid://348469232"
  13. Animation2 = Instance.new("Animation",script)
  14. Animation2.AnimationId = "rbxassetid://348411036"
  15. PlaySlash = humanoid:LoadAnimation(Animation)
  16. PlaySlash2 = humanoid:LoadAnimation(Animation2)
  17. Sunn = false
  18. m.KeyDown:connect(function(key)
  19. if key == "q" and not enabled and not Sunn then
  20. enabled = true
  21. Sunn = true
  22. game:GetService("Chat"):Chat(char.Head,"Burst open and mix!")
  23. local Sun = Instance.new("Part",char)
  24. Sun.BrickColor = BrickColor.new("Gold")
  25. Sun.Transparency = 0.3
  26. Sun.Material = "Neon"
  27. Sun.Name = "SUN"
  28. Sun.Anchored = false
  29. Sun.CanCollide = false
  30. Sun.BottomSurface = "Smooth"
  31. Sun.TopSurface = "Smooth"
  32. Sun.Shape = "Ball"
  33. local Ok = Instance.new("ParticleEmitter",Sun)
  34. Ok.Color = ColorSequence.new(Color3.new(255,255,255),Color3.new(255,238,28))
  35. Ok.Texture = "rbxassetid://348465658"
  36. Ok.Transparency = NumberSequence.new(0.7)
  37. Ok.Lifetime = NumberRange.new(.5)
  38. Ok.VelocitySpread = 360
  39. local function weldBetween(a, b)
  40. local weld = Instance.new("ManualWeld", a)
  41. weld.Part0 = a
  42. weld.Part1 = b
  43. --Get the CFrame of b relative to a.
  44. weld.C0 = a.CFrame:inverse() * b.CFrame*CFrame.new(0,-2,0)
  45. --Return the reference to the weld so that you can change it later.
  46. return weld
  47. end
  48. local weld = weldBetween(arm, Sun)
  49. wait(.5)
  50. PlaySlash:Play()
  51. wait(.2)
  52. weld:remove()
  53. Sun.Anchored = true
  54. for i = 1,10 do
  55. Sun.CFrame = Sun.CFrame * CFrame.new(0,15,-15)
  56. wait()
  57. end
  58. wait(1)
  59. for i = 1,10 do
  60. Sun.Size = Sun.Size + Vector3.new(10,10,10)
  61. Sun.ParticleEmitter.Size = NumberSequence.new(5,100)
  62. Sun.ParticleEmitter.Rate = 500
  63. Sun.ParticleEmitter.Speed = NumberRange.new(10)
  64. Sun.ParticleEmitter.LightEmission = 1
  65. wait()
  66. end
  67. wait(2)
  68. game:GetService("Chat"):Chat(char.Head,"RA THE SUN GOD!")
  69. wait(2)
  70. game:GetService("Chat"):Chat(char.Head,"Share your power! HA!")
  71. enabled = false
  72. end
  73. if key == "e" and not enabled and Sunn then
  74. enabled = true
  75. Sunn = false
  76. PlaySlash:Play()
  77. arm.Touched:connect(function(hit)
  78. local Sun = char.SUN
  79. if hit.Parent.Name ~= char.Name then
  80. local Fly = Instance.new("BodyPosition",hit.Parent:WaitForChild("Torso"))
  81. Fly.position = Sun.Position
  82. Fly.maxForce = Vector3.new(5000,5000,5000)
  83. wait(5)
  84. for i = 1,10 do
  85. Sun.Size = Sun.Size - Vector3.new(10,10,10)
  86. Sun.ParticleEmitter.Size = NumberSequence.new(5)
  87. Sun.ParticleEmitter.Rate = 40
  88. Sun.ParticleEmitter.Speed = NumberRange.new(5)
  89. Sun.ParticleEmitter.LightEmission = 0
  90. wait()
  91. end
  92. wait(2)
  93. local efff = Instance.new("Part", hit.Parent)
  94. for i = 1,5 do
  95. eff = efff:Clone()
  96. eff.Transparency = .5
  97. eff.Parent = hit.Parent
  98. eff.Anchored = true
  99. eff.CanCollide = false
  100. eff.CFrame = hit.Parent.Torso.CFrame
  101. eff.Size = Vector3.new(5,1,5)
  102. local me = Instance.new("SpecialMesh", eff)
  103. me.MeshType = "FileMesh"
  104. me.MeshId = "http://www.roblox.com/asset/?id=20329976"
  105. for i = 1,10 do
  106. game:GetService("RunService").Stepped:wait()
  107. me.Scale = me.Scale + Vector3.new(15,6,15)
  108. end
  109. hit.Parent:WaitForChild("Humanoid").Health = hit.Parent:WaitForChild("Humanoid").Health - 5
  110. wait()
  111. game:GetService("Debris"):AddItem(eff,1)
  112. end
  113. wait(1)
  114. for i = 1,10 do
  115. Sun.Size = Sun.Size + Vector3.new(10,10,10)
  116. wait()
  117. end
  118. wait(1)
  119. Sun:remove()
  120. Fly:remove()
  121. end
  122. end)
  123. end
  124.  
  125. if key == "t" and not enabled then
  126. enabled = true
  127. local Sun = char.SUN
  128. local S1 = Sun:clone()
  129. local S2 = Sun:clone()
  130. local S3 = Sun:clone()
  131. local S4 = Sun:clone()
  132. S1.Parent = Sun
  133. S2.Parent = Sun
  134. S3.Parent = Sun
  135. S4.Parent = Sun
  136. Sun.Transparency = 1
  137. Sun.ParticleEmitter:remove()
  138. S1.CFrame = Sun.CFrame *CFrame.new(0,0,-55)
  139. S2.CFrame = Sun.CFrame *CFrame.new(0,0,55)
  140. S3.CFrame = Sun.CFrame *CFrame.new(55,0,0)
  141. S4.CFrame = Sun.CFrame *CFrame.new(-55,0,0)
  142. for i = 1,10 do
  143. S1.Size = S1.Size - Vector3.new(5,5,5)
  144. S2.Size = S2.Size - Vector3.new(5,5,5)
  145. S3.Size = S3.Size - Vector3.new(5,5,5)
  146. S4.Size = S4.Size - Vector3.new(5,5,5)
  147. wait()
  148. end
  149. wait(2)
  150.  
  151. S1.Anchored = false
  152. local Fly = Instance.new("BodyPosition",S1)
  153. Fly.position = m.Hit.p
  154. Fly.maxForce = Vector3.new(500000000,500000000,500000000)
  155. S1.Touched:connect(function(hit)
  156. if hit.Parent.Name ~= p.Name and hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
  157. for i = 1,10 do
  158. wait()
  159. S1.Size = S1.Size + Vector3.new(1,1,1)
  160. S1.Transparency = S1.Transparency + .1
  161. hit.Parent.Humanoid:TakeDamage(50)
  162. end
  163. end
  164. end)
  165. wait(1)
  166. S1:remove()
  167. S2.Anchored = false
  168. local Fly = Instance.new("BodyPosition",S2)
  169. Fly.position = m.Hit.p
  170. Fly.maxForce = Vector3.new(500000000,500000000,500000000)
  171. S2.Touched:connect(function(hit)
  172. if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
  173. for i = 1,10 do
  174. wait()
  175. S2.Size = S2.Size + Vector3.new(1,1,1)
  176. S2.Transparency = S2.Transparency + .1
  177. hit.Parent.Humanoid:TakeDamage(50)
  178. end
  179. end
  180. end)
  181. wait(1)
  182. S2:remove()
  183. S3.Anchored = false
  184. local Fly = Instance.new("BodyPosition",S3)
  185. Fly.position = m.Hit.p
  186. Fly.maxForce = Vector3.new(500000000,500000000,500000000)
  187. S3.Touched:connect(function(hit)
  188. if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
  189. for i = 1,10 do
  190. wait()
  191. S3.Size = S3.Size + Vector3.new(1,1,1)
  192. S3.Transparency = S3.Transparency + .1
  193. hit.Parent.Humanoid:TakeDamage(50)
  194. end
  195. end
  196. end)
  197. wait(1)
  198. S3:remove()
  199. S4.Anchored = false
  200. local Fly = Instance.new("BodyPosition",S4)
  201. Fly.position = m.Hit.p
  202. Fly.maxForce = Vector3.new(500000000,500000000,500000000)
  203. S4.Touched:connect(function(hit)
  204. if hit.Parent.ClassName == "Model" or hit.Parent.ClassName =="Part" then
  205. for i = 1,10 do
  206. wait()
  207. S4.Size = S4.Size + Vector3.new(1,1,1)
  208. S4.Transparency = S4.Transparency + .1
  209. hit.Parent.Humanoid:TakeDamage(50)
  210. end
  211. end
  212. end)
  213. wait(1)
  214. S4:remove()
  215. end
  216. end)
Add Comment
Please, Sign In to add comment