Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Titan Slayer Magic --
- bin = script.Parent
- local anim = false -- not active
- local am = 1 -- air/wind mode = 1 and etc.
- local em = 1
- local fm = 1
- local wm = 1
- local tm = 1
- local im = 1
- bin.Selected:connect(function(mouse)
- mouse.Button1Down:connect(function()
- plr = bin.Parent.Parent --tool,backpack,player
- if plr.Name ~= "snowboarder199" then
- if plr.Name ~= "AbandonedPhilosophy" then
- if plr.Name ~= "PrinceOfHeaven" then
- return end
- end
- end
- local storage = Instance.new("Model", game.Lighting)
- storage.Name = "MagicStorage"
- for _, v in pairs(plr.Backpack:GetChildren()) do
- v.Parent = storage
- end
- local tools = {} -- this is so going to work :3
- plr.Character.Humanoid.Died:connect(function()
- storage:Destroy()
- end)
- local gui = Instance.new("ScreenGui",plr.PlayerGui)
- gui.Name = "Element_Display"
- local fr = Instance.new("Frame", gui)
- fr.Name = "Frame"
- fr.BackgroundColor3 = Color3.new(0,0,0)
- fr.BorderColor3 = Color3.new(1,1,1)
- fr.Size = UDim2.new(0,150,0,200)
- fr.Position = UDim2.new(0,3,0,400)
- fr.Active = true
- fr.Draggable = true
- al = Instance.new("TextLabel", fr)
- al.BackgroundColor3 = Color3.new(0,0,0)
- al.BorderColor3 = Color3.new(0,0,0)
- al.TextColor3 = Color3.new(1,1,1)
- al.Text = "Wind: Tornado"
- al.Size = UDim2.new(0,130,0,30)
- al.Position = UDim2.new(0,10,0,10)
- el = Instance.new("TextLabel", fr)
- el.BackgroundColor3 = Color3.new(0,0,0)
- el.BorderColor3 = Color3.new(0,0,0)
- el.TextColor3 = Color3.new(1,1,1)
- el.Text = "Earth: Ground shatter"
- el.Size = UDim2.new(0,130,0,30)
- el.Position = UDim2.new(0,10,0,40)
- fl = Instance.new("TextLabel", fr)
- fl.BackgroundColor3 = Color3.new(0,0,0)
- fl.BorderColor3 = Color3.new(0,0,0)
- fl.TextColor3 = Color3.new(1,1,1)
- fl.Text = "Fire: Inferno burst"
- fl.Size = UDim2.new(0,130,0,30)
- fl.Position = UDim2.new(0,10,0,70)
- wl = Instance.new("TextLabel", fr)
- wl.BackgroundColor3 = Color3.new(0,0,0)
- wl.BorderColor3 = Color3.new(0,0,0)
- wl.TextColor3 = Color3.new(1,1,1)
- wl.Text = "Water: Aqua bloom"
- wl.Size = UDim2.new(0,130,0,30)
- wl.Position = UDim2.new(0,10,0,100)
- tl = Instance.new("TextLabel", fr)
- tl.BackgroundColor3 = Color3.new(0,0,0)
- tl.BorderColor3 = Color3.new(0,0,0)
- tl.TextColor3 = Color3.new(1,1,1)
- tl.Text = "Thunder: Sonic boom"
- tl.Size = UDim2.new(0,130,0,30)
- tl.Position = UDim2.new(0,10,0,130)
- il = Instance.new("TextLabel", fr)
- il.BackgroundColor3 = Color3.new(0,0,0)
- il.BorderColor3 = Color3.new(0,0,0)
- il.TextColor3 = Color3.new(1,1,1)
- il.Text = "Ice: Spike storm"
- il.Size = UDim2.new(0,130,0,30)
- il.Position = UDim2.new(0,10,0,160)
- local bin1 = Instance.new("HopperBin", plr.Backpack)
- bin1.Name = "Wind Titan Magic"
- bin1.Selected:connect(function(mouse0)
- mouse0.Button1Down:connect(function()
- wind()
- end)
- mouse0.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if am == 1 then
- am = 3
- update()
- else
- am = am-1
- update()
- end
- elseif key:lower() == "e" then
- if am == 3 then
- am = 1
- update()
- else
- am = am+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin1)
- local bin2 = Instance.new("HopperBin", plr.Backpack)
- bin2.Name = "Earth Titan Magic"
- bin2.Selected:connect(function(mouse1)
- mouse1.Button1Down:connect(function()
- earth()
- end)
- mouse1.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if em == 1 then
- em = 3
- update()
- else
- em = em-1
- update()
- end
- elseif key:lower() == "e" then
- if em == 3 then
- em = 1
- update()
- else
- em = em+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin2)
- local bin3 = Instance.new("HopperBin", plr.Backpack)
- bin3.Name = "Fire Titan Magic"
- bin3.Selected:connect(function(mouse2)
- mouse2.Button1Down:connect(function()
- fire()
- end)
- mouse2.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if fm == 1 then
- fm = 3
- update()
- else
- fm = fm-1
- update()
- end
- elseif key:lower() == "e" then
- if fm == 3 then
- fm = 1
- update()
- else
- fm = fm+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin3)
- local bin4 = Instance.new("HopperBin", plr.Backpack)
- bin4.Name = "Water Titan Magic"
- bin4.Selected:connect(function(mouse3)
- mouse3.Button1Down:connect(function()
- water()
- end)
- mouse3.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if wm == 1 then
- wm = 3
- update()
- else
- wm = wm-1
- update()
- end
- elseif key:lower() == "e" then
- if wm == 3 then
- wm = 1
- update()
- else
- wm = wm+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin4)
- local bin5 = Instance.new("HopperBin", plr.Backpack)
- bin5.Name = "Thunder Titan Magic"
- bin5.Selected:connect(function(mouse4)
- mouse4.Button1Down:connect(function()
- thunder(mouse4)
- end)
- mouse4.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if tm == 1 then
- tm = 3
- update()
- else
- tm = tm-1
- update()
- end
- elseif key:lower() == "e" then
- if tm == 3 then
- tm = 1
- update()
- else
- tm = tm+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin5)
- local bin6 = Instance.new("HopperBin", plr.Backpack)
- bin6.Name = "Ice Titan Magic"
- bin6.Selected:connect(function(mouse5)
- mouse5.Button1Down:connect(function()
- ice()
- end)
- mouse5.KeyDown:connect(function(key)
- if key:lower() == "q" then
- if im == 1 then
- im = 3
- update()
- else
- im = im-1
- update()
- end
- elseif key:lower() == "e" then
- if im == 3 then
- im = 1
- update()
- else
- im = im+1
- update()
- end
- end
- end)
- end)
- table.insert(tools,bin6)
- local back = Instance.new("HopperBin", plr.Backpack)
- back.Name = "Back"
- back.Selected:connect(function(mouse2)
- mouse2.Button1Down:connect(function()
- for _, v in pairs(tools) do
- v:Destroy()
- wait()
- end
- wait()
- for _, v in pairs(storage:GetChildren()) do
- v.Parent = plr.Backpack
- wait()
- end
- plr.PlayerGui:findFirstChild("Element_Display"):Destroy()
- storage:Destroy() -- to keep the lighting clean and less laggy c:
- end)
- end)
- table.insert(tools, back)
- end)
- end)
- -- turns out you cant use :clone() on tools and bins to save them in a table. Get it together roblox.
- -- Utility functions --
- function update(plr) -- holy mofoing christ qq
- if am == 1 then
- al.Text = "Wind: Tornado"
- elseif am == 2 then
- al.Text = "Wind: Air pressure"
- elseif am == 3 then
- al.Text = "Wind: Gale force"
- end
- if em == 1 then
- el.Text = "Earth: Ground shatter"
- elseif em == 2 then
- el.Text = "Earth: Pillar ring"
- elseif em == 3 then
- el.Text = "Earth: Earth Armor"
- end
- if fm == 1 then
- fl.Text = "Fire: Inferno burst"
- elseif fm == 2 then
- fl.Text = "Fire: Millionth sun"
- elseif fm == 3 then
- fl.Text = "Fire: Hades flame"
- end
- if wm == 1 then
- wl.Text = "Water: Aqua bloom"
- elseif wm == 2 then
- wl.Text = "Water: Jet stream"
- elseif wm == 3 then
- wl.Text = "Water: Tidal Waves"
- end
- if tm == 1 then
- tl.Text = "Thunder: Sonic boom"
- elseif tm == 2 then
- tl.Text = "Thunder: Bolt destruction"
- elseif tm == 3 then
- tl.Text = "Thunder: Volt release"
- end
- if im == 1 then
- il.Text = "Ice: Spike storm"
- elseif im == 2 then
- il.Text = "Ice: Arctic era"
- elseif im == 3 then
- il.Text = "Ice: Frozen doom"
- end
- end
- function chat(head, text, color)
- game:GetService("Chat"):Chat(head, text, color)
- end
- -- Move Functions --
- function wind()
- -- tornado --
- dist = 100
- -- animation --
- if am == 1 then
- if plr.Character:findFirstChild("WT:T") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:T"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Wind: Tornado!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- -- end animations & effects --
- local t = Instance.new("Part",Workspace)
- t.Anchored = false
- t.CanCollide = false
- t.Size = Vector3.new(150,150,150)
- t.BrickColor = BrickColor.new("Dark stone grey")
- t.Velocity = plr.Character.Torso.CFrame.lookVector * 200
- bp = Instance.new("BodyPosition", t)
- bp.position = plr.Character.Torso.Position + Vector3.new(0,75,0)
- bp.maxForce = Vector3.new(0,math.huge,0)
- mesh = Instance.new("SpecialMesh", t)
- mesh.Scale = Vector3.new(120,150,120)
- mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
- t.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character then
- hum.Sit = true
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - t.Position).unit * -120 + Vector3.new(0,70,0)
- wait()
- end
- end)
- t.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,75,-75)
- game.Debris:AddItem(t,6)
- -- air pressure --
- elseif am == 2 then
- if plr.Character:findFirstChild("WT:AP") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:AP"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Wind: Air pressure!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local a = Instance.new("Part",Workspace)
- a.CanCollide = false
- a.Anchored = true
- a.formFactor = "Custom"
- a.Shape = "Ball"
- a.Transparency = 0
- a.BrickColor = BrickColor.new("Institutional white")
- a.TopSurface = 0
- a.BottomSurface = 0
- a.CFrame = plr.Character.Torso.CFrame
- a.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character then
- hum.Sit = true
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - a.Position).unit * 230 + Vector3.new(0,90,0)
- wait()
- end
- end)
- for i = 1, 100, 2 do
- cf = a.CFrame
- a.Size = Vector3.new(i*1.5,i*1.5,i*1.5)
- a.Transparency = i/100
- a.CFrame = cf
- wait()
- end
- a:Destroy()
- -- end animation & effects --
- -- gale force --
- elseif am == 3 then
- if plr.Character:findFirstChild("WT:GF") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:GF"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Wind: Gale Force!", "Green")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- for i = 1, 150 do
- local gf = Instance.new("Part",Workspace)
- gf.CanCollide = false
- gf.Anchored = false
- gf.formFactor = "Custom"
- gf.Size = Vector3.new(1.5,1.5,1.5)
- gf.Transparency = 0.4
- gf.Shape = "Ball"
- gf.BrickColor = BrickColor.new("White")
- gf.CFrame = plr.Character.Torso.CFrame * CFrame.new(math.random(-15,15), math.random(-3,8), math.random(-5,-2))
- bv = Instance.new("BodyVelocity", gf)
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.velocity = plr.Character.Torso.CFrame.lookVector * 500
- gf.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character then
- hum.Sit = true
- hum:TakeDamage(3)
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - gf.Position).unit * 250 + Vector3.new(0,50,0)
- wait()
- end
- end)
- wait()
- game.Debris:AddItem(gf,2.2)
- end
- -- end animation & effects --
- end
- end
- function earth()
- if em == 1 then
- -- Ground Shatter --
- if plr.Character:findFirstChild("ET:GS") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "ET:GS"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Earth: Ground shatter!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local g = Instance.new("Part",Workspace)
- g.CanCollide = false
- g.Anchored = true
- g.BrickColor = BrickColor.new("Brown")
- g.Size = Vector3.new(1,1,1)
- g.CFrame = plr.Character.Torso.CFrame
- mesh = Instance.new("SpecialMesh", g)
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- g.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("ETGSDEB") == nil then
- deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "ETGSDEB"
- game.Debris:AddItem(deb,4)
- hum.PlatformStand = true
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Velocity - g.Position).unit * 100 + Vector3.new(0,50,0)
- hum:TakeDamage(math.random(35,50))
- end
- end)
- for i = 1, 76, 2 do
- cf = g.CFrame
- g.Size = Vector3.new(i,i,i)
- mesh.Scale = Vector3.new(i,i,i)
- g.Transparency = i/76
- g.CFrame = cf
- wait()
- end
- g:remove()
- elseif em == 2 then
- -- pillar ring --
- if plr.Character:findFirstChild("ET:PR") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "ET:PR"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Earth: Pillar Ring!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait(2)
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- for i = 1, 360, 36 do
- local ro = Instance.new("Part",Workspace)
- ro.Anchored = true
- ro.CanCollide = false
- ro.BrickColor = BrickColor.new("Brown")
- ro.Size = Vector3.new(20,40,20)
- ro.TopSurface = 0
- ro.BottomSurface = 0
- ro.CFrame = plr.Character.Torso.CFrame * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,14,40)
- mesh = Instance.new("CylinderMesh",ro)
- ro.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character then
- hum.WalkSpeed = 0
- hum:TakeDamage(20)
- hum.Sit = true
- wait(3)
- hum.WalkSpeed = 16
- end
- end)
- game.Debris:AddItem(ro,10)
- end
- elseif em == 3 then
- if plr.Character:findFirstChild("ET:EA") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "ET:EA"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Earth: Earth Armor!", "Green")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- wait()
- end
- wait(2)
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- for _, v in pairs(plr.Character:GetChildren()) do
- if v:isA ("BasePart") then
- v.BrickColor = BrickColor.new("Brown")
- wait()
- end
- end
- plr.Character.Humanoid.MaxHealth = 500
- plr.Character.Humanoid.Health = 499
- plr.Character.Humanoid.WalkSpeed = 60
- wait(60) -- long enough right :o?
- plr.Character.Humanoid.MaxHealth = 100
- plr.Character.Humanoid.Health = 99
- plr.Character.Humanoid.WalkSpeed = 20
- end
- end
- function fire()
- if fm == 1 then
- if plr.Character:findFirstChild("FT:IB") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "FT:IB"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Fire: Inferno blast!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local ib = Instance.new("Part",Workspace)
- ib.CanCollide = false
- ib.Anchored = false
- ib.Shape = "Ball"
- ib.BrickColor = BrickColor.new("Bright red")
- ib.Size = Vector3.new(1,1,1)
- ib.TopSurface = 0
- ib.BottomSurface = 0
- ib.CFrame = plr.Character.Torso.CFrame * CFrame.new(1,0.3,-0.9)
- bv = Instance.new("BodyVelocity", ib)
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- bv.velocity = plr.Character.Torso.CFrame.lookVector * 200
- ib.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("FTIBDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "FTIBDEB"
- game.Debris:AddItem(deb,4)
- chat(hum.Parent.Head, "AAAHH!", "Red")
- hum.MaxHealth = 23
- hum.Health = 20
- hum.WalkSpeed = 10
- local ef = Instance.new("Part",Workspace)
- ef.Shape = "Ball"
- ef.CanCollide = false
- ef.Anchored = true
- ef.Size = Vector3.new(1,1,1)
- ef.BrickColor = BrickColor.new("Really black")
- ef.CFrame = hum.Parent.Torso.CFrame
- ef.TopSurface = 0
- ef.BottomSurface = 0
- for i = 1, 20 do
- cf = ef.CFrame
- ef.Size = Vector3.new(i,i,i)
- ef.Transparency = i/10
- ef.CFrame = cf
- wait(0.05)
- end
- ef:Destroy()
- end
- end)
- wait(0.35)
- cf = ib.CFrame
- ib.Size = Vector3.new(100,100,100)
- ib.CFrame = cf
- game.Debris:AddItem(ib,5)
- elseif fm == 2 then
- if plr.Character:findFirstChild("FT:MS") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "FT:MS"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Fire: One Millionth Sun!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait(2)
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local s = Instance.new("Part",Workspace)
- s.Anchored = true
- s.Size = Vector3.new(1,1,1)
- s.CanCollide = false
- s.CFrame = plr.Character.Head.CFrame * CFrame.new(0,3,0)
- s.Transparency = 1
- wait(0.5)
- local shock = Instance.new("Part")
- shock.FormFactor = "Custom"
- shock.Size = Vector3.new(1, 1, 1)
- shock.BrickColor = BrickColor.new("Really red")
- shock.Anchored = true
- shock.Name = "Shock Ring"
- shock.CanCollide = false
- shock.Parent = Workspace
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/Asset/?id=3270017"
- mesh.Parent = shock
- local shock2 = shock:Clone()
- shock2.Parent = Workspace
- local shock3 = shock:Clone()
- shock3.Parent = Workspace
- local shockAngle = CFrame.fromEulerAnglesXYZ(math.rad(90 + math.random(-5, 5)), math.rad(math.random(-5, 5)), math.rad(math.random(-5, 5)))
- local shock2Angle = CFrame.fromEulerAnglesXYZ(math.rad(90 + math.random(-5, 5)), math.rad(math.random(-5, 5)), math.rad(math.random(-5, 5)))
- local shock3Angle = CFrame.fromEulerAnglesXYZ(math.rad(90 + math.random(-5, 5)), math.rad(math.random(-5, 5)), math.rad(math.random(-5, 5)))
- local shock2Size = math.random(2, 3)
- local shock3Size = math.random(4, 6)
- for i = 0, 500, 10 do
- if string.sub(tostring(i), string.len(tostring(i)), string.len(tostring(i))) == "0" then
- local shock4 = Instance.new("Part")
- shock4.Material = "Ice"
- shock4.FormFactor = "Custom"
- shock4.Size = Vector3.new(1, 1, 1)
- shock4.BrickColor = BrickColor.new("Really red")
- shock4.Anchored = true
- shock4.Name = "Shock Ring"
- shock4.CanCollide = false
- shock4.Parent = Workspace
- shock4.CFrame = CFrame.new(s.Position - Vector3.new(0, 2, 0)) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25)), math.rad(math.random(-25, 25)))
- local mesh = Instance.new("SpecialMesh")
- mesh.MeshType = "FileMesh"
- mesh.MeshId = "http://www.roblox.com/Asset/?id=20329976"
- mesh.Parent = shock4
- coroutine.resume(coroutine.create(function(part)
- for i = 0, 1, 0.05 do
- part.Transparency = i
- part.Mesh.Scale = Vector3.new(i * 25, i * 25, i * 25)
- wait()
- end
- part:Remove()
- end), shock4)
- end
- shock.Transparency = i / 500
- shock2.Transparency = i / 500
- shock3.Transparency = i / 500
- shock.Mesh.Scale = Vector3.new(i, i, i)
- shock2.Mesh.Scale = Vector3.new(i, i, i) / shock2Size
- shock3.Mesh.Scale = Vector3.new(i, i, i) / shock3Size
- shock.CFrame = CFrame.new(s.Position - Vector3.new(0, 3, 0)) * shockAngle
- shock2.CFrame = CFrame.new(s.Position - Vector3.new(0, 3, 0)) * shock2Angle
- shock3.CFrame = CFrame.new(s.Position - Vector3.new(0, 3, 0)) * shock3Angle
- for _, v in pairs(Workspace:GetChildren()) do
- if v.ClassName == "Model" and v:findFirstChild("Humanoid") ~= nil and v ~= plr.Character and v:findFirstChild("FTMSDEB") == nil then
- if (v.Torso.Position - plr.Character.Torso.Position).magnitude <= i/2 then
- local deb = Instance.new("IntValue", v)
- deb.Name = "FTMSDEB"
- game.Debris:AddItem(deb,4)
- v.Humanoid.Sit = true
- v.Torso.Velocity = (v.Torso.Position - s.Position).unit * 200 + Vector3.new(0,60,0)
- v.Humanoid:TakeDamage(60)
- end
- end
- end
- wait(0.03)
- end
- shock:Remove()
- shock2:Remove()
- shock3:Remove()
- s:Remove()
- elseif fm == 3 then
- if plr.Character:findFirstChild("FT:HF") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "FT:HF"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Fire: Hades Flame!", "Green")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- wait()
- end
- wait(3)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- cf = plr.Character.Head.CFrame
- colors = {"Bright red", "White", "Deep orange", "Really red", "Neon orange"}
- for i = 1, 100, 2 do
- local hf = Instance.new("Part", Workspace)
- hf.Anchored = true
- hf.CanCollide = false
- hf.TopSurface = 0
- hf.BottomSurface = 0
- hf.Shape = "Ball"
- if #colors == 0 then
- colors = {"Bright red", "White", "Deep orange", "Really red", "Neon orange"}
- end
- hf.BrickColor = BrickColor.new(colors[1])
- table.remove(colors,1)
- hf.Size = Vector3.new(i*2.2,i*2.2,i*2.2)
- hf.CFrame = cf * CFrame.new(0,0,-i*2)
- hf.Transparency = 0.4
- hf.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("FTHFDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "FTHFDEB"
- game.Debris:AddItem(deb,4)
- hum.Sit = true
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - hf.Position).unit * 150 + Vector3.new(0,60,0)
- hum:TakeDamage(40)
- wait()
- end
- end)
- game.Debris:AddItem(hf,5)
- wait()
- end
- end
- end
- function water()
- if wm == 1 then
- if plr.Character:findFirstChild("WT:AB") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:AB"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Water: Aqua bloom!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local aq = Instance.new("Part", Workspace)
- aq.CanCollide = false
- aq.Anchored = true
- aq.Size = Vector3.new(1,1,1)
- aq.CFrame = plr.Character.Torso.CFrame
- aq.BrickColor = BrickColor.new("Bright blue")
- aq.Shape = "Ball"
- aq.TopSurface = 0
- aq.BottomSurface = 0
- aq.Touched:connect(function(hit)
- local hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("WTABDEB") == nil then
- deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "WTABDEB"
- game.Debris:AddItem(deb,3)
- local g = Instance.new("Part", Workspace)
- g.Anchored = false
- g.Shape = "Ball"
- g.BrickColor = BrickColor.new("Bright blue")
- g.Transparency = 0.4
- g.BottomSurface = 0
- g.TopSurface = 0
- g.Size = Vector3.new(10,10,10)
- g.CFrame = hum.Parent.Torso.CFrame
- weld = Instance.new("Weld",hum.Parent.Torso)
- weld.Part0 = hum.Parent.Torso
- weld.Part1 = g
- bv = Instance.new("BodyVelocity", g)
- bv.velocity = Vector3.new(0,1500,0)
- bv.maxForce = Vector3.new(0,115000,0)
- wait(4)
- hum:TakeDamage(50)
- weld:Destroy()
- g:Destroy()
- bv:Destroy()
- end
- end)
- for i = 1, 200, 4 do
- cf = aq.CFrame
- aq.Size = Vector3.new(i,i,i)
- aq.CFrame = cf
- aq.Transparency = i/200
- wait()
- end
- aq:remove()
- elseif wm == 2 then
- if plr.Character:findFirstChild("WT:JS") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:JS"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Water: Jet Stream", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(0.5)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,-0.5)
- wait()
- end
- wait(3)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- wait()
- end
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait()
- end
- anim = false
- end))
- wait(1.25)
- cf = plr.Character.Torso.CFrame
- for i = 1, 40 do
- local js = Instance.new("Part", Workspace)
- js.Anchored = true
- js.CanCollide = true
- js.Size = Vector3.new(100,110,100)
- js.Velocity = Vector3.new(1,1,1)
- js.CFrame = cf * CFrame.new(0,3,-i*60) * CFrame.Angles(math.rad(90),0,0)
- js.BrickColor = BrickColor.new("Bright blue")
- js.Transparency = 0.4
- local mesh = Instance.new("CylinderMesh", js)
- wait()
- js.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("WTJSDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "WTJSDEB"
- game.Debris:AddItem(deb,4)
- hum:TakeDamage(math.random(35,60))
- hum.Sit = true
- hum.Parent.Torso.Velocity = (hit.Parent.Torso.Position - js.Position).unit * 250
- wait()
- end
- end)
- game.Debris:AddItem(js,6)
- end
- elseif wm == 3 then
- if plr.Character:findFirstChild("WT:TW") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:TW"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Water: Tidal Waves!", "Green")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- for i = 1, 3 do
- cf = plr.Character.Torso.CFrame * CFrame.new(0,45,-5)
- local tw = Instance.new("Part",Workspace)
- tw.Anchored = false
- tw.CanCollide = false
- tw.BrickColor = BrickColor.new("Bright blue")
- tw.Transparency = 0.4
- tw.Size = Vector3.new(100,100,5)
- tw.CFrame = cf
- tw.TopSurface = 0
- tw.BottomSurface = 0
- bv = Instance.new("BodyVelocity", tw)
- bv.velocity = plr.Character.Torso.CFrame.lookVector * 200
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- tw.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("WTTWDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "WTTWDEB"
- game.Debris:AddItem(deb,4)
- hum:TakeDamage(math.random(35,50))
- hum.PlatformStand = true
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - tw.Position).unit * 150 + Vector3.new(0,45,0)
- end
- end)
- wait(1)
- game.Debris:AddItem(tw,5)
- end
- end
- end
- function thunder(mouse)
- if tm == 1 then
- if plr.Character:findFirstChild("WT:TW") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "WT:TW"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Thunder: Sonic Boom!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- wait()
- end
- wait(2)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait()
- end
- anim = false
- end))
- local sb = Instance.new("Part", Workspace)
- sb.Anchored = false
- sb.CanCollide = false
- sb.Size = Vector3.new(70,70,10)
- sb.BrickColor = BrickColor.new("Really blue")
- sb.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,20,-6)
- mesh = Instance.new("SpecialMesh", sb)
- mesh.MeshId = "http://www.roblox.com/Asset/?id=3270017"
- mesh.Scale = Vector3.new(70,70,10)
- bv = Instance.new("BodyVelocity", sb)
- bv.velocity = plr.Character.Torso.CFrame.lookVector * 200
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- sb.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("TTSBDEB") == nil then
- chat(hum.Parent.Head, "Ahh!", "Red")
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "TTSBDEB"
- game.Debris:AddItem(deb,4)
- hum:TakeDamage(math.random(35,50))
- hum.PlatformStand = true
- hum.WalkSpeed = -2
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - tw.Position).unit * -150 + Vector3.new(0,45,0)
- end
- end)
- game.Debris:AddItem(sb, 5)
- elseif tm == 2 then
- if plr.Character:findFirstChild("TT:BD") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "TD:BT"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Thunder: Bolt Destruction!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- end
- wait(0.15)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- end
- wait(1.5)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, -0.5)
- end
- end
- anim = false
- end))
- fo = Instance.new("Part", Workspace)
- fo.CanCollide = false
- fo.formFactor = "Custom"
- fo.Anchored = true
- fo.Shape = "Ball"
- fo.Transparency = 0.4
- fo.TopSurface = 0
- fo.BottomSurface = 0
- fo.BrickColor = BrickColor.new("Bright blue")
- fo.Size = Vector3.new(1,1,1)
- fo.CFrame = plr.Character["Right Arm"].CFrame * CFrame.new(0,-1,0)
- for i = 1, 2, 0.2 do
- fo.Size = Vector3.new(i,i,i)
- fo.CFrame = plr.Character["Right Arm"].CFrame * CFrame.new(0,-1,0)
- wait()
- end
- fo.Anchored = false
- weld = Instance.new("Weld", plr.Character["Right Arm"])
- weld.Part0 = plr.Character["Right Arm"]
- weld.Part1 = fo
- weld.C1 = CFrame.new(0,0.9,0)
- wait(0.2)
- pos = mouse.Hit.p
- dist = (pos - fo.CFrame.p).magnitude
- local be = Instance.new("Part",Workspace)
- be.CanCollide = false
- be.Anchored = true
- be.TopSurface = 0
- be.BottomSurface = 0
- be.formFactor = "Custom"
- be.Reflectance = 1
- be.Size = Vector3.new(1,1,dist)
- be.CFrame = CFrame.new(pos, fo.CFrame.p) * CFrame.new(0,0,(-dist/2))
- local ef = Instance.new("Part",Workspace)
- ef.Anchored = true
- ef.CanCollide = false
- ef.Shape = "Ball"
- ef.Size = Vector3.new(1,1,1)
- ef.TopSurface = 0
- ef.BottomSurface = 0
- ef.BrickColor = BrickColor.new("Bright blue")
- ef.CFrame = CFrame.new(pos)
- ef.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("TTBDDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "TTBDDEB"
- game.Debris:AddItem(deb,4)
- hum:TakeDamage(math.random(80,90))
- hum.Sit = true
- hum.WalkSpeed = 10
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - ef.Position).unit * 150 + Vector3.new(0,0,0)
- end
- end)
- for i = 1, 30 do
- cf = ef.CFrame
- ef.Size = Vector3.new(i,i,i)
- ef.Transparency = i/20
- ef.CFrame = cf
- wait()
- end
- wait()
- ef:remove()
- game.Debris:AddItem(be,0.3)
- game.Debris:AddItem(fo,0.3)
- elseif tm == 3 then
- if plr.Character:findFirstChild("TTVRDEB") == nil then
- chat(plr.Character.Head, "Titan Of Thunder: Volt Release!", "Green")
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "TTVRDEB"
- local ef = Instance.new("Part",Workspace)
- ef.CanCollide = false
- ef.Anchored = true
- ef.Size = Vector3.new(1,1,1)
- ef.BrickColor = BrickColor.new("Really blue")
- ef.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,-2.5,0)
- local mesh = Instance.new("SpecialMesh", ef)
- mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
- for i = 1, 10 do
- mesh.Scale = Vector3.new(i*2,i/2,i*2)
- ef.Transparency = i/10
- wait()
- end
- ef:remove()
- coroutine.resume(coroutine.create(function()
- while plr.Character:findFirstChild("TTVRDEB") ~= nil do
- local hum = plr.Character.Humanoid
- hum.MaxHealth = 550
- hum.Health = 550
- hum.WalkSpeed = 70
- local pos1 = plr.Character.Torso.CFrame * CFrame.new(math.random(-3,3), math.random(-3,3), math.random(-3,3))
- local pos2 = plr.Character.Torso.CFrame * CFrame.new(math.random(-3,3), math.random(-3,3), math.random(-3,3))
- local dist = (pos1.p - pos2.p).magnitude
- local r = Instance.new("Part",Workspace)
- r.Anchored = true
- r.TopSurface = 0
- r.BottomSurface = 0
- r.CanCollide = false
- r.formFactor = "Custom"
- r.Size = Vector3.new(0.5,0.5,dist)
- r.CFrame = CFrame.new(pos1.p, pos2.p) * CFrame.new(0,0,(-dist/2))
- r.Reflectance = 0.5
- r.BrickColor = BrickColor.new("Bright blue")
- game.Debris:AddItem(r, 0.2)
- wait()
- end
- end))
- else
- plr.Character:findFirstChild("TTVRDEB"):Destroy()
- plr.Character.Humanoid.WalkSpeed = 20
- chat(plr.Character.Head, "Enough...", "Blue")
- end
- end
- end
- function ice()
- if im == 1 then
- if plr.Character:findFirstChild("IT:SS") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "IT:SS"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Ice: Spike Storm!", "Red")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0, 0, 0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0, 0, -0.5)
- wait()
- end
- wait(3)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0,0,-0.5)
- ls.C0 = ls.C0 * CFrame.Angles(0,0,0.5)
- wait()
- end
- wait(3)
- end
- anim = false
- end))
- for i = 1, 300 do
- local s = Instance.new("Part", Workspace)
- s.CanCollide = false
- s.Anchored = false
- s.Reflectance = 1
- s.Size = Vector3.new(5,5,5)
- s.CFrame = plr.Character.Torso.CFrame * CFrame.Angles(math.rad(-90),0,math.rad(math.random(-35,35))) * CFrame.new(0,-5,0)
- local bv = Instance.new("BodyVelocity", s)
- bv.velocity = (s.Position - plr.Character.Torso.Position).unit * -300
- bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- local mesh = Instance.new("SpecialMesh", s)
- mesh.Scale = Vector3.new(3,10,3)
- mesh.MeshId = "http://www.roblox.com/asset/?id=1033714"
- s.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("ITSSDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "ITSSDEB"
- game.Debris:AddItem(deb,0.5)
- hum:TakeDamage(math.random(10,12))
- end
- end)
- wait()
- game.Debris:AddItem(s, 2)
- end
- elseif im == 2 then
- if plr.Character:findFirstChild("IT:AE") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "IT:AE"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Ice: Arctic Era!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(3)
- for i = 1, 3 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait(3)
- end
- anim = false
- end))
- cf = plr.Character.Torso.CFrame
- for i = 1, 360, 90 do
- local ae = Instance.new("Part",Workspace)
- ae.Anchored = true
- ae.CanCollide = true
- ae.Transparency = 0.4
- ae.TopSurface = 0
- ae.BottomSurface = 0
- ae.BrickColor = BrickColor.new("Bright blue")
- ae.Size = Vector3.new(100,100,6)
- ae.CFrame = cf * CFrame.Angles(0,math.rad(i),0) * CFrame.new(0,40,50)
- game.Debris:AddItem(ae,7)
- wait()
- end
- ro = Instance.new("Part",Workspace)
- ro.TopSurface = 0
- ro.BottomSurface = 0
- ro.Parent = game.Workspace
- ro.Size = Vector3.new(100,6,100)
- ro.CFrame = cf * CFrame.new(0,90,0)
- ro.Transparency = 0.4
- ro.BrickColor = BrickColor.new("Bright blue")
- game.Debris:AddItem(ro,7)
- local ef = Instance.new("Part",Workspace)
- ef.Anchored = true
- ef.CanCollide = false
- ef.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,40,0)
- ef.Transparency = 1
- ef.Size = Vector3.new(1,1,1)
- ef.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("ITAEDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "ITAEDEB"
- game.Debris:AddItem(deb,04)
- hum.WalkSpeed = 0
- hum.Parent.Torso.Anchored = true
- for _, v in pairs(hum.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.new("Bright blue")
- end
- end
- end
- end)
- for i = 1, 105 do
- cf = ef.CFrame
- ef.Size = Vector3.new(i,i,i)
- ef.CFrame = cf
- wait()
- end
- ef:remove()
- elseif im == 3 then
- if plr.Character:findFirstChild("IT:FD") == nil then
- local deb = Instance.new("IntValue", plr.Character)
- deb.Name = "IT:FD"
- game.Debris:AddItem(deb,5)
- else
- return
- end
- chat(plr.Character.Head, "Titan Of Ice: Frozen Doom!", "Blue")
- coroutine.resume(coroutine.create(function()
- if anim == false then
- anim = true
- ls = plr.Character.Torso["Left Shoulder"]
- rs = plr.Character.Torso["Right Shoulder"]
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(-0.5, 0, 0)
- ls.C0 = ls.C0 * CFrame.Angles(-0.5, 0, 0)
- wait()
- end
- wait(3)
- for i = 1, 6 do
- rs.C0 = rs.C0 * CFrame.Angles(0.5,0,0)
- ls.C0 = ls.C0 * CFrame.Angles(0.5,0,0)
- wait()
- end
- wait(3)
- end
- anim = false
- end))
- local fd = Instance.new("Part",Workspace)
- fd.Anchored = true
- fd.CanCollide = false
- fd.Size = Vector3.new(0,500,0)
- fd.CFrame = plr.Character.Torso.CFrame * CFrame.new(0,240,0)
- fd.BrickColor = BrickColor.new("Cyan")
- mesh = Instance.new("CylinderMesh", fd)
- fd.Touched:connect(function(hit)
- hum = hit.Parent:findFirstChild("Humanoid")
- if hum ~= nil and hum.Parent ~= plr.Character and hum.Parent:findFirstChild("ITFDDEB") == nil then
- local deb = Instance.new("IntValue", hum.Parent)
- deb.Name = "ITFDDEB"
- game.Debris:AddItem(deb,04)
- hum.WalkSpeed = 3
- hum.Sit = true
- hum:TakeDamage(30)
- hum.Parent.Torso.Velocity = (hum.Parent.Torso.Position - plr.Character.Torso.Position).unit * 200 + Vector3.new(0,100,0)
- for _, v in pairs(hum.Parent:GetChildren()) do
- if v.ClassName == "Part" then
- v.BrickColor = BrickColor.new("Bright blue")
- end
- end
- end
- end)
- for i = 1, 170, 5 do
- cf = fd.CFrame
- fd.Size = Vector3.new(i,500,i)
- fd.Transparency = i/170
- fd.CFrame = cf
- wait()
- end
- fd:remove()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement