Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local p = game.Players.LocalPlayer
- local char = p.Character
- local hed = char.Head
- local LocalPlayer = p
- local naeeym = Instance.new("BillboardGui",char)
- naeeym.Size = UDim2.new(0,100,0,40)
- naeeym.StudsOffset = Vector3.new(0,5,0)
- naeeym.Adornee = char.Head
- local tecks = Instance.new("TextLabel",naeeym)
- tecks.BackgroundTransparency = 1
- tecks.BorderSizePixel = 0
- tecks.Text = "God Of Fire"
- tecks.Font = "ArialBold"
- tecks.FontSize = "Size24"
- tecks.TextStrokeTransparency = 0
- tecks.TextStrokeColor3 = Color3.new(0,0,0)
- tecks.TextColor3 = Color3.new(255,0,0)
- tecks.Size = UDim2.new(1,0,0.5,0)
- User = game.Players.LocalPlayer
- Char = User.Character
- --Char.Humanoid.MaxHealth = math.huge
- User = game.Players.LocalPlayer
- Char = User.Character
- PrimaryColor = "Really black"
- SecondaryColor = "Really red"
- ThirdColor = "Really red"
- SkinColor = "Cool yellow"
- for i,v in pairs(Char:GetChildren()) do
- if v:IsA("CharacterMesh") then
- v:Remove()
- elseif v.Name == "Shirt" then
- v:Remove()
- elseif v.Name == "Pants" then
- elseif v.Name == "Torso" then
- if v:FindFirstChild("roblox") then
- v.roblox:Remove()
- end
- elseif v:IsA("Hat") then
- v:Remove()
- elseif v.Name == "Head" then
- v.BrickColor = BrickColor.new(SkinColor)
- if v:FindFirstChild("face") ~= nil then
- v.face:Remove()
- end
- end
- end
- local h = Instance.new("Part",Char)
- h.Name = "Hood"
- h.formFactor = "Custom"
- h.Size = Vector3.new(1,1,1)
- h.TopSurface = 0
- h.Reflectance = 0
- h.BottomSurface = 0
- h.Position = h.Parent.Head.Position
- h.BrickColor = BrickColor.new(PrimaryColor)
- local x = Instance.new("Weld",h)
- x.Part0 = h
- x.Part1 = Char:FindFirstChild("Head")
- x.C0 = x.C0 + Vector3.new(0,-0.3,0)
- local sp = Instance.new("SpecialMesh",h)
- sp.MeshType = "FileMesh"
- sp.MeshId = "http://www.roblox.com/asset/?id=16952952"
- --torso
- prt1 = Instance.new("Part", Char)
- prt1.formFactor = "Symmetric"
- prt1.Size = Vector3.new(1,1,1)
- prt1.CanCollide = false
- prt1.BrickColor = BrickColor.new(PrimaryColor)
- prt1.TopSurface = "Smooth"
- prt1.Transparency = 0
- prt1.BottomSurface = "Smooth"
- prtM = Instance.new("BlockMesh", prt1)
- prtM.Scale = Vector3.new(0.76,2.02,1.025)
- prt1:BreakJoints()
- prtW = Instance.new("Weld", prt1)
- prtW.Part0 = Char["Torso"]
- prtW.Part1 = prt1
- prtW.C1 = CFrame.new(0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt2 = Instance.new("Part", Char)
- prt2.formFactor = "Symmetric"
- prt2.Size = Vector3.new(1,1,1)
- prt2.CanCollide = false
- prt2.BrickColor = BrickColor.new(PrimaryColor)
- prt2.TopSurface = "Smooth"
- prt2.Transparency = 0
- prt2.BottomSurface = "Smooth"
- prt2M = Instance.new("BlockMesh", prt2)
- prt2M.Scale = Vector3.new(0.76,2.02,1.025)
- prt2:BreakJoints()
- prt2W = Instance.new("Weld", prt2)
- prt2W.Part0 = Char["Torso"]
- prt2W.Part1 = prt2
- prt2W.C1 = CFrame.new(-0.625,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt3 = Instance.new("Part", Char)
- prt3.formFactor = "Symmetric"
- prt3.Size = Vector3.new(1,1,1)
- prt3.CanCollide = false
- prt3.BrickColor = BrickColor.new(SecondaryColor)
- prt3.TopSurface = "Smooth"
- prt3.Transparency = 0
- prt3.BottomSurface = "Smooth"
- prt3M = Instance.new("BlockMesh", prt3)
- prt3M.Scale = Vector3.new(2,2.01,1.01)
- prt3:BreakJoints()
- prt3W = Instance.new("Weld", prt3)
- prt3W.Part0 = Char["Torso"]
- prt3W.Part1 = prt3
- prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- _prt1 = Instance.new("Part", Char)
- _prt1.formFactor = "Symmetric"
- _prt1.Size = Vector3.new(1,1,1)
- _prt1.CanCollide = false
- _prt1.BrickColor = BrickColor.new(ThirdColor)
- _prt1.TopSurface = "Smooth"
- _prt1.Transparency = 0
- _prt1.BottomSurface = "Smooth"
- _prt1M = Instance.new("BlockMesh", _prt1)
- _prt1M.Scale = Vector3.new(0.1,2.03,1.03)
- _prt1:BreakJoints()
- _prt1W = Instance.new("Weld", _prt1)
- _prt1W.Part0 = prt1
- _prt1W.Part1 = _prt1
- _prt1W.C1 = CFrame.new(-0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- _prt2 = Instance.new("Part", Char)
- _prt2.formFactor = "Symmetric"
- _prt2.Size = Vector3.new(1,1,1)
- _prt2.CanCollide = false
- _prt2.BrickColor = BrickColor.new(ThirdColor)
- _prt2.TopSurface = "Smooth"
- _prt2.Transparency = 0
- _prt2.BottomSurface = "Smooth"
- _prt2M = Instance.new("BlockMesh", _prt2)
- _prt2M.Scale = Vector3.new(0.1,2.03,1.03)
- _prt2:BreakJoints()
- _prt2W = Instance.new("Weld", _prt2)
- _prt2W.Part0 = prt2
- _prt2W.Part1 = _prt2
- _prt2W.C1 = CFrame.new(0.15,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --legs
- prt4 = Instance.new("Part", Char)
- prt4.formFactor = "Symmetric"
- prt4.Size = Vector3.new(1,1,1)
- prt4.CanCollide = false
- prt4.BrickColor = BrickColor.new(PrimaryColor)
- prt4.TopSurface = "Smooth"
- prt4.Transparency = 0
- prt4.BottomSurface = "Smooth"
- prt4M = Instance.new("BlockMesh", prt4)
- prt4M.Scale = Vector3.new(1.01,2.01,1.01)
- prt4:BreakJoints()
- prt4W = Instance.new("Weld", prt4)
- prt4W.Part0 = Char["Right Leg"]
- prt4W.Part1 = prt4
- prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt5 = Instance.new("Part", Char)
- prt5.formFactor = "Symmetric"
- prt5.Size = Vector3.new(1,1,1)
- prt5.CanCollide = false
- prt5.BrickColor = BrickColor.new(PrimaryColor)
- prt5.TopSurface = "Smooth"
- prt5.Transparency = 0
- prt5.BottomSurface = "Smooth"
- prt5M = Instance.new("BlockMesh", prt5)
- prt5M.Scale = Vector3.new(1.01,2.01,1.01)
- prt5:BreakJoints()
- prt5W = Instance.new("Weld", prt5)
- prt5W.Part0 = Char["Left Leg"]
- prt5W.Part1 = prt5
- prt5W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt6 = Instance.new("Part", Char)
- prt6.formFactor = "Symmetric"
- prt6.Size = Vector3.new(1,1,1)
- prt6.CanCollide = false
- prt6.BrickColor = BrickColor.new(PrimaryColor)
- prt6.TopSurface = "Smooth"
- prt6.Transparency = 0
- prt6.BottomSurface = "Smooth"
- prt6M = Instance.new("BlockMesh", prt6)
- prt6M.Scale = Vector3.new(1.01,2.01,1.01)
- prt6:BreakJoints()
- prt6W = Instance.new("Weld", prt6)
- prt6W.Part0 = Char["Right Leg"]
- prt6W.Part1 = prt6
- prt6W.C1 = CFrame.new(-0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(-15))
- prt7 = Instance.new("Part", Char)
- prt7.formFactor = "Symmetric"
- prt7.Size = Vector3.new(1,1,1)
- prt7.CanCollide = false
- prt7.BrickColor = BrickColor.new(PrimaryColor)
- prt7.TopSurface = "Smooth"
- prt7.Transparency = 0
- prt7.BottomSurface = "Smooth"
- prt7M = Instance.new("BlockMesh", prt7)
- prt7M.Scale = Vector3.new(1.01,2.01,1.01)
- prt7:BreakJoints()
- prt7W = Instance.new("Weld", prt7)
- prt7W.Part0 = Char["Left Leg"]
- prt7W.Part1 = prt7
- prt7W.C1 = CFrame.new(0.25,0.05,0)*CFrame.Angles(math.rad(0),0,math.rad(15))
- _prt3 = Instance.new("Part", Char)
- _prt3.formFactor = "Symmetric"
- _prt3.Size = Vector3.new(1,1,1)
- _prt3.CanCollide = false
- _prt3.BrickColor = BrickColor.new(ThirdColor)
- _prt3.TopSurface = "Smooth"
- _prt3.Transparency = 0
- _prt3.BottomSurface = "Smooth"
- _prt3M = Instance.new("BlockMesh", _prt3)
- _prt3M.Scale = Vector3.new(0.1,2.03,1.03)
- _prt3:BreakJoints()
- _prt3W = Instance.new("Weld", _prt3)
- _prt3W.Part0 = prt6
- _prt3W.Part1 = _prt3
- _prt3W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- _prt4 = Instance.new("Part", Char)
- _prt4.formFactor = "Symmetric"
- _prt4.Size = Vector3.new(1,1,1)
- _prt4.CanCollide = false
- _prt4.BrickColor = BrickColor.new(ThirdColor)
- _prt4.TopSurface = "Smooth"
- _prt4.Transparency = 0
- _prt4.BottomSurface = "Smooth"
- _prt4M = Instance.new("BlockMesh", _prt4)
- _prt4M.Scale = Vector3.new(0.1,2.03,1.03)
- _prt4:BreakJoints()
- _prt4W = Instance.new("Weld", _prt4)
- _prt4W.Part0 = prt7
- _prt4W.Part1 = _prt4
- _prt4W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- --arms
- prt8 = Instance.new("Part", Char)
- prt8.formFactor = "Symmetric"
- prt8.Size = Vector3.new(1,1,1)
- prt8.CanCollide = false
- prt8.BrickColor = BrickColor.new(PrimaryColor)
- prt8.TopSurface = "Smooth"
- prt8.Transparency = 0
- prt8.BottomSurface = "Smooth"
- prt8M = Instance.new("BlockMesh", prt8)
- prt8M.Scale = Vector3.new(1.01,2.01,1.01)
- prt8:BreakJoints()
- prt8W = Instance.new("Weld", prt8)
- prt8W.Part0 = Char["Right Arm"]
- prt8W.Part1 = prt8
- prt8W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- prt9 = Instance.new("Part", Char)
- prt9.formFactor = "Symmetric"
- prt9.Size = Vector3.new(1,1,1)
- prt9.CanCollide = false
- prt9.BrickColor = BrickColor.new(PrimaryColor)
- prt9.TopSurface = "Smooth"
- prt9.Transparency = 0
- prt9.BottomSurface = "Smooth"
- prt9M = Instance.new("BlockMesh", prt9)
- prt9M.Scale = Vector3.new(1.01,2.01,1.01)
- prt9:BreakJoints()
- prt9W = Instance.new("Weld", prt9)
- prt9W.Part0 = Char["Left Arm"]
- prt9W.Part1 = prt9
- prt9W.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- function debris(part)
- delay(0, function()
- repeat wait(0.5)
- local deb = Instance.new("Part", part)
- deb.Size = Vector3.new(1,1,1)
- deb.CanCollide = false
- deb.BrickColor = BrickColor.new("Really red")
- deb.TopSurface = "Smooth"
- deb.Transparency = 0
- deb.Anchored = true
- deb.BottomSurface = "Smooth"
- local debM = Instance.new("BlockMesh", flakef)
- debM.Scale = Vector3.new(math.random(1,10)/10,math.random(1,10)/10,math.random(1,10)/10)
- deb:BreakJoints()
- deb.CFrame = part.CFrame + Vector3.new(math.random(-50,50)/10,math.random(-50,50)/10,math.random(-50,50)/10)
- for i = 1,10 do
- deb.CFrame = deb.CFrame + Vector3.new(0,1,0)
- deb.CFrame = deb.CFrame*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- deb.Transparency = deb.Transparency + 0.1
- wait()
- end
- until part.Parent ~= workspace
- end)
- end
- cen = Instance.new("Part", User.Character)
- cen.BottomSurface = "Smooth"
- cen.TopSurface = "Smooth"
- cen.CanCollide = false
- cen.formFactor = "Symmetric"
- cen.Size = Vector3.new(1,1,1)
- cen.BrickColor = BrickColor.new("Really black")
- cen.Transparency = 1
- cen2 = Instance.new("Part", User.Character)
- cen2.BottomSurface = "Smooth"
- cen2.TopSurface = "Smooth"
- cen2.CanCollide = false
- cen2.formFactor = "Symmetric"
- cen2.Size = Vector3.new(1,1,1)
- cen2.BrickColor = BrickColor.new("Really black")
- cen2.Transparency = 1
- cenw = Instance.new("Weld", cen)
- cenw.Part0 = Char["Torso"]
- cenw.Part1 = cen
- cenw.C1 = CFrame.new(-1.5,-0.5,0)
- cenw2 = Instance.new("Weld", cen2)
- cenw2.Part0 = Char["Torso"]
- cenw2.Part1 = cen2
- cenw2.C1 = CFrame.new(1.5,-0.5,0)
- haw = Instance.new("Weld", cen)
- haw.Part0 = cen
- haw.Part1 = Char["Right Arm"]
- haw.C1 = CFrame.new(0,0.5,0)
- haw2 = Instance.new("Weld", cen2)
- haw2.Part0 = cen2
- haw2.Part1 = Char["Left Arm"]
- haw2.C1 = CFrame.new(0,0.5,0)
- haw.Part1 = nil
- haw2.Part1 = nil
- --------------------------------------------
- function MoveOne()
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,50,5 do
- haw.C0 = CFrame.Angles(math.rad(-i),0,0)
- haw2.C0 = CFrame.Angles(math.rad(-i),0,0)
- wait()
- end
- for i = 1,100,10 do
- haw.C0 = CFrame.Angles(math.rad(-45+i),0,0)
- haw2.C0 = CFrame.Angles(math.rad(-45+i),0,0)
- wait()
- end
- delay(0, function()
- for i = 1,50,5 do
- haw.C0 = CFrame.Angles(math.rad(45-i),0,0)
- haw2.C0 = CFrame.Angles(math.rad(45-i),0,0)
- wait()
- end
- haw.Part1 = nil
- haw2.Part1 = nil
- end)
- local ps = Char.Torso.CFrame
- local flakef = Instance.new("Part", Char)
- flakef.Size = Vector3.new(5,5,5)
- flakef.CanCollide = false
- flakef.BrickColor = BrickColor.new("Really red")
- flakef.TopSurface = "Smooth"
- flakef.Transparency = 0.5
- flakef.Anchored = true
- flakef.BottomSurface = "Smooth"
- local flakeMf = Instance.new("SpecialMesh", flakef)
- flakeMf.MeshType = "FileMesh"
- flakeMf.Scale = Vector3.new(5,5,5)
- flakeMf.MeshId = "http://www.roblox.com/asset/?id=20329976"
- flakef:BreakJoints()
- flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*2
- flakef.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then
- hit.Parent:BreakJoints()
- end
- end)
- for i = 1,50 do
- flakef.CFrame = (ps - Vector3.new(0,3,0)) + ps.lookVector*(i*2)
- local gho = flakef:clone()
- gho.Parent = Char
- gho.Anchored = true
- gho.CFrame = flakef.CFrame
- delay(0,function()
- for i = 1,10 do
- gho.Mesh.Scale = gho.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
- gho.Transparency = gho.Transparency + 0.05
- wait()
- end
- gho:Remove()
- end)
- wait()
- end
- local ring = flakef:clone()
- ring.Parent = Char
- ring.Anchored = true
- ring.Mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
- ring.CFrame = flakef.CFrame
- ring.CFrame = ring.CFrame*CFrame.Angles(math.rad(90),0,0)
- for i = 1,10 do
- ring.Mesh.Scale = ring.Mesh.Scale + Vector3.new(5,5,5)
- ring.Transparency = ring.Transparency + 0.05
- flakef.Transparency = flakef.Transparency + 0.05
- flakef.Mesh.Scale = flakef.Mesh.Scale + Vector3.new(2,2,2)
- wait()
- end
- ring:Remove()
- flakef:Remove()
- end
- function HandCharge()
- haw.Part1 = Char["Right Arm"]
- haw2.Part1 = Char["Left Arm"]
- for i = 1,130,5 do
- haw.C0 = CFrame.Angles(0,0,math.rad(i))
- haw2.C0 = CFrame.Angles(0,0,math.rad(-i))
- wait()
- end
- local sph1 = Instance.new("Part", Char)
- sph1.formFactor = "Symmetric"
- sph1.Size = Vector3.new(1,1,1)
- sph1.CanCollide = false
- sph1.BrickColor = BrickColor.new("Really red")
- sph1.TopSurface = "Smooth"
- sph1.Transparency = 0.5
- sph1.BottomSurface = "Smooth"
- local sphM = Instance.new("SpecialMesh", sph1)
- sphM.MeshType = "Sphere"
- sphM.Scale = Vector3.new(2,2,2)
- sph1:BreakJoints()
- local sphW = Instance.new("Weld", sph1)
- sphW.Part0 = Char["Right Arm"]
- sphW.Part1 = sph1
- sphW.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- local sph2 = Instance.new("Part", Char)
- sph2.formFactor = "Symmetric"
- sph2.Size = Vector3.new(1,1,1)
- sph2.CanCollide = false
- sph2.BrickColor = BrickColor.new("Really red")
- sph2.TopSurface = "Smooth"
- sph2.Transparency = 0.5
- sph2.BottomSurface = "Smooth"
- local sphM2 = Instance.new("SpecialMesh", sph2)
- sphM2.MeshType = "Sphere"
- sphM2.Scale = Vector3.new(2,2,2)
- sph2:BreakJoints()
- local sphW2 = Instance.new("Weld", sph2)
- sphW2.Part0 = Char["Left Arm"]
- sphW2.Part1 = sph2
- sphW2.C1 = CFrame.new(0,1,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- local sph3 = Instance.new("Part", Char)
- sph3.formFactor = "Symmetric"
- sph3.Size = Vector3.new(1,1,1)
- sph3.CanCollide = false
- sph3.BrickColor = BrickColor.new("Really red")
- sph3.TopSurface = "Smooth"
- sph3.Transparency = 0.5
- sph3.BottomSurface = "Smooth"
- local sphM3 = Instance.new("BlockMesh", sph3)
- sphM3.Scale = Vector3.new(.75,.75,.75)
- sph3:BreakJoints()
- local sphW3 = Instance.new("Weld", sph3)
- sphW3.Part0 = sph1
- sphW3.Part1 = sph3
- sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- local sph4 = Instance.new("Part", Char)
- sph4.formFactor = "Symmetric"
- sph4.Size = Vector3.new(1,1,1)
- sph4.CanCollide = false
- sph4.BrickColor = BrickColor.new("Really red")
- sph4.TopSurface = "Smooth"
- sph4.Transparency = 0.5
- sph4.BottomSurface = "Smooth"
- local sphM4 = Instance.new("BlockMesh", sph4)
- sphM4.Scale = Vector3.new(.75,.75,.75)
- sph4:BreakJoints()
- local sphW4 = Instance.new("Weld", sph4)
- sphW4.Part0 = sph2
- sphW4.Part1 = sph4
- sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(0),0,math.rad(0))
- delay(0, function()
- for i = 1,25 do
- local new = Instance.new("Part", Char)
- new.formFactor = "Symmetric"
- new.Size = Vector3.new(1,1,1)
- new.CanCollide = false
- new.BrickColor = BrickColor.new("Really red")
- new.TopSurface = "Smooth"
- new.Transparency = 1
- new.BottomSurface = "Smooth"
- local newM = Instance.new("SpecialMesh", new)
- newM.MeshType = "Sphere"
- newM.Scale = Vector3.new(0.5,2,0.5)
- new:BreakJoints()
- local newW = Instance.new("Weld", new)
- newW.Part0 = sph1
- newW.Part1 = new
- newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360)))
- delay(0, function()
- for i = 1,10 do
- sphW4.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- newW.C1 = newW.C1 - Vector3.new(0,1,0)
- new.Transparency = new.Transparency - 0.05
- wait()
- end
- new:Remove()
- end)
- wait(0.2)
- end
- end)
- for i = 1,25 do
- local new = Instance.new("Part", Char)
- new.formFactor = "Symmetric"
- new.Size = Vector3.new(1,1,1)
- new.CanCollide = false
- new.BrickColor = BrickColor.new("Really red")
- new.TopSurface = "Smooth"
- new.Transparency = 1
- new.BottomSurface = "Smooth"
- local newM = Instance.new("SpecialMesh", new)
- newM.MeshType = "Sphere"
- newM.Scale = Vector3.new(0.5,2,0.5)
- new:BreakJoints()
- local newW = Instance.new("Weld", new)
- newW.Part0 = sph2
- newW.Part1 = new
- newW.C1 = CFrame.new(0,10,0)*CFrame.Angles(math.rad(math.random(1,360)),0,math.rad(math.random(1,360)))
- new.Touched:connect(function(hit)
- if hit.Parent:FindFirstChild("Humanoid") and hit.Parent.Name ~= User.Name then
- hit.Parent:BreakJoints()
- end
- end)
- delay(0, function()
- for i = 1,10 do
- sphW3.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(math.random(1,360)),math.rad(math.random(1,360)),math.rad(math.random(1,360)))
- newW.C1 = newW.C1 - Vector3.new(0,1,0)
- new.Transparency = new.Transparency - 0.05
- wait()
- end
- new:Remove()
- end)
- wait(0.2)
- end
- delay(0, function()
- for i = 1,50 do
- sph1.Transparency = sph1.Transparency + 0.01
- sphM.Scale = sphM.Scale + Vector3.new(0.1,0.1,0.1)
- sph2.Transparency = sph2.Transparency + 0.01
- sphM2.Scale = sphM2.Scale + Vector3.new(0.1,0.1,0.1)
- sph3.Transparency = sph3.Transparency + 0.01
- sphM3.Scale = sphM3.Scale + Vector3.new(0.05,0.05,0.05)
- sph4.Transparency = sph4.Transparency + 0.01
- sphM4.Scale = sphM4.Scale + Vector3.new(0.05,0.05,0.05)
- wait()
- end
- end)
- local tring = Instance.new("Part", Char)
- tring.formFactor = "Symmetric"
- tring.Size = Vector3.new(1,1,1)
- tring.CanCollide = false
- tring.BrickColor = BrickColor.new("Really red")
- tring.TopSurface = "Smooth"
- tring.Transparency = 0.5
- tring.BottomSurface = "Smooth"
- local tringM = Instance.new("SpecialMesh", tring)
- tringM.MeshType = "FileMesh"
- tringM.MeshId = "http://www.roblox.com/asset/?id=3270017"
- tringM.Scale = Vector3.new(1,1,1)
- tring:BreakJoints()
- local tringW = Instance.new("Weld", tring)
- tringW.Part0 = Char["Torso"]
- tringW.Part1 = tring
- tringW.C1 = CFrame.new(0,0,0)*CFrame.Angles(math.rad(90),0,0)
- for i = 1,100 do
- ag = i
- tringM.Scale = Vector3.new(i,i,i)
- tring.Transparency = tring.Transparency + 0.5/100
- delay(0, function()
- for i,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild("Humanoid") and v.Name ~= User.Name and v:FindFirstChild("Head") and (v.Head.Position - Char.Head.Position).magntiude < ag/2 then
- v:BreakJoints()
- else
- end
- end
- end)
- wait()
- end
- tring:Remove()
- sph1:Remove()
- sph2:Remove()
- sph3:Remove()
- sph4:Remove()
- for i = 1,130,5 do
- haw.C0 = CFrame.Angles(0,0,math.rad(125-i))
- haw2.C0 = CFrame.Angles(0,0,math.rad(-125+i))
- wait()
- end
- haw.Part1 = nil
- haw2.Part1 = nil
- end
- paly = game.Players.LocalPlayer
- p = game.Players.LocalPlayer
- char = paly.Character
- local symbolimg = "rbxassetid://301362847"
- Player = game:GetService("Players").LocalPlayer
- Character = Player.Character
- local mouse = paly:GetMouse()
- local charge = false
- local energy = 100
- vt = Vector3.new
- torso = char.Torso
- neck = char.Torso.Neck
- hum = char.Humanoid
- Player = game:GetService("Players").LocalPlayer
- local mouse = Player:GetMouse()
- Character = Player.Character
- tors = Character.Torso
- lleg = Character["Left Leg"]
- root = Character.HumanoidRootPart
- hed = Character.Head
- rleg = Character["Right Leg"]
- rarm = Character["Right Arm"]
- larm = Character["Left Arm"]
- local Effects = {}
- attack = false
- local attacking = false
- vt = Vector3.new
- bc = BrickColor.new
- br = BrickColor.random
- it = Instance.new
- cf = CFrame.new
- euler = CFrame.fromEulerAnglesXYZ
- angles = CFrame.Angles
- matr = math.random
- local maincolor = Color3.new(255/255,85/255,0/255)
- Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
- if hit.Parent==nil then
- return
- end
- h=hit.Parent:FindFirstChild("Humanoid")
- for _,v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h=v
- end
- end
- if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
- h=hit.Parent.Parent:FindFirstChild("Humanoid")
- end
- if hit.Parent.className=="Hat" then
- hit=hit.Parent.Parent:findFirstChild("Head")
- end
- if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
- if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
- --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
- return
- end]]
- -- hs(hit,1.2)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=game:service("Players").LocalPlayer
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- Damage=math.random(minim,maxim)
- -- h:TakeDamage(Damage)
- blocked=false
- block=hit.Parent:findFirstChild("Block")
- if block~=nil then
- print(block.className)
- if block.className=="NumberValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock==nil then
- block.Value=block.Value-1
- end
- end
- end
- if block.className=="IntValue" then
- if block.Value>0 then
- blocked=true
- if decreaseblock~=nil then
- block.Value=block.Value-1
- end
- end
- end
- end
- if blocked==false then
- -- h:TakeDamage(Damage)
- h.Health=h.Health-Damage
- showDamage(hit.Parent,Damage,.5,TorsoColor)
- else
- h.Health=h.Health-(Damage/2)
- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
- end
- if Type=="Knockdown" then
- hum=hit.Parent.Humanoid
- hum.PlatformStand=true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand=false
- end),hum)
- local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
- --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
- local bodvol=Instance.new("BodyVelocity")
- bodvol.velocity=angle*knockback
- bodvol.P=5000
- bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
- bodvol.Parent=hit
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(bodvol,.5)
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Normal" then
- vp=Instance.new("BodyVelocity")
- vp.P=500
- vp.maxForce=Vector3.new(math.huge,0,math.huge)
- -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
- if KnockbackType==1 then
- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
- elseif KnockbackType==2 then
- vp.velocity=Property.CFrame.lookVector*knockback
- end
- if knockback>0 then
- vp.Parent=hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp,.5)
- elseif Type=="Up" then
- local bodyVelocity=Instance.new("BodyVelocity")
- bodyVelocity.velocity=vt(0,10,0)
- bodyVelocity.P=1000
- bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
- bodyVelocity.Parent=hit
- game:GetService("Debris"):AddItem(bodyVelocity,1)
- rl=Instance.new("BodyAngularVelocity")
- rl.P=3000
- rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
- rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
- rl.Parent=hit
- game:GetService("Debris"):AddItem(rl,.5)
- elseif Type=="Snare" then
- bp=Instance.new("BodyPosition")
- bp.P=2000
- bp.D=100
- bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- bp.position=hit.Parent.Torso.Position
- bp.Parent=hit.Parent.Torso
- game:GetService("Debris"):AddItem(bp,1)
- elseif Type=="Target" then
- if Targetting==false then
- ZTarget=hit.Parent.Torso
- coroutine.resume(coroutine.create(function(Part)
- swait(5)
- end),ZTarget)
- TargHum=ZTarget.Parent:findFirstChild("Humanoid")
- targetgui=Instance.new("BillboardGui")
- targetgui.Parent=ZTarget
- targetgui.Size=UDim2.new(10,100,10,100)
- targ=Instance.new("ImageLabel")
- targ.Parent=targetgui
- targ.BackgroundTransparency=1
- targ.Image="rbxassetid://4834067"
- targ.Size=UDim2.new(1,0,1,0)
- cam.CameraType="Scriptable"
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- Targetting=true
- RocketTarget=ZTarget
- for i=1,Property do
- --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
- if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
- swait()
- end
- --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
- dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
- cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
- end
- Targetting=false
- RocketTarget=nil
- targetgui.Parent=nil
- cam.CameraType="Custom"
- end
- end
- debounce=Instance.new("BoolValue")
- debounce.Name="DebounceHit"
- debounce.Parent=hit.Parent
- debounce.Value=true
- game:GetService("Debris"):AddItem(debounce,Delay)
- c=Instance.new("ObjectValue")
- c.Name="creator"
- c.Value=Player
- c.Parent=h
- game:GetService("Debris"):AddItem(c,.5)
- CRIT=false
- hitDeb=true
- AttackPos=6
- end
- end
- showDamage=function(Char,Dealt,du,Color)
- m=Instance.new("Model")
- m.Name=""
- h=Instance.new("Humanoid")
- h.Health=0
- h.MaxHealth=0
- h.Parent=m
- c=Instance.new("Part")
- c.Transparency=0
- c.Material = "Neon"
- c.BrickColor=bc("Bright red")
- c.Name="Head"
- c.TopSurface=0
- c.BottomSurface=0
- CV="Hot pink"
- local txt = Instance.new("BillboardGui", c)
- txt.Adornee = c
- txt.Name = "_status"
- txt.Size = UDim2.new(2, 0, 1.2, 0)
- txt.StudsOffset = Vector3.new(-9, 8, 0)
- local text = Instance.new("TextLabel", txt)
- text.Size = UDim2.new(10, 0, 7, 0)
- text.FontSize = "Size24"
- text.TextScaled = true
- text.TextTransparency = 0
- text.BackgroundTransparency = 1
- text.TextTransparency = 0
- text.TextStrokeTransparency = 0
- text.Font = "Cartoon"
- text.TextStrokeColor3 = BrickColor.new("Really black").Color
- v=Instance.new("Part")
- v.Name = "ColorBrick"
- v.Parent=c
- v.FormFactor="Symmetric"
- v.Anchored=true
- v.CanCollide=false
- v.BottomSurface="Smooth"
- v.TopSurface="Smooth"
- v.Size=Vector3.new(10,5,3)
- v.Transparency=1
- v.CFrame=c.CFrame
- v.BrickColor=BrickColor.new(CV)
- v.Transparency=1
- text.TextColor3 = BrickColor.new("Bright red").Color
- v.Shape="Block"
- text.Text = tostring(Dealt).. "!"
- local tick = Instance.new("Sound",c)
- tick.SoundId = "rbxassetid://553325070"
- tick.Volume = 1.25
- tick.Pitch = 0.75
- tick:Play()
- c.formFactor="Plate"
- c.Transparency = 0.99
- c.Size=Vector3.new(1,.4,1)
- ms=Instance.new("CylinderMesh")
- ms.Scale=Vector3.new(.8,.8,.8)
- if CRIT==true then
- ms.Scale=Vector3.new(1,1.25,1)
- end
- ms.Parent=c
- c.Reflectance=0
- Instance.new("BodyGyro").Parent=c
- c.Parent=m
- if Char:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
- elseif Char.Parent:findFirstChild("Head")~=nil then
- c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
- end
- f=Instance.new("BodyPosition")
- f.P=2000
- f.D=100
- f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- f.position=c.Position+Vector3.new(0,3,0)
- f.Parent=c
- game:GetService("Debris"):AddItem(m,.5+du)
- c.CanCollide=false
- m.Parent=workspace
- c.CanCollide=false
- end
- gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
- local gui = it(GuiType)
- gui.Parent = parent
- gui.Text = text
- gui.BackgroundTransparency = backtrans
- gui.BackgroundColor3 = backcol
- gui.SizeConstraint = "RelativeXY"
- gui.TextXAlignment = "Center"
- gui.TextYAlignment = "Center"
- gui.Position = pos
- gui.Size = size
- gui.Font = "SourceSans"
- gui.FontSize = "Size14"
- gui.TextWrapped = false
- gui.TextStrokeTransparency = 0
- gui.TextColor = BrickColor.new("White")
- return gui
- end
- local basgui = it("GuiMain")
- basgui.Parent = Player.PlayerGui
- basgui.Name = "CooldownsGUI"
- local basframe = it("Frame")
- basframe.Parent = basgui
- basframe.BackgroundColor3 = Color3.new(255, 255, 255)
- basframe.BackgroundTransparency = 1
- basframe.BorderColor3 = Color3.new(17, 17, 17)
- basframe.Size = UDim2.new(0.2, 0, 0.2, 0)
- basframe.Position = UDim2.new(0.8, 0, 0.8, 0)
- local healthgui = gui("TextLabel", basframe, "Energy: ", 1, BrickColor.random().Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.5, 0, -0.5, 0))
- healthgui.TextSize = 24
- healthgui.ZIndex = 2
- local tick = Instance.new("Sound",tors)
- tick.SoundId = "rbxassetid://313108061"
- tick.Volume = 2.5
- tick.Looped = true
- tick.Pitch = 0.85
- local tick2 = Instance.new("Sound",tors)
- tick2.SoundId = "rbxassetid://272207079"
- tick2.Volume = 2.5
- tick2.Looped = true
- tick2.Pitch = 0.85
- local orb = Instance.new("Part")
- orb.Parent = char
- orb.Size = Vector3.new(0.2, 0.2, 0.2)
- orb.Archivable = true
- orb.Transparency = 1
- orb.Material = "Neon"
- orb.CanCollide = false
- local weld1 = Instance.new("Weld")
- weld1.Parent = tors
- weld1.Part0 = tors
- weld1.Part1 = orb
- weld1.C1 = CFrame.new(0, 0.01, 0)
- local pt1 = NumberSequenceKeypoint.new(0,5,0)
- local pt1a = NumberSequenceKeypoint.new(0,1,0)
- local pt2a = NumberSequenceKeypoint.new(1,1,1)
- local pt2 = NumberSequenceKeypoint.new(1,0,0)
- local effecto = Instance.new("ParticleEmitter",orb)
- effecto.LightEmission = 1
- effecto.Texture = "rbxassetid://296874871"
- effecto.Color = ColorSequence.new(maincolor)
- effecto.Rate = 0
- effecto.Acceleration = Vector3.new(0,25,0)
- effecto.Transparency = NumberSequence.new({pt1a,pt2a})
- effecto.Lifetime = NumberRange.new(0.75)
- effecto.Size = NumberSequence.new({pt1,pt2})
- effecto.Speed = NumberRange.new(12.5)
- effecto.VelocitySpread = 100000000
- effecto.RotSpeed = NumberRange.new(-300,300)
- function Fireball()
- local touched = false
- local delay = false
- local spart = Instance.new("Part",char)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304448425"
- tick.Volume = 1.5
- tick.Pitch = 1.5
- tick:Play()
- spart.Size = vt(1,1,1)
- spart.BrickColor = BrickColor.new("Deep orange")
- spart.Transparency = 1
- spart.CanCollide = false
- spart.Material = "Neon"
- spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
- local msh = Instance.new("SpecialMesh",spart)
- msh.MeshType = "Sphere"
- msh.Scale = vt(3,3,3)
- local pt1e = NumberSequenceKeypoint.new(0,5,0)
- local pt2e = NumberSequenceKeypoint.new(1,0,0)
- local effecto = Instance.new("ParticleEmitter",spart)
- effecto.Texture = "rbxassetid://296874871"
- effecto.LightEmission = 1
- effecto.Color = ColorSequence.new(maincolor)
- effecto.Rate = 10000
- effecto.Lifetime = NumberRange.new(0.5)
- effecto.Size = NumberSequence.new({pt1e,pt2e})
- effecto.Transparency = NumberSequence.new({pt1a,pt2a})
- effecto.Speed = NumberRange.new(0,0)
- effecto.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 100
- bv.Parent = spart
- wait(0.05)
- spart.Touched:connect(function(hit)
- if touched == false then
- touched = true
- if hit.Name == "Water" then
- local pt1er = NumberSequenceKeypoint.new(0,5,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local smokecolor = Color3.new(0.5,0.5,0.5)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://629468689"
- tick.Volume = 1.5
- tick.Pitch = 1
- tick:Play()
- effecto.Rate = 0
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 0.75
- effectoz.Color = ColorSequence.new(smokecolor)
- effectoz.Lifetime = NumberRange.new(3)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(10)
- effectoz.VelocitySpread = 25
- effectoz.Rate = 1000000000000
- spart.Anchored = true
- wait(1)
- effectoz.Rate = 0
- wait(2.5)
- spart:Destroy()
- end
- if hit.Name ~= "Water" then
- local saveposition = spart.CFrame
- spart.Anchored = true
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304529688"
- tick.Volume = 1.5
- tick.Pitch = 1.25
- tick:Play()
- effecto:Destroy()
- local pt1er = NumberSequenceKeypoint.new(0,10,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 1
- effectoz.Color = ColorSequence.new(maincolor)
- effectoz.Lifetime = NumberRange.new(0.5)
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Speed = NumberRange.new(0,0)
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(75)
- effectoz.VelocitySpread = 10000000
- effectoz.Rate = 1000000000000
- spart.Size = vt(1,1,1)
- spart.Transparency = 1
- spart.CFrame = saveposition
- Damagefunc(hit,10,15,-20,"Normal",root,.2,1)
- wait(0.5)
- effectoz.Rate = 0
- for i = 0, 10 do
- spart.Size = spart.Size + vt(0.5,0.5,0.5)
- spart.CFrame = saveposition
- wait()
- end
- spart:Destroy()
- end
- end
- end)
- end
- function Firestorm()
- local shur = Instance.new("Part",char)
- local gahd = Instance.new("Sound",char)
- char.Humanoid.WalkSpeed = 0
- gahd.SoundId = "rbxassetid://313945165"
- gahd.Volume = 4.5
- gahd.Pitch = 0.595
- gahd:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.CFrame = tors.CFrame + vt(0,-2.5,0)
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = symbolimg
- dec.Face = "Top"
- local dec2 = dec:Clone()
- dec2.Parent = shur
- dec2.Face = "Bottom"
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale + vt(2.5,0,2.5)
- wait(0)
- end
- for i = 0, 10 do
- larm.Transparency = larm.Transparency + 0.1
- rarm.Transparency = rarm.Transparency + 0.1
- lleg.Transparency = lleg.Transparency + 0.1
- rleg.Transparency = rleg.Transparency + 0.1
- tors.Transparency = tors.Transparency + 0.1
- hed.Transparency = hed.Transparency + 0.1
- wait()
- end
- local pt1mass = NumberSequenceKeypoint.new(0,15,0)
- local effecton = Instance.new("ParticleEmitter",root)
- effecton.LightEmission = 1
- effecton.Texture = "rbxassetid://296874871"
- effecton.Color = ColorSequence.new(maincolor)
- effecton.Rate = 1000
- effecton.Lifetime = NumberRange.new(0.75)
- effecton.Size = NumberSequence.new({pt1mass,pt2})
- effecton.Speed = NumberRange.new(5)
- effecton.VelocitySpread = 100000000
- effecton.RotSpeed = NumberRange.new(-300,300)
- local ash = Instance.new("Sound",root)
- ash.SoundId = "rbxassetid://181004943"
- ash.Volume = 4
- ash.Pitch = 0.25
- ash:Play()
- local sbs = Instance.new("BodyPosition", root)
- sbs.P = 3000
- sbs.D = 1000
- sbs.maxForce = Vector3.new(500000, 500000000, 500000)
- sbs.position = root.CFrame.p + Vector3.new(0, 175, 0)
- wait(2.5)
- for i = 0, 25 do
- local touched = false
- local delay = false
- local spart = Instance.new("Part",char)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304448425"
- tick.Volume = 1.5
- tick.Pitch = 0.85
- tick:Play()
- spart.Size = vt(2,2,2)
- spart.BrickColor = BrickColor.new("Deep orange")
- spart.Transparency = 1
- spart.CanCollide = false
- spart.Material = "Neon"
- spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
- local pt1e = NumberSequenceKeypoint.new(0,15,0)
- local pt2e = NumberSequenceKeypoint.new(1,0,0)
- local effecto = Instance.new("ParticleEmitter",spart)
- effecto.Texture = "rbxassetid://296874871"
- effecto.LightEmission = 1
- effecto.Color = ColorSequence.new(maincolor)
- effecto.Rate = 10000
- effecto.Lifetime = NumberRange.new(0.5)
- effecto.Size = NumberSequence.new({pt1e,pt2e})
- effecto.Transparency = NumberSequence.new({pt1a,pt2a})
- effecto.Speed = NumberRange.new(0,0)
- effecto.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 150
- bv.Parent = spart
- wait(0.05)
- spart.Touched:connect(function(hit)
- if touched == false then
- touched = true
- if hit.Name == "Water" then
- local pt1er = NumberSequenceKeypoint.new(0,15,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local smokecolor = Color3.new(0.5,0.5,0.5)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://629468689"
- tick.Volume = 1.5
- tick.Pitch = 1
- tick:Play()
- effecto.Rate = 0
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 0.75
- effectoz.Color = ColorSequence.new(smokecolor)
- effectoz.Lifetime = NumberRange.new(3)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(10)
- effectoz.VelocitySpread = 75
- effectoz.Rate = 1000000000000
- spart.Anchored = true
- wait(3)
- effectoz.Rate = 0
- wait(2.5)
- spart:Destroy()
- end
- if hit.Name ~= "Water" then
- local saveposition = spart.CFrame
- spart.Anchored = true
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304529688"
- tick.Volume = 1.5
- tick.Pitch = 0.85
- tick:Play()
- local tickn = Instance.new("Sound",spart)
- tickn.SoundId = "rbxassetid://138186576"
- tickn.Volume = 1.5
- tickn.Pitch = 1
- tickn:Play()
- local tick2e = Instance.new("Sound",spart)
- tick2e.SoundId = "rbxassetid://272207079"
- tick2e.Volume = 2.5
- tick2e.Looped = true
- tick2e.Pitch = 0.85
- tick2e:Play()
- effecto:Destroy()
- local pt1er = NumberSequenceKeypoint.new(0,15,0)
- local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 1
- effectoz.Color = ColorSequence.new(maincolor)
- effectoz.Lifetime = NumberRange.new(2.5)
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Speed = NumberRange.new(0,0)
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(10)
- effectoz.VelocitySpread = 10000000
- effectoz.Rate = 1000000000000
- local effectoz2 = Instance.new("ParticleEmitter",spart)
- effectoz2.Texture = "rbxassetid://296874871"
- effectoz2.LightEmission = 1
- effectoz2.Color = ColorSequence.new(maincolor)
- effectoz2.Lifetime = NumberRange.new(0.5)
- effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
- effectoz2.Speed = NumberRange.new(0,0)
- effectoz2.Rotation = NumberRange.new(-300,300)
- effectoz2.RotSpeed = NumberRange.new(-500,500)
- effectoz2.Speed = NumberRange.new(250)
- effectoz2.VelocitySpread = 10000000
- effectoz2.Rate = 1000000000000
- spart.Size = vt(25,25,25)
- spart.Transparency = 1
- spart.CFrame = saveposition
- wait(0.5)
- Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
- effectoz2.Rate = 0
- wait(5)
- effectoz.Rate = 0
- tick2e:Stop()
- wait(2.5)
- spart:Destroy()
- end
- end
- end)
- wait(0.215)
- end
- wait(1)
- effecton.Rate = 0
- for i = 0, 10 do
- larm.Transparency = larm.Transparency - 0.1
- rarm.Transparency = rarm.Transparency - 0.1
- lleg.Transparency = lleg.Transparency - 0.1
- rleg.Transparency = rleg.Transparency - 0.1
- tors.Transparency = tors.Transparency - 0.1
- hed.Transparency = hed.Transparency - 0.1
- wait()
- end
- sbs:Destroy()
- char.Humanoid.WalkSpeed = 16
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale - vt(2.5,0,2.5)
- wait(0)
- end
- effecton:Destroy()
- shur:Destroy()
- end
- function SplashFire()
- local shur = Instance.new("Part",char)
- local gahd = Instance.new("Sound",char)
- char.Humanoid.WalkSpeed = 0
- gahd.SoundId = "rbxassetid://313945165"
- gahd.Volume = 2.5
- gahd.Pitch = 0.625
- gahd:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.CFrame = tors.CFrame + vt(0,-2.5,0)
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = symbolimg
- dec.Face = "Top"
- local dec2 = dec:Clone()
- dec2.Parent = shur
- dec2.Face = "Bottom"
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale + vt(1,0,1)
- wait(0)
- end
- for i = 0, 10 do
- larm.Transparency = larm.Transparency + 0.1
- rarm.Transparency = rarm.Transparency + 0.1
- lleg.Transparency = lleg.Transparency + 0.1
- rleg.Transparency = rleg.Transparency + 0.1
- tors.Transparency = tors.Transparency + 0.1
- hed.Transparency = hed.Transparency + 0.1
- wait()
- end
- local pt1mass = NumberSequenceKeypoint.new(0,15,0)
- local effecton = Instance.new("ParticleEmitter",root)
- effecton.LightEmission = 1
- effecton.Texture = "rbxassetid://296874871"
- effecton.Color = ColorSequence.new(maincolor)
- effecton.Rate = 1000
- effecton.Lifetime = NumberRange.new(0.75)
- effecton.Size = NumberSequence.new({pt1mass,pt2})
- effecton.Speed = NumberRange.new(5)
- effecton.VelocitySpread = 100000000
- effecton.RotSpeed = NumberRange.new(-300,300)
- local ash = Instance.new("Sound",root)
- ash.SoundId = "rbxassetid://181004943"
- ash.Volume = 4
- ash.Pitch = 0.5
- ash:Play()
- local sbs = Instance.new("BodyPosition", root)
- sbs.P = 3000
- sbs.D = 1000
- sbs.maxForce = Vector3.new(500000, 500000000, 500000)
- sbs.position = root.CFrame.p + Vector3.new(0, 200, 0)
- wait(1)
- sbs.position = root.CFrame.p - Vector3.new(0, 500, 0)
- wait(0.1)
- sbs:Destroy()
- wait(0.15)
- effecton.Rate = 0
- local spart = Instance.new("Part",char)
- spart.Size = vt(2,2,2)
- spart.BrickColor = BrickColor.new("Deep orange")
- spart.Transparency = 1
- spart.CanCollide = false
- spart.Material = "Neon"
- spart.Anchored = true
- spart.CFrame = root.CFrame + Vector3.new(0,0.1,0)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304529688"
- tick.Volume = 1.5
- tick.Pitch = 0.85
- tick:Play()
- local tickn = Instance.new("Sound",spart)
- tickn.SoundId = "rbxassetid://138186576"
- tickn.Volume = 1.5
- tickn.Pitch = 1
- tickn:Play()
- local tick2e = Instance.new("Sound",spart)
- tick2e.SoundId = "rbxassetid://272207079"
- tick2e.Volume = 2.5
- tick2e.Looped = true
- tick2e.Pitch = 0.85
- tick2e:Play()
- local pt1er = NumberSequenceKeypoint.new(0,10,0)
- local pt1er2 = NumberSequenceKeypoint.new(0,20,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 1
- effectoz.Color = ColorSequence.new(maincolor)
- effectoz.Lifetime = NumberRange.new(2.5)
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Speed = NumberRange.new(0,0)
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(5)
- effectoz.VelocitySpread = 10000000
- effectoz.Rate = 1000000000000
- local effectoz2 = Instance.new("ParticleEmitter",spart)
- effectoz2.Texture = "rbxassetid://296874871"
- effectoz2.LightEmission = 1
- effectoz2.Color = ColorSequence.new(maincolor)
- effectoz2.Lifetime = NumberRange.new(0.5)
- effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
- effectoz2.Speed = NumberRange.new(0,0)
- effectoz2.Rotation = NumberRange.new(-300,300)
- effectoz2.RotSpeed = NumberRange.new(-500,500)
- effectoz2.Speed = NumberRange.new(100)
- effectoz2.VelocitySpread = 10000000
- effectoz2.Rate = 1000000000000
- spart.Size = vt(35,5,35)
- spart.Transparency = 1
- spart.CFrame = root.CFrame
- wait(0.5)
- spart.Touched:connect(function(hit)
- Damagefunc(hit,25,30,-20,"Normal",root,.2,1)
- end)
- ash:Destroy()
- effectoz2.Rate = 0
- wait(5)
- effecton:Destroy()
- effectoz.Rate = 0
- tick2e:Stop()
- wait(2.5)
- spart:Destroy()
- wait(1)
- for i = 0, 10 do
- larm.Transparency = larm.Transparency - 0.1
- rarm.Transparency = rarm.Transparency - 0.1
- lleg.Transparency = lleg.Transparency - 0.1
- rleg.Transparency = rleg.Transparency - 0.1
- tors.Transparency = tors.Transparency - 0.1
- hed.Transparency = hed.Transparency - 0.1
- wait()
- end
- sbs:Destroy()
- char.Humanoid.WalkSpeed = 16
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale - vt(1,0,1)
- wait(0)
- end
- shur:Destroy()
- end
- function MassiveFireBall()
- local shur = Instance.new("Part",char)
- local gahd = Instance.new("Sound",char)
- char.Humanoid.WalkSpeed = 0
- gahd.SoundId = "rbxassetid://313945165"
- gahd.Volume = 2.5
- gahd.Pitch = 0.6
- gahd:Play()
- shur.Transparency = 1
- shur.Material = "Neon"
- shur.BrickColor = bc("Bright red")
- shur.Anchored = true
- shur.CFrame = tors.CFrame + vt(0,-2.5,0)
- shur.Size = vt(1,0.2,1)
- shur.CanCollide = false
- local dec = Instance.new("Decal",shur)
- dec.Texture = symbolimg
- dec.Face = "Top"
- local dec2 = dec:Clone()
- dec2.Parent = shur
- dec2.Face = "Bottom"
- local Meshshur = Instance.new("CylinderMesh",shur)
- Meshshur.Scale = vt(0,1,0)
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale + vt(1.25,0,1.25)
- wait(0)
- end
- local touched = false
- local delay = false
- local spart = Instance.new("Part",char)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304448425"
- tick.Volume = 1.5
- tick.Pitch = 0.85
- tick:Play()
- spart.Size = vt(2,2,2)
- spart.BrickColor = BrickColor.new("Deep orange")
- spart.Transparency = 1
- spart.CanCollide = false
- spart.Material = "Neon"
- spart.CFrame = hed.CFrame + Vector3.new(0,0.1,0)
- local pt1e = NumberSequenceKeypoint.new(0,15,0)
- local pt2e = NumberSequenceKeypoint.new(1,0,0)
- local effecto = Instance.new("ParticleEmitter",spart)
- effecto.Texture = "rbxassetid://296874871"
- effecto.LightEmission = 1
- effecto.Color = ColorSequence.new(maincolor)
- effecto.Rate = 10000
- effecto.Lifetime = NumberRange.new(0.5)
- effecto.Size = NumberSequence.new({pt1e,pt2e})
- effecto.Transparency = NumberSequence.new({pt1a,pt2a})
- effecto.Speed = NumberRange.new(0,0)
- effecto.RotSpeed = NumberRange.new(-500,500)
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = mouse.Hit.lookVector * 150
- bv.Parent = spart
- wait(0.05)
- spart.Touched:connect(function(hit)
- if touched == false then
- touched = true
- if hit.Name == "Water" then
- local pt1er = NumberSequenceKeypoint.new(0,15,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local smokecolor = Color3.new(0.5,0.5,0.5)
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://629468689"
- tick.Volume = 1.5
- tick.Pitch = 1
- tick:Play()
- effecto.Rate = 0
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 0.75
- effectoz.Color = ColorSequence.new(smokecolor)
- effectoz.Lifetime = NumberRange.new(3)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(10)
- effectoz.VelocitySpread = 75
- effectoz.Rate = 1000000000000
- spart.Anchored = true
- wait(3)
- effectoz.Rate = 0
- wait(2.5)
- spart:Destroy()
- end
- if hit.Name ~= "Water" then
- local saveposition = spart.CFrame
- spart.Anchored = true
- local tick = Instance.new("Sound",spart)
- tick.SoundId = "rbxassetid://304529688"
- tick.Volume = 1.5
- tick.Pitch = 0.85
- tick:Play()
- local tickn = Instance.new("Sound",spart)
- tickn.SoundId = "rbxassetid://138186576"
- tickn.Volume = 1.5
- tickn.Pitch = 1
- tickn:Play()
- local tick2e = Instance.new("Sound",spart)
- tick2e.SoundId = "rbxassetid://272207079"
- tick2e.Volume = 2.5
- tick2e.Looped = true
- tick2e.Pitch = 0.85
- tick2e:Play()
- effecto:Destroy()
- local pt1er = NumberSequenceKeypoint.new(0,15,0)
- local pt1er2 = NumberSequenceKeypoint.new(0,25,0)
- local pt2er = NumberSequenceKeypoint.new(1,0,0)
- local effectoz = Instance.new("ParticleEmitter",spart)
- effectoz.Texture = "rbxassetid://296874871"
- effectoz.LightEmission = 1
- effectoz.Color = ColorSequence.new(maincolor)
- effectoz.Lifetime = NumberRange.new(2.5)
- effectoz.Size = NumberSequence.new({pt1er,pt2er})
- effectoz.Speed = NumberRange.new(0,0)
- effectoz.Rotation = NumberRange.new(-300,300)
- effectoz.Transparency = NumberSequence.new({pt1a,pt2a})
- effectoz.RotSpeed = NumberRange.new(-500,500)
- effectoz.Speed = NumberRange.new(10)
- effectoz.VelocitySpread = 10000000
- effectoz.Rate = 1000000000000
- local effectoz2 = Instance.new("ParticleEmitter",spart)
- effectoz2.Texture = "rbxassetid://296874871"
- effectoz2.LightEmission = 1
- effectoz2.Color = ColorSequence.new(maincolor)
- effectoz2.Lifetime = NumberRange.new(0.5)
- effectoz2.Size = NumberSequence.new({pt1er2,pt2er})
- effectoz2.Speed = NumberRange.new(0,0)
- effectoz2.Rotation = NumberRange.new(-300,300)
- effectoz2.RotSpeed = NumberRange.new(-500,500)
- effectoz2.Speed = NumberRange.new(250)
- effectoz2.VelocitySpread = 10000000
- effectoz2.Rate = 1000000000000
- spart.Size = vt(25,25,25)
- spart.Transparency = 1
- spart.CFrame = saveposition
- wait(0.5)
- Damagefunc(hit,50,60,-20,"Normal",root,.2,1)
- effectoz2.Rate = 0
- wait(5)
- effectoz.Rate = 0
- tick2e:Stop()
- wait(2.5)
- spart:Destroy()
- end
- end
- end)
- char.Humanoid.WalkSpeed = 16
- wait(1)
- for i = 0, 25 do
- shur.CFrame = tors.CFrame + vt(0,-2.95,0)
- Meshshur.Scale = Meshshur.Scale - vt(1.25,0,1.25)
- wait(0)
- end
- shur:Destroy()
- end
- mouse.KeyDown:connect(function(k)
- k = k:lower()
- if k == "q" and attacking == false then
- if energy >= 10 then
- energy = energy - 10
- attacking = true
- Fireball()
- attacking = false
- end
- end
- if k == "r" and attacking == false then
- if energy >= 50 then
- energy = energy - 50
- attacking = true
- MassiveFireBall()
- attacking = false
- end
- end
- if k == "f" and attacking == false then
- if energy >= 100 then
- energy = energy - 100
- attacking = true
- Firestorm()
- attacking = false
- end
- end
- if k == "e" and attacking == false then
- if energy >= 25 then
- energy = energy - 25
- attacking = true
- SplashFire()
- attacking = false
- end
- end
- if k == "0" and attacking == false then
- if charge == false then
- tick:Resume()
- tick2:Resume()
- charge = true
- attacking = true
- if charge == true then
- effecto.Rate = 10000
- end
- end
- end
- end)
- mouse.KeyUp:connect(function(k)
- k = k:lower()
- if k == "0" then
- charge = false
- tick:Pause()
- tick2:Pause()
- attacking = false
- effecto.Rate = 0
- end
- end)
- while wait() do
- healthgui.Text = "Energy: " ..math.floor(energy).. "/100"
- if charge == true then
- while true do
- healthgui.Text = "Energy: " ..math.floor(energy).. "/100"
- energy = energy + 0.75
- wait()
- if energy > 100 then
- energy = 100
- end
- if charge == false then
- break
- end
- end
- end
- if energy > 100 then
- energy = 100
- end
- end
- --Fire Bending
- --Human Parts
- local player=game.Players.LocalPlayer
- local character=player.Character
- local humanoid=character["Humanoid"]
- local head=character["Head"]
- local torso=character["Torso"]
- local arm={left=character["Left Arm"], right=character["Right Arm"]}
- local leg={left=character["Left Leg"], right=character["Right Leg"]}
- --FireBendingHopperBin
- local bin=Instance.new("HopperBin")
- bin.Parent=player.Backpack
- bin.Name="Fire Bending"
- --Add Instance
- local add={
- part=function(parent,name,anchored,cancollide,color,shape,t,size,cframe)
- local p=Instance.new("Part")
- p.Parent=parent
- p.Name=name
- p.TopSurface="Smooth"
- p.BottomSurface="Smooth"
- p.formFactor="Custom"
- p.Anchored=anchored
- p.CanCollide=cancollide
- p.BrickColor=BrickColor.new(color)
- p.Shape=shape
- p.Transparency=t
- p.Size=size
- p.CFrame=cframe
- return p
- end,
- weld=function(parent,p1,cframe)
- local w=Instance.new("Weld")
- w.Parent=parent
- w.Part0=parent
- w.Part1=p1
- w.C1=cframe
- return w
- end,
- mesh=function(i,parent,scale)
- local m=Instance.new(i)
- m.Parent=parent
- m.Scale=scale
- return m
- end,
- bg=function(parent,cframe)
- local g=Instance.new("BodyGyro")
- g.Parent=parent
- g.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- g.cframe=cframe
- return g
- end,
- bp=function(parent,pos)
- local p=Instance.new("BodyPosition")
- p.Parent=parent
- p.maxForce=Vector3.new(0,math.huge,0)
- p.position=pos
- return p
- end,
- bv=function(parent,velocity)
- local v=Instance.new("BodyVelocity")
- v.Parent=parent
- v.maxForce=Vector3.new(math.huge,math.huge,math.huge)
- v.velocity=velocity
- return v
- end,
- bf=function(parent,force)
- local f=Instance.new("BodyForce")
- f.Parent=parent
- f.force=force
- return f
- end,
- bav=function(parent,angular)
- local av=Instance.new("BodyAngularVelocity")
- av.Parent=parent
- av.maxTorque=Vector3.new(math.huge,math.huge,math.huge)
- av.angularvelocity=angular
- return av
- end,
- model=function(parent,name)
- local m=Instance.new("Model")
- m.Parent=parent
- m.Name=name
- return m
- end,
- humanoid=function(parent,maxhealth)
- local h=Instance.new("Humanoid")
- h.Parent=parent
- h.MaxHealth=maxhealth
- h.Health=maxhealth
- return h
- end}
- local things=add.model(character,"FireBending")
- local c=function(f)coroutine.resume(coroutine.create(f))end
- local function computePos(pos1,pos2)
- local pos3=Vector3.new(pos2.x,pos1.y,pos2.z)
- return CFrame.new(pos1,pos3)
- end
- local function getTorso(mouse)
- torso.CFrame=computePos(torso.CFrame.p,mouse.Hit.p)
- end
- local touchDeb=false
- local function damage(hit)
- local humanoid=hit.Parent:FindFirstChild("Humanoid")
- local torso=hit.Parent:FindFirstChild("Torso")
- if humanoid and torso and humanoid~=character["Humanoid"] and touchDeb==false then
- touchDeb=true
- local dmg=math.random(5,20)
- c(function()
- humanoid:TakeDamage(dmg)
- torso.Velocity=Vector3.new(math.random(-15,15),math.random(25,40),math.random(-15,15))*2
- torso.RotVelocity=Vector3.new(math.random(-25,25),math.random(-25,25),math.random(-25,25))*5
- local model=add.model(Workspace,math.floor(dmg))
- local h=add.humanoid(model,math.huge)
- local dmgpart=add.part(model,"Head",false,false,"Bright red","Block",0,Vector3.new(1,.2,1),hit.CFrame)
- local mesh=add.mesh("CylinderMesh",dmgpart,Vector3.new(1,1,1))
- local bf=add.bf(dmgpart,Vector3.new(0,dmgpart:GetMass()*200,0))
- wait(1)
- model:remove()
- end)
- wait(.1)
- touchDeb=false
- end
- end
- local trailDeb=false
- local function trail(pos)
- trailDeb=true
- c(function()
- old=pos.Position
- while trailDeb do
- wait()
- new=pos.Position
- mag=(old-new).magnitude
- local trail=add.part(things,"Trail",true,false,"Bright red","Block",0,Vector3.new(3,3,3),CFrame.new(old,new)*CFrame.Angles(0,0,-mag/2))
- old=new
- trail.Touched:connect(damage)
- c(function()
- for i=.2,1,.2 do
- wait()
- trail.Transparency=i
- end
- trail:remove()
- end)
- end
- end)
- end
- local pathDeb=false
- local bpPosition=10
- local pathpart=nil
- local bp=nil
- local function paths()
- pathDeb=true
- pathpart=add.part(Workspace,"Path",true,false,"Bright red","Block",0,Vector3.new(4,1,4),CFrame.new())
- bp=add.bp(torso,Vector3.new(0,bpPosition,0))
- while pathDeb==true do
- wait()
- pathpart.CFrame=torso.CFrame*CFrame.new(0,-4,0)
- end
- end
- --FakeArm
- local fakeArm={left=add.part(things,"Left Arm",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new()),right=add.part(things,"Right Arm",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new())}
- --local fakeLeg={left=add.part(things,"Left Leg",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new()),right=add.part(things,"Right Leg",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new())}
- local fireHandle={left=add.part(things,"Left Handle",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new()),right=add.part(things,"Right Handle",false,false,"Really red","Block",1,Vector3.new(1,1,1),CFrame.new())}
- --Weldz
- local connectArm={left=add.weld(torso,fakeArm.left,CFrame.new(-1.5,-.5,0)),right=add.weld(torso,fakeArm.right,CFrame.new(1.5,-.5,0))}
- --local connectLeg={left=add.weld(torso,fakeLeg.left,CFrame.new(-.5,1.5,0)),right=add.weld(torso,fakeLeg.right,CFrame.new(.5,1.5,0))}
- local armWeld={left=add.weld(fakeArm.left,arm.left,CFrame.new(0,.5,0)),right=add.weld(fakeArm.right,arm.right,CFrame.new(0,.5,0))}
- --local legWeld={left=add.weld(fakeLeg.left,arm.left,CFrame.new(0,.5,0)),right=add.weld(fakeLeg.right,arm.right,CFrame.new(0,.5,0))}
- local handleWeld={left=add.weld(fireHandle.left,arm.left,CFrame.new(0,-2,0)),right=add.weld(fireHandle.right,arm.right,CFrame.new(0,-2,0))}
- local anim={
- equip=function()
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(135)*i,0,-math.rad(15)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(135)*i,0,math.rad(15)*i)
- end
- end,
- firecrush=function(mouse)
- getTorso(mouse)
- trail(fireHandle.left)
- trail(fireHandle.right)
- local bv=add.bv(torso,torso.CFrame.lookVector*25)
- for i=1,40 do
- wait()
- armWeld.left.C0=CFrame.Angles(-math.rad(36)*i,0,0)
- armWeld.right.C0=CFrame.Angles(-math.rad(36)*i,0,0)
- handleWeld.left.C1=CFrame.new(0,-2,0)
- handleWeld.right.C1=CFrame.new(0,-2,0)
- end
- wait(.2)
- trailDeb=false
- bv:remove()
- end,
- firebump=function(mouse)
- getTorso(mouse)
- trail(fireHandle.left)
- trail(fireHandle.right)
- local bv=add.bv(torso,torso.CFrame.lookVector*50)
- fireHandle.left.Touched:connect(damage)
- fireHandle.right.Touched:connect(damage)
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- end
- wait(.5)
- for i=1,0,-.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- end
- bv:remove()
- trailDeb=false
- end,
- fireshoot=function(mouse)
- getTorso(mouse)
- trail(fireHandle.left)
- trail(fireHandle.right)
- local bullet=add.part(Workspace,"FirePistol",false,false,"Bright red","Ball",0,Vector3.new(2,2,2),CFrame.new((torso.CFrame+torso.CFrame.lookVector*10).p,mouse.Hit.p))
- bullet.Velocity=bullet.CFrame.lookVector*150
- local bf=add.bf(bullet,Vector3.new(0,bullet:GetMass()*196.2,0))
- bullet.Touched:connect(damage)
- trail(bullet)
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- wait(.2)
- for i=1,0,-.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- game.Debris:AddItem(bullet,5)
- trailDeb=false
- end,
- firerage=function()
- trail(fireHandle.left)
- trail(fireHandle.right)
- torso.Anchored=true
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- for i=1,40 do
- wait()
- local bullet=add.part(Workspace,"FirePistol",false,false,"Bright red","Ball",0,Vector3.new(2,2,2),torso.CFrame*CFrame.Angles(0,math.rad(9)*i,0))
- bullet.Velocity=bullet.CFrame.lookVector*150
- local bf=add.bf(bullet,Vector3.new(0,bullet:GetMass()*196.2,0))
- bullet.Touched:connect(damage)
- trail(bullet)
- game.Debris:addItem(bullet,5)
- end
- wait(.2)
- for i=1,0,-.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(90)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(90)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- torso.Anchored=false
- trailDeb=false
- end,
- firespin=function()
- trail(fireHandle.left)
- trail(fireHandle.right)
- local bg=add.bg(torso,torso.CFrame)
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(0,0,math.rad(135)*i)
- armWeld.right.C0=CFrame.Angles(0,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- local bav=add.bav(torso,Vector3.new(0,50,0))
- wait(3)
- for i=1,0,-.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(0,0,math.rad(135)*i)
- armWeld.right.C0=CFrame.Angles(0,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- bav:remove()
- bg:remove()
- trailDeb=false
- end,
- firewave=function(mouse)
- getTorso(mouse)
- trail(fireHandle.left)
- trail(fireHandle.right)
- torso.Anchored=true
- for i=.2,1,.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(135)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(135)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- for i=1,15 do
- wait()
- local firepart=add.part(Workspace,"FireBrick",false,false,"Bright red","Block",0,Vector3.new(5,5,5),torso.CFrame*CFrame.Angles(math.rad(45),0,0)+torso.CFrame.lookVector*4*i)
- trail(firepart)
- firepart.Touched:connect(damage)
- game.Debris:addItem(firepart,.5)
- end
- wait(.2)
- for i=1,0,-.2 do
- wait()
- armWeld.left.C0=CFrame.Angles(math.rad(135)*i,0,math.rad(45)*i)
- armWeld.right.C0=CFrame.Angles(math.rad(135)*i,0,-math.rad(45)*i)
- handleWeld.left.C1=CFrame.new(0,-2+-2*i,0)
- handleWeld.right.C1=CFrame.new(0,-2+-2*i,0)
- end
- torso.Anchored=false
- trailDeb=false
- end
- }
- local keyDeb=false
- local keyDeb2=false
- bin.Selected:connect(function(mouse)
- bin:remove()
- anim.equip()
- mouse.Button1Down:connect(function()
- if keyDeb==false then
- keyDeb=true
- anim.fireshoot(mouse)
- keyDeb=false
- end
- end)
- mouse.KeyDown:connect(function(key)
- if key=="q" and keyDeb==false then
- keyDeb=true
- anim.firecrush(mouse)
- keyDeb=false
- end
- if key=="e" and keyDeb==false then
- keyDeb=true
- anim.firebump(mouse)
- keyDeb=false
- end
- if key=="r" and keyDeb==false then
- keyDeb=true
- anim.firespin(mouse)
- keyDeb=false
- end
- if key=="f" and keyDeb==false then
- keyDeb=true
- anim.firerage()
- keyDeb=false
- end
- if key=="g" and keyDeb==false then
- keyDeb=true
- anim.firewave(mouse)
- keyDeb=false
- end
- if key=="z" and keyDeb2==false then
- keyDeb2=true
- paths()
- end
- if key=="z" and keyDeb2==true then
- keyDeb2=false
- pathDeb=false
- pcall(function() pathpart:remove() bp:remove() end)
- end
- end)
- end) --mediafire GoldBiu
Add Comment
Please, Sign In to add comment