Advertisement
EmeraldIT

God Spring

Jan 6th, 2020
420
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.11 KB | None | 0 0
  1. Fol = Instance.new("Folder", owner.Character)
  2. Char = owner.Character
  3. for _,v in pairs(owner.Character:GetChildren()) do
  4. local Pt = Instance.new('ParticleEmitter', v)
  5. Pt.Rate = 30
  6. Pt.Drag = 0
  7. Pt.Name = "Spring Healing"
  8. Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5), NumberSequenceKeypoint.new(1,0.5)})
  9. Pt.SpreadAngle = Vector2.new(-180, 180)
  10. Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
  11. Pt.Enabled = false
  12. Pt.Acceleration = Vector3.new(0,-0.25,0)
  13. Pt.Texture = "http://www.roblox.com/asset/?id=4581759095"
  14. Pt.LightEmission = .5
  15. Pt.Speed = NumberRange.new(0)
  16. Pt.Lifetime = NumberRange.new(1,3)
  17. Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
  18. Pt.RotSpeed = NumberRange.new(-30,30)
  19. end
  20. ff = Instance.new("ForceField")
  21. ff.Parent = Char
  22. ff.Visible = false
  23. Humanoid = owner.Character.Humanoid Humanoid.HealthChanged:Connect(function (newHealth)
  24. Humanoid.Health = math.huge
  25. for _,v in pairs(owner.Character:GetDescendants()) do
  26. local vv = v
  27. spawn(function()
  28. pcall(function()
  29. if (not vv:IsA("ParticleEmitter")) or vv.Name == "Ww" or vv.Name == "Ww2" then
  30. return end
  31. vv.Enabled = true
  32. Humanoid.Health = math.huge
  33. wait(math.random(.6,1))
  34. vv.Enabled = false
  35. end)
  36. end)
  37. end
  38. end)
  39.  
  40. function spring_gust()
  41. proj = Instance.new("Part", Fol)
  42. Hit = Instance.new("BoolValue", proj)
  43. Hit.Name = "Hitt"
  44. Hit.Value = false
  45. proj.Size = Vector3.new(10,10,10)
  46. proj.Transparency = 1
  47. proj.Name = owner.Name.."'s Projectile"
  48. proj.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,2, -5)
  49. Vel = Instance.new("BodyVelocity", Fi)
  50. Vel.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  51. Vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector*200
  52. proj.Touched:Connect(function(hit)
  53. if (hit.Parent and hit.Parent == owner.Character) or (hit.Parent.Parent and hit.Parent.Parent == owner.Character) or Hit.Value == true or hit.Name == "Base" then return end
  54. Hit.Value = true
  55. local Pill = Instance.new("Part", Fol)
  56. local PillS = Instance.new("SpecialMesh", Pill)
  57. PillS.MeshType = "Sphere"
  58. Pill.Size = Vector3.new(0.1, 1000,0.1)
  59. Pill.Material = "Neon"
  60. local Pt = Instance.new('ParticleEmitter', Pill)
  61. Pt.Rate = 0
  62. Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25), NumberSequenceKeypoint.new(1,25)})
  63. Pt.Drag = 3
  64. Pt.Name = "Effect"
  65. Pt.SpreadAngle = Vector2.new(-180, 180)
  66. Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
  67. Pt.Acceleration = Vector3.new(0,-2,0)
  68. Pt.Texture = "http://www.roblox.com/asset/?id=4581757159"
  69. Pt.LightEmission = 1
  70. Pt.Speed = NumberRange.new(69)
  71. Pt.LockedToPart = true
  72. Pt.Lifetime = NumberRange.new(2,2.35)
  73. Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
  74. Pt.RotSpeed = NumberRange.new(-30,30)
  75. Pt:Emit(500)
  76. Pill.Anchored = true
  77. Pill.CanCollide = false
  78. Pill.Color = Color3.fromRGB(255,100,255)
  79. local Pill2 = Pill:Clone()
  80. Pill2.Parent = Fol
  81. Pill2.Size = Vector3.new(1.1, 1000,1.1)
  82. Pill2.Transparency = 0.1
  83. Pill2.BrickColor = BrickColor.new("Medium blue")
  84. Pill.CFrame = proj.CFrame
  85. Pill2.CFrame = Pill.CFrame
  86. Pill2.Touched:Connect(function(hitt)
  87. if (hitt.Parent and hitt.Parent == owner.Character) or (hitt.Parent.Parent and hitt.Parent.Parent == owner.Character) or hitt.Name == "Base" or hitt:FindFirstChild("Effect") then return end
  88. pcall(function()
  89. hitt.Parent:BreakJoints()
  90. hitt.Velocity = Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))
  91. game.Debris:AddItem(hitt, math.random(3,3.5))
  92. end)
  93. end)
  94. spawn(function()
  95. pcall(function()
  96. proj:Remove()
  97. for i = 1,100 do
  98. Pill.Size = Pill.Size:Lerp(Vector3.new(100,1000,100), 0.1)
  99. Pill2.Size = Pill2.Size:Lerp(Vector3.new(101,1000,101), 0.1)
  100. Pill.CFrame = Pill.CFrame * CFrame.Angles(0,0.1,0)
  101. Pill2.CFrame = Pill2.CFrame * CFrame.Angles(0,0.1,0)
  102. Pill.Transparency = Pill.Transparency + 1/100
  103. Pill2.Transparency = Pill2.Transparency + 0.9/100
  104. if i > 60 then
  105. Pill.Effect.Enabled = false
  106. end
  107. wait()
  108. end
  109. Pill:Remove()
  110. Pill2:Remove()
  111. end)
  112. end)
  113. end)
  114. end
  115.  
  116. p = Instance.new("Part")
  117. p.Size = Vector3.new(.5,.5,.5)
  118. p.Parent = Fol
  119. p.Transparency = 1
  120. p.CanCollide = false
  121.  
  122. wel = Instance.new("Weld", p)
  123. wel.Part0 = Char.HumanoidRootPart
  124. wel.Part1 = p
  125. wel.C0 = CFrame.new(0,0,0)
  126.  
  127. local Pt = Instance.new('ParticleEmitter', p)
  128. Pt.Rate = 500
  129. Pt.Drag = 1
  130. Pt.Name = "Ww"
  131. Pt.SpreadAngle = Vector2.new(-180, 180)
  132. Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
  133. Pt.Enabled = false
  134. Pt.Acceleration = Vector3.new(0,-0.25,0)
  135. Pt.Texture = "http://www.roblox.com/asset/?id=4581758233"
  136. Pt.LightEmission = 1
  137. Pt.LockedToPart = true
  138. Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
  139. Pt.Speed = NumberRange.new(6)
  140. Pt.VelocityInheritance = 0.5
  141. Pt.Lifetime = NumberRange.new(3)
  142. Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
  143. Pt.RotSpeed = NumberRange.new(-30,30)
  144. local P2t = Instance.new('ParticleEmitter', p)
  145. P2t.Rate = 500
  146. P2t.Drag = 1
  147. P2t.Name = "Ww2"
  148. P2t.SpreadAngle = Vector2.new(-180, 180)
  149. P2t.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
  150. P2t.Enabled = false
  151. P2t.Acceleration = Vector3.new(0,-0.25,0)
  152. P2t.Texture = "http://www.roblox.com/asset/?id=4581757159"
  153. P2t.LightEmission = 1
  154. P2t.LockedToPart = true
  155. P2t.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
  156. P2t.Speed = NumberRange.new(6)
  157. P2t.VelocityInheritance = 0.5
  158. P2t.Lifetime = NumberRange.new(3)
  159. P2t.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
  160. P2t.RotSpeed = NumberRange.new(-30,30)
  161.  
  162. function flowerify(target)
  163. pcall(function()
  164. target.Color = Color3.new(1,0.7,1)
  165. end)
  166. pcall(function()
  167. target.TextureId = ""
  168. end)
  169. pcall(function()
  170. target.Texture = ""
  171. end)
  172. pcall(function()
  173. target.face.Texture = ""
  174. end)
  175. pcall(function()
  176. target.roblox.Texture = ""
  177. end)
  178. pcall(function()
  179. target.roblox.TextureId = ""
  180. end)
  181. pcall(function()
  182. target.PantsTemplate = ""
  183. end)
  184. pcall(function()
  185. target.ShirtTemplate = ""
  186. end)
  187. pcall(function()
  188. target.Handle.Mesh.Texture = ""
  189. end)
  190. pcall(function()
  191. target.Handle.Color = Color3.new(1,0.7,1)
  192. end)
  193. pcall(function()
  194. target.Color = Color3.new(1,0.7,1)
  195. end)
  196. pcall(function()
  197. target.Material = "Grass"
  198. end)
  199. pcall(function()
  200. target.Anchored = true
  201. end)
  202. if target.Name == "Torso" then
  203. local part = Instance.new("Part")
  204. part.Parent = target
  205. part.Anchored = true
  206. part.CanCollide = false
  207. part.Material = "Grass"
  208. part.Color = Color3.new(1,0.7,1)
  209. part.Transparency = 0
  210. rn = math.random(1,10)
  211. rn2 = math.random(1,2)
  212. part.Size = Vector3.new(1,1,1)
  213. part.CFrame = target.CFrame
  214. spawn(function()
  215. for i = 1,35 do
  216. part.Size = part.Size:Lerp(Vector3.new(10+rn,10+rn,10+rn),0.1)
  217. part.Transparency = part.Transparency + (0.5/35)
  218. if rn2 == 1 then
  219. part.CFrame = target.CFrame * CFrame.Angles((i/10),(i/10),(i/10))
  220. else
  221. part.CFrame = target.CFrame * CFrame.Angles(-(i/10),-(i/10),-(i/10))
  222. end
  223. wait()
  224. end
  225. end)
  226. end
  227. end
  228.  
  229. on = false
  230.  
  231. function spring_centre()
  232. if on == true then return end
  233. on = true
  234. ins = Instance.new("SpecialMesh", p)
  235. ins.MeshType = "Sphere"
  236. p.Material = "Neon"
  237. p.Transparency = 0
  238. p.Color = Color3.new(1,0.5,1)
  239. p.CanCollide = true
  240. Char.LowerTorso.Anchored = true
  241. Pt.Enabled = true
  242. P2t.Enabled = true
  243. Pt:Emit(500)
  244. P2t:Emit(500)
  245. local cloud = Instance.new("Part",Fol)
  246. cloud.Size = Vector3.new(700,10,700)
  247. cloud.Color = Color3.new(1,0.7,1)
  248. cloud.Anchored = true
  249. cloud.CanCollide = false
  250. cloud.CFrame = CFrame.new(Char.HumanoidRootPart.Position) * CFrame.new(0,125,0)
  251. local mesh = Instance.new("SpecialMesh",cloud)
  252. mesh.MeshType = "FileMesh"
  253. mesh.MeshId = "http://www.roblox.com/asset/?id=111820358"
  254. mesh.Scale = Vector3.new(1000,50,1000)
  255. cloud.Transparency = 1
  256. a2P2t = Instance.new('ParticleEmitter',cloud)
  257. a2P2t.Rate = 500
  258. a2P2t.Drag = 0
  259. a2P2t.Name = "Ww2"
  260. a2P2t.EmissionDirection = "Bottom"
  261. a2P2t.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
  262. a2P2t.Enabled = false
  263. a2P2t.Acceleration = Vector3.new(0,-0.25,0)
  264. a2P2t.Texture = "http://www.roblox.com/asset/?id=4581757159"
  265. a2P2t.LightEmission = 1
  266. a2P2t.LockedToPart = true
  267. a2P2t.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
  268. a2P2t.Speed = NumberRange.new(6)
  269. a2P2t.VelocityInheritance = 0.5
  270. a2P2t.Lifetime = NumberRange.new(20)
  271. a2P2t.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
  272. a2P2t.RotSpeed = NumberRange.new(-30,30)
  273.  
  274. for i = 1,500 do
  275. p.Size = p.Size + Vector3.new(0.05, 0.05, 0.05)
  276. Char.LowerTorso.Position = Char.LowerTorso.Position + Vector3.new(0,0.05,0)
  277. cloud.Transparency = cloud.Transparency - 1/500
  278. wait()
  279. end
  280. a2P2t.Enabled = true
  281. wait(1)
  282. for _,v in pairs(owner.Character:GetDescendants()) do
  283. local vv = v
  284. spawn(function()
  285. pcall(function()
  286. if (not vv:IsA("ParticleEmitter")) or vv.Name == "Ww" or vv.Name == "Ww2" then
  287. return end
  288. vv:Emit(30)
  289. end)
  290. end)
  291. end
  292. p.Touched:Connect(function(hittt)
  293. flowerify(hittt)
  294. pcall(function()
  295. hittt.Parent:BreakJoints()
  296. for _,v in pairs(hittt.Parent:GetChildren()) do
  297. flowerify(v)
  298. if v:IsA("Accessory") then v:Remove() end
  299. end
  300. end)
  301. end)
  302. Pt:Emit(500)
  303. P2t:Emit(500)
  304. for i = 1,35 do
  305. p.Size = p.Size:Lerp(Vector3.new(500,500,500), 0.1)
  306. p.Transparency = i/35
  307. wait()
  308. end
  309. wait(2)
  310. p:Remove()
  311. Char.LowerTorso.Anchored = false
  312. end
  313.  
  314. owner.Chatted:Connect(function(chat)
  315. chat = string.lower(chat)
  316. C = string.match(chat, "spring gust")
  317. C2 = string.match(chat, "final: spring core")
  318. if C then
  319. spring_gust()
  320. elseif C2 then
  321. spring_centre()
  322. end
  323. end)
  324.  
  325. while true do
  326. wel.C1 = wel.C1 * CFrame.Angles(0,0.3,0)
  327. pcall(function()
  328. workspace.Explosion:Remove()
  329. end)
  330. wait()
  331. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement