Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Fol = Instance.new("Folder", owner.Character)
- Char = owner.Character
- for _,v in pairs(owner.Character:GetChildren()) do
- local Pt = Instance.new('ParticleEmitter', v)
- Pt.Rate = 30
- Pt.Drag = 0
- Pt.Name = "Spring Healing"
- Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5), NumberSequenceKeypoint.new(1,0.5)})
- Pt.SpreadAngle = Vector2.new(-180, 180)
- Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
- Pt.Enabled = false
- Pt.Acceleration = Vector3.new(0,-0.25,0)
- Pt.Texture = "http://www.roblox.com/asset/?id=4581759095"
- Pt.LightEmission = .5
- Pt.Speed = NumberRange.new(0)
- Pt.Lifetime = NumberRange.new(1,3)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(-30,30)
- end
- ff = Instance.new("ForceField")
- ff.Parent = Char
- ff.Visible = false
- Humanoid = owner.Character.Humanoid Humanoid.HealthChanged:Connect(function (newHealth)
- Humanoid.Health = math.huge
- for _,v in pairs(owner.Character:GetDescendants()) do
- local vv = v
- spawn(function()
- pcall(function()
- if (not vv:IsA("ParticleEmitter")) or vv.Name == "Ww" or vv.Name == "Ww2" then
- return end
- vv.Enabled = true
- Humanoid.Health = math.huge
- wait(math.random(.6,1))
- vv.Enabled = false
- end)
- end)
- end
- end)
- function spring_gust()
- proj = Instance.new("Part", Fol)
- Hit = Instance.new("BoolValue", proj)
- Hit.Name = "Hitt"
- Hit.Value = false
- proj.Size = Vector3.new(10,10,10)
- proj.Transparency = 1
- proj.Name = owner.Name.."'s Projectile"
- proj.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0,2, -5)
- Vel = Instance.new("BodyVelocity", Fi)
- Vel.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- Vel.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector*200
- proj.Touched:Connect(function(hit)
- 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
- Hit.Value = true
- local Pill = Instance.new("Part", Fol)
- local PillS = Instance.new("SpecialMesh", Pill)
- PillS.MeshType = "Sphere"
- Pill.Size = Vector3.new(0.1, 1000,0.1)
- Pill.Material = "Neon"
- local Pt = Instance.new('ParticleEmitter', Pill)
- Pt.Rate = 0
- Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25), NumberSequenceKeypoint.new(1,25)})
- Pt.Drag = 3
- Pt.Name = "Effect"
- Pt.SpreadAngle = Vector2.new(-180, 180)
- Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
- Pt.Acceleration = Vector3.new(0,-2,0)
- Pt.Texture = "http://www.roblox.com/asset/?id=4581757159"
- Pt.LightEmission = 1
- Pt.Speed = NumberRange.new(69)
- Pt.LockedToPart = true
- Pt.Lifetime = NumberRange.new(2,2.35)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(-30,30)
- Pt:Emit(500)
- Pill.Anchored = true
- Pill.CanCollide = false
- Pill.Color = Color3.fromRGB(255,100,255)
- local Pill2 = Pill:Clone()
- Pill2.Parent = Fol
- Pill2.Size = Vector3.new(1.1, 1000,1.1)
- Pill2.Transparency = 0.1
- Pill2.BrickColor = BrickColor.new("Medium blue")
- Pill.CFrame = proj.CFrame
- Pill2.CFrame = Pill.CFrame
- Pill2.Touched:Connect(function(hitt)
- 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
- pcall(function()
- hitt.Parent:BreakJoints()
- hitt.Velocity = Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))
- game.Debris:AddItem(hitt, math.random(3,3.5))
- end)
- end)
- spawn(function()
- pcall(function()
- proj:Remove()
- for i = 1,100 do
- Pill.Size = Pill.Size:Lerp(Vector3.new(100,1000,100), 0.1)
- Pill2.Size = Pill2.Size:Lerp(Vector3.new(101,1000,101), 0.1)
- Pill.CFrame = Pill.CFrame * CFrame.Angles(0,0.1,0)
- Pill2.CFrame = Pill2.CFrame * CFrame.Angles(0,0.1,0)
- Pill.Transparency = Pill.Transparency + 1/100
- Pill2.Transparency = Pill2.Transparency + 0.9/100
- if i > 60 then
- Pill.Effect.Enabled = false
- end
- wait()
- end
- Pill:Remove()
- Pill2:Remove()
- end)
- end)
- end)
- end
- p = Instance.new("Part")
- p.Size = Vector3.new(.5,.5,.5)
- p.Parent = Fol
- p.Transparency = 1
- p.CanCollide = false
- wel = Instance.new("Weld", p)
- wel.Part0 = Char.HumanoidRootPart
- wel.Part1 = p
- wel.C0 = CFrame.new(0,0,0)
- local Pt = Instance.new('ParticleEmitter', p)
- Pt.Rate = 500
- Pt.Drag = 1
- Pt.Name = "Ww"
- Pt.SpreadAngle = Vector2.new(-180, 180)
- Pt.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
- Pt.Enabled = false
- Pt.Acceleration = Vector3.new(0,-0.25,0)
- Pt.Texture = "http://www.roblox.com/asset/?id=4581758233"
- Pt.LightEmission = 1
- Pt.LockedToPart = true
- Pt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
- Pt.Speed = NumberRange.new(6)
- Pt.VelocityInheritance = 0.5
- Pt.Lifetime = NumberRange.new(3)
- Pt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- Pt.RotSpeed = NumberRange.new(-30,30)
- local P2t = Instance.new('ParticleEmitter', p)
- P2t.Rate = 500
- P2t.Drag = 1
- P2t.Name = "Ww2"
- P2t.SpreadAngle = Vector2.new(-180, 180)
- P2t.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
- P2t.Enabled = false
- P2t.Acceleration = Vector3.new(0,-0.25,0)
- P2t.Texture = "http://www.roblox.com/asset/?id=4581757159"
- P2t.LightEmission = 1
- P2t.LockedToPart = true
- P2t.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
- P2t.Speed = NumberRange.new(6)
- P2t.VelocityInheritance = 0.5
- P2t.Lifetime = NumberRange.new(3)
- P2t.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- P2t.RotSpeed = NumberRange.new(-30,30)
- function flowerify(target)
- pcall(function()
- target.Color = Color3.new(1,0.7,1)
- end)
- pcall(function()
- target.TextureId = ""
- end)
- pcall(function()
- target.Texture = ""
- end)
- pcall(function()
- target.face.Texture = ""
- end)
- pcall(function()
- target.roblox.Texture = ""
- end)
- pcall(function()
- target.roblox.TextureId = ""
- end)
- pcall(function()
- target.PantsTemplate = ""
- end)
- pcall(function()
- target.ShirtTemplate = ""
- end)
- pcall(function()
- target.Handle.Mesh.Texture = ""
- end)
- pcall(function()
- target.Handle.Color = Color3.new(1,0.7,1)
- end)
- pcall(function()
- target.Color = Color3.new(1,0.7,1)
- end)
- pcall(function()
- target.Material = "Grass"
- end)
- pcall(function()
- target.Anchored = true
- end)
- if target.Name == "Torso" then
- local part = Instance.new("Part")
- part.Parent = target
- part.Anchored = true
- part.CanCollide = false
- part.Material = "Grass"
- part.Color = Color3.new(1,0.7,1)
- part.Transparency = 0
- rn = math.random(1,10)
- rn2 = math.random(1,2)
- part.Size = Vector3.new(1,1,1)
- part.CFrame = target.CFrame
- spawn(function()
- for i = 1,35 do
- part.Size = part.Size:Lerp(Vector3.new(10+rn,10+rn,10+rn),0.1)
- part.Transparency = part.Transparency + (0.5/35)
- if rn2 == 1 then
- part.CFrame = target.CFrame * CFrame.Angles((i/10),(i/10),(i/10))
- else
- part.CFrame = target.CFrame * CFrame.Angles(-(i/10),-(i/10),-(i/10))
- end
- wait()
- end
- end)
- end
- end
- on = false
- function spring_centre()
- if on == true then return end
- on = true
- ins = Instance.new("SpecialMesh", p)
- ins.MeshType = "Sphere"
- p.Material = "Neon"
- p.Transparency = 0
- p.Color = Color3.new(1,0.5,1)
- p.CanCollide = true
- Char.LowerTorso.Anchored = true
- Pt.Enabled = true
- P2t.Enabled = true
- Pt:Emit(500)
- P2t:Emit(500)
- local cloud = Instance.new("Part",Fol)
- cloud.Size = Vector3.new(700,10,700)
- cloud.Color = Color3.new(1,0.7,1)
- cloud.Anchored = true
- cloud.CanCollide = false
- cloud.CFrame = CFrame.new(Char.HumanoidRootPart.Position) * CFrame.new(0,125,0)
- local mesh = Instance.new("SpecialMesh",cloud)
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/asset/?id=111820358"
- mesh.Scale = Vector3.new(1000,50,1000)
- cloud.Transparency = 1
- a2P2t = Instance.new('ParticleEmitter',cloud)
- a2P2t.Rate = 500
- a2P2t.Drag = 0
- a2P2t.Name = "Ww2"
- a2P2t.EmissionDirection = "Bottom"
- a2P2t.Color = ColorSequence.new(BrickColor.new("Pink").Color,BrickColor.new("Medium blue").Color)
- a2P2t.Enabled = false
- a2P2t.Acceleration = Vector3.new(0,-0.25,0)
- a2P2t.Texture = "http://www.roblox.com/asset/?id=4581757159"
- a2P2t.LightEmission = 1
- a2P2t.LockedToPart = true
- a2P2t.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1), NumberSequenceKeypoint.new(1,5)})
- a2P2t.Speed = NumberRange.new(6)
- a2P2t.VelocityInheritance = 0.5
- a2P2t.Lifetime = NumberRange.new(20)
- a2P2t.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0), NumberSequenceKeypoint.new(0.7,0,0), NumberSequenceKeypoint.new(1,1,0)})
- a2P2t.RotSpeed = NumberRange.new(-30,30)
- for i = 1,500 do
- p.Size = p.Size + Vector3.new(0.05, 0.05, 0.05)
- Char.LowerTorso.Position = Char.LowerTorso.Position + Vector3.new(0,0.05,0)
- cloud.Transparency = cloud.Transparency - 1/500
- wait()
- end
- a2P2t.Enabled = true
- wait(1)
- for _,v in pairs(owner.Character:GetDescendants()) do
- local vv = v
- spawn(function()
- pcall(function()
- if (not vv:IsA("ParticleEmitter")) or vv.Name == "Ww" or vv.Name == "Ww2" then
- return end
- vv:Emit(30)
- end)
- end)
- end
- p.Touched:Connect(function(hittt)
- flowerify(hittt)
- pcall(function()
- hittt.Parent:BreakJoints()
- for _,v in pairs(hittt.Parent:GetChildren()) do
- flowerify(v)
- if v:IsA("Accessory") then v:Remove() end
- end
- end)
- end)
- Pt:Emit(500)
- P2t:Emit(500)
- for i = 1,35 do
- p.Size = p.Size:Lerp(Vector3.new(500,500,500), 0.1)
- p.Transparency = i/35
- wait()
- end
- wait(2)
- p:Remove()
- Char.LowerTorso.Anchored = false
- end
- owner.Chatted:Connect(function(chat)
- chat = string.lower(chat)
- C = string.match(chat, "spring gust")
- C2 = string.match(chat, "final: spring core")
- if C then
- spring_gust()
- elseif C2 then
- spring_centre()
- end
- end)
- while true do
- wel.C1 = wel.C1 * CFrame.Angles(0,0.3,0)
- pcall(function()
- workspace.Explosion:Remove()
- end)
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement