Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --//====================================================\\--
- -- CREATED BY SHACKLUSTER -- EDITED BY ZAKD211006
- --\\====================================================//-- -- Ello
- --This was fixed by MRSHEEPY123. Here are some of the things I did/removed in the script (sorry if it upsets you)
- --The move "X" is basically a suicide move in this version as it makes you vanish and you do not come back
- --Removed Fire Particles. They broke and I did not have a solution to fix that issue.
- --Removed the package your character would have. It now uses your own character's current package.
- --Added Text like the working one Shackluster used.
- --I sadly had to remove some moves as they would not work. :(
- --Enjoy it anyways :) (No way am i tradeing)
- wait(1)
- Player = game:GetService("Players").LocalPlayer
- PlayerGui = Player.PlayerGui
- Cam = workspace.CurrentCamera
- Backpack = Player.Backpack
- repeat wait() until Player.Character
- Character = Player.Character
- repeat wait() until Player.Character:FindFirstChildOfClass("Humanoid")
- Humanoid = Character:FindFirstChildOfClass("Humanoid")
- Mouse = Player:GetMouse()
- RootPart = Character["HumanoidRootPart"]
- Torso = Character["Torso"]
- Head = Character["Head"]
- RightArm = Character["Right Arm"]
- LeftArm = Character["Left Arm"]
- RightLeg = Character["Right Leg"]
- LeftLeg = Character["Left Leg"]
- RootJoint = RootPart["RootJoint"]
- Neck = Torso["Neck"]
- RightShoulder = Torso["Right Shoulder"]
- LeftShoulder = Torso["Left Shoulder"]
- RightHip = Torso["Right Hip"]
- LeftHip = Torso["Left Hip"]
- IT = Instance.new
- CF = CFrame.new
- VT = Vector3.new
- RAD = math.rad
- C3 = Color3.new
- UD2 = UDim2.new
- BRICKC = BrickColor.new
- ANGLES = CFrame.Angles
- EULER = CFrame.fromEulerAnglesXYZ
- COS = math.cos
- ACOS = math.acos
- SIN = math.sin
- ASIN = math.asin
- ABS = math.abs
- MRANDOM = math.random
- FLOOR = math.floor
- local naeeym2 = Instance.new("BillboardGui",Character)
- naeeym2.AlwaysOnTop = true
- naeeym2.Size = UDim2.new(7,35,3,15)
- naeeym2.StudsOffset = Vector3.new(0,2,0)
- naeeym2.MaxDistance = 75
- naeeym2.Adornee = Character.Head
- naeeym2.Name = "Name2"
- local tecks2 = Instance.new("TextLabel",naeeym2)
- tecks2.BackgroundTransparency = 1
- tecks2.TextScaled = true
- tecks2.BorderSizePixel = 0
- tecks2.Text = "NoobyPotato The Lord"
- tecks2.Font = "Bodoni"
- tecks2.TextSize = 30
- tecks2.TextStrokeTransparency = 0
- tecks2.TextColor3 = Color3.fromRGB(255,255,0)
- tecks2.TextStrokeColor3 = Color3.fromRGB(0,255,0)
- tecks2.Size = UDim2.new(1,0,0.5,0)
- tecks2.Parent = naeeym2
- local naeeym3 = Instance.new("BillboardGui",Character)
- naeeym3.AlwaysOnTop = true
- naeeym3.Size = UDim2.new(7,35,3,15)
- naeeym3.StudsOffset = Vector3.new(2,3,0)
- naeeym3.MaxDistance = 75
- naeeym3.Adornee = Character.Head
- naeeym3.Name = "Name3"
- local tecks3 = Instance.new("TextLabel",naeeym2)
- tecks3.BackgroundTransparency = 1
- tecks3.TextScaled = true
- tecks3.BorderSizePixel = 0
- tecks3.Text = "NoobyPotato"
- tecks3.Font = "SciFi"
- tecks3.TextSize = 30
- tecks3.TextStrokeTransparency = 0
- tecks3.TextColor3 = Color3.fromRGB(140, 140, 140)
- tecks3.TextStrokeColor3 = Color3.fromRGB(140, 140, 140)
- tecks3.Size = UDim2.new(0.5,0,0.2,0)
- tecks3.Parent = naeeym3
- --//=================================\\
- --|| USEFUL VALUES
- --\\=================================//
- Animation_Speed = 3
- Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
- local Speed = 16
- local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
- local RIGHTSHOULDERC0 = CF(-0.5, -0.25, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
- local LEFTSHOULDERC0 = CF(0.5, -0.25, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
- local DAMAGEMULTIPLIER = 1
- local ANIM = "Idle"
- local ATTACK = false
- local EQUIPPED = false
- local HOLD = false
- local COMBO = 1
- local Rooted = false
- local SINE = 0
- local KEYHOLD = false
- local CHANGE = 2 / Animation_Speed
- local WALKINGANIM = false
- local VALUE1 = false
- local VALUE2 = false
- local ROBLOXIDLEANIMATION = IT("Animation")
- ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
- ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
- --ROBLOXIDLEANIMATION.Parent = Humanoid
- local WEAPONGUI = IT("ScreenGui", PlayerGui)
- WEAPONGUI.Name = "Weapon GUI"
- local Effects = IT("Folder", Character)
- Effects.Name = "Effects"
- local SpecialEffects = IT("Folder", Character)
- SpecialEffects.Name = "SpecialEffects"
- local ANIMATOR = Humanoid.Animator
- local ANIMATE = Character.Animate
- local UNANCHOR = true
- local REGENRATE = 1
- local FULLREGEN = false
- local POSEIDON = false
- local EXPLOSIONSMALLSOUND = 439342426
- local EXPLOSIONMEDIUMSOUND = 605005842
- local EXPLOSIONLARGESOUND = 565538688
- local CHARGE = 278641993
- local POSEIDONSOUND = 374289727
- local FIREBALLSOUND = 414517770
- local BURNSOUND = 565777213
- local FIREFIELD = false
- local SEARING = false
- local BODYPOS = nil
- local GYRO = nil
- local DIRECTTURN = false
- local APPLYGYRO = true
- local SONGS = {1604593557,1534958855,614032233}
- local CHOSENSONG = MRANDOM(1,#SONGS)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SAZERENOS' ARTIFICIAL HEARTBEAT
- --\\=================================//
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "ArtificialHB"
- script:WaitForChild("ArtificialHB")
- frame = Frame_Speed
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.ArtificialHB:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.ArtificialHB:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.ArtificialHB:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- --//=================================\\
- --\\=================================//
- --//=================================\\
- --|| SOME FUNCTIONS
- --\\=================================//
- function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
- return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
- end
- function PositiveAngle(NUMBER)
- if NUMBER >= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function NegativeAngle(NUMBER)
- if NUMBER <= 0 then
- NUMBER = 0
- end
- return NUMBER
- end
- function Swait(NUMBER)
- if NUMBER == 0 or NUMBER == nil then
- ArtificialHB.Event:wait()
- else
- for i = 1, NUMBER do
- ArtificialHB.Event:wait()
- end
- end
- end
- function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
- local NEWMESH = IT(MESH)
- if MESH == "SpecialMesh" then
- NEWMESH.MeshType = MESHTYPE
- if MESHID ~= "nil" and MESHID ~= "" then
- NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
- end
- if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
- NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
- end
- end
- NEWMESH.Offset = OFFSET or VT(0, 0, 0)
- NEWMESH.Scale = SCALE
- NEWMESH.Parent = PARENT
- return NEWMESH
- end
- function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
- local NEWPART = IT("Part")
- NEWPART.formFactor = FORMFACTOR
- NEWPART.Reflectance = REFLECTANCE
- NEWPART.Transparency = TRANSPARENCY
- NEWPART.CanCollide = false
- NEWPART.Locked = true
- NEWPART.Anchored = true
- if ANCHOR == false then
- NEWPART.Anchored = false
- end
- NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
- NEWPART.Name = NAME
- NEWPART.Size = SIZE
- NEWPART.Position = Torso.Position
- NEWPART.Material = MATERIAL
- NEWPART:BreakJoints()
- NEWPART.Parent = PARENT
- return NEWPART
- end
- local function weldBetween(a, b)
- local weldd = Instance.new("ManualWeld")
- weldd.Part0 = a
- weldd.Part1 = b
- weldd.C0 = CFrame.new()
- weldd.C1 = b.CFrame:inverse() * a.CFrame
- weldd.Parent = a
- return weldd
- 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 m11 > m00 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 CFrame.new(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 >= 0.0001 then
- if (1 - cosTheta) > 0.0001 then
- local theta = 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
- else
- if (1 + cosTheta) > 0.0001 then
- local theta = 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
- 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 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 CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = IT("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
- local label = IT("TextLabel")
- label.BackgroundTransparency = 1
- label.Size = UD2(1, 0, 1, 0)
- label.Position = UD2(0, 0, 0, 0)
- label.TextColor3 = TEXTCOLOR
- label.TextStrokeTransparency = STROKETRANSPARENCY
- label.TextTransparency = TRANSPARENCY
- label.FontSize = TEXTFONTSIZE
- label.Font = TEXTFONT
- label.BorderSizePixel = BORDERSIZEPIXEL
- label.TextScaled = false
- label.Text = TEXT
- label.Name = NAME
- label.Parent = PARENT
- return label
- end
- function NoOutlines(PART)
- PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
- end
- function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
- local NEWWELD = IT(TYPE)
- NEWWELD.Part0 = PART0
- NEWWELD.Part1 = PART1
- NEWWELD.C0 = C0
- NEWWELD.C1 = C1
- NEWWELD.Parent = PARENT
- return NEWWELD
- end
- local S = IT("Sound")
- function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
- local NEWSOUND = nil
- coroutine.resume(coroutine.create(function()
- NEWSOUND = S:Clone()
- NEWSOUND.Parent = PARENT
- NEWSOUND.Volume = VOLUME
- NEWSOUND.Pitch = PITCH
- NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
- NEWSOUND:play()
- if DOESLOOP == true then
- NEWSOUND.Looped = true
- else
- repeat wait(1) until NEWSOUND.Playing == false
- NEWSOUND:remove()
- end
- end))
- return NEWSOUND
- end
- function CFrameFromTopBack(at, top, back)
- local right = top:Cross(back)
- return CF(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
- --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- function WACKYEFFECT(Table)
- local TYPE = (Table.EffectType or "Sphere")
- local SIZE = (Table.Size or VT(1,1,1))
- local ENDSIZE = (Table.Size2 or VT(0,0,0))
- local TRANSPARENCY = (Table.Transparency or 0)
- local ENDTRANSPARENCY = (Table.Transparency2 or 1)
- local CFRAME = (Table.CFrame or Torso.CFrame)
- local MOVEDIRECTION = (Table.MoveToPos or nil)
- local ROTATION1 = (Table.RotationX or 0)
- local ROTATION2 = (Table.RotationY or 0)
- local ROTATION3 = (Table.RotationZ or 0)
- local MATERIAL = (Table.Material or "Neon")
- local COLOR = (Table.Color or C3(1,1,1))
- local TIME = (Table.Time or 45)
- local SOUNDID = (Table.SoundID or nil)
- local SOUNDPITCH = (Table.SoundPitch or nil)
- local SOUNDVOLUME = (Table.SoundVolume or nil)
- coroutine.resume(coroutine.create(function()
- local PLAYSSOUND = false
- local SOUND = nil
- local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
- if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
- PLAYSSOUND = true
- SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
- end
- EFFECT.Color = COLOR
- local MSH = nil
- if TYPE == "Sphere" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
- elseif TYPE == "Block" then
- MSH = IT("BlockMesh",EFFECT)
- MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
- elseif TYPE == "Wave" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
- elseif TYPE == "Ring" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
- elseif TYPE == "Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Round Slash" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
- elseif TYPE == "Swirl" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
- elseif TYPE == "Skull" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
- elseif TYPE == "Crystal" then
- MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
- end
- if MSH ~= nil then
- local MOVESPEED = nil
- if MOVEDIRECTION ~= nil then
- MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
- end
- local GROWTH = SIZE - ENDSIZE
- local TRANS = TRANSPARENCY - ENDTRANSPARENCY
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = CFRAME
- end
- for LOOP = 1, TIME+1 do
- Swait()
- MSH.Scale = MSH.Scale - GROWTH/TIME
- if TYPE == "Wave" then
- MSH.Offset = VT(0,0,-MSH.Scale.X/8)
- end
- EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
- if TYPE == "Block" then
- EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
- else
- EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
- end
- if MOVEDIRECTION ~= nil then
- local ORI = EFFECT.Orientation
- EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
- EFFECT.Orientation = ORI
- end
- end
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- else
- if PLAYSSOUND == false then
- EFFECT:remove()
- else
- repeat Swait() until SOUND.Playing == false
- EFFECT:remove()
- end
- end
- end))
- end
- function MakeForm(PART,TYPE)
- if TYPE == "Cyl" then
- local MSH = IT("CylinderMesh",PART)
- elseif TYPE == "Ball" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Sphere"
- elseif TYPE == "Wedge" then
- local MSH = IT("SpecialMesh",PART)
- MSH.MeshType = "Wedge"
- end
- end
- Debris = game:GetService("Debris")
- function CastProperRay(StartPos, EndPos, Distance, Ignore)
- local DIRECTION = CF(StartPos,EndPos).lookVector
- return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore)
- end
- --//=================================\\
- --|| WEAPON CREATION
- --\\=================================//
- local REGENSOUND = 487215897
- for _, c in pairs(Character:GetDescendants()) do
- if c and c.Parent then
- if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
- local ACCESSORY = c.Parent
- c.Parent = Character
- if c then
- if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
- weldBetween(Head,c)
- else
- weldBetween(Torso,c)
- end
- end
- ACCESSORY:remove()
- end
- end
- end
- wait()
- local BODY = {}
- for _, c in pairs(Character:GetDescendants()) do
- if c:IsA("BasePart") then
- if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
- c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
- end
- local REGENVALUE = IT("BoolValue",c)
- REGENVALUE.Name = "IsRegening"
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
- elseif c:IsA("JointInstance") and c.Name ~= "AccessoryWeld" then
- table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil,nil})
- end
- end
- function FullBodyRegen()
- if FULLREGEN == false then
- FULLREGEN = true
- Character.Parent = workspace
- CreateSound(FIREBALLSOUND,Torso,3,MRANDOM(10,12)/10,false)
- UNANCHOR = false
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- local SIZE = STUFF[6]
- local NAME = STUFF[7]
- local VALUE = STUFF[8]
- PART.Parent = PARENT
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- Humanoid.Parent = nil
- Humanoid = IT("Humanoid",Character)
- Humanoid.Died:Connect(FullBodyRegen)
- PART.Parent = PARENT
- if PART:IsA("BasePart") and VALUE.Value == false and PART ~= RootPart then
- VALUE.Value = true
- coroutine.resume(coroutine.create(function()
- PART.Transparency = 1
- CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/15,false)
- local REGEN = script.Regen:Clone()
- REGEN.Parent = PART
- REGEN.Speed = NumberRange.new(30)
- REGEN:Emit(100)
- local REGENING = script.Regen:Clone()
- REGENING.Parent = PART
- REGENING.Enabled = true
- REGENING.Speed = NumberRange.new(35)
- wait()
- local RANGE = 35
- for i = 1, math.ceil(REGENRATE*25) do
- wait()
- ApplyAoE(PART.Position,6,1,1,0,false)
- REGENING.Speed = NumberRange.new(RANGE)
- RANGE = RANGE - (35/(math.ceil(REGENRATE*20)))
- end
- REGEN.Speed = NumberRange.new(6)
- REGEN:Emit(60)
- wait(REGENRATE/3)
- RootPart.Velocity = VT(0,0,0)
- UNANCHOR = true
- PART.Transparency = 0
- REGEN.Rate = 50
- REGEN.Enabled = true
- REGENING.Enabled = false
- wait(REGENRATE/1.5)
- VALUE.Value = false
- Debris:AddItem(REGENING,5)
- FULLREGEN = false
- REGEN.Enabled = false
- Debris:AddItem(REGEN,5)
- end))
- end
- end
- end
- end
- end
- function Regen()
- Character.Parent = workspace
- for e = 1, #BODY do
- if BODY[e] ~= nil then
- local STUFF = BODY[e]
- local PART = STUFF[1]
- local PARENT = STUFF[2]
- local MATERIAL = STUFF[3]
- local COLOR = STUFF[4]
- local TRANSPARENCY = STUFF[5]
- --local SIZE = STUFF[6]
- local NAME = STUFF[7]
- local VALUE = STUFF[8]
- if PART.ClassName == "Part" and PART ~= RootPart then
- PART.Material = MATERIAL
- PART.Name = NAME
- end
- if PART.Parent ~= PARENT then
- PART.Parent = PARENT
- if PART:IsA("BasePart") and PART ~= RootPart and FULLREGEN == false then
- if VALUE.Value == false then
- VALUE.Value = true
- coroutine.resume(coroutine.create(function()
- PART.Transparency = 1
- wait(REGENRATE)
- CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
- local REGENING = script.Regen:Clone()
- REGENING.Parent = PART
- REGENING.Enabled = true
- for i = 1, math.ceil(REGENRATE*10) do
- wait()
- ApplyAoE(PART.Position,6,1,1,0,false)
- end
- wait(REGENRATE)
- PART.Transparency = 0
- wait(REGENRATE/5)
- REGENING.Enabled = false
- VALUE.Value = false
- Debris:AddItem(REGENING,5)
- end))
- end
- elseif PART:IsA("JointInstance") and PARENT ~= RootPart and FULLREGEN == false then
- local VALUE = PARENT.IsRegening
- if VALUE == false then
- VALUE.Value = true
- local PART = PART.Part1
- coroutine.resume(coroutine.create(function()
- PART.Transparency = 1
- wait(REGENRATE)
- CreateSound(REGENSOUND,PART,3,MRANDOM(8,12)/10,false)
- local REGENING = script.Regen:Clone()
- REGENING.Parent = PART
- REGENING.Enabled = true
- for i = 1, math.ceil(REGENRATE*10) do
- wait()
- ApplyAoE(PART.Position,6,1,1,0,false)
- end
- wait(REGENRATE)
- PART.Transparency = 1
- wait(REGENRATE/5)
- REGENING.Enabled = true
- VALUE.Value = false
- end))
- end
- end
- end
- end
- end
- end
- local b = IT("BodyForce",RootPart)
- b.Name = "LowGrav"
- b.force = Vector3.new(0,1500,0)
- local SKILLTEXTCOLOR = C3(0,0,0)
- local SKILLFONT = "Fantasy"
- local SKILLTEXTSIZE = 7
- local BACKATTACHMENT1 = IT("Attachment",Torso)
- BACKATTACHMENT1.Position = VT(0.5, 0.5, 0.75)
- local BACKATTACHMENT2 = IT("Attachment",Torso)
- BACKATTACHMENT2.Position = VT(-0.5, 0.5, 0.75)
- Humanoid.Died:Connect(FullBodyRegen)
- --//=================================\\
- --|| DAMAGING
- --\\=================================//
- function ApplyDamage(Humanoid,Damage)
- if Humanoid.Health == math.huge then
- Humanoid.Parent:BreakJoints()
- else
- local MULTIPLY = Humanoid.MaxHealth/100
- Damage = Damage * DAMAGEMULTIPLIER
- if Humanoid.Health ~= 0 then
- Humanoid.Health = Humanoid.Health - Damage*MULTIPLY
- end
- end
- end
- function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,CAMSINSTAKILL,INSTAKILL)
- local CHILDREN = workspace:GetDescendants()
- for index, CHILD in pairs(CHILDREN) do
- if CHILD.ClassName == "Model" and CHILD ~= Character then
- local HUM = CHILD:FindFirstChildOfClass("Humanoid")
- if HUM then
- local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
- if TORSO then
- if (TORSO.Position - POSITION).Magnitude <= RANGE then
- if INSTAKILL == true or HUM.MaxHealth == math.huge then
- CHILD:BreakJoints()
- else
- local DMG = MRANDOM(MINDMG,MAXDMG)
- ApplyDamage(HUM,DMG)
- end
- if FLING > 0 then
- for _, c in pairs(CHILD:GetChildren()) do
- if c:IsA("BasePart") then
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
- bv.Parent = c
- Debris:AddItem(bv,0.05)
- end
- end
- end
- end
- end
- end
- end
- end
- end
- --//=================================\\
- --|| ATTACK FUNCTIONS AND STUFF
- --\\=================================//
- function Fireball()
- ATTACK = true
- Rooted = true
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 20
- GYRO.P = 4000
- GYRO.MaxTorque = VT(40000,40000,40000)
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- CreateSound(CHARGE,RightArm,6,1,false)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- GYRO:remove()
- POSITION:remove()
- end))
- wait(1)
- repeat
- coroutine.resume(coroutine.create(function()
- local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Cyan", "Flight", VT(10,10,10))
- FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
- CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
- for i = 1, 250 do
- Swait()
- local HIT,HITPOS = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 10, Character)
- FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-5)
- if HIT then
- ApplyAoE(FIREBALL.Position,200,15,25,35,true,{SHAKE = 2, TIMER = 25, DOESFADE = true})
- for i = 1, 3 do
- WACKYEFFECT({Time = 70, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 3 do
- WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(200,300),MRANDOM(200,300),MRANDOM(200,300)), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 5 do
- WACKYEFFECT({Time = 80+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(40,40,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- break
- end
- end
- Debris:AddItem(FIREBALL,7)
- end))
- wait(0.1)
- until KEYHOLD == false
- wait(0.2)
- ATTACK = false
- Rooted = false
- end
- function SearingOrb()
- ATTACK = true
- Rooted = true
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- CreateSound(CHARGE,Torso,6,1,false)
- local NEWANIM = false
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- until ATTACK == false or NEWANIM == true
- if NEWANIM == true then
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 20
- GYRO.P = 4000
- GYRO.MaxTorque = VT(40000,40000,40000)
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- GYRO:remove()
- end
- POSITION:remove()
- end))
- local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("New yeller"), "Orb", VT(0,0,0), true)
- MakeForm(ORB,"Ball")
- ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
- local A = IT("Attachment",ORB)
- local LOOP = 0
- for i = 1, 500 do
- Swait()
- LOOP = LOOP + 1
- if LOOP >= 30 then
- LOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
- ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
- end
- wait(1)
- if KEYHOLD == false then
- coroutine.resume(coroutine.create(function()
- ORB.Transparency = 1
- Debris:AddItem(ORB,10)
- ApplyAoE(ORB.Position,400,75,90,175,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
- CreateSound(EXPLOSIONLARGESOUND,ORB,10,1,false)
- CreateSound(EXPLOSIONSMALLSOUND,ORB,10,1,false)
- for i = 1, 3 do
- WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 3 do
- WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(50,50,50), Size2 = VT(MRANDOM(600,700),MRANDOM(600,700),MRANDOM(600,700)), Transparency = 0, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 15 do
- WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- end))
- else
- for i = 1, 100 do
- Swait()
- ORB.Size = ORB.Size - VT(0.2,0.2,0.2)*5
- ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
- end
- ORB.Transparency = 1
- Debris:AddItem(ORB,10)
- CreateSound(EXPLOSIONSMALLSOUND,Torso,10,1,false)
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- end
- end
- NEWANIM = true
- wait(0.5)
- for i = 1, 15 do
- wait(0.1)
- coroutine.resume(coroutine.create(function()
- local FIREBALL = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Flight", VT(2,2,2))
- FIREBALL.CFrame = CF(RightArm.CFrame*CF(0,-1,0).p,Mouse.Hit.p)
- CreateSound(FIREBALLSOUND,FIREBALL,6,1,false)
- for i = 1, 250 do
- Swait()
- local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, 2, Character)
- FIREBALL.CFrame = FIREBALL.CFrame*CF(0,0,-2)
- if HIT then
- CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
- local FIELD = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("New yeller"), "Fire", VT(75,0,75), true)
- local FIELD2 = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Forest green"), "Fire", VT(75,0,75), true)
- FIELD.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
- FIELD2.CFrame = CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(45), RAD(0))
- coroutine.resume(coroutine.create(function()
- for i = 1, 15 do
- wait(1)
- ApplyAoE(FIELD.Position,FIELD.Size.X/2,5,15,0,false,{SHAKE = 4, TIMER = 65, DOESFADE = true})
- end
- Debris:AddItem(FIELD,5)
- Debris:AddItem(FIELD2,5)
- end))
- break
- end
- end
- Debris:AddItem(FIREBALL,7)
- end))
- end
- end
- wait(0.3)
- ATTACK = false
- Rooted = false
- end
- function Shroud()
- if Mouse.Target ~= nil then
- if Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid") then
- local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") or Mouse.Target.Parent.Parent:FindFirstChildOfClass("Humanoid")
- local TORSO = HUM.Parent:FindFirstChild("HumanoidRootPart") or HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
- if TORSO and HUM.Health > 0 then
- local DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
- if DISTANCE < 100 then
- ATTACK = true
- POSEIDON = false
- Rooted = true
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 20
- GYRO.P = 4000
- GYRO.MaxTorque = VT(40000,40000,40000)
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- local TARGETTING = true
- local HIT = false
- CreateSound(CHARGE,Torso,6,1,false)
- coroutine.resume(coroutine.create(function()
- repeat
- GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- until TARGETTING == false
- repeat
- GYRO.CFrame = CF(RootPart.Position,TORSO.Position)
- POSITION.Position = CF(RootPart.Position,TORSO.Position)*CF(0,0,-5).p
- DISTANCE = (RootPart.Position-TORSO.Position).Magnitude
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-15), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(20), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- until HIT == true
- POSITION:remove()
- GYRO:remove()
- end))
- wait(0.5)
- repeat wait() until HOLD == true
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- end
- end
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Transparency = 1
- end
- end
- TARGETTING = false
- for i = 1, 100 do
- wait()
- if DISTANCE < 5 or DISTANCE >= 200 then
- break
- end
- end
- HIT = true
- end
- for _, c in pairs(HUM.Parent:GetChildren()) do
- end
- end
- CreateSound(FIREBALLSOUND,Torso,6,1,false)
- RootPart.CFrame = TORSO.CFrame
- local WELD = weldBetween(RootPart,TORSO)
- repeat wait() until HOLD == true
- CreateSound(416328540,Torso,6,1,false)
- WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(TORSO.Position,TORSO.Position+VT(0,15,0)).lookVector*125
- bv.Parent = TORSO
- for i = 1, 70 do
- wait(0.1)
- if TORSO.Parent == nil then
- break
- end
- WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- UNANCHOR = false
- bv:remove()
- wait(1)
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- CreateSound(FIREBALLSOUND,Torso,6,1,false)
- UNANCHOR = true
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
- bv.Parent = TORSO
- local LANDED = false
- for i = 1, 500 do
- wait()
- Ignore = {Character,HUM.Parent}
- WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.5, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
- if HITFLOOR or FULLREGEN == true then
- LANDED = true
- break
- end
- if TORSO.Parent == nil then
- break
- end
- end
- if TORSO.Parent ~= nil then
- UNANCHOR = false
- bv:remove()
- wait(1)
- WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(45,1,45), Transparency = 0.2, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(180),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest Green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- CreateSound(FIREBALLSOUND,Torso,6,1,false)
- UNANCHOR = true
- local bv = Instance.new("BodyVelocity")
- bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
- bv.velocity = CF(TORSO.Position,TORSO.Position-VT(0,15,0)).lookVector*450
- bv.Parent = TORSO
- local LANDED = false
- for i = 1, 500 do
- wait()
- Ignore = {Character,HUM.Parent}
- WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(5,15,5), Size2 = VT(30,20,30), Transparency = 0.9, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local HITFLOOR = CastProperRay(TORSO.Position, TORSO.Position-VT(0,1,0), 10*(TORSO.Size.Y), Ignore)
- if HITFLOOR or FULLREGEN == true then
- LANDED = true
- break
- end
- if TORSO.Parent == nil then
- break
- end
- end
- bv:remove()
- if LANDED == true then
- UNANCHOR = false
- for i = 1, 10 do
- ApplyAoE(TORSO.Position+VT(0,1,0),10+(2*i),15,15,45,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
- end
- CreateSound(EXPLOSIONLARGESOUND,TORSO,10,1,false)
- CreateSound(EXPLOSIONSMALLSOUND,TORSO,10,1,false)
- for i = 1, 15 do
- WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(70,70,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(TORSO.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- WELD:remove()
- wait(0.3)
- UNANCHOR = true
- else
- WELD:remove()
- end
- end
- end
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") and c ~= RootPart then
- c.Transparency = 0
- end
- end
- RootPart.Velocity = VT(0,0,0)
- ATTACK = false
- Rooted = false
- end
- end
- function Spitter()
- ATTACK = true
- Rooted = true
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 20
- GYRO.P = 4000
- GYRO.MaxTorque = VT(40000,40000,40000)
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- CreateSound(CHARGE,RightArm,6,0.8,false)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- GYRO:remove()
- POSITION:remove()
- end))
- local FIREBALL = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Alder"), "Orb", VT(0,0,0), true)
- MakeForm(FIREBALL,"Ball")
- FIREBALL.CFrame = RightArm.CFrame*CF(0,-1,0)
- local CORE = IT("Attachment",FIREBALL)
- local LOOP = 0
- repeat
- Swait()
- LOOP = LOOP + 1
- if LOOP == 20 then
- LOOP = 0
- WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- if FIREBALL.Size.X < 20 then
- FIREBALL.Size = FIREBALL.Size + VT(0.1,0.1,0.1)
- end
- FIREBALL.CFrame = RightArm.CFrame*CF(0,-1-FIREBALL.Size.Z/2,0)
- until KEYHOLD == false and FIREBALL.Size.X >= 10
- CreateSound(FIREBALLSOUND,FIREBALL,10,0.8,false)
- coroutine.resume(coroutine.create(function()
- FIREBALL.CFrame = CF(FIREBALL.Position,Mouse.Hit.p)
- local RANGE = 75
- for i = 1, 600 do
- LOOP = LOOP + 1
- if LOOP == 20 then
- LOOP = 0
- ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*5,5,25,0,false)
- WACKYEFFECT({Time = 45, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X,FIREBALL.Size.X/2,FIREBALL.Size.X)*3, Transparency = 0.5, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0)), MoveToPos = FIREBALL.Position-VT(0,FIREBALL.Size.Y/4,0), RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- Swait()
- FIREBALL.CFrame = CF(FIREBALL.Position,FIREBALL.CFrame*CF(0,-0.001,-1).p)*CF(0,0,-0.2)
- local HIT,HITPOS,NORMAL = Raycast(FIREBALL.Position, FIREBALL.CFrame.lookVector, FIREBALL.Size.X/2.5, Character)
- if HIT then
- ApplyAoE(FIREBALL.Position,FIREBALL.Size.X*12,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
- CreateSound(EXPLOSIONLARGESOUND,FIREBALL,10,1,false)
- CreateSound(EXPLOSIONSMALLSOUND,FIREBALL,10,1,false)
- for i = 1, 3 do
- WACKYEFFECT({Time = 40, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 3 do
- WACKYEFFECT({Time = 60, EffectType = "Sphere", Size = VT(0,0,0), Size2 = FIREBALL.Size*MRANDOM(18,25), Transparency = 0, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 15 do
- WACKYEFFECT({Time = 40+(i*5), EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(FIREBALL.Size.X*10,FIREBALL.Size.X*10,0), Transparency = 0.8, Transparency2 = 1, CFrame = CF(FIREBALL.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- break
- end
- end
- for i = 1, 10 do
- Swait()
- FIREBALL.Mesh.Scale = FIREBALL.Mesh.Scale - VT(0.1,0.1,0.1)
- end
- Debris:AddItem(FIREBALL,5)
- end))
- wait(0.5)
- ATTACK = false
- Rooted = false
- end
- function Devastor()
- ATTACK = true
- Rooted = true
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- CreateSound(CHARGE,Torso,6,1,false)
- local NEWANIM = false
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.75, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- until ATTACK == false or NEWANIM == true
- if NEWANIM == true then
- local GYRO = IT("BodyGyro",RootPart)
- GYRO.D = 20
- GYRO.P = 4000
- GYRO.MaxTorque = VT(40000,40000,40000)
- repeat
- Swait()
- GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p)
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(24)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-24)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.75, -0.3) * ANGLES(RAD(90), RAD(0), RAD(24)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.75, 0) * ANGLES(RAD(-25), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- until ATTACK == false
- GYRO:remove()
- end
- POSITION:remove()
- end))
- local ORB = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("New yeller"), "Orb", VT(0,0,0), true)
- MakeForm(ORB,"Ball")
- ORB.CFrame = CF(RootPart.Position+VT(0,8,0))
- local A = IT("Attachment",ORB)
- local LOOP = 0
- for i = 1, 200 do
- Swait()
- LOOP = LOOP + 1
- if LOOP >= 30 then
- LOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
- ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
- end
- RightArm.Transparency = 1
- LeftArm.Transparency = 1
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- end
- end
- CreateSound(CHARGE,Torso,6,0.5,false)
- for i = 1, 200 do
- Swait()
- LOOP = LOOP + 1
- if LOOP >= 30 then
- LOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
- ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
- end
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Transparency = 1
- end
- end
- for i = 1, 400 do
- Swait()
- LOOP = LOOP + 1
- if LOOP >= 30 then
- LOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(ORB.Size.X,ORB.Size.X/5,ORB.Size.X), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- ORB.Size = ORB.Size + VT(0.2,0.2,0.2)
- ORB.CFrame = CF(RootPart.Position+VT(0,8+(ORB.Size.Y/2),0))
- end
- wait(0.5)
- CreateSound(FIREBALLSOUND,Effects,4,1,false)
- coroutine.resume(coroutine.create(function()
- ORB.CFrame = CF(ORB.Position,Mouse.Hit.p)
- for i = 1, 1200 do
- Swait()
- ORB.CFrame = ORB.CFrame*CF(0,0,-1)
- local HIT,HITPOS = Raycast(ORB.Position, ORB.CFrame.lookVector, ORB.Size.X/2.5, Character)
- if HIT then
- break
- end
- end
- for i = 1, 6 do
- ApplyAoE(ORB.Position,ORB.Size.X*10,75,90,375,true,{SHAKE = 4, TIMER = 65, DOESFADE = true})
- CreateSound(EXPLOSIONLARGESOUND,Effects,2,1,false)
- CreateSound(EXPLOSIONSMALLSOUND,Effects,4,1,false)
- for i = 1, 3 do
- WACKYEFFECT({Time = 160, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 3 do
- WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0,0), Size2 = ORB.Size*MRANDOM(5,20), Transparency = 0.6, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,45), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Forest green".Color, SoundID = EXPLOSIONMEDIUMSOUND, SoundPitch = MRANDOM(8,12)/10, SoundVolume = MRANDOM(5,10)})
- end
- for i = 1, 15 do
- WACKYEFFECT({Time = 120+(i*5), EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(ORB.Size.X*30,15,ORB.Size.X*30), Transparency = 0.8, Transparency2 = 1, CFrame = CF(ORB.Position)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = MRANDOM(-15,15)/15, RotationY = MRANDOM(-15,15)/15, RotationZ = MRANDOM(-15,15)/15, Material = "Neon", Color = BRICKC"Neon orange".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- wait(1)
- end
- for i = 1, 10 do
- Swait()
- ORB.Mesh.Scale = ORB.Mesh.Scale - VT(0.1,0.1,0.1)
- end
- Debris:AddItem(ORB,5)
- end))
- wait(1)
- FullBodyRegen()
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| MISC
- --\\=================================//
- function Jupiter()
- ATTACK = true
- Rooted = true
- local POSITION = IT("BodyPosition",RootPart)
- POSITION.Position = RootPart.Position+VT(0,0.2,0)
- POSITION.D = 450
- POSITION.P = 40000
- POSITION.maxForce = Vector3.new(math.huge,math.huge,math.huge)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -1) * ANGLES(RAD(0), RAD(-5), RAD(-15)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15), RAD(0), RAD(15)), 0.5 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.55 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35, -0.25) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.5, -0.4) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(90)), 2 / Animation_Speed)
- until ATTACK == false
- end))
- wait(0.5)
- repeat wait() until KEYHOLD == false
- WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(35,4,35), Transparency = 0.3, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3,0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"New yeller".Color, SoundID = 431105970, SoundPitch = 1, SoundVolume = 10})
- POSITION:remove()
- RootPart.Velocity = VT(0,150,0)
- ATTACK = false
- Rooted = false
- end
- function Taunt()
- ATTACK = true
- Rooted = true
- local TAUNT = CreateSound(137473066,Torso,10,1,false)
- coroutine.resume(coroutine.create(function()
- repeat
- Swait()
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.75, -0.5) * ANGLES(RAD(100), RAD(0), RAD(-70)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.25, -0.5) * ANGLES(RAD(90), RAD(0), RAD(80)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- until ATTACK == false
- end))
- repeat wait() until TAUNT.Playing == false
- ATTACK = false
- Rooted = false
- end
- --//=================================\\
- --|| ASSIGN THINGS TO KEYS
- --\\=================================//
- function MouseDown(Mouse)
- HOLD = true
- if ATTACK == false then
- end
- end
- function MouseUp(Mouse)
- HOLD = false
- end
- local MUSIC = CreateSound(285883918,Character,3,1,true)
- function KeyDown(Key)
- KEYHOLD = true
- if ATTACK == false and FULLREGEN == false then
- if Key == "z" then
- Fireball()
- end
- if Key == "v" and SEARING == false then
- SearingOrb()
- end
- if Key == "q" and SEARING == false then
- Shroud()
- end
- if Key == "x" and SEARING == false then
- Jupiter()
- wait(2)
- Devastor()
- end
- if Key == "e" then
- Spitter()
- end
- if Key == "j" then
- Jupiter()
- end
- if Key == "t" and SEARING == false then
- Taunt()
- end
- if Key == "h" then
- if POSEIDON == false then
- POSEIDON = true
- CreateSound(POSEIDONSOUND,Torso,5,MRANDOM(8,12)/10,false)
- else
- POSEIDON = false
- end
- end
- end
- if Key == "w" and ATTACK == false and SEARING == true and VALUE2 == false then
- repeat
- VALUE2 = true
- Swait()
- BODYPOS.Position = RootPart.CFrame*CF(0,0,-5).p
- until KEYHOLD == false
- VALUE2 = false
- end
- if string.byte(Key) == 50 and ATTACK == false then
- if Speed == 16 then
- Speed = 45
- elseif Speed == 45 then
- Speed = 16
- end
- end
- if Key == "1" then
- MUSIC:Play()
- CHOSENSONG = CHOSENSONG + 1
- if CHOSENSONG > #SONGS then
- CHOSENSONG = 1
- end
- end
- end
- function KeyUp(Key)
- KEYHOLD = false
- end
- Mouse.Button1Down:connect(function(NEWKEY)
- MouseDown(NEWKEY)
- end)
- Mouse.Button1Up:connect(function(NEWKEY)
- MouseUp(NEWKEY)
- end)
- Mouse.KeyDown:connect(function(NEWKEY)
- KeyDown(NEWKEY)
- end)
- Mouse.KeyUp:connect(function(NEWKEY)
- KeyUp(NEWKEY)
- end)
- --//=================================\\
- --\\=================================//
- function unanchor()
- if UNANCHOR == true then
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = false
- end
- end
- else
- for _, c in pairs(Character:GetChildren()) do
- if c:IsA("BasePart") then
- c.Anchored = true
- end
- end
- end
- end
- --//=================================\\
- --|| WRAP THE WHOLE SCRIPT UP
- --\\=================================//
- Humanoid.Changed:connect(function(Jump)
- if Jump == "Jump" and (Disable_Jump == true) then
- Humanoid.Jump = false
- end
- end)
- local LOOP = 0
- while true do
- Swait()
- if Character:FindFirstChildOfClass("Humanoid") == nil then
- Humanoid = IT("Humanoid",Character)
- end
- Effects.Parent = Character
- script.Parent = WEAPONGUI
- ANIMATE.Parent = nil
- for _,v in next, Humanoid:GetPlayingAnimationTracks() do
- v:Stop();
- end
- SINE = SINE + CHANGE
- local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
- local TORSOVERTICALVELOCITY = RootPart.Velocity.y
- Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,Effects}
- local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore})
- local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore)
- local WALKSPEEDVALUE = 5
- if SEARING == false then
- if ANIM == "Walk" and TORSOVELOCITY > 1 and SEARING == false and Rooted == false then
- if Humanoid.WalkSpeed <= 20 then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.05 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.05 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2 +0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(45 * COS(SINE / WALKSPEEDVALUE))), 0.5 / Animation_Speed)
- elseif SEARING == false and Humanoid.WalkSpeed > 20 and Rooted == false then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / (2*1.3)))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * 1 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / (2*1.3)))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), -0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE*1.3) - 0.15 * COS(SINE / WALKSPEEDVALUE*(2*1.3)), 0.125 * COS(SINE / WALKSPEEDVALUE*1.3) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE*1.3)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(75 * COS(SINE / WALKSPEEDVALUE*1.3))), 0.5 / Animation_Speed)
- end
- elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or SEARING == true or Rooted == true then
- RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
- ANIM = "Jump"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(-5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-5), RAD(0), RAD(5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(2), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
- ANIM = "Fall"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(8*COS(SINE / 6))), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(-8*COS(SINE / 6))), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(110)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(-110)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
- ANIM = "Idle"
- if ATTACK == false then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(25)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 2 * COS(SINE / 12)), RAD(-25), RAD(-10 - 1 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.45, 0.70, 0.05) * ANGLES(RAD(-15 - 1 * COS(SINE / 12)), RAD(25), RAD(20 - 1 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(50), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(-74), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
- end
- elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
- ANIM = "Walk"
- if ATTACK == false then
- if Humanoid.WalkSpeed <= 20 then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.85 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.85 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
- elseif Humanoid.WalkSpeed > 20 then
- RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 0.15 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.70, 0) * ANGLES(RAD(35), RAD(35), RAD(0)) * ANGLES(RAD(60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(2)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.70, 0) * ANGLES(RAD(35), RAD(-35), RAD(0)) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE*1.3)), RAD(0), RAD(-2)) * LEFTSHOULDERC0, 2 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(6)), 2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-6)), 2 / Animation_Speed)
- end
- end
- end
- elseif SEARING == true then
- if APPLYGYRO == true then
- if VALUE2 == false and DIRECTTURN == false then
- if GYRO ~= nil then
- GYRO.MaxTorque = VT(0,40000,0)
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- end
- else
- if GYRO ~= nil then
- GYRO.MaxTorque = VT(80000,40000,80000)
- GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
- end
- end
- end
- if VALUE2 == false and ATTACK == false then
- ANIM = "IdleFlight"
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(0), RAD(-15), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(0), RAD(15), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
- elseif VALUE2 == true and ATTACK == false then
- ANIM = "Flight"
- RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 1 * SIN(SINE / 24)) * ANGLES(RAD(65), RAD(0), RAD(0)), 1 / Animation_Speed)
- Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
- RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(15)) * RIGHTSHOULDERC0,1 / Animation_Speed)
- LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.75, 0) * ANGLES(RAD(-15), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
- RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-15), RAD(65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-15), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(0)), 0.2 / Animation_Speed)
- end
- end
- unanchor()
- Humanoid.MaxHealth = "inf"
- Humanoid.Health = "inf"
- if Rooted == false then
- Disable_Jump = false
- Humanoid.WalkSpeed = Speed
- elseif Rooted == true then
- Disable_Jump = true
- Humanoid.WalkSpeed = 0
- end
- Regen()
- if Head:FindFirstChild("face") then
- Head.face.Texture = "rbxassetid://608798717"
- Head.face.Transparency = Head.Transparency
- end
- for _, c in pairs(Character:GetDescendants()) do
- if c.ClassName == "Attachment" and c ~= BACKATTACHMENT1 and c ~= BACKATTACHMENT2 and c.Parent.Parent ~= Effects then
- c:remove()
- end
- if c and c.Parent then
- if c.Name == "Handle" and c.Parent.ClassName == "Accessory" then
- local ACCESSORY = c.Parent
- c.Parent = Character
- local REGENVALUE = IT("BoolValue",c)
- REGENVALUE.Name = "IsRegening"
- table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name,REGENVALUE})
- if c then
- if c:FindFirstChild("HatAttachment") or c:FindFirstChild("FaceFrontAttachment") or c:FindFirstChild("HairAttachment") then
- local WELD = weldBetween(Head,c)
- table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
- else
- local WELD = weldBetween(Torso,c)
- table.insert(BODY,{WELD,c,nil,nil,nil,nil,nil,nil})
- end
- end
- ACCESSORY:remove()
- end
- end
- end
- for _, c in pairs(Character:GetChildren()) do
- if SEARING == true and c:IsA("BasePart") then
- c.Transparency = 1
- end
- end
- MUSIC.Parent = Character
- MUSIC.SoundId = "rbxassetid://"..SONGS[CHOSENSONG]
- MUSIC.Pitch = 1
- if CHOSENSONG ~= 5 then
- MUSIC.Volume = 2
- else
- MUSIC.Volume = 4
- end
- MUSIC.Playing = true
- if POSEIDON == true and FULLREGEN == false then
- LOOP = LOOP + 1
- local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
- FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))
- FLOOR.CanCollide = true
- Debris:AddItem(FLOOR,0.2)
- local FLOOR = CreatePart(3, SpecialEffects, "Neon", 0, 1, BRICKC("Pearl"), "Floor", VT(15,0,15), true)
- FLOOR.CFrame = CF(HITPOS-VT(0,0.025,0))*ANGLES(RAD(0),RAD(45),RAD(0))
- FLOOR.CanCollide = true
- Debris:AddItem(FLOOR,0.2)
- if LOOP >= 5 then
- LOOP = 0
- WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5), Size2 = VT(15,1,15), Transparency = 0.7, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = HITPOS+VT(0,0.45,0), RotationX = 0, RotationY = MRANDOM(-2,2)*15, RotationZ = 0, Material = "Neon", Color = BRICKC"Shamrock".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
- end
- end
- RootJoint.Parent = RootPart
- Humanoid.DisplayDistanceType = "None"
- Humanoid.Name = "LordOfNoobs"
- end
- --//=================================\\
- --\\=================================//
- --//====================================================\\--
- --|| END OF SCRIPT
- --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement