Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- YEET
- plr = game.Players.LocalPlayer
- mouse = plr:GetMouse()
- part = nil
- bp = nil
- particles = nil
- local Character = plr.Character
- -- Trinitum
- local s = Instance.new("Sound")
- s.Name = "Trinity"
- s.SoundId = "https://www.roblox.com/asset/?id=251976044"
- s.Pitch = 1.3
- s.Volume = 10
- s.Looped = false
- s.archivable = false
- s.Parent = Character.Head
- wait(0.1)
- s:play()
- -- Trinity Aura
- --local mouse1 = Instance.new("BoolValue", Character)
- --mouse1.name = "mouse1"
- local RightArm = Character["Right Arm"]
- local RootPart = Character.Torso
- EffectModel = Instance.new("Model", Character)
- it = Instance.new
- cf = CFrame.new
- EffectModel.Name = "Effects"
- local EffecMo = EffectModel
- Gring = it("Part", EffectModel)
- Gring.Size = Vector3.new(8, 0, 8)
- Gring.CFrame = RootPart.CFrame
- Gring.Transparency = 1
- Gring.Anchored = true
- Gring.CanCollide = false
- rgui = it("SurfaceGui", Gring)
- rgui.Face = "Top"
- igui = it("ImageLabel", rgui)
- igui.BackgroundTransparency = 1
- igui.Size = UDim2.new(1, 0, 1, 0)
- igui.Image = "rbxassetid://1245317611"
- igui.ImageColor3 = Color3.new(25, 25, 255)
- rtgui = rgui:clone()
- rtgui.Parent = Gring
- rtgui.Face = "Bottom"
- Lring = Instance.new("Part", EffectModel)
- Lring.CanCollide = false
- Lring.Anchored = false
- Lring.CFrame = RightArm.CFrame * CFrame.new(0, -1, 0)
- Lring.Transparency = 0
- rgui = Instance.new("BillboardGui")
- rgui.Parent = Lring
- rgui.Size = UDim2.new(3, 0, 2.4, 0)
- rgui.AlwaysOnTop = false
- rimg = Instance.new("ImageLabel")
- rimg.Parent = rgui
- rimg.BackgroundTransparency = 1
- rimg.Size = UDim2.new(1, 0, 1, 0)
- rimg.Image = "rbxassetid://200369289"
- rimg.ImageColor3 = Color3.new(255, 255, 0)
- local rotnum = 0
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- function clerp(a, b, t, c, d)
- return a:Lerp(b, t)
- end
- game["Run Service"].RenderStepped:connect(function()
- rotnum = rotnum + 1
- local hitfloor2, posfloor2 = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 20, Character)
- if hitfloor2 ~= nil then
- Gring.CFrame = clerp(Gring.CFrame, cf(posfloor2) * CFrame.Angles(0, math.rad(5 * rotnum), 0), 1)
- end
- end)
- -- Moves
- math.randomseed(tick())
- plr = game:service("Players").LocalPlayer
- ch, char = plr.Character, plr.Character
- hum = ch.Humanoid
- tor, torso, rootpart, rj = ch.Torso, ch.Torso, ch.HumanoidRootPart, ch.HumanoidRootPart.RootJoint
- m, mouse = plr:GetMouse(), plr:GetMouse()
- cfn, ang, mr, int = CFrame.new, CFrame.Angles, math.rad, Instance.new
- bc = BrickColor.new
- head = ch.Head
- cam = workspace.CurrentCamera
- rj.C0 = cfn()
- rj.C1 = cfn()
- lib = {}
- lib.cone = "1033714"
- lib.ring = "3270017"
- lib.yato = "579392805"
- rbx = "rbxassetid://"
- v3 = Vector3.new
- cn = CFrame.new
- ca2 = CFrame.Angles
- mf = math.floor
- mran = math.random
- rn = mran
- mrad = math.rad
- rd = mrad
- mdeg = math.deg
- dg = mdeg
- function ca(x, y, z)
- return ca2(mrad(x), mrad(y), mrad(z))
- end
- function mran2(a, b)
- return mran(a * 1000, b * 1000) / 1000
- end
- ud = UDim2.new
- bn = BrickColor.new
- c3 = Color3.new
- function getSound(id)
- game:service("ContentProvider"):Preload("rbxassetid" .. tostring(id))
- local s = int("Sound", ch.Head)
- s.SoundId = "rbxassetid://" .. tostring(id - 1)
- s.Volume = 1
- return s
- end
- char.Humanoid.HipHeight = 1
- local combostring = ""
- local attackstring = ""
- blocksound = getSound(260433722)
- blocksound.Pitch = 1
- startsound = getSound(588738950)
- startsound.Pitch = 1
- endsound = getSound(588736246)
- endsound.Pitch = 1
- endsound.Volume = 2
- swsound = getSound(588736970)
- swexp = getSound(365002939)
- swexp.Pitch = 1
- spexp = getSound(131166206)
- spexp.Pitch = 1.2
- startsound2 = getSound(260433769)
- startsound2.Pitch = 0.8
- startsound3 = getSound(260433769)
- startsound3.Pitch = 0.89
- chargesound = getSound(181004944)
- chargesound.Pitch = 1
- basicsound = getSound(131166206)
- basicsound.Pitch = 1.2
- dodgesound = getSound(177162407)
- dodgesound.Pitch = 1.4
- landsound = getSound(315775190)
- rushsound = getSound(131166206)
- swoosh = getSound(131166206)
- swoosh.Volume = 2
- aerialcharge = getSound(265109959)
- aerialcharge.Pitch = 1.1
- curse = getSound(231917971)
- glass = getSound(130779172)
- magictone1 = getSound(131166206)
- game:GetService("Chat"):Chat(head, "Trinity Qwbbedly")
- tweenTable = {}
- altTweenTable = {}
- local alljoints = {}
- textTable = {}
- local fx = {}
- moves = {}
- connectlist = {}
- cooldowns = {}
- movers = {}
- local linetable = {}
- local run = false
- idle = false
- local animPlaying = false
- local runLeg = false
- canRunLeg = false
- local deb = false
- local basicswitch = false
- local canExecuteMoves = true
- maxmana = 1000
- mana = 1000
- chain = 0
- hum.MaxHealth = 333
- spawn(function()
- wait()
- hum.Health = 333
- end)
- local terradrillhowl = Instance.new("Sound", torso)
- terradrillhowl.SoundId = "rbxassetid://138677306"
- terradrillhowl.Volume = 10
- local terranovaspawn = Instance.new("Sound", torso)
- terranovaspawn.SoundId = "rbxassetid://237142728"
- terranovaspawn.Volume = 10
- local managui = int("ScreenGui", plr.PlayerGui)
- managui.Name = "Mana Gui"
- local frame = int("Frame", managui)
- frame.Size = UDim2.new(0.15, 0, 0.02, 0)
- frame.Position = UDim2.new(0.83, 0, 0.7, 0)
- frame.BackgroundColor3 = BrickColor.new("Black").Color
- frame.BorderColor3 = BrickColor.new("Cool yellow").Color
- frame.BorderSizePixel = 6
- local manabartext = int("TextLabel", frame)
- manabartext.ZIndex = 2
- manabartext.Size = UDim2.new(1, 0, 1, 0)
- manabartext.TextColor3 = BrickColor.new("White").Color
- manabartext.TextStrokeTransparency = 1
- manabartext.Font = "SourceSansLight"
- manabartext.Text = tostring(mana) .. "/" .. tostring(maxmana)
- manabartext.FontSize = "Size18"
- manabartext.BackgroundTransparency = 1
- local manabar = int("Frame", frame)
- manabar.Size = UDim2.new(1, 0, 1, 0)
- manabar.BorderSizePixel = 0
- manabar.BackgroundColor3 = BrickColor.new("Bright blue").Color
- manabar.Size = UDim2.new(mana / maxmana, 0, 1, 0)
- local chainframe = int("Frame", managui)
- chainframe.Size = frame.Size
- chainframe.BackgroundTransparency = 1
- chainframe.Position = frame.Position + UDim2.new(0.07, 0, -0.05, 0)
- local chaintext = int("TextLabel", chainframe)
- chaintext.BackgroundTransparency = 1
- chaintext.TextStrokeColor3 = BrickColor.new("White").Color
- chaintext.TextStrokeTransparency = 1
- chaintext.Size = UDim2.new(1, 0, 1, 0)
- chaintext.Font = "Antique"
- chaintext.FontSize = "Size48"
- chaintext.Text = "0x"
- ypcall(function()
- ch.Animate:Destroy()
- ch.Humanoid.Animator:Destroy()
- end)
- if ch:findFirstChild("Riven") then
- ch.Riven:Destroy()
- end
- local tube = int("Model", ch)
- tube.Name = "Riven"
- script.Parent = tube
- function Weld(p0, p1, x, y, z, rx, ry, rz, par)
- p0.Position = p1.Position
- local w = Instance.new("Motor", par or p0)
- w.Part0 = p1
- w.Part1 = p0
- w.C0 = CFrame.new(x or 0, y or 0, z or 0) * CFrame.Angles(rx or 0, ry or 0, rz or 0)
- w.MaxVelocity = 0.1
- return w
- end
- function clerp(c1, c2, sp)
- local R1, R2, R3 = c1:toEulerAnglesXYZ()
- local R21, R22, R23 = c2:toEulerAnglesXYZ()
- return CFrame.new(c1.X + (c2.X - c1.X) * sp, c1.Y + (c2.Y - c1.Y) * sp, c1.Z + (c2.Z - c1.Z) * sp) * CFrame.Angles(R1 + (R21 - R1) * sp, R2 + (R22 - R2) * sp, R3 + (R23 - R3) * sp)
- end
- function Tween(Weld, Stop, Step, a)
- ypcall(function()
- local function func()
- local Start = Weld.C1
- local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
- local Stop = Stop
- local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
- if not Step then
- Step = 0.1
- end
- table.insert(tweenTable, {
- th = 0,
- Weld = Weld,
- Step = Step,
- Start = Start,
- X1 = X1,
- Y1 = Y1,
- Z1 = Z1,
- Stop = Stop,
- X2 = X2,
- Y2 = Y2,
- Z2 = Z2
- })
- end
- if a then
- coroutine.wrap(func)()
- else
- func()
- end
- end)
- end
- function altTween(Weld, Stop, Step, a)
- ypcall(function()
- local function func()
- local Start = Weld.C1
- local X1, Y1, Z1 = Start:toEulerAnglesXYZ()
- local Stop = Stop
- local X2, Y2, Z2 = Stop:toEulerAnglesXYZ()
- if not Step then
- Step = 0.1
- end
- table.insert(altTweenTable, {
- th = 0,
- Weld = Weld,
- Step = Step,
- Start = Start,
- X1 = X1,
- Y1 = Y1,
- Z1 = Z1,
- Stop = Stop,
- X2 = X2,
- Y2 = Y2,
- Z2 = Z2
- })
- end
- if a then
- coroutine.wrap(func)()
- else
- func()
- end
- end)
- end
- function weld(p0, p1, c0)
- local w = Instance.new("Weld", p0)
- w.Part0 = p0
- w.Part1 = p1
- w.C0 = c0
- return w
- end
- function cp(parent, color, size, anchored, cancollide)
- local newp = Instance.new("Part", parent)
- newp.TopSurface = "SmoothNoOutlines"
- newp.BottomSurface = "SmoothNoOutlines"
- newp.FrontSurface = "SmoothNoOutlines"
- newp.BackSurface = "SmoothNoOutlines"
- newp.RightSurface = "SmoothNoOutlines"
- newp.LeftSurface = "SmoothNoOutlines"
- newp.FormFactor = "Custom"
- newp.BrickColor = bc(color)
- local rn = math.random(3)
- if rn == 1 then
- end
- newp.Size = size
- newp.Anchored = anchored
- newp.CanCollide = cancollide
- newp:BreakJoints()
- return newp
- end
- function cpa(parent, MeshID, color, size, anchored, cancollide)
- local newp = Instance.new("MeshPart", parent)
- newp.TopSurface = "SmoothNoOutlines"
- newp.BottomSurface = "SmoothNoOutlines"
- newp.FrontSurface = "SmoothNoOutlines"
- newp.BackSurface = "SmoothNoOutlines"
- newp.RightSurface = "SmoothNoOutlines"
- newp.LeftSurface = "SmoothNoOutlines"
- newp.FormFactor = "Custom"
- newp.BrickColor = bc(color)
- local rn = math.random(3)
- if rn == 1 then
- end
- newp.Size = size
- newp.Anchored = anchored
- newp.CanCollide = cancollide
- newp:BreakJoints()
- return newp
- end
- function destroyJoints()
- for i = 1, 5 do
- for _, v in pairs(alljoints) do
- ypcall(function()
- v:Destroy()
- table.remove(alljoints, _)
- end)
- end
- end
- end
- function initializeJoints()
- destroyJoints()
- rabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
- rabr.Transparency = 1
- rabr.Name = "Locker"
- rabr.Position = torso.Position
- bw = Weld(rabr, torso, 1.5, 0.5, 0, 0, 0, 0)
- bw.Parent = tube
- bw.Name = "bw"
- rw = Weld(rabr, torso, 1.5, 0.5, 0, 0, 0, 0)
- rw.Parent = tube
- rw.Name = "rw"
- w = Instance.new("Weld", tube)
- w.Part0, w.Part1 = ch["Right Arm"], rabr
- w.C1 = CFrame.new(0, -0.5, 0)
- labr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
- labr.Transparency = 1
- labr.Name = "Locker"
- labr.Position = torso.Position
- lw = Weld(labr, torso, -1.5, 0.5, 0, 0, 0, 0)
- lw.Parent = tube
- lw.Name = "lw"
- ww = Instance.new("Weld", tube)
- ww.Part0, ww.Part1 = ch["Left Arm"], labr
- ww.C1 = CFrame.new(0, -0.5, 0)
- rlabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
- rlabr.Transparency = 1
- rlabr.Name = "Locker"
- rlabr.Position = torso.Position
- rlw = Weld(rlabr, torso, 0.5, -1.5, 0, 0, 0, 0)
- rlw.Parent = tube
- rlw.Name = "rlw"
- wl = Instance.new("Weld", tube)
- wl.Part0, wl.Part1 = ch["Right Leg"], rlabr
- wl.C1 = CFrame.new(0, -0.5, 0)
- llabr = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
- llabr.Transparency = 1
- llabr.Name = "Locker"
- llabr.Position = torso.Position
- llw = Weld(llabr, torso, -0.5, -1.5, 0, 0, 0, 0)
- llw.Parent = tube
- llw.Name = "llw"
- wwl = Instance.new("Weld", tube)
- wwl.Part0, wwl.Part1 = ch["Left Leg"], llabr
- wwl.C1 = CFrame.new(0, -0.5, 0)
- nk = cp(tube, "White", Vector3.new(1, 1, 1), false, false)
- nk.Transparency = 1
- nk.Name = "Locker"
- nk.Position = torso.Position
- neck = Weld(nk, torso, 0, 2, 0, 0, 0, 0)
- neck.Parent = tube
- neck.Name = "neck"
- www = Instance.new("Weld", tube)
- www.Part0, www.Part1 = ch.Head, nk
- www.C1 = CFrame.new(0, -0.5, 0)
- table.insert(alljoints, rabr)
- table.insert(alljoints, labr)
- table.insert(alljoints, rw)
- table.insert(alljoints, lw)
- table.insert(alljoints, w)
- table.insert(alljoints, ww)
- table.insert(alljoints, rlabr)
- table.insert(alljoints, llabr)
- table.insert(alljoints, rlw)
- table.insert(alljoints, llw)
- table.insert(alljoints, wl)
- table.insert(alljoints, wwl)
- table.insert(alljoints, nk)
- table.insert(alljoints, neck)
- table.insert(alljoints, www)
- end
- function cyl(prt)
- local c = int("CylinderMesh", prt)
- return c
- end
- function blo(prt)
- local c = int("BlockMesh", prt)
- c.Name = "bmsh"
- return c
- end
- function sphere(prt)
- local c = int("SpecialMesh", prt)
- c.MeshType = "Sphere"
- return c
- end
- initializeJoints()
- function reset()
- if run == false and animPlaying == false then
- altTweenTable = {}
- Tween(llw, cfn(0, -0.08 * math.sin(tick() * 1.5), 0) * ang(0, 0, mr(5)))
- Tween(rlw, cfn(0, -0.08 * math.sin(tick() * 1.5), 0) * ang(0, 0, mr(-5)))
- Tween(rw, cfn(0, 0.1 * math.sin(tick() * 1.5), 0) * ang(0, 25.5, mr(-15) + mr(-5 * math.sin(tick() * 1.5))))
- Tween(lw, cfn(0, 0.1 * math.sin(tick() * 1.5), 0) * ang(0, -25, mr(15) + mr(5 * math.sin(tick() * 1.5))))
- Tween(neck, cfn())
- Tween(rj, cfn(0, 0.08 * math.sin(tick() * 1.5), 0), 0.3)
- end
- end
- function resetLegs()
- altTweenTable = {}
- Tween(llw, cfn())
- Tween(rlw, cfn())
- end
- function walkCycle()
- if run == true and animPlaying == false then
- tweenTable = {}
- Tween(rj, cfn())
- Tween(llw, cfn(0, 0, -0.2 * math.sin(tick() * 8)) * ang(mr(10) + mr(60 * math.sin(tick() * 8)), 0, 0), 0.6)
- Tween(rlw, cfn(0, 0, 0.2 * math.sin(tick() * 8)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
- Tween(rw, cfn( 0, 0, 20 * math.sin(tick() * 0)) * ang(mr(10) + mr(60 * math.sin(tick() * 8)), 0, 0), 0.6)
- Tween(lw, cfn( 0, 0, 0.2 * math.sin(tick() * 0)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
- Tween(lw, cfn( 0, 0, 0.2 * math.sin(tick() * 0)) * ang(mr(10) + mr(-60 * math.sin(tick() * 8)), 0, 0), 0.6)
- end
- end
- function walkLegs()
- if runLeg == true then
- altTweenTable = {}
- altTween(llw, cfn(0, 0, -0.2 * math.sin(tick() * 8)) * ang(mr(20) + mr(50 * math.sin(tick() * 8)), 0, 0), 0.6)
- altTween(rlw, cfn(0, 0, 0.2 * math.sin(tick() * 8)) * ang(mr(20) + mr(-50 * math.sin(tick() * 8)), 0, 0), 0.6)
- end
- end
- function dealDamage(man, damage, crit, multi, lifesteal)
- if man and man:findFirstChild("Humanoid") and man.Head then
- local dm = damage
- local cr = false
- local hm = man.Humanoid
- if crit and crit > 0 then
- local c = math.random(crit)
- if c == 1 then
- cr = true
- end
- end
- if cr == true then
- if not multi then
- dm = dm * 1.5
- else
- dm = dm * multi
- end
- end
- hm:TakeDamage(dm)
- if lifesteal then
- local plife = lifesteal * dm
- if hum.Health < hum.MaxHealth then
- hum.Health = hum.Health + plife
- local bbg = int("BillboardGui", tube)
- bbg.Size = UDim2.new(1, 0, 1, 0)
- bbg.StudsOffset = Vector3.new(0, 2, 0)
- bbg.StudsOffset = bbg.StudsOffset + Vector3.new(math.random(-math.random(50) / 10, math.random(50) / 10), 0, math.random(-math.random(50) / 10, math.random(50) / 10))
- bbg.Adornee = ch.Head
- bbg.AlwaysOnTop = true
- local tlabl = int("TextLabel", bbg)
- tlabl.Size = UDim2.new(1, 0, 1, 0)
- tlabl.Text = tostring(plife)
- tlabl.BackgroundTransparency = 1
- tlabl.TextColor3 = BrickColor.new("Bright green").Color
- tlabl.TextStrokeColor3 = BrickColor.new("White").Color
- tlabl.TextStrokeTransparency = 0
- tlabl.Font = "Antique"
- tlabl.FontSize = "Size60"
- table.insert(textTable, bbg)
- end
- end
- chain = chain + 1
- if hm.MaxHealth >= 99999 then
- hm.Parent:BreakJoints()
- end
- local bbg = int("BillboardGui", tube)
- bbg.Size = UDim2.new(1, 0, 1, 0)
- bbg.StudsOffset = Vector3.new(0, 2, 0)
- bbg.StudsOffset = bbg.StudsOffset + Vector3.new(math.random(-math.random(50) / 10, math.random(50) / 10), 0, math.random(-math.random(50) / 10, math.random(50) / 10))
- bbg.Adornee = man.Head
- bbg.AlwaysOnTop = true
- local tlabl = int("TextLabel", bbg)
- tlabl.Size = UDim2.new(1, 0, 1, 0)
- tlabl.Text = tostring(dm)
- tlabl.BackgroundTransparency = 1
- tlabl.TextColor3 = BrickColor.new("White").Color
- tlabl.TextStrokeColor3 = BrickColor.new("White").Color
- if cr == true then
- tlabl.TextColor3 = BrickColor.new("Really red").Color
- tlabl.TextStrokeColor3 = BrickColor.new("White").Color
- end
- tlabl.TextStrokeTransparency = 0
- tlabl.Font = "Antique"
- tlabl.FontSize = "Size60"
- table.insert(textTable, bbg)
- return dm
- end
- end
- local tp = cp(tube, "White", Vector3.new(1, 1, 1))
- tp.Transparency = 1
- weld(ch["Right Arm"], tp, cfn(0, -1, 0))
- function addFx(item, int, final, func)
- table.insert(fx, {
- item = item,
- int = int,
- func = func,
- final = final,
- stepval = 0
- })
- end
- function addMove(name, key, cooldown, func, manacost)
- moves[name] = {
- key = key,
- cooldown = cooldown,
- func = func,
- manacost = manacost
- }
- end
- function drawLine(point_a, point_b, bc_code, angle)
- local dist = (point_a - point_b).magnitude
- if dist > 1 then
- local rad = dist / 3
- local line = Instance.new("Part", tube)
- line.Anchored = true
- line.FormFactor = "Custom"
- line.BrickColor = BrickColor.new(bc_code)
- line.TopSurface = "SmoothNoOutlines"
- line.BottomSurface = "SmoothNoOutlines"
- line.LeftSurface = "SmoothNoOutlines"
- line.RightSurface = "SmoothNoOutlines"
- line.FrontSurface = "SmoothNoOutlines"
- line.BackSurface = "SmoothNoOutlines"
- line.Material = "Neon"
- line.CanCollide = false
- line.Size = Vector3.new(0.5, 0.5, dist)
- Instance.new("BlockMesh", line).Name = "blok"
- line.CFrame = CFrame.new(point_a, point_b) * CFrame.new(0, 0, -rad)
- return line
- end
- end
- function depleteMana(amount)
- if mana > 0 then
- if mana - amount > 0 then
- mana = mana - amount
- return true
- else
- return false
- end
- end
- end
- function executeMove(name)
- if canExecuteMoves == true and ch and hum and hum.Health > 0 then
- local can = true
- for _, v in pairs(cooldowns) do
- if v.move == name then
- can = false
- break
- end
- end
- if can == true then
- local can2 = true
- if moves[name].manacost then
- local a = depleteMana(moves[name].manacost)
- if not a then
- can2 = false
- end
- end
- if can2 then
- moves[name].func()
- end
- end
- end
- end
- function addToCList(what, key)
- local a = {
- what,
- key = key,
- up = false
- }
- table.insert(connectlist, a)
- return a
- end
- function waitForUp(what)
- repeat
- wait()
- until what.up == true
- end
- function addMover(what, step, func)
- table.insert(movers, {
- mover = what,
- step = step,
- lastpoint = what.CFrame,
- func = func
- })
- end
- local CreateRegion3FromLocAndSize = function(Position, Size)
- local SizeOffset = Size / 2
- local Point1 = Position - SizeOffset
- local Point2 = Position + SizeOffset
- return Region3.new(Point1, Point2)
- end
- local lightsword = Instance.new("Model", Character)
- lightsword.Name = "TriniLightSword"
- local Handle = Instance.new("Part", lightsword)
- Handle.BrickColor = BrickColor.new("Really black")
- Handle.Material = "Neon"
- local TriniLightMesh = Instance.new("SpecialMesh", Handle)
- TriniLightMesh.MeshType = "FileMesh"
- TriniLightMesh.MeshId = "http://www.roblox.com/asset/?id=12171188"
- TriniLightMesh.Scale = Vector3.new(0.3,.3,.5)
- Handle.CFrame = torso.CFrame
- local LSW = Weld(Handle, torso, 0, -0.7, .6,99.1,-5,-10)
- LSW.Parent = Character
- LSW.Name = "LSW1"
- local shield = Instance.new("Part", Character)
- shield.Transparency = 1
- local robot = Instance.new("Part", Character)
- local robot2 = Instance.new("Part", Character)
- local robot3 = Instance.new("Part", Character)
- local robot4 = Instance.new("Part", Character)
- local robot5 = Instance.new("Part", Character)
- local mesh5 = Instance.new("CylinderMesh", robot5)
- local robot6 = Instance.new("Part", Character)
- local robot7 = Instance.new("Part", Character)
- local robot8 = Instance.new("Part", Character)
- local robot9 = Instance.new("Part", Character)
- local robot10 = Instance.new("Part", Character)
- local shieldframe = Instance.new("SurfaceGui", shield)
- shieldframe.Face = "Front"
- local shielda = Instance.new("ImageLabel", shieldframe)
- shielda.Size = UDim2.new(1, 0, 1, 0)
- shielda.Image = "rbxassetid://1245317611"
- shielda.BackgroundTransparency = 1
- shielda.BorderSizePixel = 0
- local shieldb = shieldframe:Clone()
- shieldb.Parent = shield
- shieldb.Face = "Back"
- local righthandle = cp(tube, "White", Vector3.new(1,1,1))
- weld(ch["Torso"], righthandle, cfn(-2.5, 1.9, -1.7))
- righthandle.Transparency = 1
- local lefthandle = cp(tube, "White", Vector3.new(1,1,1)) --1.45, 2.25, 3.45,2.7,3,-3)
- weld(ch["Torso"], lefthandle, cfn(-1.5, 1.9, -1.7))
- lefthandle.Transparency = 1
- shield.Name = "shield"
- shield.Parent = Character
- shield.Position = torso.Position
- shield.Size = Vector3.new(3,3,.001)
- shield.CanCollide = false
- robot.Transparency = 0
- robot.Name = "robot1"
- robot.Material = "Metal"
- robot.BrickColor = BrickColor.new("Medium stone grey")
- robot.Position = torso.Position
- robot.Size = Vector3.new(.8,1.4,.8)
- robot.CanCollide = false
- robot2.Transparency = 0
- robot2.Name = "robot2"
- robot2.Parent = Character
- robot2.Material = "Neon"
- robot2.BrickColor = BrickColor.new("Really black")
- robot2.Position = torso.Position
- robot2.Size = Vector3.new(.15,.15,1.15)
- robot2.CanCollide = false
- robot3.Transparency = 0
- robot3.Name = "robot3"
- robot3.Parent = Character
- robot3.Material = "Metal"
- robot3.BrickColor = BrickColor.new("Medium stone grey")
- robot3.Position = torso.Position
- robot3.Size = Vector3.new(1.1,.2,.2)
- robot3.CanCollide = false
- robot4.Transparency = 0
- robot4.Name = "robot4"
- robot4.Parent = Character
- robot4.Material = "Neon"
- robot4.BrickColor = BrickColor.new("Really black")
- robot4.Position = torso.Position
- robot4.Transparency = 0
- robot4.CanCollide = false
- robot4.Size = Vector3.new(.15,.15,1.15)
- robot5.Transparency = 0
- robot5.CanCollide = false
- robot5.Name = "robot5"
- robot5.Parent = Character
- robot5.Material = "Neon"
- robot5.BrickColor = BrickColor.new("Cool yellow")
- robot5.Position = torso.Position
- robot5.Size = Vector3.new(.3,.5,.3)
- robot6.Transparency = 0
- robot6.Name = "robot6"
- robot6.Parent = Character
- robot6.CanCollide = false
- robot6.Material = "Neon"
- robot6.BrickColor = BrickColor.new("Fawn brown")
- robot6.Position = torso.Position
- robot6.Size = Vector3.new(1,.15,.15)
- robot7.Transparency = 0
- robot7.CanCollide = false
- robot7.Name = "robot7"
- robot7.Material = "Neon"
- robot7.BrickColor = BrickColor.new("Cool yellow")
- robot7.Parent = Character
- robot7.Position = torso.Position
- robot7.Size = Vector3.new(.25,1,.25)
- robot8.Transparency = 0
- robot8.Name = "robot8"
- robot8.Parent = Character
- robot8.Material = "Neon"
- robot8.CanCollide = false
- robot8.BrickColor = BrickColor.new("Cool yellow")
- robot8.Position = torso.Position
- robot8.Size = Vector3.new(.25,1,.25)
- robot9.Transparency = 0
- robot9.Name = "robot9"
- robot9.Parent = Character
- robot9.Material = "Metal"
- robot9.CanCollide = false
- robot9.BrickColor = BrickColor.new("Medium stone grey")
- robot9.Position = torso.Position
- robot9.Size = Vector3.new(.35,.35,1.9)
- robot10.Name = "robot10"
- robot10.Parent = Character
- robot10.Material = "Metal"
- robot10.BrickColor = BrickColor.new("Medium stone grey")
- robot10.Position = torso.Position
- robot10.CanCollide = false
- robot10.Size = Vector3.new(.35,.35,1.9)
- local bw2 = Weld(robot2, torso, -2.2, 2.8, 3.20,3,0,0)
- bw2.Parent = Character
- bw2.Name = "bw2"
- local bw3 = Weld(robot3, torso, -2, 2.9, 3.75,0,0,0)
- bw3.Parent = Character
- bw3.Name = "bw3"
- local bw4 = Weld(robot4, torso, -1.8, 2.8, 3.20,3,0,0)
- bw4.Parent = Character
- bw4.Name = "bw4"
- local bw5 = Weld(robot5, torso, -2, 2.9, 3,0,0,0)
- bw5.Parent = Character
- bw5.Name = "bw5"
- local bw6 = Weld(robot6, torso, -2, 2.9, 3,0,0,0)
- bw6.Parent = Character
- bw6.Name = "bw6"
- local bw7 = Weld(robot7, torso, -1.5, 2.8, 3.8,3,3,-2.8)
- bw7.Parent = Character
- bw7.Name = "bw7"
- local bw8 = Weld(robot8, torso, -2.5, 2.8, 3.8,3,-3,2.8)
- bw8.Parent = Character
- bw8.Name = "bw8"
- local bw9 = Weld(robot9, torso, -2.55, 2.25, 3.45,2.7,-3,3)
- bw9.Parent = Character
- bw9.Name = "bw9"
- local bw10 = Weld(robot10, torso, -1.45, 2.25, 3.45,2.7,3,-3)
- bw10.Parent = Character
- bw10.Name = "bw10"
- local bw = Weld(robot, torso, -2, 3.7, 3,0,0,0)
- bw.Parent = Character
- bw.Name = "bw"
- local aw = Weld(shield, torso, -2, 2, -1.5,0,0,0)
- aw.Parent = Character
- aw.Name = "aw"
- --[[repeat
- allahshiled = 1
- shield.CFrame = CFrame.new(0,0,1)
- allashshield = allahshiled + 1
- wait()
- until allahshiled == 100000000]]--
- function addCoolDown(move)
- local a = {
- timeleft = moves[move].cooldown,
- move = move
- }
- table.insert(cooldowns, a)
- end
- addMove("taunt", "h", 3, function()
- deb = false
- idle = true
- game:GetService("Chat"):Chat(head, math.random(1000), 2)
- local RandomTaunt = math.random(1, 6)
- for i = 0, 1, 0.1 do
- end
- if RandomTaunt == 1 then
- game:GetService("Chat"):Chat(head, "Trinitatis novum", 2)
- elseif RandomTaunt == 2 then
- game:GetService("Chat"):Chat(head, "limbo.?", 2)
- elseif RandomTaunt == 3 then
- game:GetService("Chat"):Chat(head, "only gamble.", 2)
- elseif RandomTaunt == 4 then
- game:GetService("Chat"):Chat(head, "go away.", 2)
- elseif RandomTaunt == 5 then
- game:GetService("Chat"):Chat(head, "you're bad.", 2)
- elseif RandomTaunt == 6 then
- game:GetService("Chat"):Chat(head, "ultimus trinity", 2)
- end
- local a = addToCList("taunt", "h")
- waitForUp(a)
- addCoolDown("taunt")
- deb = false
- idle = true
- reset()
- animPlaying = false
- end, -50)
- addMove("terra", "j", 100, function()
- game:GetService("Chat"):Chat(head, "Terra Nova", 3)
- deb = false
- idle = true
- local pcaf = tor.CFrame
- terranovaspawn:Play()
- local terra = Instance.new("Model", workspace)
- terra.Name = "terra"
- local terranova = cp(terra, "Grime", Vector3.new(33.3,2,33.3), true, true)
- terranova.CFrame = pcaf * CFrame.new(0, 100, 0)
- terranova.Material = "Grass"
- terranova.CanCollide = true
- terranova.Name = "trinityterra"
- local terranovaglow = cp(workspace, "Grime", Vector3.new(33.4,2.1,33.4), true, true)
- terranovaglow.CFrame = terranova.CFrame
- terranovaglow.Material = "Neon"
- terranovaglow.CanCollide = false
- terranovaglow.Transparency = 0.7
- local terranovan = cp(terra, "Really black", Vector3.new(32,16,32), true, true)
- terranovan.CFrame = terranova.CFrame * CFrame.new(0, -8, 0)
- terranovan.Material = "Neon"
- terranovan.CanCollide = false
- local terralaser = cp(terra, "Cool yellow", Vector3.new(3,2048,3), true, true)
- terralaser.CFrame = terranova.CFrame * CFrame.new(0, -20, 0)
- terralaser.Material = "Neon"
- terralaser.CanCollide = false
- terralaser.Transparency = 0.333
- local terradrilllaser = Instance.new("CylinderMesh", terralaser)
- local terradrill = cp(terra, "Cool yellow", Vector3.new(15,2048,15), true, true)
- terradrill.CFrame = terranova.CFrame * CFrame.new(0, -20, 0)
- terradrill.Material = "Neon"
- terradrill.CanCollide = false
- terradrill.Transparency = 0.333
- local terradrillmesh = Instance.new("CylinderMesh", terradrill)
- local gravityfield = cp(terra, "Cool yellow", Vector3.new(25,25,25), true, true)
- gravityfield.CFrame = terranova.CFrame * CFrame.new(0, -5, 0)
- gravityfield.Material = "Neon"
- gravityfield.CanCollide = false
- gravityfield.Transparency = 0
- local gravitationalfieldmesh = Instance.new("SpecialMesh", gravityfield)
- local lowertrin = Instance.new("Part",terra)
- lowertrin.CFrame = terranova.CFrame * CFrame.new(0,-104,0)
- lowertrin.Size = Vector3.new(30,.2,30)
- lowertrin.Transparency = 1
- lowertrin.Anchored = true
- gravitationalfieldmesh.MeshType = "FileMesh"
- gravitationalfieldmesh.MeshId = "rbxassetid://3270017"
- gravitationalfieldmesh.TextureId = "rbxassetid://408737564"
- gravitationalfieldmesh.Scale = Vector3.new(333,333,150)
- gravityfield.Orientation = Vector3.new(90,0,0)
- local loterragui = Instance.new("SurfaceGui", lowertrin)
- loterragui.Face = "Top"
- local loterraguiframe = Instance.new("ImageLabel", loterragui)
- loterraguiframe.Size = UDim2.new(1, 0, 1, 0)
- loterraguiframe.BackgroundTransparency = 1
- loterraguiframe.BorderSizePixel = 0
- loterraguiframe.Image = "rbxassetid://1245317611"
- loterraguiframe.ImageTransparency = 0.1
- local bm = blo(terranova)
- bm.Scale = Vector3.new(0,1,0)
- bm.Scale = Vector3.new(0,0,0)
- addFx(terranova, 0.05, nil, function()
- bm.Scale = bm.Scale + Vector3.new(0.05, .05, 0.05)
- end)
- local bm = blo(terranovan)
- bm.Scale = Vector3.new(0,0,0)
- bm.Scale = Vector3.new(0,0,0)
- addFx(terranovan, 0.05, nil, function()
- bm.Scale = bm.Scale + Vector3.new(0.05, .05, 0.05)
- end)
- local terragui = Instance.new("SurfaceGui", terranova)
- terragui.Face = "Top"
- local terraguiframe = Instance.new("ImageLabel", terragui)
- terraguiframe.Size = UDim2.new(1, 0, 1, 0)
- terraguiframe.BackgroundTransparency = 1
- terraguiframe.BorderSizePixel = 0
- terraguiframe.Image = "rbxassetid://1245317611"
- terraguiframe.ImageTransparency = 1
- wait (.3)
- terraguiframe.ImageTransparency = 0.3
- terraguiframe.ImageColor3 = Color3.new(255, 25, 25)
- local underterra = terragui:Clone()
- underterra.Parent = terranovan
- underterra.Face = "Bottom"
- local a = addToCList("terra", "j")
- rootpart.CFrame = terranova.CFrame * CFrame.new(0,5,0)
- terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terradrillhowl:Play()
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait (.5)
- terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terradrillhowl:Play()
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait (.5)
- terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0) -- yee
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terradrillhowl:Play()
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait (.5)
- terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.5,1,1,5)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terradrillhowl:Play()
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait (.5)
- terradrillmesh.Scale = Vector3.new(1.1,1,1.1)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(1.3,1,1.3)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait(.5)
- terradrillmesh.Scale = Vector3.new(0,0,0)
- terranova.CFrame = terranova.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovan.CFrame = terranovan.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- terranovaglow.CFrame = terranovaglow.CFrame * CFrame.fromEulerAnglesXYZ(0,.01,0)
- wait ()
- terranova:Destroy()
- terranovan:Destroy()
- terradrill:Destroy()
- terralaser:Destroy()
- terranovaglow:Destroy()
- gravityfield:Destroy()
- waitForUp(a)
- addCoolDown("terra")
- deb = false
- idle = true
- reset()
- animPlaying = false
- end, 150)
- addMove("block_normal", "f", 0.5, function()
- game:GetService("Chat"):Chat(head, "Trinitatis protector", 2)
- deb = true
- idle = false
- local ws = hum.WalkSpeed
- tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
- hum.WalkSpeed = 0
- tweenTable = {}
- animPlaying = true
- local pcf = tor.CFrame
- Tween(rj, cfn() * ang(0, mr(-45), 0), 0.2)
- Tween(rw, cfn() * ang(mr(-86), mr(-15), 0), 0.2)
- Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
- blocksound:Play()
- local block = cp(workspace, "Cool yellow", Vector3.new(33,33,33), true, true)
- block.CFrame = pcf * CFrame.new(0, 0, 0)
- block.Material = "Neon"
- block.CanCollide = false
- block.Transparency = .333
- local bm = blo(block)
- bm.Scale = Vector3.new(0, 0, 0.9)
- addFx(block, 0.05, nil, function()
- bm.Scale = bm.Scale + Vector3.new(0.05, 0.05, 0.05)
- end)
- local a = addToCList("block_connect", "f")
- waitForUp(a)
- addCoolDown("block_normal")
- hum.WalkSpeed = ws
- deb = false
- addFx(block, 0.05, "destroy", function()
- block.Transparency = block.Transparency + 0.05
- block.bmsh.Scale = block.bmsh.Scale + Vector3.new(-0.07, -0.07, -0.07)
- end)
- idle = true
- reset()
- animPlaying = false
- end, 15)
- addMove("curse", "g", 10, function()
- game:GetService("Chat"):Chat(head, "Trinima, morbus tuus", 2)
- deb = true
- idle = false
- animPlaying = true
- canRunLeg = true
- tweenTable = {}
- altTweenTable = {}
- Tween(rj, cfn() * ang(0, mr(-90), 0), 0.2)
- Tween(rw, cfn() * ang(0, 0, mr(-90)), 0.2)
- Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
- tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
- wait(0.15)
- curse:Play()
- addCoolDown("curse")
- local bullet = cp(tube, "White", Vector3.new(1, 1, 1))
- bullet.Material = "Neon"
- bullet.CFrame = CFrame.new(tube.lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
- bullet.Transparency = 1
- local bulletfx = bullet:clone()
- bulletfx.Transparency = 1
- bulletfx.Parent = bullet
- bulletfx.Anchored = true
- sphere(bulletfx)
- local angle = 0
- local lastpoint = bullet.CFrame
- addMover(bullet, 0.8, function()
- angle = angle + 1
- local angles = CFrame.Angles(0, 0, mr(angle))
- bulletfx.CFrame = bullet.CFrame
- local fxp = cp(tube, "Cool yellow", Vector3.new(1, 1, 1), true)
- fxp.CFrame = bulletfx.CFrame
- local bmesh = int("SpecialMesh", fxp)
- bmesh.MeshType = "FileMesh"
- bmesh.MeshId = rbx .. lib.ring
- bmesh.Scale = Vector3.new(2, 2, 2)
- addFx(fxp, 0.07, "destroy", function()
- bulletfx.CFrame = bullet.CFrame
- bmesh.Scale = bmesh.Scale - Vector3.new(0.1, 0.1, 0)
- fxp.Transparency = fxp.Transparency + 0.07
- end)
- end)
- bullet.Touched:connect(function(p)
- if not p:isDescendantOf(ch) then
- do
- local thing
- local region = CreateRegion3FromLocAndSize(bullet.Position, bullet.Size * 2)
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 50)) do
- if v.Parent and v.Parent:findFirstChild("Humanoid") then
- thing = v
- break
- end
- end
- local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true)
- mgp.Transparency = 1
- mgp.CFrame = bullet.CFrame
- game.Debris:AddItem(mgp, 3)
- local tsound = glass:clone()
- tsound.Volume = 2
- tsound.Parent = mgp
- tsound:Play()
- local position = bullet.CFrame
- if thing and thing.Parent then
- dealDamage(thing.Parent, 10, 16)
- do
- local humin = thing.Parent.Humanoid
- spawn(function()
- for i = 1, 10 do
- wait(1)
- if thing.Parent then
- dealDamage(thing.Parent, 0.05 * humin.MaxHealth, 10000, 10000, 10000)
- end
- end
- end)
- end
- end
- local blast = cp(tube, "Cool yellow", Vector3.new(2, 2, 2), true, false)
- blast.Material = "Neon"
- local spm2 = blo(blast)
- spm2.Name = "mesh"
- blast.CFrame = CFrame.new(position.X, position.Y, position.Z) * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
- if p.Name == "Torso" or p.Parent and p.Parent:findFirstChild("Torso") then
- blast.CFrame = p.Parent.Torso.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
- end
- for i = 1, 5 do
- do
- local fx = blast:clone()
- fx.Parent = tube
- fx.CFrame = blast.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
- addFx(fx, 0.05, "destroy", function()
- fx.mesh.Scale = fx.mesh.Scale + Vector3.new(0.1, 0.1, 0.1)
- fx.Transparency = fx.Transparency + 0.05
- end)
- end
- end
- addFx(blast, 0.05, "destroy", function()
- spm2.Scale = spm2.Scale + Vector3.new(0.1, 0.1, 0.1)
- blast.Transparency = blast.Transparency + 0.05
- end)
- bullet:Destroy()
- bulletfx:Destroy()
- end
- end
- end)
- game.Debris:AddItem(bullet, 3)
- local bv = int("BodyVelocity", bullet)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = bullet.CFrame.lookVector * 150
- wait(0.5)
- reset()
- deb = false
- canRunLeg = false
- animPlaying = false
- end, 60)
- local bg = false
- addMove("beam", "e", 5, function()
- game:GetService("Chat"):Chat(head, "Trinima Laser Trinitatis", 2)
- tweenTable = {}
- animPlaying = true
- idle = false
- deb = true
- local pcf = tor.CFrame
- canRunLeg = true
- startsound:Play()
- chargesound.Looped = true
- chargesound:Play()
- Tween(rj, cfn() * ang(0, mr(-90), 0), 0.2)
- Tween(rw, cfn() * ang(0, 0, mr(-90)), 0.2)
- Tween(lw, cfn() * ang(0, mr(5), mr(20)), 0.2)
- bg = true
- local a = addToCList("beam_connect", "e")
- local charge = cp(tube, "Fawn brown", Vector3.new(1, 1, 1))
- charge.Material = "Neon"
- local spm = int("SpecialMesh", charge)
- spm.MeshType = "Sphere"
- spm.Name = "sphere"
- weld(ch["Right Arm"], charge, cfn(0, -2, 0))
- local up = false
- local multiplier = 1
- local cn = chargesound.DidLoop:connect(function()
- local fx = charge:clone()
- fx.Parent = tube
- fx.CFrame = charge.CFrame
- weld(charge, fx, cfn())
- addFx(fx, 0.07, "destroy", function()
- if fx and fx:findFirstChild("sphere") then
- fx.sphere.Scale = fx.sphere.Scale + Vector3.new(3, 3, 3)
- fx.Transparency = fx.Transparency + 0.07
- end
- end)
- end)
- spawn(function()
- repeat
- wait()
- if spm.Scale.X < 7 then
- spm.Scale = spm.Scale + Vector3.new(0.05, 0.05, 0.05)
- multiplier = multiplier + 0.1
- end
- until up == true
- end)
- waitForUp(a)
- cn:Disconnect()
- up = true
- addCoolDown("beam")
- chargesound:Stop()
- endsound:Play()
- local ringFx = cp(tube, "White", Vector3.new(2, 2, 2), true, false)
- ringFx.CFrame = charge.CFrame * ang(mr(-90), 0, 0)
- ringFx.Material = "Neon"
- local spm = int("SpecialMesh", ringFx)
- spm.MeshId = rbx .. lib.ring
- spm.Scale = Vector3.new(2, 2, 2)
- addFx(ringFx, 0.08, "destroy", function()
- spm.Scale = spm.Scale + Vector3.new(0.2, 0.2, 0)
- ringFx.Transparency = ringFx.Transparency + 0.08
- end)
- local beam = cp(tube, "Cool yellow", Vector3.new(5, 5, 5), true, false)
- local ray = Ray.new(charge.CFrame.p, (mouse.Hit.p - charge.CFrame.p).unit * 300)
- local part, position = workspace:FindPartOnRay(ray, ch, false, true)
- local distance = (charge.CFrame.p - position).magnitude
- beam.Size = Vector3.new(3, 3, distance)
- beam.Material = "Neon"
- beam.CFrame = CFrame.new(charge.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
- local blast = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true, false)
- blast.Material = "Neon"
- blast.CFrame = CFrame.new(position.X, position.Y, position.Z)
- local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
- local people = {}
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
- if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
- local can = false
- if not v.Parent:findFirstChild("HitDeb") then
- can = true
- end
- if can == true then
- local db = Instance.new("StringValue", v.Parent)
- db.Name = "HitDeb"
- game.Debris:AddItem(db, 0.5)
- local humin = v.Parent.Humanoid
- if humin then
- local php = humin.Health
- dealDamage(humin.Parent, 20 * multiplier, 10000)
- humin.Sit = true
- humin.PlatformStand = true
- if php <= humin.Health and humin.MaxHealth ~= math.huge then
- print("equal")
- humin:TakeDamage(20 * multiplier)
- end
- end
- end
- end
- end
- local blastsound = getSound(262562443)
- blastsound.Parent = blast
- blastsound.Volume = 5
- blastsound:Play()
- blastsound:Stop()
- blastsound:Play()
- canRunLeg = false
- runLeg = false
- animPlaying = false
- tweenTable = {}
- local spm2 = int("SpecialMesh", blast)
- spm2.MeshType = "Sphere"
- addFx(blast, 0.008, "destroy", function()
- spm2.Scale = spm2.Scale + Vector3.new(0.05, 0.05, 0.05)
- blast.Transparency = blast.Transparency + 0.008
- end)
- addFx(beam, 0.1, "destroy", function()
- beam.Transparency = beam.Transparency + 0.1
- end)
- addFx(charge, 0.1, "destroy", function()
- charge.Transparency = charge.Transparency + 0.1
- end)
- bg = false
- run = false
- idle = true
- reset()
- deb = false
- end, 60)
- addMove("downslam", "q", 4, function()
- game:GetService("Chat"):Chat(head, "Trinima Ululate aeria", 2) --Ululate aeria
- currentkey = key
- deb = true
- animPlaying = true
- altTweenTable = {}
- tweenTable = {}
- local rv = tor.CFrame.upVector
- local bv = int("BodyVelocity", tor)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = rv * -150
- rushsound:Play()
- Tween(rj, cfn() * ang(mr(180), 0, 0))
- Tween(rw, cfn() * ang(mr(-180), 0, 0))
- Tween(lw, cfn() * ang(mr(-180), 0, 0))
- addCoolDown("downslam", 4)
- spawn(function()
- while true do
- wait()
- do
- local cfx = cp(tube, "Cool yellow", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- if Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2 then
- break
- end
- end
- end
- end)
- wait()
- bv:Destroy()
- multiplier = 1
- repeat
- wait()
- until Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2
- local bhit, pos = FindGround(cn(tor.CFrame.p), ch)
- local blast = cp(tube, "White", Vector3.new(10, 10, 10), true, false)
- blast.CFrame = pos
- local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 3)
- local people = {}
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
- if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
- local can = false
- if not v.Parent:findFirstChild("HitDeb") then
- can = true
- end
- if can == true then
- local db = Instance.new("StringValue", v.Parent)
- db.Name = "HitDeb"
- game.Debris:AddItem(db, 0.5)
- local humin = v.Parent.Humanoid
- if humin then
- local php = humin.Health
- dealDamage(humin.Parent, 20 * multiplier, 10000)
- humin.Sit = true
- humin.PlatformStand = true
- if php <= humin.Health and humin.MaxHealth ~= math.huge then
- print("equal")
- humin:TakeDamage(20 * multiplier)
- end
- end
- end
- end
- end
- local sp = sphere(blast)
- blast.Material = "Neon"
- landsound:Play()
- addFx(blast, 0.02, "destroy", function()
- sp.Scale = sp.Scale + Vector3.new(0.1, 0.1, 0.1)
- blast.Transparency = blast.Transparency + 0.02
- end)
- animPlaying = false
- deb = false
- end, 40)
- addMove("aerialsword", "r", 15, function()
- game:GetService("Chat"):Chat(head, "Trinima Ultima tormentum",2)
- deb = true
- animPlaying = true
- tweenTable = {}
- altTweenTable = {}
- canExecuteMoves = false
- idle = false
- run = false
- aerialcharge:Play()
- Tween(rw, cfn() * ang(mr(-90), 0, 0))
- local bp, bgg
- local a = addToCList("aerialsword", "r")
- local still = true
- bp = int("BodyPosition", tor)
- bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bp.Position = tor.Position
- local sphr = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true)
- sphr.Transparency = 1
- sphr.Material = "Neon"
- local spho = sphere(sphr)
- spho.Name = "spho"
- spho.Scale = Vector3.new(0, 0, 0)
- sphr.CFrame = tor.CFrame
- addFx(sphr, 0.07, nil, function()
- spho.Scale = spho.Scale + Vector3.new(0.1, 0.1, 0.1)
- sphr.Transparency = sphr.Transparency - 0.07
- end)
- Delay(6, function()
- if not a.up then
- a.up = true
- end
- end)
- repeat
- wait(0.3)
- local b = depleteMana(35)
- if b then
- swsound:Play()
- do
- local fx = sphr:clone()
- fx.Parent = tube
- fx.CFrame = sphr.CFrame
- addFx(fx, 0.07, "destroy", function()
- fx.spho.Scale = fx.spho.Scale + Vector3.new(0.1, 0.1, 0.1)
- fx.Transparency = fx.Transparency + 0.07
- end)
- local sw = int("Part")
- game.Debris:AddItem(sw, 6)
- sw.CanCollide = false
- sw.Anchored = false
- sw.BrickColor = BrickColor.new("Cool yellow")
- sw.Material = "Neon"
- sw.Size = Vector3.new(1, 1, 2)
- sw.CFrame = CFrame.new(lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
- sw.Parent = tube
- sw.Transparency = 1
- addFx(sw, 0.1, nil, function()
- sw.Transparency = sw.Transparency - 0.1
- end)
- local spm = int("SpecialMesh", sw)
- spm.MeshType = "FileMesh"
- spm.MeshId = rbx .. lib.yato
- spm.Scale = Vector3.new(0.05, 0.05, 0.05)
- local vel = int("BodyVelocity", sw)
- vel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- vel.Velocity = sw.CFrame.lookVector * 152
- sw.CFrame = sw.CFrame * ang(0, mr(180), 0)
- sw.Touched:connect(function(p)
- if p:IsDescendantOf(ch) == false then
- sw.Anchored = true
- do
- local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true, false)
- mgp.CFrame = sw.CFrame
- mgp.Transparency = 1
- game.Debris:AddItem(mgp, 2)
- ssp = swexp:clone()
- ssp.Parent = mgp
- ssp.Volume = 2
- ssp:Play()
- local blast = cp(tube, "Cool yellow", Vector3.new(8, 8, 8), true)
- blast.CFrame = sw.CFrame
- local sp = sphere(blast)
- addFx(sw, 0.05, "destroy", function()
- sw.Transparency = sw.Transparency + 0.05
- spm.Scale = spm.Scale + Vector3.new(0.01, 0.01, 0.01)
- end)
- addFx(blast, 0.07, "destroy", function()
- blast.Transparency = blast.Transparency + 0.07
- sp.Scale = sp.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
- local people = {}
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
- if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
- local can = false
- if not v.Parent:findFirstChild("HitDeb") then
- can = true
- end
- if can == true then
- local db = Instance.new("StringValue", v.Parent)
- db.Name = "HitDeb"
- game.Debris:AddItem(db, 0.2)
- local humin = v.Parent.Humanoid
- if humin then
- local php = humin.Health
- dealDamage(humin.Parent, 20 + math.random(50000), 50000)
- humin.Sit = true
- if php <= humin.Health and humin.MaxHealth ~= math.huge then
- print("equal")
- humin:TakeDamage(20000)
- end
- end
- end
- end
- end
- end
- end
- end)
- end
- else
- a.up = true
- end
- until a.up == true
- addFx(sphr, 0.07, "destroy", function()
- sphr.Transparency = sphr.Transparency + 0.07
- spho.Scale = spho.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- still = false
- spawn(function()
- wait(0.3)
- canExecuteMoves = true
- end)
- bp:Destroy()
- tor.Anchored = false
- deb = false
- animPlaying = false
- reset()
- end, 200)
- addMove("basic", "mb1", 0.001, function()
- tweenTable = {}
- animPlaying = true
- deb = true
- canRunLeg = true
- torso.CFrame = CFrame.new(torso.Position, Vector3.new(mouse.Hit.p.X, torso.Position.Y, mouse.Hit.p.Z))
- bg = true
- idle = false
- basicsound:Play()
- if basicswitch == false then
- Tween(rw, cfn() * ang(mr(0), mr(0), 0.3), 0)
- Tween(rj, cfn() * ang(0, mr(0), 0), 0)
- else
- Tween(lw, cfn() * ang(mr(0), mr(0), 0.3), 0)
- Tween(rj, cfn() * ang(0, mr(0), 0), 0)
- end
- wait(0.06)
- local bullet = cp(tube, "Cool yellow", Vector3.new(1, 1, 1), false, false)
- bullet.Transparency = 1
- if basicswitch == false then
- bullet.CFrame = righthandle.CFrame
- bullet.CFrame = CFrame.new(righthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
- basicswitch = true
- else
- bullet.CFrame = lefthandle.CFrame
- bullet.CFrame = CFrame.new(lefthandle.CFrame.p, Vector3.new(m.Hit.p.X, m.Hit.p.Y, m.Hit.p.Z))
- basicswitch = false
- end
- local bv = int("BodyVelocity", bullet)
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = bullet.CFrame.lookVector * 33
- local bulletfx = cp(tube, "Really black", Vector3.new(.3, .3, .3), true, false)
- bulletfx.CFrame = bullet.CFrame
- bulletfx.Material = "Neon"
- sphere(bulletfx)
- local angle = 0
- local lastpoint = bulletfx.CFrame
- addCoolDown("basic")
- addMover(bullet, 0.001, function()
- angle = angle + 1
- local angles = CFrame.Angles(math.rad(angle), mr(angle), 0)
- bulletfx.CFrame = bullet.CFrame
- bulletfx.CFrame = bulletfx.CFrame * angles
- if 1 < (lastpoint.p - bulletfx.CFrame.p).magnitude then
- do
- local line = drawLine(lastpoint.p, bulletfx.CFrame.p, "Cool yellow", angles)
- addFx(line, 0.005, "destroy", function()
- line.blok.Scale = line.blok.Scale + Vector3.new(0.001, 0.001, 0)
- line.Transparency = line.Transparency + 0.05
- end)
- lastpoint = bulletfx.CFrame
- end
- end
- end)
- bullet.Touched:connect(function(p)
- if not p:isDescendantOf(ch) then
- do
- local thing
- local region = CreateRegion3FromLocAndSize(bullet.Position, bullet.Size * 1)
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 5)) do
- if v.Parent and v.Parent:findFirstChild("Humanoid") then
- thing = v
- break
- end
- end
- local explosound = getSound(142070128)
- explosound.Volume = 0.8
- explosound.Pitch = 1.2
- explosound.Parent = p
- explosound:Play()
- local position = bullet.CFrame
- if thing and thing.Parent then
- dealDamage(thing.Parent, 5, 7)
- end
- local blast = cp(tube, "Cool yellow", Vector3.new(2, 2, 2), true, false)
- blast.Material = "Neon"
- local spm2 = sphere(blast)
- blast.CFrame = CFrame.new(position.X, position.Y, position.Z)
- addFx(blast, 0.05, "destroy", function()
- spm2.Scale = spm2.Scale + Vector3.new(0.1, 0.1, 0.1)
- blast.Transparency = blast.Transparency + 0.05
- end)
- bullet:Destroy()
- bulletfx:Destroy()
- end
- end
- end)
- game.Debris:AddItem(bullet, 2.5)
- game.Debris:AddItem(bulletfx, 2.5)
- wait(0.1)
- idle = true
- reset()
- deb = false
- animPlaying = false
- bg = false
- end, 20)
- local dumbbox, dhand
- local darknum = 1
- addMove("darkslash", "r", 2, function()
- Handle.Transparency = 1
- wait (.01)
- game:GetService("Chat"):Chat(head, "DE DIVINA TRINITATE ICTUS", 2)
- local oldspeed = hum.WalkSpeed
- hum.WalkSpeed = 0
- local meshd = "http://www.roblox.com/asset/?id=12171188"
- tweenTable = {}
- altTweenTable = {}
- deb = true
- animPlaying = true
- canRunLeg = true
- startsound2:Play()
- local sp = cp(tube, "Cool yellow", Vector3.new(10, 10, 10), false, false)
- sp.Material = "Neon"
- sp.CFrame = tor.CFrame
- sp.Transparency = 0.5
- local sph = sphere(sp)
- addFx(sp, 0.07, "destroy", function()
- sph.Scale = sph.Scale - Vector3.new(0.05, 0.05, 0.05)
- sp.Transparency = sp.Transparency + 0.035
- end)
- spawn(function()
- for i = 1, 10 do
- wait()
- do
- local cool1 = cp(tube, "Institutional white", Vector3.new(1.5, 1.5, 1.5), true)
- cool1.Material = "Neon"
- local ms1 = blo(cool1)
- cool1.CFrame = tube.lefthandle.CFrame * ang(mr(math.random(90)), mr(math.random(90)), mr(math.random(90)))
- addFx(cool1, 0.07, "destroy", function()
- ms1.Scale = ms1.Scale + Vector3.new(0.08, 0.08, 0.08)
- cool1.Transparency = cool1.Transparency + 0.07
- end)
- end
- end
- end)
- addCoolDown("darkslash")
- local allahsword = cp(tube, "White", Vector3.new(1, 1, 1))
- local critmultiplier = 2.4
- local spm = int("SpecialMesh", allahsword)
- spm.MeshType = "FileMesh"
- spm.MeshId = meshd
- allahsword.Transparency = 1
- tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
- local tv = Vector3.new(tor.CFrame.lookVector.X, 0, tor.CFrame.lookVector.Z)
- local col = BrickColor.new("Cool yellow").Color
- spm.TextureId = rbx .. "132155326"
- spm.Name = "mesh"
- spm.VertexColor = Vector3.new(0, 0, 0)
- spm.Scale = Vector3.new(1, 1, 1)
- addFx(allahsword, 0.05, nil, function()
- allahsword.Transparency = allahsword.Transparency - 0.05
- end)
- weld(ch["Right Arm"], allahsword, cfn(0, -4, -0.5) * ang(mr(110), 0, mr(180)))
- Tween(rj, cfn() * ang(0, mr(-90), 0))
- Tween(rw, cfn(0.5, 0.5, 0.5) * ang(mr(-55), mr(-35), 0))
- Tween(lw, cfn(-0.5, 0.5, 0.5) * ang(mr(-55), mr(35), 0))
- Delay(0.08, function()
- local tstvel = int("BodyVelocity", tor)
- tstvel.MaxForce = Vector3.new(math.huge, 0, math.huge)
- tstvel.Velocity = tv * 35
- game.Debris:AddItem(tstvel, 0.24)
- end)
- wait(0.22)
- local hitbox = cp(tube, "White", Vector3.new(2, 12, 2))
- hitbox.Transparency = 1
- hitbox.CFrame = allahsword.CFrame
- dumbbox = hitbox
- dumbhand = allahsword
- swoosh:Play()
- spawn(function()
- for i = 1, 10 do
- wait()
- do
- local trl = allahsword:clone()
- trl.Parent = tube
- trl.CFrame = allahsword.CFrame
- addFx(trl, 0.07, "destroy", function()
- trl.Transparency = trl.Transparency + 0.07
- end)
- end
- end
- end)
- addFx(allahsword, 0.05, "destroy", function()
- allahsword.Transparency = allahsword.Transparency + 0.05
- spm.Scale = spm.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- hitbox.Touched:connect(function(v)
- if v and v.Parent and v.Parent:findFirstChild("Humanoid") and not v:IsDescendantOf(ch) then
- local can = false
- if not v.Parent:findFirstChild("HitDeb") then
- can = true
- end
- if can == true then
- local sls = getSound(131166206)
- sls.Pitch = 1 + math.random(3) / 10
- sls.Parent = v
- sls:Play()
- local db = Instance.new("StringValue", v.Parent)
- db.Name = "HitDeb"
- game.Debris:AddItem(db, 0.5)
- dealDamage(v.Parent, 1 + math.random(40), 60, critmultiplier)
- end
- end
- end)
- Tween(rj, cfn(0, 0, 0) * ang(mr(0), mr(90), 0))
- Tween(rw, cfn(0.5, 0.8, 0) * ang(mr(-80), mr(-35), 0))
- Tween(lw, cfn(-0.5, 0.8, 0) * ang(mr(-90), mr(35), 0))
- wait(0.2)
- hitbox:Destroy()
- hum.WalkSpeed = oldspeed
- reset()
- animPlaying = false
- canRunLeg = false
- deb = false
- wait (.1)
- Handle.Transparency = .9
- wait (.1)
- Handle.Transparency = .8
- wait (.1)
- Handle.Transparency = .6
- wait (.1)
- Handle.Transparency = .4
- wait (.1)
- Handle.Transparency = .2
- wait (.1)
- Handle.Transparency = 0
- end, 80)
- addMove("darkspikes", "t", 0.4, function() --ADMORDEO
- game:GetService("Chat"):Chat(head, "ADMORDEO", 2)
- local lv = tor.CFrame
- tweenTable = {}
- animPlaying = true
- deb = true
- canRunLeg = true
- magictone1:Play()
- Tween(rj, cfn() * ang(0, mr(25), 0), 0.2)
- Tween(rw, cfn() * ang(mr(25), mr(-20), 0), 0.2)
- wait(0.2)
- Tween(rj, cfn() * ang(0, mr(-55), 0), 0.15)
- Tween(rw, cfn() * ang(mr(-115), mr(45), 0), 0.15)
- Tween(neck, cfn() * ang(0, mr(55), 0))
- local spot = 4
- for i = 1, 10 do
- wait(0.1)
- do
- local v = lv.lookVector * spot
- spot = spot + 14
- local spike = cp(tube, "Medium blue", Vector3.new(10, 1, 10), true, false)
- spike.Material = "Neon"
- spike.CFrame = lv * CFrame.new(0, 0, -spot)
- local dam = cp(tube, "Red", Vector3.new(7, 10, 7), true, false)
- dam.Material = "Neon"
- local dml = cyl(dam)
- local angls = CFrame.Angles(spike.CFrame:toEulerAnglesXYZ())
- local bhit, pos = FindGround(cn(spike.CFrame.p), ch)
- if bhit then
- spike.CFrame = pos * CFrame.new(0, 0, 0)
- do
- local mgp = cp(tube, "White", Vector3.new(1, 1, 1), true, false)
- mgp.Transparency = 1
- mgp.CFrame = spike.CFrame
- game.Debris:AddItem(mgp, 2)
- local sn = spexp:clone()
- sn.Parent = mgp
- sn.Volume = 2
- sn:Play()
- dam.CFrame = spike.CFrame * CFrame.new(0, 5, 0)
- local blast = dam
- local region = CreateRegion3FromLocAndSize(blast.Position, blast.Size * 2)
- local people = {}
- for _, v in pairs(workspace:findPartsInRegion3WithIgnoreList(region, {ch}, 100)) do
- if v and v.Parent and v.className == "Part" and v.Parent:findFirstChild("Humanoid") then
- local can = false
- if not v.Parent:findFirstChild("HitDeb") then
- can = true
- end
- if can == true then
- local db = Instance.new("StringValue", v.Parent)
- db.Name = "HitDeb"
- game.Debris:AddItem(db, 0.2)
- local humin = v.Parent.Humanoid
- if humin then
- local php = humin.Health
- dealDamage(humin.Parent, 10 + math.random(20), 30)
- local testvel = int("BodyVelocity", v)
- testvel.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- testvel.Velocity = lv.lookVector * 100
- game.Debris:addItem(testvel, 1)
- humin.Sit = true
- if php <= humin.Health and humin.MaxHealth ~= math.huge then
- print("equal")
- humin:TakeDamage(30)
- end
- end
- end
- end
- end
- local cl = cyl(spike)
- addFx(spike, 0.05, "destroy", function()
- cl.Scale = cl.Scale - Vector3.new(0.05, 0, 0.05)
- spike.Transparency = spike.Transparency + 0.05
- end)
- addFx(dml, 0.05, "destroy", function()
- dml.Scale = dml.Scale - Vector3.new(0.05, -0.05, 0.05)
- dam.Transparency = dam.Transparency + 0.05
- end)
- end
- else
- spike:Destroy()
- end
- end
- end
- wait(0.7)
- deb = false
- canRunLeg = false
- animPlaying = false
- reset()
- end, 30)
- --if mouse1 == true then
- mouse.Button1Down:connect(function()
- executeMove("basic")
- end)
- local vt
- local dodgecool = false
- function iPart(tab)
- local v = Instance.new(tab.type or "Part")
- if tab.type ~= "CornerWedgePart" then
- v.formFactor = "Custom"
- end
- v.CanCollide = false
- v.TopSurface = 0
- v.BottomSurface = 0
- v.Size = v3(tab[2], tab[3], tab[4])
- if tab.co then
- v.BrickColor = bn(tab.co)
- end
- if tab.tr then
- v.Transparency = tab.tr
- end
- if tab.rf then
- v.Reflectance = tab.rf
- end
- if tab.cf then
- v.CFrame = tab.cf
- end
- if tab.an then
- v.Anchored = tab.an
- end
- v.Parent = tab[1]
- LastMade = v
- return v
- end
- function iNew(tab)
- local v = Instance.new(tab[1])
- for Ind, Val in pairs(tab) do
- if Ind ~= 1 and Ind ~= 2 then
- v[Ind] = Val
- end
- end
- v.Parent = tab[2] == 0 and LastMade or tab[2]
- LastMade = v
- return v
- end
- local ppart = iPart({
- nil,
- 0.2,
- 0.2,
- 0.2
- })
- ppart.Material = "SmoothPlastic"
- ppart.TopSurface = "SmoothNoOutlines"
- ppart.BottomSurface = "SmoothNoOutlines"
- ppart.RightSurface = "SmoothNoOutlines"
- ppart.LeftSurface = "SmoothNoOutlines"
- ppart.Transparency = 0
- ppart.Anchored = true
- local CFrameFromTopBack = function(at, top, back)
- local right = top:Cross(back)
- return CFrame.new(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
- end
- function Triangle(a, b, c)
- local edg1 = (c - a):Dot((b - a).unit)
- local edg2 = (a - b):Dot((c - b).unit)
- local edg3 = (b - c):Dot((a - c).unit)
- if edg1 <= (b - a).magnitude and edg1 >= 0 then
- a, b = a, b
- elseif edg2 <= (c - b).magnitude and edg2 >= 0 then
- a, b, c = b, c, a
- elseif edg3 <= (a - c).magnitude and edg3 >= 0 then
- a, b, c = c, a, b
- else
- print("unreachable")
- end
- local len1 = (c - a):Dot((b - a).unit)
- local len2 = (b - a).magnitude - len1
- local width = (a + (b - a).unit * len1 - c).magnitude
- local maincf = CFrameFromTopBack(a, (b - a):Cross(c - b).unit, -(b - a).unit)
- local list = {}
- if len1 > 0.01 then
- do
- local w1 = iNew({
- "WedgePart",
- Pack,
- FormFactor = "Custom",
- BrickColor = ppart.BrickColor,
- Transparency = ppart.Transparency,
- Reflectance = ppart.Reflectance,
- Material = ppart.Material,
- CanCollide = ppart.CanCollide
- })
- w1.Parent = tube
- local sz = v3(0.2, width, len1)
- w1.Size = sz
- local sp = iNew({
- "SpecialMesh",
- w1,
- MeshType = "Wedge",
- Scale = v3(0, 1, 1) * sz / w1.Size
- })
- w1:BreakJoints()
- w1.Anchored = true
- w1.Transparency = 0.7
- Spawn(function()
- for i = 0, 1, 0.1 do
- wait()
- w1.Transparency = w1.Transparency + 0.03
- end
- end)
- w1.CFrame = maincf * ca2(math.pi, 0, math.pi / 2) * cn(0, width / 2, len1 / 2)
- table.insert(list, w1)
- end
- end
- if len2 > 0.01 then
- do
- local w2 = iNew({
- "WedgePart",
- Pack,
- FormFactor = "Custom",
- BrickColor = ppart.BrickColor,
- Transparency = ppart.Transparency,
- Reflectance = ppart.Reflectance,
- Material = ppart.Material,
- CanCollide = ppart.CanCollide
- })
- local sz = v3(0.2, width, len2)
- w2.Size = sz
- local sp = iNew({
- "SpecialMesh",
- w2,
- MeshType = "Wedge",
- Scale = v3(0, 1, 1) * sz / w2.Size
- })
- w2:BreakJoints()
- w2.Anchored = true
- w2.Transparency = 0.7
- Spawn(function()
- for i = 0, 1, 0.1 do
- wait()
- w2.Transparency = w2.Transparency + 0.03
- end
- end)
- w2.CFrame = maincf * ca2(math.pi, math.pi, -math.pi / 2) * cn(0, width / 2, -len1 - len2 / 2)
- w2.Parent = tube
- table.insert(list, w2)
- end
- end
- return unpack(list)
- end
- bclf = ch["Right Arm"].CFrame
- scfr = bclf
- ca = CFrame.Angles
- cn = CFrame.new
- v3 = Vector3.new
- function Raycast(Pos, Dir, Ign)
- return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * 300), Ign)
- end
- function FindGround(cf, ig)
- local ax, ay, az = cf:toEulerAnglesXYZ()
- local bhit, bpos = Raycast(cf.p, cf.p - (cf.p + v3(0, 200, 0)), ig)
- if bhit and bpos then
- return bhit, cn(bpos) * ca(ax, ay, az)
- end
- end
- currentkey = ""
- mouse.KeyDown:connect(function(key)
- if key == "q" and currentkey == "32" and Vector3.new(0, tor.Velocity.Y, 0).magnitude > 2 then
- executeMove("downslam")
- elseif key == "r" and currentkey == "32" and Vector3.new(0, tor.Velocity.Y, 0).magnitude > 2 then
- executeMove("aerialsword")
- end
- if string.byte(key) == 32 and canExecuteMoves == true then
- combostring = combostring .. "."
- if combostring:match("..") and dodgecool == false then
- currentkey = tostring(string.byte(key))
- animPlaying = true
- altTween(rj, cfn() * ang(mr(-15), 0, 0))
- altTween(rw, cfn() * ang(mr(10), 0, mr(-15)))
- altTween(lw, cfn() * ang(mr(10), 0, mr(15)))
- dodgecool = true
- combostring = ""
- local rv = tor.CFrame.upVector
- local bv = int("BodyVelocity", tor)
- dodgesound:Play()
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = rv * 150
- spawn(function()
- for i = 1, 14 do
- wait()
- do
- local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- end
- end
- end)
- wait()
- bv:Destroy()
- wait(0.4)
- reset()
- dodgecool = false
- wait(0.4)
- if currentkey == "32" then
- currentkey = ""
- end
- if not deb then
- animPlaying = false
- end
- end
- end
- if key == "d" and canExecuteMoves == true then
- combostring = combostring .. "d"
- if combostring:match("dd") and dodgecool == false then
- dodgecool = true
- combostring = ""
- local rv = cam.CFrame.rightVector
- local bv = int("BodyVelocity", tor)
- dodgesound:Play()
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = rv * 150
- spawn(function()
- for i = 1, 16 do
- wait()
- do
- local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- end
- end
- end)
- wait()
- bv:Destroy()
- wait(0.4)
- dodgecool = false
- end
- elseif key == "w" and canExecuteMoves == true then
- combostring = combostring .. "w"
- if combostring:match("ww") and dodgecool == false then
- dodgecool = true
- combostring = ""
- local rv = cam.CFrame:vectorToWorldSpace(Vector3.new(0, 0, -1))
- local bv = int("BodyVelocity", tor)
- dodgesound:Play()
- bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
- bv.Velocity = rv * 150
- spawn(function()
- for i = 1, 16 do
- wait()
- do
- local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- end
- end
- end)
- wait()
- bv:Destroy()
- wait(0.4)
- dodgecool = false
- end
- elseif key == "s" and canExecuteMoves == true then
- combostring = combostring .. "s"
- if combostring:match("ss") and dodgecool == false then
- dodgecool = true
- combostring = ""
- local rv = cam.CFrame:vectorToWorldSpace(Vector3.new(0, 0, 1))
- local bv = int("BodyVelocity", tor)
- dodgesound:Play()
- bv.MaxForce = Vector3.new(math.huge, 0, math.huge)
- bv.Velocity = rv * 150
- spawn(function()
- for i = 1, 16 do
- wait()
- do
- local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- end
- end
- end)
- wait()
- bv:Destroy()
- wait(0.4)
- dodgecool = false
- end
- elseif key == "a" and canExecuteMoves == true then
- combostring = combostring .. "a"
- if combostring:match("aa") and dodgecool == false then
- dodgecool = true
- combostring = ""
- local rv = cam.CFrame.rightVector
- local bv = int("BodyVelocity", tor)
- dodgesound:Play()
- bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- bv.Velocity = rv * -150
- spawn(function()
- for i = 1, 16 do
- wait()
- do
- local cfx = cp(tube, "White", Vector3.new(6, 6, 6), true, false)
- cfx.CFrame = tor.CFrame * CFrame.Angles(math.rad(math.random(90)), math.rad(math.random(90)), 0)
- local b = blo(cfx)
- addFx(cfx, 0.05, "destroy", function()
- cfx.Transparency = cfx.Transparency + 0.05
- b.Scale = b.Scale + Vector3.new(0.1, 0.1, 0.1)
- end)
- end
- end
- end)
- wait()
- bv:Destroy()
- wait(0.4)
- dodgecool = false
- end
- end
- if key == "f" then
- if deb == false then
- executeMove("block_normal")
- end
- elseif key == "h" then
- if deb == false then
- executeMove("taunt")
- end
- elseif key == "j" then
- if deb == false then
- executeMove("terra")
- end
- elseif key == "e" then
- if deb == false then
- executeMove("beam")
- end
- elseif key == "k" then
- if deb == false then
- executeMove("robot")
- end
- elseif key == "t" then
- if deb == false then
- executeMove("darkspikes")
- end
- elseif key == "g" then
- if deb == false then
- executeMove("curse")
- end
- elseif key == "r" and deb == false and Vector3.new(0, tor.Velocity.Y, 0).magnitude < 2 and currentkey ~= "32" then
- executeMove("darkslash")
- end
- end)
- mouse.KeyUp:connect(function(key)
- for _, v in pairs(connectlist) do
- if v.up == false and v.key == key then
- v.up = true
- table.remove(connectlist, _)
- end
- end
- end)
- mouse.Button1Up:connect(function()
- for _, v in pairs(connectlist) do
- if v.up == false then
- v.up = true
- table.remove(connectlist, _)
- end
- end
- end)
- local oldsize = mana / maxmana
- local oldchain = 0
- spawn(function()
- while wait(1) do
- if deb == false then
- if chain == oldchain then
- chain = 0
- end
- oldchain = chain
- end
- end
- end)
- game:service("RunService").Stepped:connect(function()
- chaintext.Text = tostring(chain) .. "x"
- manabartext.Text = tostring(mana) .. "/" .. tostring(maxmana)
- if mana / maxmana ~= oldsize then
- manabar:TweenSize(UDim2.new(mana / maxmana, 0, 1, 0), "Out", "Sine", 1, true)
- oldsize = mana / maxmana
- end
- if dumbbox then
- dumbbox.CFrame = dumbhand.CFrame * cfn(0, 0, 4) * ang(mr(-90), 0, 0)
- end
- for _, v in pairs(textTable) do
- if 1 > v.TextLabel.TextTransparency then
- v.TextLabel.TextTransparency = v.TextLabel.TextTransparency + 0.02
- v.TextLabel.TextStrokeTransparency = v.TextLabel.TextStrokeTransparency + 0.02
- v.StudsOffset = v.StudsOffset + Vector3.new(0, 0.02, 0)
- else
- v:Destroy()
- table.remove(textTable, _)
- end
- end
- if Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude > 2 then
- run = true
- elseif Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude < 2 then
- run = false
- idle = true
- end
- if Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude > 2 and canRunLeg == true then
- runLeg = true
- elseif Vector3.new(tor.Velocity.X, 0, tor.Velocity.Z).magnitude < 2 and canRunLeg == true then
- runLeg = false
- resetLegs()
- end
- for _, v in pairs(movers) do
- if v.mover and v.mover:IsDescendantOf(tube) then
- v.func()
- else
- table.remove(movers, _)
- end
- end
- if bg and 0 < hum.Health then
- tor.CFrame = CFrame.new(tor.Position, Vector3.new(mouse.Hit.p.X, tor.Position.Y, mouse.Hit.p.Z))
- end
- for _, v in pairs(fx) do
- if 1 > v.stepval then
- v.func()
- v.stepval = v.stepval + v.int
- elseif v.final then
- if v.final == "destroy" then
- v.item:Destroy()
- table.remove(fx, _)
- end
- else
- table.remove(fx, _)
- end
- end
- for _, v in pairs(tweenTable) do
- if v.Weld.C1 == v.Stop then
- table.remove(tweenTable, _)
- elseif v.th < 1 - v.Step then
- v.th = v.th + v.Step
- i = v.th
- v.Weld.C1 = v.Weld.C1:lerp(CFrame.new(v.Start.p.X * (1 - i) + v.Stop.p.X * i, v.Start.p.Y * (1 - i) + v.Stop.p.Y * i, v.Start.p.Z * (1 - i) + v.Stop.p.Z * i) * CFrame.fromEulerAnglesXYZ(v.X1 * (1 - i) + v.X2 * i, v.Y1 * (1 - i) + v.Y2 * i, v.Z1 * (1 - i) + v.Z2 * i), 1)
- else
- v.Weld.C1 = v.Stop
- end
- end
- for _, v in pairs(altTweenTable) do
- if v.Weld.C1 == v.Stop then
- table.remove(tweenTable, _)
- elseif v.th < 1 - v.Step then
- v.th = v.th + v.Step
- i = v.th
- v.Weld.C1 = v.Weld.C1:lerp(CFrame.new(v.Start.p.X * (1 - i) + v.Stop.p.X * i, v.Start.p.Y * (1 - i) + v.Stop.p.Y * i, v.Start.p.Z * (1 - i) + v.Stop.p.Z * i) * CFrame.fromEulerAnglesXYZ(v.X1 * (1 - i) + v.X2 * i, v.Y1 * (1 - i) + v.Y2 * i, v.Z1 * (1 - i) + v.Z2 * i), 1)
- else
- v.Weld.C1 = v.Stop
- end
- end
- end)
- local oldcombo
- local thingz = false
- spawn(function()
- while wait(0.1) do
- for _, v in pairs(cooldowns) do
- if 0.1 > v.timeleft then
- table.remove(cooldowns, _)
- else
- v.timeleft = v.timeleft - 0.1
- end
- end
- end
- end)
- spawn(function()
- while wait(0.1) do
- if thingz == false then
- oldcombo = combostring
- thingz = true
- else
- if string.len(oldcombo) == string.len(combostring) then
- combostring = ""
- oldcombo = ""
- end
- thingz = false
- end
- end
- end)
- while wait() do
- if mana < maxmana and not deb and not animPlaying then
- mana = mana + 2
- if mana == maxmana + 1 then
- mana = maxmana
- end
- end
- if animPlaying == true and runLeg == true then
- walkLegs()
- end
- if run == true and animPlaying == false then
- altTweenTable = {}
- tweenTable = {}
- walkCycle()
- elseif idle == true and animPlaying == false then
- tweenTable = {}
- reset()
- end
- end
- wait()
- Player = game.Players.LocalPlayer
- Object = Player.Character.HumanoidRootPart
- Arm1 = Player.Character["Right Arm"]
- PreviousA1 = Arm1.CFrame.p
- Arm2 = Player.Character["Left Arm"]
- PreviousA2 = Arm2.CFrame.p
- Leg1 = Player.Character["Right Leg"]
- PreviousL1 = Leg1.CFrame.p
- Leg2 = Player.Character["Left Leg"]
- PreviousL2 = Leg2.CFrame.p
- Run = game["Run Service"]
- PreviousP = Object.CFrame.p
- Running = false
- Phase = false
- PhaseActive = false
- Morph = false
- MorphActive = false
- Tornado = false
- TornadoRadius = 50
- TornadoActive = false
- Portal = false
- PortalEnd = false
- MaxZ = 15
- MinZ = -15
- LightMaxX = 3
- LightMinX = 1
- LightMaxX2 = -1
- LightMinX2 = -3
- LightMaxY = 3
- LightMinY = -1
- Rotation = 0
- Length = 10
- Color = BrickColor.Yellow()
- PColor = Color3.new(255,255,0)
- PrevPoint1 = nil
- PrevPoint2 = nil
- PrevPoint3 = nil
- PrevPoint4 = nil
- PrevPoint5 = nil
- PrevPoint6 = nil
- PrevPoint7 = nil
- PrevPoint8 = nil
- PrevPoint9 = nil
- PrevPoint10 = nil
- PrevPoint11 = nil
- PrevPoint12 = nil
- angle = 0
- Mouse = Player:GetMouse()
- Player.Character.Humanoid.WalkSpeed = 18
- Nil = function()
- PrevPoint1 = "Empty"
- PrevPoint2 = "Empty"
- PrevPoint3 = "Empty"
- PrevPoint4 = "Empty"
- PrevPoint5 = "Empty"
- PrevPoint6 = "Empty"
- PrevPoint7 = "Empty"
- PrevPoint8 = "Empty"
- PrevPoint9 = "Empty"
- PrevPoint10 = "Empty"
- PrevPoint11 = "Empty"
- PrevPoint12 = "Empty"
- end
- local Lightning = coroutine.wrap(function()
- while wait() do
- if Portal == false then
- angle = angle + 0.6
- local Model = Instance.new("Model",workspace)
- Model.Name = "Lightning"
- local Point1 = Instance.new("Part",Model)
- Point1.Transparency = 1
- Point1.Size = Vector3.new(0.2,0.2,0.2)
- Point1.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point1.Size.Z/2))
- Point1.Anchored = true
- Point1.CanCollide = false
- Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
- local Point2 = Instance.new("Part",Model)
- Point2.Transparency = 1
- Point2.Size = Vector3.new(0.2,0.2,0.2)
- Point2.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point2.Size.Z/2))
- Point2.Anchored = true
- Point2.CanCollide = false
- Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
- local Point3 = Instance.new("Part",Model)
- Point3.Transparency = 1
- Point3.Size = Vector3.new(0.2,0.2,0.2)
- Point3.CFrame = Object.CFrame * CFrame.new(0,0,-(Object.Size.Z/2+Point3.Size.Z/2))
- Point3.Anchored = true
- Point3.CanCollide = false
- Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),-math.random(0,2))
- local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
- local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance2)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
- local Point1 = Instance.new("Part",Model)
- Point1.Transparency = 1
- Point1.Size = Vector3.new(0.2,0.2,0.2)
- Point1.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point1.Size.Z/2))
- Point1.Anchored = true
- Point1.CanCollide = false
- Point1.CFrame = Point1.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
- local Point2 = Instance.new("Part",Model)
- Point2.Transparency = 1
- Point2.Size = Vector3.new(0.2,0.2,0.2)
- Point2.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point2.Size.Z/2))
- Point2.Anchored = true
- Point2.CanCollide = false
- Point2.CFrame = Point2.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
- local Point3 = Instance.new("Part",Model)
- Point3.Transparency = 1
- Point3.Size = Vector3.new(0.2,0.2,0.2)
- Point3.CFrame = Object.CFrame * CFrame.new(0,0,(Object.Size.Z/2+Point3.Size.Z/2))
- Point3.Anchored = true
- Point3.CanCollide = false
- Point3.CFrame = Point3.CFrame * CFrame.new(math.random(-2,2),math.random(-2,2),math.random(0,2))
- local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
- local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.3,0.3,distance2)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
- local Point1 = Instance.new("Part",Model)
- Point1.Transparency = 1
- Point1.Size = Vector3.new(0.2,0.2,0.2)
- Point1.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
- Point1.Anchored = true
- Point1.CanCollide = false
- Point1.CFrame = Point1.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
- local Point2 = Instance.new("Part",Model)
- Point2.Transparency = 1
- Point2.Size = Vector3.new(0.2,0.2,0.2)
- Point2.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
- Point2.Anchored = true
- Point2.CanCollide = false
- Point2.CFrame = Point2.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
- local Point3 = Instance.new("Part",Model)
- Point3.Transparency = 1
- Point3.Size = Vector3.new(0.2,0.2,0.2)
- Point3.CFrame = Object.CFrame * CFrame.new((Object.Size.X/2+Point1.Size.X/2),0,0)
- Point3.Anchored = true
- Point3.CanCollide = false
- Point3.CFrame = Point3.CFrame * CFrame.new(math.random(0,2),math.random(-2,2),math.random(-2,2))
- local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
- local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance2)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
- local Point1 = Instance.new("Part",Model)
- Point1.Transparency = 1
- Point1.Size = Vector3.new(0.2,0.2,0.2)
- Point1.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
- Point1.Anchored = true
- Point1.CanCollide = false
- Point1.CFrame = Point1.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
- local Point2 = Instance.new("Part",Model)
- Point2.Transparency = 1
- Point2.Size = Vector3.new(0.2,0.2,0.2)
- Point2.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
- Point2.Anchored = true
- Point2.CanCollide = false
- Point2.CFrame = Point2.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
- local Point3 = Instance.new("Part",Model)
- Point3.Transparency = 1
- Point3.Size = Vector3.new(0.2,0.2,0.2)
- Point3.CFrame = Object.CFrame * CFrame.new(-(Object.Size.X/2+Point1.Size.X/2),0,0)
- Point3.Anchored = true
- Point3.CanCollide = false
- Point3.CFrame = Point3.CFrame * CFrame.new(-math.random(0,2),math.random(-2,2),math.random(-2,2))
- local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
- local distance2 = (Point3.CFrame.p - Point2.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 5
- PointLight.Color = PColor
- Light.Transparency = 0.5
- Light.BrickColor = Color
- Light.Material = "Neon"
- Light.Size = Vector3.new(0.25,0.25,distance2)
- Light.Anchored = true
- Light.CanCollide = false
- Light.CFrame = CFrame.new(Point3.CFrame.p , Point2.CFrame.p) * CFrame.new(0,0,-distance2/2)
- local Children = Model:GetChildren()
- wait(0.1)
- for i = 1,#Children do
- if Children[i]:IsA("Part") then
- Children[i].Transparency = 1
- end
- game.Debris:AddItem(Children[i],0)
- end
- end
- end
- end)
- Lightning()
- local MaxX = 100
- local MinX = -100
- local MaxY = 100
- local MinY = -100
- local MaxZ = 100
- local MinZ = -100
- local Morph = coroutine.wrap(function()
- while Run.Stepped:wait(0.1) do
- if Morph == false then break end
- local Model = Instance.new("Model",workspace)
- if Player.Character:FindFirstChild("Shirt") then
- local Shirt = Player.Character.Shirt:Clone()
- Shirt.Parent = Model
- end
- if Player.Character:FindFirstChild("Pants") then
- local Pants = Player.Character.Pants:Clone()
- Pants.Parent = Model
- end
- local Humanoid = Instance.new("Humanoid",Model)
- local LeftArm = Player.Character["Left Arm"]:Clone()
- LeftArm.Parent = Model
- LeftArm.Transparency = 0.4
- LeftArm.Anchored = true
- LeftArm.CFrame = Player.Character["Left Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
- local RightArm = Player.Character["Right Arm"]:Clone()
- RightArm.Parent = Model
- RightArm.Transparency = 0.4
- RightArm.Anchored = true
- RightArm.CFrame = Player.Character["Right Arm"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
- local LeftLeg = Player.Character["Left Leg"]:Clone()
- LeftLeg.Parent = Model
- LeftLeg.Transparency = 0.4
- LeftLeg.Anchored = true
- LeftLeg.CFrame = Player.Character["Left Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
- local RightLeg = Player.Character["Right Leg"]:Clone()
- RightLeg.Parent = Model
- RightLeg.Transparency = 0.4
- RightLeg.Anchored = true
- RightLeg.CFrame = Player.Character["Right Leg"].CFrame * CFrame.new(math.random(MinX,MaxX)*0.003,math.random(MinY,MaxY)*0.003,math.random(MinZ,MaxZ)*0.003)
- local Children = Model:GetChildren()
- wait(0.01)
- for i = 1,#Children do
- if Children[i]:IsA("Part") then
- Children[i].Transparency = 1
- end
- game.Debris:AddItem(Children[i],0)
- end
- end
- end)
- local Guis = coroutine.wrap(function()
- local Gui = Instance.new("ScreenGui",Player.PlayerGui)
- local TextBox = Instance.new("TextBox",Gui)
- TextBox.Text = "Speed"
- TextBox.BackgroundColor3 = Color3.new(255,255,255)
- TextBox.BorderColor3 = Color3.new(0,0,0)
- TextBox.Size = UDim2.new(0,200,0,25)
- TextBox.Position = UDim2.new(0,10,0.5,-12.5)
- TextBox.FocusLost:connect(function(EnterPressed)
- if EnterPressed then
- Player.Character.Humanoid.WalkSpeed = TextBox.Text
- end
- end)
- local Flash = Instance.new("TextButton",Gui)
- Flash.BackgroundColor3 = Color3.new(255,255,255)
- Flash.BorderColor3 = Color3.new(0,0,0)
- Flash.Size = UDim2.new(0,200,0,25)
- Flash.Position = UDim2.new(0,10,0.5,22.5)
- Flash.Text = "The Flash"
- Flash.MouseButton1Click:connect(function()
- Color = BrickColor.Yellow()
- PColor = Color3.new(255,255,0)
- end)
- local RFlash = Instance.new("TextButton",Gui)
- RFlash.BackgroundColor3 = Color3.new(255,255,255)
- RFlash.BorderColor3 = Color3.new(0,0,0)
- RFlash.Size = UDim2.new(0,200,0,25)
- RFlash.Position = UDim2.new(0,10,0.5,57.5)
- RFlash.Text = "The Reverse Flash"
- RFlash.MouseButton1Click:connect(function()
- Color = BrickColor.new("Really red")
- PColor = Color3.new(255,0,0)
- end)
- local Zoom = Instance.new("TextButton",Gui)
- Zoom.BackgroundColor3 = Color3.new(255,255,255)
- Zoom.BorderColor3 = Color3.new(0,0,0)
- Zoom.Size = UDim2.new(0,200,0,25)
- Zoom.Position = UDim2.new(0,10,0.5,92.5)
- Zoom.Text = "Zoom"
- Zoom.MouseButton1Click:connect(function()
- Color = BrickColor.new("Cyan")
- PColor = Color3.new(0,170,255)
- end)
- end)
- Guis()
- Run.RenderStepped:connect(function()
- if (Object.CFrame.p - PreviousP).magnitude > 7 and Player.Character.Humanoid.WalkSpeed > 25 and Portal == false and PortalEnd == false then
- local Model = Instance.new("Model",workspace)
- Model.Name = "Ray"
- local Humanoid = Instance.new("Humanoid",Model)
- if Player.Character:FindFirstChild("Shirt") ~= nil then
- Player.Character.Shirt:Clone().Parent = Model
- end
- if Player.Character:FindFirstChild("Pants") ~= nil then
- Player.Character.Pants:Clone().Parent = Model
- end
- local distance = (Object.CFrame.p - PreviousP).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 1
- Light.BrickColor = BrickColor.Black()
- Light.Size = Vector3.new(2,2)
- Light.CFrame = CFrame.new(Object.CFrame.p , PreviousP) * CFrame.new(0,0,-distance/2)
- local PointLight = Instance.new("PointLight",Light)
- PointLight.Range = 15
- PointLight.Brightness = 100
- PointLight.Color = PColor
- local distance = (Arm1.CFrame.p - PreviousA1).magnitude
- local Arm1Light = Instance.new("Part",Model)
- Arm1Light.Name = "Right Arm"
- Arm1Light.Anchored = true
- Arm1Light.CanCollide = false
- Arm1Light.TopSurface = "SmoothNoOutlines"
- Arm1Light.BottomSurface = "SmoothNoOutlines"
- Arm1Light.BackSurface = "SmoothNoOutlines"
- Arm1Light.FrontSurface = "SmoothNoOutlines"
- Arm1Light.LeftSurface = "SmoothNoOutlines"
- Arm1Light.RightSurface = "SmoothNoOutlines"
- Arm1Light.Transparency = 1
- Arm1Light.BrickColor = BrickColor.Black()
- Arm1Light.Size = Vector3.new(.1,.1)
- Arm1Light.CFrame = CFrame.new(Arm1.CFrame.p , PreviousA1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
- local distance = (Arm2.CFrame.p - PreviousA2).magnitude
- local Arm2Light = Instance.new("Part",Model)
- Arm2Light.Name = "Left Arm"
- Arm2Light.Anchored = true
- Arm2Light.CanCollide = false
- Arm2Light.TopSurface = "SmoothNoOutlines"
- Arm2Light.BottomSurface = "SmoothNoOutlines"
- Arm2Light.BackSurface = "SmoothNoOutlines"
- Arm2Light.FrontSurface = "SmoothNoOutlines"
- Arm2Light.LeftSurface = "SmoothNoOutlines"
- Arm2Light.RightSurface = "SmoothNoOutlines"
- Arm2Light.Transparency = 1
- Arm2Light.BrickColor = BrickColor.Black()
- Arm2Light.Size = Vector3.new(.1,.1)
- Arm2Light.CFrame = CFrame.new(Arm2.CFrame.p , PreviousA2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
- local distance = (Leg1.CFrame.p - PreviousL1).magnitude
- local Leg1Light = Instance.new("Part",Model)
- Leg1Light.Name = "Right Leg"
- Leg1Light.Anchored = true
- Leg1Light.CanCollide = false
- Leg1Light.TopSurface = "SmoothNoOutlines"
- Leg1Light.BottomSurface = "SmoothNoOutlines"
- Leg1Light.BackSurface = "SmoothNoOutlines"
- Leg1Light.FrontSurface = "SmoothNoOutlines"
- Leg1Light.LeftSurface = "SmoothNoOutlines"
- Leg1Light.RightSurface = "SmoothNoOutlines"
- Leg1Light.Transparency = 1
- Leg1Light.BrickColor = BrickColor.Black()
- Leg1Light.Size = Vector3.new(.1,.1)
- Leg1Light.CFrame = CFrame.new(Leg1.CFrame.p , PreviousL1) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)
- local distance = (Leg2.CFrame.p - PreviousL2).magnitude
- local Leg1Light = Instance.new("Part",Model)
- Leg1Light.Name = "Left Leg"
- Leg1Light.Anchored = true
- Leg1Light.CanCollide = false
- Leg1Light.TopSurface = "SmoothNoOutlines"
- Leg1Light.BottomSurface = "SmoothNoOutlines"
- Leg1Light.BackSurface = "SmoothNoOutlines"
- Leg1Light.FrontSurface = "SmoothNoOutlines"
- Leg1Light.LeftSurface = "SmoothNoOutlines"
- Leg1Light.RightSurface = "SmoothNoOutlines"
- Leg1Light.Transparency = 1
- Leg1Light.BrickColor = BrickColor.Black()
- Leg1Light.Size = Vector3.new(.1,.1)
- Leg1Light.CFrame = CFrame.new(Leg2.CFrame.p , PreviousL2) * CFrame.new(0,0,-distance/2) * CFrame.Angles(0,math.rad(180),0)--]]
- local Point1 = Instance.new("Part",Model)
- Point1.Transparency = 1
- Point1.Anchored = true
- Point1.CanCollide = false
- Point1.Size = Vector3.new(0.2,0.2,0.2)
- Point1.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point2 = Instance.new("Part",Model)
- Point2.Transparency = 1
- Point2.Anchored = true
- Point2.CanCollide = false
- Point2.Size = Vector3.new(0.2,0.2,0.2)
- Point2.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point5 = Instance.new("Part",Model)
- Point5.Transparency = 1
- Point5.Anchored = true
- Point5.CanCollide = false
- Point5.Size = Vector3.new(0.2,0.2,0.2)
- Point5.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point6 = Instance.new("Part",Model)
- Point6.Transparency = 1
- Point6.Anchored = true
- Point6.CanCollide = false
- Point6.Size = Vector3.new(0.2,0.2,0.2)
- Point6.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point3 = Instance.new("Part",Model)
- Point3.Transparency = 1
- Point3.Anchored = true
- Point3.CanCollide = false
- Point3.Size = Vector3.new(0.2,0.2,0.2)
- Point3.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
- * CFrame.new(-Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point4 = Instance.new("Part",Model)
- Point4.Transparency = 1
- Point4.Anchored = true
- Point4.CanCollide = false
- Point4.Size = Vector3.new(0.2,0.2,0.2)
- Point4.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
- * CFrame.new(-Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point7 = Instance.new("Part",Model)
- Point7.Transparency = 1
- Point7.Anchored = true
- Point7.CanCollide = false
- Point7.Size = Vector3.new(0.2,0.2,0.2)
- Point7.CFrame = Light.CFrame * CFrame.new(0,0,-Light.Size.Z/2)
- * CFrame.new(-Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point8 = Instance.new("Part",Model)
- Point8.Transparency = 1
- Point8.Anchored = true
- Point8.CanCollide = false
- Point8.Size = Vector3.new(0.2,0.2,0.2)
- Point8.CFrame = Light.CFrame * CFrame.new(0,0,Light.Size.Z/2)
- * CFrame.new(-Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point9 = Instance.new("Part",Model)
- Point9.Transparency = 1
- Point9.Anchored = true
- Point9.CanCollide = false
- Point9.Size = Vector3.new(0.2,0.2,0.2)
- Point9.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,-2 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point10 = Instance.new("Part",Model)
- Point10.Transparency = 1
- Point10.Anchored = true
- Point10.CanCollide = false
- Point10.Size = Vector3.new(0.2,0.2,0.2)
- Point10.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,0 ,0)
- * CFrame.new(math.random(LightMinX,LightMaxX),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point11 = Instance.new("Part",Model)
- Point11.Transparency = 1
- Point11.Anchored = true
- Point11.CanCollide = false
- Point11.Size = Vector3.new(0.2,0.2,0.2)
- Point11.CFrame = Light.CFrame * CFrame.new(0,-1,-Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,-2 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- local Point12 = Instance.new("Part",Model)
- Point12.Transparency = 1
- Point12.Anchored = true
- Point12.CanCollide = false
- Point12.Size = Vector3.new(0.2,0.2,0.2)
- Point12.CFrame = Light.CFrame * CFrame.new(0,-1,Light.Size.Z/2)
- * CFrame.new(Light.Size.X/2 ,-2 ,0)
- * CFrame.new(math.random(LightMinX2,LightMaxX2),0,0)
- * CFrame.new(0,math.random(LightMinY,LightMaxY),0)
- if PrevPoint2 == nil or PrevPoint2 == "Empty" then
- local distance = (Point2.CFrame.p - Point1.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point2.CFrame.p , Point1.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint2 ~= nil then
- local distance = (Point2.CFrame.p - PrevPoint2).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point2.CFrame.p , PrevPoint2) * CFrame.new(0,0,-distance/2)
- end
- if PrevPoint4 == nil or PrevPoint4 == "Empty" then
- local distance = (Point4.CFrame.p - Point3.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point4.CFrame.p , Point3.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint4 ~= nil then
- local distance = (Point4.CFrame.p - PrevPoint4).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point4.CFrame.p , PrevPoint4) * CFrame.new(0,0,-distance/2)
- end
- if PrevPoint6 == nil or PrevPoint6 == "Empty" then
- local distance = (Point6.CFrame.p - Point5.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point6.CFrame.p , Point5.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint6 ~= nil then
- local distance = (Point6.CFrame.p - PrevPoint6).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point6.CFrame.p , PrevPoint6) * CFrame.new(0,0,-distance/2)
- end
- if PrevPoint8 == nil or PrevPoint8 == "Empty" then
- local distance = (Point8.CFrame.p - Point7.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point8.CFrame.p , Point7.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint8 ~= nil then
- local distance = (Point8.CFrame.p - PrevPoint8).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point8.CFrame.p , PrevPoint8) * CFrame.new(0,0,-distance/2)
- end
- if PrevPoint10 == nil or PrevPoint10 == "Empty" then
- local distance = (Point10.CFrame.p - Point9.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point10.CFrame.p , Point9.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint10 ~= nil then
- local distance = (Point10.CFrame.p - PrevPoint10).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point10.CFrame.p , PrevPoint10) * CFrame.new(0,0,-distance/2)
- end
- if PrevPoint12 == nil or PrevPoint12 == "Empty" then
- local distance = (Point12.CFrame.p - Point11.CFrame.p).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point12.CFrame.p , Point11.CFrame.p) * CFrame.new(0,0,-distance/2)
- elseif PrevPoint12 ~= nil then
- local distance = (Point12.CFrame.p - PrevPoint12).magnitude
- local Light = Instance.new("Part",Model)
- Light.Anchored = true
- Light.CanCollide = false
- Light.TopSurface = "SmoothNoOutlines"
- Light.BottomSurface = "SmoothNoOutlines"
- Light.BackSurface = "SmoothNoOutlines"
- Light.FrontSurface = "SmoothNoOutlines"
- Light.LeftSurface = "SmoothNoOutlines"
- Light.RightSurface = "SmoothNoOutlines"
- Light.Transparency = 0
- Light.Size = Vector3.new(0.4,0.4,distance)
- Light.Material = "Neon"
- Light.BrickColor = Color
- Light.CFrame = CFrame.new(Point12.CFrame.p , PrevPoint12) * CFrame.new(0,0,-distance/2)
- end
- PreviousP = Object.CFrame.p
- PreviousA1 = Arm1.CFrame.p
- PreviousA2 = Arm2.CFrame.p
- PreviousL1 = Leg1.CFrame.p
- PreviousL2 = Leg2.CFrame.p
- PrevPoint1 = Point1.CFrame.p
- PrevPoint2 = Point2.CFrame.p
- PrevPoint3 = Point3.CFrame.p
- PrevPoint4 = Point4.CFrame.p
- PrevPoint5 = Point5.CFrame.p
- PrevPoint6 = Point6.CFrame.p
- PrevPoint7 = Point7.CFrame.p
- PrevPoint8 = Point8.CFrame.p
- PrevPoint9 = Point9.CFrame.p
- PrevPoint10 = Point10.CFrame.p
- PrevPoint11 = Point11.CFrame.p
- PrevPoint12 = Point12.CFrame.p
- local Children = Model:GetChildren()
- wait(1)
- for i = 1,10 do
- local Remove = coroutine.wrap(function()
- for i = 1,#Children do
- if Children[i]:IsA("Part") then
- Children[i].Transparency = Children[i].Transparency + 0.1
- if Children[i].Transparency >= 1 and Children[i] ~= Light and Children[i] ~= Point1 and Children[i] ~= Point2 and Children[i] ~= Point3
- and Children[i] ~= Point4 and Children[i] ~= Point5 and Children[i] ~= Point6 and Children[i] ~= Point7 and Children[i] ~= Point8
- and Children[i] ~= Point9 and Children[i] ~= Point10 and Children[i] ~= Point11 and Children[i] ~= Point12 then
- game.Debris:AddItem(Children[i],0)
- end
- end
- if Children[i].ClassName ~= "Part" then
- game.Debris:AddItem(Children[i],0)
- end
- end
- end)
- Remove()
- wait(0.05)
- end
- game.Debris:AddItem(Light,0)
- game.Debris:AddItem(Point1,0)
- game.Debris:AddItem(Point2,0)
- game.Debris:AddItem(Point3,0)
- game.Debris:AddItem(Point4,0)
- game.Debris:AddItem(Point5,0)
- game.Debris:AddItem(Point6,0)
- game.Debris:AddItem(Point7,0)
- game.Debris:AddItem(Point8,0)
- game.Debris:AddItem(Point9,0)
- game.Debris:AddItem(Point10,0)
- game.Debris:AddItem(Point11,0)
- game.Debris:AddItem(Point12,0)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement