Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -----------------------
- --[[ Name : Burning]]--
- -------------------------------------------------------
- --A script By makhail07
- --Discord Creterisk#2958
- --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
- --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
- --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
- --YOU FUCKING SKIDS,
- --For Those who log/decompile this, If you sell or trade this,
- --and I find out who you are, i will take massive action.
- -------------------------------------------------------
- Player_Size = 1
- local FavIDs = {
- 340106355, --Nefl Crystals
- 927529620, --Dimension
- 876981900, --Fantasy
- 398987889, --Ordinary Days
- 1117396305, --Oh wait, it's you.
- 885996042, --Action Winter Journey
- 919231299, --Sprawling Idiot Effigy
- 743466274, --Good Day Sunshine
- 727411183, --Knife Fight
- 1402748531, --The Earth Is Counting On You!
- 595230126 --Robot Language
- }
- --The reality of my life isn't real but a Universe -makhail07
- wait()
- local plr = game:service'Players'.LocalPlayer
- print('Local User is '..plr.Name)
- local char = plr.Character
- local hum = char.Humanoid
- local ra = char["Right Arm"]
- local la= char["Left Arm"]
- local rl= char["Right Leg"]
- local ll = char["Left Leg"]
- local hed = char.Head
- local root = char.HumanoidRootPart
- local rootj = root.RootJoint
- local tors = char.Torso
- local mouse = plr:GetMouse()
- local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
- local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
- local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
- local maincolor = BrickColor.new("Crimson")
- -------------------------------------------------------
- --Start Invincibility--
- -------------------------------------------------------
- ff = Instance.new("ForceField",char)
- ff.Visible = false
- hum.Name = "Base"
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
- if hum.Health > 0.1 and hum.Health < 1.0E298 then
- hum.MaxHealth = 1.0E298
- hum.Health = 1.0E298
- end
- end)
- -------------------------------------------------------
- --End Whitelist and Invincibility--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Good Stuff--
- -------------------------------------------------------
- CF = CFrame.new
- angles = CFrame.Angles
- attack = false
- Euler = CFrame.fromEulerAnglesXYZ
- Rad = math.rad
- IT = Instance.new
- BrickC = BrickColor.new
- Cos = math.cos
- Acos = math.acos
- Sin = math.sin
- Asin = math.asin
- Abs = math.abs
- Mrandom = math.random
- Floor = math.floor
- -------------------------------------------------------
- --End Good Stuff--
- -------------------------------------------------------
- necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- RSH, LSH = nil, nil
- RW = Instance.new("Weld")
- LW = Instance.new("Weld")
- RH = tors["Right Hip"]
- LH = tors["Left Hip"]
- RSH = tors["Right Shoulder"]
- LSH = tors["Left Shoulder"]
- RSH.Parent = nil
- LSH.Parent = nil
- RW.Name = "RW"
- RW.Part0 = tors
- RW.C0 = CF(1.5, 0.5, 0)
- RW.C1 = CF(0, 0.5, 0)
- RW.Part1 = ra
- RW.Parent = tors
- LW.Name = "LW"
- LW.Part0 = tors
- LW.C0 = CF(-1.5, 0.5, 0)
- LW.C1 = CF(0, 0.5, 0)
- LW.Part1 = la
- LW.Parent = tors
- Effects = {}
- -------------------------------------------------------
- --Start HeartBeat--
- -------------------------------------------------------
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- -------------------------------------------------------
- --End HeartBeat--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Important Functions--
- -------------------------------------------------------
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- function thread(f)
- coroutine.resume(coroutine.create(f))
- end
- function clerp(a, b, t)
- local qa = {
- QuaternionFromCFrame(a)
- }
- local qb = {
- QuaternionFromCFrame(b)
- }
- local ax, ay, az = a.x, a.y, a.z
- local bx, by, bz = b.x, b.y, b.z
- local _t = 1 - t
- return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
- end
- function QuaternionFromCFrame(cf)
- local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
- local trace = m00 + m11 + m22
- if trace > 0 then
- local s = math.sqrt(1 + trace)
- local recip = 0.5 / s
- return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
- else
- local i = 0
- if m00 < m11 then
- i = 1
- end
- if m22 > (i == 0 and m00 or m11) then
- i = 2
- end
- if i == 0 then
- local s = math.sqrt(m00 - m11 - m22 + 1)
- local recip = 0.5 / s
- return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
- elseif i == 1 then
- local s = math.sqrt(m11 - m22 - m00 + 1)
- local recip = 0.5 / s
- return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
- elseif i == 2 then
- local s = math.sqrt(m22 - m00 - m11 + 1)
- local recip = 0.5 / s
- return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
- end
- end
- end
- function QuaternionToCFrame(px, py, pz, x, y, z, w)
- local xs, ys, zs = x + x, y + y, z + z
- local wx, wy, wz = w * xs, w * ys, w * zs
- local xx = x * xs
- local xy = x * ys
- local xz = x * zs
- local yy = y * ys
- local yz = y * zs
- local zz = z * zs
- return CF(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
- end
- function QuaternionSlerp(a, b, t)
- local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
- local startInterp, finishInterp
- if cosTheta >= 1.0E-4 then
- if 1 - cosTheta > 1.0E-4 then
- local theta = math.acos(cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((1 - t) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = 1 - t
- finishInterp = t
- end
- elseif 1 + cosTheta > 1.0E-4 then
- local theta = math.acos(-cosTheta)
- local invSinTheta = 1 / Sin(theta)
- startInterp = Sin((t - 1) * theta) * invSinTheta
- finishInterp = Sin(t * theta) * invSinTheta
- else
- startInterp = t - 1
- finishInterp = t
- end
- return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
- end
- function rayCast(Position, Direction, Range, Ignore)
- return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
- end
- local RbxUtility = LoadLibrary("RbxUtility")
- local Create = RbxUtility.Create
- -------------------------------------------------------
- --Start Damage Function--
- -------------------------------------------------------
- function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
- if hit.Parent == nil then
- return
- end
- local h = hit.Parent:FindFirstChildOfClass("Humanoid")
- for _, v in pairs(hit.Parent:children()) do
- if v:IsA("Humanoid") then
- h = v
- end
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
- if hit.Parent:findFirstChild("DebounceHit") ~= nil then
- if hit.Parent.DebounceHit.Value == true then
- return
- end
- end
- if insta == true then
- hit.Parent:FindFirstChild("Head"):BreakJoints()
- end
- local c = Create("ObjectValue"){
- Name = "creator",
- Value = game:service("Players").LocalPlayer,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- if HitSound ~= nil and HitPitch ~= nil then
- CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
- end
- local Damage = Mrandom(minim, maxim)
- local blocked = false
- local block = hit.Parent:findFirstChild("Block")
- if block ~= nil then
- if block.className == "IntValue" then
- if block.Value > 0 then
- blocked = true
- block.Value = block.Value - 1
- print(block.Value)
- end
- end
- end
- if blocked == false then
- h.Health = h.Health - Damage
- ShowDamage((Part.CFrame * CF(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- else
- h.Health = h.Health - (Damage / 2)
- ShowDamage((Part.CFrame * CF(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
- end
- if Type == "Knockdown" then
- local hum = hit.Parent.Humanoid
- hum.PlatformStand = true
- coroutine.resume(coroutine.create(function(HHumanoid)
- swait(1)
- HHumanoid.PlatformStand = false
- end), hum)
- local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
- local bodvol = Create("BodyVelocity"){
- velocity = angle * knockback,
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- local rl = Create("BodyAngularVelocity"){
- P = 3000,
- maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
- angularvelocity = Vector3.new(Mrandom(-10, 10), Mrandom(-10, 10), Mrandom(-10, 10)),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodvol, .5)
- game:GetService("Debris"):AddItem(rl, .5)
- elseif Type == "Normal" then
- local vp = Create("BodyVelocity"){
- P = 500,
- maxForce = Vector3.new(math.huge, 0, math.huge),
- velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
- }
- if knockback > 0 then
- vp.Parent = hit.Parent.Torso
- end
- game:GetService("Debris"):AddItem(vp, .5)
- elseif Type == "Up" then
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, .5)
- elseif Type == "DarkUp" then
- coroutine.resume(coroutine.create(function()
- for i = 0, 1, 0.1 do
- swait()
- Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
- end
- end))
- local bodyVelocity = Create("BodyVelocity"){
- velocity = Vector3.new(0, 20, 0),
- P = 5000,
- maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
- Parent = hit,
- }
- game:GetService("Debris"):AddItem(bodyVelocity, 1)
- elseif Type == "Snare" then
- local bp = Create("BodyPosition"){
- P = 2000,
- D = 100,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- game:GetService("Debris"):AddItem(bp, 1)
- elseif Type == "Freeze" then
- local BodPos = Create("BodyPosition"){
- P = 50000,
- D = 1000,
- maxForce = Vector3.new(math.huge, math.huge, math.huge),
- position = hit.Parent.Torso.Position,
- Parent = hit.Parent.Torso,
- }
- local BodGy = Create("BodyGyro") {
- maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
- P = 20e+003,
- Parent = hit.Parent.Torso,
- cframe = hit.Parent.Torso.CFrame,
- }
- hit.Parent.Torso.Anchored = true
- coroutine.resume(coroutine.create(function(Part)
- swait(1.5)
- Part.Anchored = false
- end), hit.Parent.Torso)
- game:GetService("Debris"):AddItem(BodPos, 3)
- game:GetService("Debris"):AddItem(BodGy, 3)
- end
- local debounce = Create("BoolValue"){
- Name = "DebounceHit",
- Parent = hit.Parent,
- Value = true,
- }
- game:GetService("Debris"):AddItem(debounce, Delay)
- c = Create("ObjectValue"){
- Name = "creator",
- Value = Player,
- Parent = h,
- }
- game:GetService("Debris"):AddItem(c, .5)
- end
- end
- -------------------------------------------------------
- --End Damage Function--
- -------------------------------------------------------
- -------------------------------------------------------
- --Start Damage Function Customization--
- -------------------------------------------------------
- function ShowDamage(Pos, Text, Time, Color)
- local Rate = (1 / 30)
- local Pos = (Pos or Vector3.new(0, 0, 0))
- local Text = (Text or "")
- local Time = (Time or 2)
- local Color = (Color or Color3.new(1, 0, 1))
- local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
- EffectPart.Anchored = true
- local BillboardGui = Create("BillboardGui"){
- Size = UDim2.new(3, 0, 3, 0),
- Adornee = EffectPart,
- Parent = EffectPart,
- }
- local TextLabel = Create("TextLabel"){
- BackgroundTransparency = 1,
- Size = UDim2.new(1, 0, 1, 0),
- Text = Text,
- Font = "Bodoni",
- TextColor3 = Color,
- TextScaled = true,
- TextStrokeColor3 = Color3.fromRGB(0,0,0),
- Parent = BillboardGui,
- }
- game.Debris:AddItem(EffectPart, (Time))
- EffectPart.Parent = game:GetService("Workspace")
- delay(0, function()
- local Frames = (Time / Rate)
- for Frame = 1, Frames do
- wait(Rate)
- local Percent = (Frame / Frames)
- EffectPart.CFrame = CF(Pos) + Vector3.new(0, Percent, 0)
- TextLabel.TextTransparency = Percent
- end
- if EffectPart and EffectPart.Parent then
- EffectPart:Destroy()
- end
- end)
- end
- -------------------------------------------------------
- --End Damage Function Customization--
- -------------------------------------------------------
- function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
- for _, c in pairs(workspace:children()) do
- local hum = c:findFirstChild("Humanoid")
- if hum ~= nil then
- local head = c:findFirstChild("Head")
- if head ~= nil then
- local targ = head.Position - Part.Position
- local mag = targ.magnitude
- if magni >= mag and c.Name ~= plr.Name then
- Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
- end
- end
- end
- end
- end
- CFuncs = {
- Part = {
- Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Mesh = {
- Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- },
- Weld = {
- Create = function(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- },
- Sound = {
- Create = function(id, par, vol, pit)
- coroutine.resume(coroutine.create(function()
- local S = Create("Sound")({
- Volume = vol,
- Pitch = pit or 1,
- SoundId = id,
- Parent = par or workspace
- })
- wait()
- S:play()
- game:GetService("Debris"):AddItem(S, 6)
- end))
- end
- },
- ParticleEmitter = {
- Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
- local fp = Create("ParticleEmitter")({
- Parent = Parent,
- Color = ColorSequence.new(Color1, Color2),
- LightEmission = LightEmission,
- Size = Size,
- Texture = Texture,
- Transparency = Transparency,
- ZOffset = ZOffset,
- Acceleration = Accel,
- Drag = Drag,
- LockedToPart = LockedToPart,
- VelocityInheritance = VelocityInheritance,
- EmissionDirection = EmissionDirection,
- Enabled = Enabled,
- Lifetime = LifeTime,
- Rate = Rate,
- Rotation = Rotation,
- RotSpeed = RotSpeed,
- Speed = Speed,
- VelocitySpread = VelocitySpread
- })
- return fp
- end
- }
- }
- function RemoveOutlines(part)
- part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
- local Part = Create("Part")({
- formFactor = FormFactor,
- Parent = Parent,
- Reflectance = Reflectance,
- Transparency = Transparency,
- CanCollide = false,
- Locked = true,
- BrickColor = BrickColor.new(tostring(BColor)),
- Name = Name,
- Size = Size,
- Material = Material
- })
- RemoveOutlines(Part)
- return Part
- end
- function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
- local Msh = Create(Mesh)({
- Parent = Part,
- Offset = OffSet,
- Scale = Scale
- })
- if Mesh == "SpecialMesh" then
- Msh.MeshType = MeshType
- Msh.MeshId = MeshId
- end
- return Msh
- end
- function CreateWeld(Parent, Part0, Part1, C0, C1)
- local Weld = Create("Weld")({
- Parent = Parent,
- Part0 = Part0,
- Part1 = Part1,
- C0 = C0,
- C1 = C1
- })
- return Weld
- end
- -------------------------------------------------------
- --Start Effect Function--
- -------------------------------------------------------
- EffectModel = Instance.new("Model", char)
- Effects = {
- Block = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- if Type == 1 or Type == nil then
- table.insert(Effects, {
- prt,
- "Block1",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- elseif Type == 2 then
- table.insert(Effects, {
- prt,
- "Block2",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- else
- table.insert(Effects, {
- prt,
- "Block3",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- end
- },
- Sphere = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Cylinder = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Wave = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3 / 60,
- y3 / 60,
- z3 / 60,
- msh
- })
- end
- },
- Ring = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Break = {
- Create = function(brickcolor, cframe, x1, y1, z1)
- local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
- prt.Anchored = true
- prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- local num = Mrandom(10, 50) / 1000
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Shatter",
- num,
- prt.CFrame,
- Mrandom() - Mrandom(),
- 0,
- Mrandom(50, 100) / 100
- })
- end
- },
- Spiral = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- },
- Push = {
- Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
- local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
- prt.Anchored = true
- prt.CFrame = cframe
- local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
- game:GetService("Debris"):AddItem(prt, 10)
- table.insert(Effects, {
- prt,
- "Cylinder",
- delay,
- x3,
- y3,
- z3,
- msh
- })
- end
- }
- }
- function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
- local fp = IT("Part")
- fp.formFactor = formfactor
- fp.Parent = parent
- fp.Reflectance = reflectance
- fp.Transparency = transparency
- fp.CanCollide = false
- fp.Locked = true
- fp.BrickColor = brickcolor
- fp.Name = name
- fp.Size = size
- fp.Position = tors.Position
- RemoveOutlines(fp)
- fp.Material = "SmoothPlastic"
- fp:BreakJoints()
- return fp
- end
- function mesh(Mesh,part,meshtype,meshid,offset,scale)
- local mesh = IT(Mesh)
- mesh.Parent = part
- if Mesh == "SpecialMesh" then
- mesh.MeshType = meshtype
- if meshid ~= "nil" then
- mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
- end
- end
- mesh.Offset = offset
- mesh.Scale = scale
- return mesh
- end
- function Magic(bonuspeed, type, pos, scale, value, color, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = scale
- local scaler2 = 1
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
- end
- rng:Destroy()
- end))
- end
- function Eviscerate(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local ds = coroutine.wrap(function()
- dude:WaitForChild("Head"):BreakJoints()
- wait(0.5)
- target = nil
- coroutine.resume(coroutine.create(function()
- for i, v in pairs(dude:GetChildren()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- if v:IsA("Humanoid") then
- v:Destroy()
- end
- if v:IsA("CharacterMesh") then
- v:Destroy()
- end
- if v:IsA("Model") then
- v:Destroy()
- end
- if v:IsA("Part") or v:IsA("MeshPart") then
- for x, o in pairs(v:GetChildren()) do
- if o:IsA("Decal") then
- o:Destroy()
- end
- end
- coroutine.resume(coroutine.create(function()
- v.Material = "Neon"
- v.CanCollide = false
- local PartEmmit1 = IT("ParticleEmitter", v)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://243660373"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 75
- PartEmmit1.Lifetime = NumberRange.new(1)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.75, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-500, 500)
- PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
- local BodPoss = IT("BodyPosition", v)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- v.Color = maincolor.Color
- coroutine.resume(coroutine.create(function()
- for i = 0, 49 do
- swait(1)
- v.Transparency = v.Transparency + 0.08
- end
- wait(0.5)
- PartEmmit1.Enabled = false
- wait(3)
- v:Destroy()
- dude:Destroy()
- end))
- end))
- end
- end
- end))
- end)
- ds()
- end
- end
- function FindNearestHead(Position, Distance, SinglePlayer)
- if SinglePlayer then
- return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
- end
- local List = {}
- for i, v in pairs(workspace:GetChildren()) do
- if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
- table.insert(List, v)
- end
- end
- return List
- end
- function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
- local type = type
- local rng = Instance.new("Part", char)
- rng.Anchored = true
- rng.BrickColor = color
- rng.CanCollide = false
- rng.FormFactor = 3
- rng.Name = "Ring"
- rng.Material = "Neon"
- rng.Size = Vector3.new(1, 1, 1)
- rng.Transparency = 0
- rng.TopSurface = 0
- rng.BottomSurface = 0
- rng.CFrame = pos
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
- local rngm = Instance.new("SpecialMesh", rng)
- rngm.MeshType = MType
- rngm.Scale = Vector3.new(x1, y1, z1)
- local scaler2 = 1
- local speeder = FastSpeed
- if type == "Add" then
- scaler2 = 1 * value
- elseif type == "Divide" then
- scaler2 = 1 / value
- end
- coroutine.resume(coroutine.create(function()
- for i = 0, 10 / bonuspeed, 0.1 do
- swait()
- if type == "Add" then
- scaler2 = scaler2 - 0.01 * value / bonuspeed
- elseif type == "Divide" then
- scaler2 = scaler2 - 0.01 / value * bonuspeed
- end
- speeder = speeder - 0.01 * FastSpeed * bonuspeed
- rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
- rng.Transparency = rng.Transparency + 0.01 * bonuspeed
- rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
- end
- rng:Destroy()
- end))
- end
- function SoulSteal(dude)
- if dude.Name ~= char then
- local bgf = IT("BodyGyro", dude.Head)
- bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
- local val = IT("BoolValue", dude)
- val.Name = "IsHit"
- local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
- local soulst = coroutine.wrap(function()
- local soul = Instance.new("Part",dude)
- soul.Size = Vector3.new(1,1,1)
- soul.CanCollide = false
- soul.Anchored = false
- soul.Position = torso.Position
- soul.Transparency = 1
- local PartEmmit1 = IT("ParticleEmitter", soul)
- PartEmmit1.LightEmission = 1
- PartEmmit1.Texture = "rbxassetid://243660373"
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- PartEmmit1.Rate = 75
- PartEmmit1.Lifetime = NumberRange.new(1.6)
- PartEmmit1.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- PartEmmit1.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- PartEmmit1.Speed = NumberRange.new(0, 0)
- PartEmmit1.VelocitySpread = 30000
- PartEmmit1.Rotation = NumberRange.new(-360, 360)
- PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
- local BodPoss = IT("BodyPosition", soul)
- BodPoss.P = 3000
- BodPoss.D = 1000
- BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
- BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
- wait(1.6)
- soul.Touched:connect(function(hit)
- if hit.Parent == char then
- soul:Destroy()
- end
- end)
- wait(1.2)
- while soul do
- swait()
- PartEmmit1.Color = ColorSequence.new(maincolor.Color)
- BodPoss.Position = tors.Position
- end
- end)
- soulst()
- end
- end
- function FaceMouse()
- local Cam = workspace.CurrentCamera
- return {
- CF(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
- Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
- }
- end
- -------------------------------------------------------
- --End Effect Function--
- -------------------------------------------------------
- function Cso(ID, PARENT, VOLUME, PITCH)
- local NSound = nil
- coroutine.resume(coroutine.create(function()
- NSound = IT("Sound", PARENT)
- NSound.Volume = VOLUME
- NSound.Pitch = PITCH
- NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
- swait()
- NSound:play()
- game:GetService("Debris"):AddItem(NSound, 10)
- end))
- return NSound
- end
- -------------------------------------------------------
- --End Important Functions--
- -------------------------------------------------------
- local PurpleFloatyCube = Instance.new("Part", char)
- PurpleFloatyCube.CanCollide = false
- PurpleFloatyCube.BrickColor = BrickC("Crimson")
- PurpleFloatyCube.Size = Vector3.new(0.75, 0.75, 0.75)
- PurpleFloatyCube.Material = "Neon"
- PurpleFloatyCube.TopSurface = Enum.SurfaceType.Smooth
- PurpleFloatyCube.BottomSurface = Enum.SurfaceType.Smooth
- local BodyPosition = Instance.new("BodyPosition", PurpleFloatyCube)
- function WWeld(a, b, acf)
- local we = Instance.new("Weld", a)
- we.Part0 = a
- we.Part1 = b
- we.C0 = acf
- end
- function Emitt(parent,tex,startcolor, endcolor, startsize,endsize,lightem,emdir,lif,rate,speed,rotspeed,sprdang1,sprdang2,locked2part)
- Emitt = IT("ParticleEmitter",parent)
- Emitt.Texture = tex
- Emitt.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,startcolor),ColorSequenceKeypoint.new(1,endcolor)})
- Emitt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,startsize),NumberSequenceKeypoint.new(1,endsize)})
- Emitt.LightEmission = lightem
- Emitt.EmissionDirection = emdir
- Emitt.Lifetime = NumberRange.new(lif)
- Emitt.Rate = rate
- Emitt.Speed = NumberRange.new(speed)
- Emitt.RotSpeed = NumberRange.new(rotspeed)
- Emitt.SpreadAngle = Vector2.new(sprdang1,sprdang2)
- Emitt.LockedToPart = locked2part
- return(Emitt)
- end
- local list = {NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.371,0.525,0),NumberSequenceKeypoint.new(0.775,0.579,0),NumberSequenceKeypoint.new(1,0.985,0)}
- local color1 = Color3.fromRGB(255, 0, 0)
- local color2 = Color3.fromRGB(0, 0, 0)
- local color3 = Color3.fromRGB(125, 0, 0)
- local list4 = {ColorSequenceKeypoint.new(0,color1),ColorSequenceKeypoint.new(0.959,color2),ColorSequenceKeypoint.new(1,color3)}
- local list5 = {NumberSequenceKeypoint.new(0,0.425,0),NumberSequenceKeypoint.new(0.29,0.899,0),NumberSequenceKeypoint.new(0.59,0.955,0),NumberSequenceKeypoint.new(1,0.579,0)}
- local list6 = {NumberSequenceKeypoint.new(0,0.429,0),NumberSequenceKeypoint.new(0.29,0.9,0),NumberSequenceKeypoint.new(0.59,0.959,0),NumberSequenceKeypoint.new(1,0.589,0)}
- local ssjgaurak = Instance.new("ParticleEmitter",PurpleFloatyCube)
- ssjgaurak.Name = "aura2"
- ssjgaurak.Texture = "rbxassetid://243660373"
- ssjgaurak.Color = ColorSequence.new(list4)
- ssjgaurak.Transparency = NumberSequence.new(list)
- ssjgaurak.LightEmission = 1
- ssjgaurak.Speed = NumberRange.new(0)
- ssjgaurak.SpreadAngle = Vector2.new(3,6)
- ssjgaurak.RotSpeed = NumberRange.new(360)
- ssjgaurak.Rotation = NumberRange.new(360)
- ssjgaurak.LightInfluence = 0
- ssjgaurak.Size = NumberSequence.new(list6)
- ssjgaurak.Lifetime = NumberRange.new(2)
- ssjgaurak.Rate = 75
- ssjgaurak.ZOffset = 0
- ssjgaurak.Acceleration = Vector3.new(0,.01,0)
- ssjgaurak.LockedToPart = true
- ssjgaurak.Enabled = true
- local ssjgaura3 = Instance.new("ParticleEmitter",ra)
- ssjgaura3.Name = "aura2"
- ssjgaura3.Texture = "rbxassetid://243660373"
- ssjgaura3.Color = ColorSequence.new(list4)
- ssjgaura3.Transparency = NumberSequence.new(list)
- ssjgaura3.LightEmission = 1
- ssjgaura3.LightInfluence = 0
- ssjgaura3.Speed = NumberRange.new(0)
- ssjgaura3.SpreadAngle = Vector2.new(0,0)
- ssjgaura3.RotSpeed = NumberRange.new(0)
- ssjgaura3.Rotation = NumberRange.new(0)
- ssjgaura3.Size = NumberSequence.new(list5)
- ssjgaura3.Lifetime = NumberRange.new(5)
- ssjgaura3.Rate = 75
- ssjgaura3.ZOffset = 0
- ssjgaura3.Acceleration = Vector3.new(0,0.09,0)
- ssjgaura3.LockedToPart = true
- local ssjgaura4 = Instance.new("ParticleEmitter",la)
- ssjgaura4.Name = "aura2"
- ssjgaura4.Texture = "rbxassetid://243660373"
- ssjgaura4.Color = ColorSequence.new(list4)
- ssjgaura4.Transparency = NumberSequence.new(list)
- ssjgaura4.LightEmission = 1
- ssjgaura4.LightInfluence = 0
- ssjgaura4.Speed = NumberRange.new(0)
- ssjgaura4.SpreadAngle = Vector2.new(0,0)
- ssjgaura4.RotSpeed = NumberRange.new(0)
- ssjgaura4.Rotation = NumberRange.new(0)
- ssjgaura4.Size = NumberSequence.new(list5)
- ssjgaura4.Lifetime = NumberRange.new(5)
- ssjgaura4.Rate = 75
- ssjgaura4.ZOffset = 0
- ssjgaura4.Acceleration = Vector3.new(0,0.09,0)
- ssjgaura4.LockedToPart = true
- local ssjgaurag = Instance.new("ParticleEmitter",tors)
- ssjgaurag.Name = "aura2"
- ssjgaurag.Texture = "rbxassetid://243660373"
- ssjgaurag.Color = ColorSequence.new(list4)
- ssjgaurag.Transparency = NumberSequence.new(list)
- ssjgaurag.LightEmission = 1
- ssjgaurag.LightInfluence = 1
- ssjgaurag.Speed = NumberRange.new(0)
- ssjgaurag.SpreadAngle = Vector2.new(0,0)
- ssjgaurag.RotSpeed = NumberRange.new(0)
- ssjgaurag.Rotation = NumberRange.new(0)
- ssjgaurag.Size = NumberSequence.new(list5)
- ssjgaurag.Lifetime = NumberRange.new(5)
- ssjgaurag.Rate = 75
- ssjgaurag.ZOffset = 0
- ssjgaurag.Acceleration = Vector3.new(0,0.09,0)
- ssjgaurag.LockedToPart = true
- local ssjgaura1 = Instance.new("ParticleEmitter",rl)
- ssjgaura1.Name = "aura2"
- ssjgaura1.Texture = "rbxassetid://243660373"
- ssjgaura1.Color = ColorSequence.new(list4)
- ssjgaura1.Transparency = NumberSequence.new(list)
- ssjgaura1.LightEmission = 1
- ssjgaura1.LightInfluence = 0
- ssjgaura1.Speed = NumberRange.new(0)
- ssjgaura1.SpreadAngle = Vector2.new(0,0)
- ssjgaura1.RotSpeed = NumberRange.new(0)
- ssjgaura1.Rotation = NumberRange.new(0)
- ssjgaura1.Size = NumberSequence.new(list5)
- ssjgaura1.Lifetime = NumberRange.new(5)
- ssjgaura1.Rate = 75
- ssjgaura1.ZOffset = 0
- ssjgaura1.Acceleration = Vector3.new(0,0.09,0)
- ssjgaura1.LockedToPart = false
- local ssjgaura2 = Instance.new("ParticleEmitter",ll)
- ssjgaura2.Name = "aura2"
- ssjgaura2.Texture = "rbxassetid://243660373"
- ssjgaura2.Color = ColorSequence.new(list4)
- ssjgaura2.Transparency = NumberSequence.new(list)
- ssjgaura2.LightEmission = 1
- ssjgaura2.LightInfluence = 0
- ssjgaura2.Speed = NumberRange.new(0)
- ssjgaura2.SpreadAngle = Vector2.new(0,0)
- ssjgaura2.RotSpeed = NumberRange.new(0)
- ssjgaura2.Rotation = NumberRange.new(0)
- ssjgaura2.Size = NumberSequence.new(list5)
- ssjgaura2.Lifetime = NumberRange.new(5)
- ssjgaura2.Rate = 75
- ssjgaura2.ZOffset = 0
- ssjgaura2.Acceleration = Vector3.new(0,0.09,0)
- ssjgaura2.LockedToPart = false
- local DarEye = Instance.new("Part", char)
- DarEye.CanCollide = false
- DarEye.BrickColor = BrickC("Really black")
- DarEye.Color = Color3.new(0,0,0)
- DarEye.Material = "Glass"
- DarEye.Size = Vector3.new(.15,.15,.15)
- WWeld(DarEye, hed, CF(0.15,-0.2,0.55), CF(1,0,0))
- DarEyeMesh = Instance.new("SpecialMesh", DarEye)
- DarEyeMesh.MeshType = "Sphere"
- DarEyeMesh.Scale = Vector3.new(0.7,1.3,0.9)
- DarEye.Locked = true
- local DarEye2 = Instance.new("Part", char)
- DarEye2.CanCollide = false
- DarEye2.BrickColor = BrickC("Smoky grey")
- DarEye2.Material = "Neon"
- DarEye2.Size = Vector3.new(.15,.15,.15)
- WWeld(DarEye2, hed, CF(-0.15,-0.2,0.55), CF(1,0,0))
- DarEyeMesh2 = Instance.new("SpecialMesh", DarEye2)
- DarEyeMesh2.MeshType = "Sphere"
- DarEyeMesh2.Scale = Vector3.new(0.7,1.3,0.9)
- DarEye2.Locked = true
- Emitt(DarEye,"rbxassetid://243660373",Color3.new(1,0,0),Color3.new(0,0,0),0.1,0.1,1,"Top",0.5,5000,0.25,200,0,360,true)
- char.Shirt:Destroy()
- char.Pants:Destroy()
- hed.face:Remove()
- for i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(char:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- la.BrickColor = BrickC("Crimson")
- ra.BrickColor = BrickC("Crimson")
- rl.BrickColor = BrickC("Crimson")
- ll.BrickColor = BrickC("Crimson")
- hed.BrickColor = BrickC("Crimson")
- tors.BrickColor = BrickC("Crimson")
- -------------------------------------------------------
- --Start Music Option--
- -------------------------------------------------------
- local Music = Instance.new("Sound",tors)
- Music.Volume = 2.5
- Music.SoundId = "rbxassetid://1494452913"
- Music.Looped = true
- Music.Pitch = 1 --Pitcher
- Music:Play()
- -------------------------------------------------------
- --End Music Option--
- -------------------------------------------------------
- local naeeym2 = Instance.new("BillboardGui",char)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(5,35,2,35)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.Adornee = hed
- naeeym2.Name = "Name"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "The Burning Nightmare"
- tecks2.Font = "Garamond"
- tecks2.TextSize = 30
- tecks2.TextTransparency = 0
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.new(0,0,0)
- tecks2.TextStrokeColor3 = Color3.new(125, 0, 0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- -------------------------------------------------------
- --Start Attacks N Stuff--
- -------------------------------------------------------
- local sine=0
- function HitboxFunction(Pose, lifetime, siz1, siz2, siz3, Radie, Min, Max, kb, atype)
- local Hitboxpart = Instance.new("Part", EffectModel)
- RemoveOutlines(Hitboxpart)
- Hitboxpart.Size = Vector3.new(siz1, siz2, siz3)
- Hitboxpart.CanCollide = false
- Hitboxpart.Transparency = 1
- Hitboxpart.Anchored = true
- Hitboxpart.CFrame = Pose
- game:GetService("Debris"):AddItem(Hitboxpart, lifetime)
- MagniDamage(Hitboxpart, Radie, Min, Max, kb, atype)
- end
- wait2 = false
- combo = 1
- mouse.Button1Down:connect(function(key)
- if attack == false then
- attack = true
- hum.WalkSpeed = 3.01
- if combo == 1 and wait2 == false then
- wait2 = true
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
- end
- Cso("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
- end
- combo = 2
- end
- if combo == 2 and wait2 == false then
- wait2 = true
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(60)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, .8) * angles(Rad(90), Rad(0), Rad(-75)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- end
- Cso("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-60)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -.8) * angles(Rad(0), Rad(0), Rad(90)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(20), Rad(-10)), 0.3)
- end
- combo = 3
- end
- if combo == 3 and wait2 == false then
- wait2 = true
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(-65)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(180), Rad(0), Rad(20)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(40)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
- end
- Cso("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(76), Rad(0), Rad(-40)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-25), Rad(0), Rad(-10)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
- end
- combo = 4
- end
- if combo == 4 and wait2 == false then
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(-5), Rad(0), Rad(-65)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(-65)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0.8) * angles(Rad(87), Rad(0), Rad(20)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, -0.2) * RHCF * angles(Rad(-2.5), Rad(0), Rad(-0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(15), Rad(-20)), 0.3)
- end
- Cso("138097048", ra, 3, .8)
- HitboxFunction(ra.CFrame, 0.01, 1, 1, 1, 7, 6, 9, 3, "Normal")
- for i = 0, 1.2, 0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -0.5, 0) * angles(Rad(7), Rad(0), Rad(75)), 0.3)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(0)), 0.1)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5, -0.8) * angles(Rad(-96), Rad(0), Rad(-40)), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(0), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1, 0) * RHCF * angles(Rad(-2.5), Rad(-25), Rad(-17)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -1, 0) * LHCF * angles(Rad(-2.5), Rad(-0), Rad(0)), 0.3)
- end
- combo = 1
- end
- hum.WalkSpeed = 16
- wait2 = false
- attack = false
- end
- end)
- function Burning_Sphere()
- attack = true
- local orb = Instance.new("Part", char)
- orb.Anchored = true
- orb.BrickColor = BrickC("Crimson")
- orb.CanCollide = false
- orb.FormFactor = 3
- orb.Name = "Ring"
- orb.Material = "Neon"
- orb.Size = Vector3.new(1, 1, 1)
- orb.Transparency = 0
- orb.TopSurface = 0
- orb.BottomSurface = 0
- local orbm = Instance.new("SpecialMesh", orb)
- orbm.MeshType = "Sphere"
- orbm.Name = "SizeMesh"
- orbm.Scale = Vector3.new(0, 0, 0)
- local scaled = 0.1
- local posid = 0
- for i = 0, 5, 0.1 do
- swait()
- scaled = scaled - 0.001
- posid = posid - scaled
- orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
- orbm.Scale = orbm.Scale + Vector3.new(scaled, scaled, scaled)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-20)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(20)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(180), Rad(-1), Rad(17 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
- end
- for i = 0, 2, 0.1 do
- swait()
- orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(30)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-30)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(87), Rad(-1), Rad(-37 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
- end
- coroutine.resume(coroutine.create(function()
- orb.Anchored = false
- CFuncs.Sound.Create("rbxassetid://260433768", root, 1.25, 1)
- local a = Instance.new("Part", workspace)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = BrickC("Bright red")
- a.Material = "Neon"
- a.Transparency = 1
- a.CanCollide = false
- local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 500)
- local ignore = orb
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 10
- a.TopSurface = 10
- local distance = (orb.CFrame.p - position).magnitude
- a.Size = Vector3.new(0.1, 0.1, 0.1)
- a.CFrame = CF(orb.CFrame.p, position) * CF(0, 0, 0)
- orb.CFrame = a.CFrame
- a:Destroy()
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
- bv.velocity = orb.CFrame.lookVector * 125
- bv.Parent = orb
- local hitted = false
- game:GetService("Debris"):AddItem(orb, 15)
- wait()
- local hit = orb.Touched:connect(function(hit)
- if hitted == false then
- hitted = true
- CFuncs.Sound.Create("rbxassetid://151304356", orb, 5, 1)
- MagniDamage(orb, 65, 65, 90, 0, "Normal")
- Magic(1, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 1, BrickColor.new("Crimson"), "Sphere")
- Magic(2, "Add", orb.CFrame, Vector3.new(orbm.Scale.x, orbm.Scale.y, orbm.Scale.z), 2, BrickColor.new("Crimson"), "Sphere")
- for i = 0, 9 do
- Aura(1, 2.5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Crimson"), 0, "Sphere")
- Aura(2, 5, "Add", orb.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 5, 5, 50, -0.05, BrickColor.new("Crimson"), 0, "Sphere")
- end
- orb.Anchored = true
- orb.Transparency = 1
- wait(8)
- orb:Destroy()
- end
- end)
- end))
- for i = 0, 1, 0.1 do
- swait()
- orb.CFrame = ra.CFrame * CF(0, -0.1 + posid / 1.05, 0)
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-30)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(30)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(87), Rad(-1), Rad(17 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
- end
- attack = false
- end
- function Beamo()
- attack = true
- hum.WalkSpeed = 0
- local Ring1 = Instance.new("Part", char)
- Ring1.Anchored = true
- Ring1.BrickColor = maincolor
- Ring1.CanCollide = false
- Ring1.FormFactor = 3
- Ring1.Name = "Ring"
- Ring1.Material = "Neon"
- Ring1.Size = Vector3.new(1, 0.05, 1)
- Ring1.Transparency = 1
- Ring1.TopSurface = 0
- Ring1.BottomSurface = 0
- local Ring1Mesh = Instance.new("SpecialMesh", Ring1)
- Ring1Mesh.MeshType = "Brick"
- Ring1Mesh.Name = "SizeMesh"
- Ring1Mesh.Scale = Vector3.new(0, 1, 0)
- local InnerRing1 = Ring1:Clone()
- InnerRing1.Parent = char
- InnerRing1.Transparency = 0
- InnerRing1.BrickColor = BrickColor.new("New Yeller")
- InnerRing1.Size = Vector3.new(1, 1, 1)
- local InnerRing1Mesh = InnerRing1.SizeMesh
- InnerRing1Mesh.Scale = Vector3.new(0, 0, 0)
- InnerRing1Mesh.MeshType = "Sphere"
- Ring1:Destroy()
- for i = 0, 8, 0.1 do
- swait()
- Aura(7, 0.12, "Add", ra.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Sphere")
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 - 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(90)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(35 - 4.5 * Sin(sine / 30)), Rad(0), Rad(-90)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5 + 3 * Sin(sine / 20)), Rad(0), Rad(0 + 2.5 * Sin(sine / 20))), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(-3 * Sin(sine / 20)), Rad(-10 * Sin(sine / 20)), Rad(90 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0) * angles(Rad(4 * Sin(sine / 20)), Rad(10 * Sin(sine / 20)), Rad(-3 + 2.5 * Sin(sine / 20))), 0.1)
- end
- InnerRing1.Transparency = 1
- InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 5
- Cso("294188875", char, 2.3, 1)
- local a = IT("Part", char)
- a.Name = "Direction"
- a.Anchored = true
- a.BrickColor = BrickC("White")
- a.Material = "Neon"
- a.Transparency = 0
- a.Shape = "Cylinder"
- a.CanCollide = false
- local a2 = IT("Part", char)
- a2.Name = "Direction"
- a2.Anchored = true
- a2.BrickColor = BrickC("New Yeller")
- a2.Color = maincolor.Color
- a2.Material = "Neon"
- a2.Transparency = 0.2
- a2.Shape = "Cylinder"
- a2.CanCollide = false
- local ba = IT("Part", char)
- ba.Name = "HitDirect"
- ba.Anchored = true
- ba.BrickColor = BrickC("Really black")
- ba.Material = "Neon"
- ba.Transparency = 1
- ba.CanCollide = false
- local ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- local ignore = char
- local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- a.BottomSurface = 9.9
- a.TopSurface = 9.9
- a2.BottomSurface = 10
- a2.TopSurface = 10
- local distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- game:GetService("Debris"):AddItem(a, 20)
- game:GetService("Debris"):AddItem(a2, 20)
- game:GetService("Debris"):AddItem(ba, 20)
- local msh = Instance.new("SpecialMesh", a)
- msh.MeshType = "Cylinder"
- msh.Scale = Vector3.new(1, 15, 15)
- local msh2 = Instance.new("SpecialMesh", a2)
- msh2.MeshType = "Cylinder"
- msh2.Scale = Vector3.new(1, 25, 25)
- for z = 0, 1 do
- for i = 0, 4, 0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
- a2.Color = maincolor.Color
- root.CFrame = FaceMouse()[1]
- InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
- ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- msh.Scale = msh.Scale - Vector3.new(0, 0.25, 0.25)
- msh2.Scale = msh2.Scale - Vector3.new(0, 0.3, 0.3)
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
- for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- end
- for i = 0, 4, 0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
- a2.Color = maincolor.Color
- root.CFrame = FaceMouse()[1]
- InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
- ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- msh.Scale = msh.Scale + Vector3.new(0, 0.25, 0.25)
- msh2.Scale = msh2.Scale + Vector3.new(0, 0.3, 0.3)
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
- for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- end
- end
- for i = 0, 10, 0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-1,1),0,Mrandom(-1,1))
- a2.Color = maincolor.Color
- root.CFrame = FaceMouse()[1]
- InnerRing1.CFrame = root.CFrame * CF(0, 0.5, 0) + root.CFrame.lookVector * 4
- ray = Ray.new(InnerRing1.CFrame.p, (mouse.Hit.p - InnerRing1.CFrame.p).unit * 1000)
- hit, position, normal = workspace:FindPartOnRay(ray, ignore)
- distance = (InnerRing1.CFrame.p - position).magnitude
- a.Size = Vector3.new(distance, 1, 1)
- a.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- a2.Size = Vector3.new(distance, 1, 1)
- a2.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance / 2)
- ba.CFrame = CF(InnerRing1.CFrame.p, position) * CF(0, 0, -distance)
- a.CFrame = a.CFrame * angles(0, Rad(90), 0)
- a2.CFrame = a2.CFrame * angles(0, Rad(90), 0)
- msh.Scale = msh.Scale - Vector3.new(0, 0.15, 0.15)
- msh2.Scale = msh2.Scale - Vector3.new(0, 0.2, 0.2)
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Sphere")
- Aura(5, 0.15, "Add", ba.CFrame * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 15, 15, 25, -0.15, maincolor, 0, "Brick")
- for i, v in pairs(FindNearestHead(ba.CFrame.p, 14.5)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- end
- hum.WalkSpeed = 8
- a:Destroy()
- a2:Destroy()
- ba:Destroy()
- InnerRing1:Destroy()
- attack = false
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- function Chaotic_Stomp()
- attack = true
- for i = 0,5.2,0.1 do
- swait()
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(-20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(-45 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(135), Rad(0), Rad(45 + 2.5 * Sin(sine / 20))), 0.1)
- end
- Cso("331666100", char, 10, .85)
- coroutine.resume(coroutine.create(function()
- for i = 0,3.7,0.1 do
- Aura(2.5, 0.75, "Add", root.CFrame * CF(Mrandom(-9.5, 9.5), -5, Mrandom(-9.5, 9.5)) * angles(Rad(90 + Rad(Mrandom(-45, 45))), Rad(Mrandom(-45, 45)), Rad(Mrandom(-45, 45))), 2.5, 2.5, 25, -0.025, maincolor, 0, "Brick")
- end
- end))
- Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
- Aura(6, 0.3, "Add", root.CFrame * CF(0,-2,0) * angles(Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360)), Rad(Mrandom(-360, 360))), 0.5, 0.5, 5, -0.005, maincolor, 0, "Brick")
- Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 15.1, 15.1, 15.1, 0.01)
- Effects.Sphere.Create(maincolor, root.CFrame * CF(0,-2,0) , 85, 85, 85, 11.1, 11.1, 11.1, 0.01)
- Magic(5, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 1, maincolor, "Sphere")
- Magic(10, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(0, 0, 0), 2, maincolor, "Sphere")
- Magic(1, "Add", root.CFrame * CF(0, -2.9, 0), Vector3.new(35, 0.1, 35), 0.01, maincolor, "Sphere")
- for i, v in pairs(FindNearestHead(tors.CFrame.p, 14.7)) do
- if v:FindFirstChild("Head") then
- Eviscerate(v)
- end
- end
- coroutine.resume(coroutine.create(function()
- for i = 0,2.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(Mrandom(-3,3),Mrandom(-3,3),Mrandom(-3,3))
- end
- for i = 0,1.8,0.1 do
- swait()
- hum.CameraOffset = Vector3.new(0,0,0)
- end
- end))
- for i = 0,3.7,0.1 do
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-4.5), Rad(0), Rad(20)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-6.5), Rad(5 * Cos(sine / 20)), Rad(-25)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(25 - 2.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(-40), Rad(0), Rad(-25 + 2.5 * Sin(sine / 20))), 0.1)
- end
- wait(.6)
- attack = false
- end
- -------------------------------------------------------
- --End Attacks N Stuff--
- -------------------------------------------------------
- mouse.KeyDown:connect(function(key)
- if string.byte(key) == 48 then
- Swing = 2
- hum.WalkSpeed = 38.82
- end
- end)
- mouse.KeyUp:connect(function(key)
- if string.byte(key) == 48 then
- Swing = 1
- hum.WalkSpeed = 8
- end
- end)
- mouse.KeyDown:connect(function(key)
- if attack == false then
- if key == 'z' then
- Burning_Sphere()
- elseif key == 'x' then
- Beamo()
- elseif key == 'c' then
- Chaotic_Stomp()
- end
- end
- end)
- -------------------------------------------------------
- --Start Animations--
- -------------------------------------------------------
- local equipped = false
- local idle = 0
- local change = 1
- local val = 0
- local toim = 0
- local idleanim = 0.4
- hum.WalkSpeed = 8
- hum.JumpPower = 57
- hum.Animator.Parent = nil
- while true do
- swait()
- sine = sine + change
- local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
- local velderp = root.Velocity.y
- hitfloor, posfloor = rayCast(root.Position, CF(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4, char)
- if equipped == true or equipped == false then
- if attack == false then
- idle = idle + 1
- else
- idle = 0
- end
- Aura(5, 0.3, "Add" , root.CFrame * CF(Mrandom(-9, 9), -6, Mrandom(-9, 9)) * angles(Rad(90), 0, 0), 1.5, 1.5, 10, -0.015, BrickColor.new("Really black"), 0, "Brick")
- BodyPosition.Position = hed.CFrame:pointToWorldSpace(Vector3.new(2, 1, 0))
- if 1 < root.Velocity.y and hitfloor == nil then
- Anim = "Jump"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -.2 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -.9 - 0.1 * Cos(sine / 20), -.5) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif -1 > root.Velocity.y and hitfloor == nil then
- Anim = "Fall"
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -1 - 0.1 * Cos(sine / 20), -.3) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -.8 - 0.1 * Cos(sine / 20), -.3) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.02 * Sin(sine / 20), 0) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif torvel < 1 and hitfloor ~= nil then
- Anim = "Idle"
- change = .5
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 30)), Rad(0), Rad(-20)), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
- RW.C0 = clerp(RW.C0, CF(.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-1), Rad(-75 + 4.5 * Sin(sine / 20))), 0.1)
- LW.C0 = clerp(LW.C0, CF(-.9, 0.5 + 0.02 * Sin(sine / 20), -.4) * angles(Rad(90), Rad(-.6), Rad(65 - 4.5 * Sin(sine / 20))), 0.1)
- end
- elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
- Anim = "Walk"
- change = .9
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(3 * Cos(sine / 7))), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
- LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(25 + 2.5 * Sin(sine / 20)), Rad(55 + 2.5 * Sin(sine / 20))), 0.12)
- end
- elseif torvel >= 25 and hitfloor ~= nil then
- Anim = "Sprint"
- change = 1.35
- if attack == false then
- rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
- tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
- RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
- RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
- LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
- end
- end
- end
- if 0 < #Effects then
- for e = 1, #Effects do
- if Effects[e] ~= nil then
- local Thing = Effects[e]
- if Thing ~= nil then
- local Part = Thing[1]
- local Mode = Thing[2]
- local Delay = Thing[3]
- local IncX = Thing[4]
- local IncY = Thing[5]
- local IncZ = Thing[6]
- if 1 >= Thing[1].Transparency then
- if Thing[2] == "Block1" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50))
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block2" then
- Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Block3" then
- Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(Mrandom(-50, 50), Mrandom(-50, 50), Mrandom(-50, 50)) + Vector3.new(0, 0.15, 0)
- local Mesh = Thing[7]
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Cylinder" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Blood" then
- local Mesh = Thing[7]
- Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Elec" then
- local Mesh = Thing[1].Mesh
- Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Disappear" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- elseif Thing[2] == "Shatter" then
- Thing[1].Transparency = Thing[1].Transparency + Thing[3]
- Thing[4] = Thing[4] * CF(0, Thing[7], 0)
- Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
- Thing[6] = Thing[6] + Thing[5]
- end
- else
- Part.Parent = nil
- table.remove(Effects, e)
- end
- end
- end
- end
- end
- end
- -------------------------------------------------------
- --End Animations And Script--
- -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement