script.Name = "DarkDispair" --//====================================================\\-- --|| By ThemGaming boys --\\====================================================//-- warn("x burining blackstar") warn("r burining hopes") warn("b burinig rage") warn("p victory!") warn("y overflowing burn") warn("u everyones death") warn("q possesed pistols") warn("v warp vanish") warn("g no mercy") warn("z final bullet") warn("j superhellflame") warn("e burninng ravage") warn("t taunt") warn("c chared finish") warn("n hellbat") script:ClearAllChildren() wait(0.2) Player = game:GetService("Players").LocalPlayer PlayerGui = Player.PlayerGui Cam = workspace.CurrentCamera Backpack = Player.Backpack Character = Player.Character Humanoid = Character.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"] local TIME = 0 local sick = Instance.new("Sound",Torso) 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 RWINGS = {} local LWINGS = {} local GunPoint Player_Size = 1 -- Thingy To Make Song Work p = game.Players.LocalPlayer char = p.Character ---------------------------[[[ LOOPED SONG ]]]-------------------------- local s = Instance.new("Sound",char) s.Name = "BGMusic" s.SoundId = "rbxassetid://897623161" s.Pitch = 1 s.Volume = 40 s.Looped = true s.archivable = false s.Parent = char.Head wait(0.1) s:play() -- Rest of Script -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways. --//=================================\\ --|| PARTICLES N STUFF --\\=================================// local particleemitter = Instance.new('ParticleEmitter', LeftArm) particleemitter.VelocitySpread = 350 particleemitter.Lifetime = NumberRange.new(1) particleemitter.Speed = NumberRange.new(0) cringememe= {} for i=0, 19 do cringememe[#cringememe + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end particleemitter.Size = NumberSequence.new(cringememe) particleemitter.Rate = 20 particleemitter.LockedToPart = true particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter.LightEmission = 1 particleemitter.Texture = "rbxassetid://38727848" particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color) local particleemitter = Instance.new('ParticleEmitter', Torso) particleemitter.VelocitySpread = 250 particleemitter.Lifetime = NumberRange.new(3) particleemitter.Speed = NumberRange.new(1.5) youAreATHOT = {} for i=0, 19 do youAreATHOT[#youAreATHOT + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end particleemitter.Size = NumberSequence.new(youAreATHOT) particleemitter.Rate = 10 particleemitter.LockedToPart = false particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter.LightEmission = 1 particleemitter.Texture = "rbxassetid://253188763" particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color) local particleemitter = Instance.new('ParticleEmitter', RightArm) particleemitter.VelocitySpread = 350 particleemitter.Lifetime = NumberRange.new(1) particleemitter.Speed = NumberRange.new(0) cringememe2= {} for i=0, 19 do cringememe2[#cringememe2 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end particleemitter.Size = NumberSequence.new(cringememe2) particleemitter.Rate = 20 particleemitter.LockedToPart = true particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter.LightEmission = 1 particleemitter.Texture = "rbxassetid://38727848" particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color) local particleemitter = Instance.new('ParticleEmitter', RightLeg) particleemitter.VelocitySpread = 350 particleemitter.Lifetime = NumberRange.new(1) particleemitter.Speed = NumberRange.new(0) cringememe3= {} for i=0, 19 do cringememe3[#cringememe3 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end particleemitter.Size = NumberSequence.new(cringememe3) particleemitter.Rate = 30 particleemitter.LockedToPart = true particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter.LightEmission = 1 particleemitter.Texture = "rbxassetid://38727848" particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color) local particleemitter = Instance.new('ParticleEmitter', LeftLeg) particleemitter.VelocitySpread = 350 particleemitter.Lifetime = NumberRange.new(1) particleemitter.Speed = NumberRange.new(0) cringememe4= {} for i=0, 19 do cringememe4[#cringememe4 + 1] = NumberSequenceKeypoint.new(i/19, math.random(1, 1)) end particleemitter.Size = NumberSequence.new(cringememe4) particleemitter.Rate = 30 particleemitter.LockedToPart = true particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(1, 1)}) particleemitter.LightEmission = 1 particleemitter.Texture = "rbxassetid://38727848" particleemitter.Color = ColorSequence.new(BrickColor.new("Royal purple").Color) --//=================================\\ --|| USEFUL VALUES --\\=================================// Animation_Speed = 1.5 local FORCERESET = false 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, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) local LEFTSHOULDERC0 = CF(0.5, 0, 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 = "BanishV3Gui" local Weapon = IT("Model") Weapon.Name = "Adds" local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character:FindFirstChild("Animate") local UNANCHOR = true local TOBANISH = {} script.Parent = PlayerGui function StatLabel(CFRAME, TEXT, COLOR) local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5))) local BODYGYRO = IT("BodyGyro", STATPART) game:GetService("Debris"):AddItem(STATPART ,5) local BILLBOARDGUI = Instance.new("BillboardGui", STATPART) BILLBOARDGUI.Adornee = STATPART BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0) BILLBOARDGUI.StudsOffset = VT(-2, 2, 0) BILLBOARDGUI.AlwaysOnTop = false local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) TEXTLABEL.BackgroundTransparency = 1 TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) TEXTLABEL.Text = TEXT TEXTLABEL.Font = SKILLFONT TEXTLABEL.FontSize="Size42" TEXTLABEL.TextColor3 = COLOR TEXTLABEL.TextStrokeTransparency = 0 TEXTLABEL.TextScaled = true TEXTLABEL.TextWrapped = true coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) for i = 1, 50 do Swait() STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50) TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency end THEPART.Parent = nil end),STATPART, TEXTLABEL) end --//=================================\\ --\\=================================// --//=================================\\ --|| 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 TAG EDIT --\\=================================// m = game.Players.LocalPlayer char = m.Character local txt = Instance.new("BillboardGui", char) txt.Adornee = char.Head txt.Name = "_status" txt.Size = UDim2.new(2, 0, 1.2, 0) txt.StudsOffset = Vector3.new(-9, 8, 0) local text = Instance.new("TextLabel", txt) text.Size = UDim2.new(10, 0, 7, 0) text.FontSize = "Size24" text.TextScaled = true text.TextTransparency = 0 text.BackgroundTransparency = 1 text.TextTransparency = 0 text.TextStrokeTransparency = 0 text.Font = "Bodoni" text.TextStrokeColor3 = Color3.new(0, 0, 0) v = Instance.new("Part") v.Name = "ColorBrick" v.Parent = m.Character v.FormFactor = "Symmetric" v.Anchored = true v.CanCollide = false v.BottomSurface = "Smooth" v.TopSurface = "Smooth" v.Size = Vector3.new(10, 5, 3) v.Transparency = 1 v.CFrame = char.Torso.CFrame v.BrickColor = BrickColor.new("Really black") v.Transparency = 1 v.Shape = "Block" spawn(function() local TweenService = game:GetService("TweenService") local Colours = {Color3.fromRGB(107,50,124),Color3.fromRGB(146,57,120),Color3.fromRGB(35,71,139),Color3.fromRGB(107,98,155),Color3.fromRGB(52,43,117),Color3.fromRGB(123,0,123),Color3.fromRGB(61,21,133),Color3.fromRGB(89,34,89)} local Int = 0 while wait(0.5) do if Int == #Colours then Int = 0 end Int = Int+1 TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play() end end) text.Text = "You stupid humans always put faith in me?" wait(4) text.Text = "it seems you have lost since of purpose.." wait(4) text.Text = "YOU PATHETHIC MORTALS!!" wait(4) text.Text = "Dark Dispair" --//=================================\\ --\\=================================// --//=================================\\ --|| 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 CreateFlyingDebree2(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH) if FLOOR ~= nil then for i = 1, AMOUNT do local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Debree", BLOCKSIZE, false) DEBREE.Material = FLOOR.Material DEBREE.Color = FLOOR.Color DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH)) coroutine.resume(coroutine.create(function() Swait(15) DEBREE.Parent = workspace DEBREE.CanCollide = true Debris:AddItem(DEBREE,SWAIT) end)) end end end function CreateDebreeRing2(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) if FLOOR ~= nil then coroutine.resume(coroutine.create(function() local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Royal purple", "DebreeCenter", VT(0,0,0)) PART.CFrame = CF(POSITION) for i = 1, 45 do local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Royal purple", "DebreePart", BLOCKSIZE) RingPiece.Material = FLOOR.Material RingPiece.Color = FLOOR.Color RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360))) Debris:AddItem(RingPiece,SWAIT) end PART:remove() end)) end end local DECAL = IT("Decal") function MakeRing() local RING = CreatePart(3, Effects, "Neon", 0, 1, BRICKC("Pearl"), "MagicRing", VT(0, 0, 0), true) local MSH = IT("BlockMesh", RING) local TOP = DECAL:Clone() local BOTTOM = DECAL:Clone() TOP.Parent = RING BOTTOM.Parent = RING TOP.Face = "Top" BOTTOM.Face = "Bottom" TOP.Texture = "http://www.roblox.com/asset/?id=127817121" BOTTOM.Texture = "http://www.roblox.com/asset/?id=127817121" local function REMOVE() coroutine.resume(coroutine.create(function() local SIZE = MSH.Scale.X for i = 1, 35 do Swait() MSH.Scale = MSH.Scale - VT(SIZE, 0, SIZE) / 60 TOP.Transparency = TOP.Transparency + 0.02857142857142857 BOTTOM.Transparency = BOTTOM.Transparency + 0.02857142857142857 RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(-5), RAD(0)) end RING:remove() end)) end return RING, MSH, REMOVE end function killnearest(position, range, maxstrength) for i, v in ipairs(workspace:GetChildren()) do do local body = v:GetChildren() for part = 1, #body do if (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character and range > (body[part].Position - position).Magnitude then if v.ClassName == "Model" then v:BreakJoints() end local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) bv.velocity = CF(position, body[part].Position).lookVector * maxstrength bv.Parent = body[part] Debris:AddItem(bv, 0.2) body[part].Parent = Effects body[part].Material = "Neon" body[part].Color = C3(0, 0, 0) body[part].CanCollide = true coroutine.resume(coroutine.create(function() wait(5) if body[part].Parent == Effects then body[part]:remove() end end)) end end if v.ClassName == "Part" and v.Anchored == false and range > (v.Position - position).Magnitude then v.Velocity = CFrame.new(position, v.Position).lookVector * 5 * maxstrength end end end end function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW) local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) wave.Color = COLOR local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "647661410", "", SIZE, VT(0, 0, 0)) wave.CFrame = CFRAME coroutine.resume(coroutine.create(function(PART) for i = 1, WAIT do Swait() mesh.Scale = mesh.Scale + GROW if DOESROT == true then wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) end wave.Transparency = wave.Transparency + 0.5 / WAIT if wave.Transparency > 0.99 then wave: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 function CreatePart1(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, 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.Name = NAME NEWPART.Size = SIZE NEWPART.Position = Torso.Position NEWPART.Material = MATERIAL NEWPART:BreakJoints() NEWPART.Parent = PARENT return NEWPART end function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW) local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0)) local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8)) wave.CFrame = CFRAME coroutine.resume(coroutine.create(function(PART) for i = 1, WAIT do Swait() mesh.Scale = mesh.Scale + GROW mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8)) if DOESROT == true then wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0) end wave.Transparency = wave.Transparency + 0.5 / WAIT if wave.Transparency > 0.99 then wave:remove() end end end)) end function AddChildrenToTable(FROM, PARENT, DIST, TABLE) for _, c in pairs(PARENT:GetChildren()) do if c.ClassName == "Model" then if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then local HUMANOID = c:FindFirstChildOfClass("Humanoid") local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") if DIST > (TORSO.Position - FROM).Magnitude then table.insert(TABLE, c) end AddChildrenToTable(FROM, c, DIST, TABLE) elseif c.ClassName == "Folder" then AddChildrenToTable(FROM, c, DIST, TABLE) end end end end function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW) local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) local mesh if KIND == "Base" then mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0)) elseif KIND == "Thin" then mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) elseif KIND == "Round" then mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0)) end wave.CFrame = CFRAME coroutine.resume(coroutine.create(function(PART) for i = 1, WAIT do Swait() mesh.Scale = mesh.Scale + GROW / 10 wave.Transparency = wave.Transparency + 0.5 / WAIT if wave.Transparency > 0.99 then wave:remove() end end end)) end function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW) local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true) local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0)) wave.CFrame = CFRAME coroutine.resume(coroutine.create(function(PART) for i = 1, WAIT do Swait() mesh.Scale = mesh.Scale + GROW wave.Transparency = wave.Transparency + 1 / WAIT if wave.Transparency > 0.99 then wave:remove() end end end)) end function SHAKECAM(POSITION, RANGE, INTENSITY, TIME) local TORSO = Torso local HUM = Humanoid if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then coroutine.wrap(function() VT = Vector3.new MRANDOM = math.random local A = TIME local B = INTENSITY local C = true local HUMANOID = Humanoid local TIMER = A or 35 local SHAKE = B or 5 local FADE = C or true if HUMANOID then local FADER = SHAKE / TIMER for i = 1, TIMER do wait() HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10) end HUMANOID.CameraOffset = VT(0, 0, 0) end end)() end end function Effect(data) local FX = data.Effect or 'ResizeAndFade' local Parent = data.Parent or Effects local Color = data.Color or C3.N(0,0,0) local Size = data.Size or V3.N(1,1,1) local MoveDir = data.MoveDirection or nil local MeshData = data.Mesh or nil local SndData = data.Sound or nil local Frames = data.Frames or 45 local Manual = data.Manual or nil local Material = data.Material or nil local CFra = data.CFrame or Torso.CFrame local Settings = data.FXSettings or {} local Snd,Prt,Msh; local Shape = data.Shape or Enum.PartType.Block coroutine.resume(coroutine.create(function() if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then Prt = Manual else Prt = Part(Parent,Color,Material,Size,CFra,true,false) Prt.Shape = Shape end if(typeof(MeshData) == 'table')then Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset) elseif(typeof(MeshData) == 'Instance')then Msh = MeshData:Clone() Msh.Parent = Prt elseif(Shape == Enum.PartType.Block)then Msh = Mesh(Prt,Enum.MeshType.Brick) end if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true) end if(Snd)then repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0 Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch end local MoveSpeed = nil; if(MoveDir)then MoveSpeed = (CFra.p - MoveDir).magnitude/Frames end local Inc = M.RNG()-M.RNG() local Thingie = 0 local Thingie2 = M.RNG(50,100)/100 if(FX ~= 'Arc')then for i = 1, Frames do if(swait and typeof(swait) == 'function')then swait() else wait() end if(FX == 'ResizeAndFade')then if(not Settings.EndSize)then Settings.EndSize = V3.N(0,0,0) end local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize)) if(Settings.EndIsIncrement)then Prt.Size = Prt.Size + Settings.EndSize else Prt.Size = Prt.Size - grow/Frames end Prt.Transparency = (i/Frames) elseif(FX == 'Fade')then Prt.Transparency = (i/Frames) end if(Settings.RandomizeCFrame)then Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360)) end if(MoveDir and MoveSpeed)then local Orientation = Prt.Orientation Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed) Prt.Orientation = Orientation end end Prt:destroy() else local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25)) assert(start ~= nil,"You need to specify a start point!") assert(endP ~= nil,"You need to specify an end point!") for i = 0, 1, Settings.Speed or 0.01 do if(swait and typeof(swait) == 'function')then swait() else wait() end if(Settings.Home)then endP = Settings.Home.CFrame end Prt.CFrame = Bezier(start, quarter, threequarter, endP, i) end if(Settings.RemoveOnGoal)then Prt:destroy() end end end)) return Prt,Msh,Snd end function RightWing() for i = 1, 2 do local PART local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0)) table.insert(RWINGS, WingWeld) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) PART = Wing table.insert(RWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0)) PART = Wing table.insert(RWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0)) PART = Wing table.insert(RWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false) table.insert(EYES, Wing1) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0)) PART = Wing table.insert(RWINGS, WingWeld) end BODY = {} for _, c in pairs(Character:GetDescendants()) do if c:IsA("BasePart") then table.insert(BODY, { c, c.Parent, c.Material, c.Color }) elseif c:IsA("JointInstance") then table.insert(BODY, { c, c.Parent, nil, nil }) end end end function LeftWing() for i = 1, 2 do local PART local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0)) table.insert(LWINGS, WingWeld) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) PART = Wing table.insert(LWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0)) PART = Wing table.insert(LWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) PART = Wing local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0)) PART = Wing table.insert(LWINGS, WingWeld) local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false) local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false) table.insert(EYES, Wing1) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0)) local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false) CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0)) PART = Wing table.insert(LWINGS, WingWeld) end BODY = {} for _, c in pairs(Character:GetDescendants()) do if c:IsA("BasePart") then table.insert(BODY, { c, c.Parent, c.Material, c.Color }) elseif c:IsA("JointInstance") then table.insert(BODY, { c, c.Parent, nil, nil }) end end 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 or NEWSOUND.Parent ~= PARENT 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 --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false}) function Lightning(Table) local Color = Table.Color or C3(1,1,1) local StartPos = Table.Start or Torso.Position local EndPos = Table.End or Mouse.Hit.p local SegmentLength = Table.SegmentL or 2 local Thickness = Table.Thickness or 0.1 local Dissapear = Table.DoesFade or false local Parent = Table.Ignore or Character local MaxDist = Table.MaxDist or 400 local Branches = Table.Branches or false local Thicken = Table.Thicken or false local FadeTime = Table.FadeTime or 15 local FadeIn = Table.FadeIn or false local Material = Table.Material or "Neon" local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent) local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5)) local LIGHTNINGMODEL = IT("Model",Effects) LIGHTNINGMODEL.Name = "Lightning" local LastBolt = nil for E = 1, DISTANCE do local ExtraSize = 0 if Thicken == true then ExtraSize = (DISTANCE-E)/15 end local TRANSPARENCY = 0 if FadeIn == true then TRANSPARENCY = 1-(E/(DISTANCE/1.5)) if TRANSPARENCY < 0 then TRANSPARENCY = 0 end end local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize)) PART.Color = Color MakeForm(PART,"Cyl") if LastBolt == nil then PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) else PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) end LastBolt = PART if Branches == true and E < (DISTANCE-5) then local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2)) if CHOICE == 1 then local LASTBRANCH = nil for i = 1, MRANDOM(2,5) do local ExtraSize2 = 0 if Thicken == true then ExtraSize = ((DISTANCE-E)/25)/i end local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2)) PART.Color = Color MakeForm(PART,"Cyl") if LASTBRANCH == nil then PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) else PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0) end LASTBRANCH = PART end end end end if Dissapear == true then coroutine.resume(coroutine.create(function() for i = 1, FadeTime do Swait() for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do if c.ClassName == "Part" then c.Transparency = c.Transparency + (i/FadeTime)/10 end end end LIGHTNINGMODEL:remove() end)) elseif Dissapear == false then Debris:AddItem(LIGHTNINGMODEL,0.1) end return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL} 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}) local cR=255 local cG=0 local cB=0 local flg5=1 local omgidk=1 local add=15 game:GetService("RunService"):BindToRenderStep("Ghost",1,function() if omgidk>10000 then omgidk=0 end omgidk=omgidk+1 if cR>=255 then flg5=1 end if cG>=255 then flg5=2 end if cB>=255 then flg5=3 end if flg5==1 then cR=cR-add cG=cG+add end if flg5==2 then cG=cG-add cB=cB+add end if flg5==3 then cB=cB-add cR=cR+add end color=Color3.fromRGB(cR,cG,cB) function WACKYEFFECT(Table) local TYPE = (Table.EffectType or "Sphere") local SIZE = (Table.Size or VT(6,6,6)) local ENDSIZE = (Table.Size2 or VT(7,7,7)) 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 = "Neon" local COLOR = color 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 SOUND.Stopped:Connect(function() EFFECT:remove() end) end else if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end 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 function SpawnTrail(FROM,TO,BIG) local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Trail", VT(10,10,10)) MakeForm(TRAIL,"Cyl") local cR=255 local cG=0 local cB=0 local flg5=1 local omgidk=1 local add=15 game:GetService("RunService"):BindToRenderStep("Ghost",1,function() if omgidk>10000 then omgidk=0 end omgidk=omgidk+1 if cR>=255 then flg5=1 end if cG>=255 then flg5=2 end if cB>=255 then flg5=3 end if flg5==1 then cR=cR-add cG=cG+add end if flg5==2 then cG=cG-add cB=cB+add end if flg5==3 then cB=cB-add cR=cR+add end color=Color3.fromRGB(cR,cG,cB) TRAIL.Color = color end) local DIST = (FROM - TO).Magnitude if BIG == true then TRAIL.Size = VT(5,DIST,5) else TRAIL.Size = VT(5,DIST,5) end TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) coroutine.resume(coroutine.create(function() for i = 1, 55 do Swait() TRAIL.Transparency = TRAIL.Transparency + 0.01 end TRAIL:remove() end)) end Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return Raycast(StartPos, DIRECTION, Distance, Ignore) end function turnto(position) RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) end --//=================================\\ --|| WEAPON CREATION --\\=================================// local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0)) for i = 1, 35 do local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false) FACE.Color = C3(0,0,0) Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0)) end local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.6,0.1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.6,0.1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.1,1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4)) local Eye = CreatePart(3, Character, "Neon", 0, 0, "Royal purple", "Eye", VT(0.1,1,1)/2,false) MakeForm(Eye,"Ball") CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4)) local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Royal purple", "Eon", VT(0.5,0.5,1.25),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Particle = IT("ParticleEmitter",nil) Particle.Enabled = false Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)}) Particle.LightEmission = 0.5 Particle.Rate = 150 Particle.ZOffset = 0.2 Particle.Rotation = NumberRange.new(-180, 180) Particle.RotSpeed = NumberRange.new(-180, 180) Particle.Texture = "http://www.roblox.com/asset/?id=304437537" Particle.Color = ColorSequence.new(C3(98,0,209),C3(98,0,209),C3(98,0,209),C3(98,0,209),C3(98,0,209),C3(98,0,209),C3(98,0,209),C3(98,0,209)) --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false}) function ParticleEmitter(Table) local PRTCL = Particle:Clone() local Speed = Table.Speed or 5 local Drag = Table.Drag or 0 local Size1 = Table.Size1 or 1 local Size2 = Table.Size2 or 5 local Lifetime1 = Table.Lifetime1 or 1 local Lifetime2 = Table.Lifetime2 or 1.5 local Parent = Table.Parent or Torso local Emit = Table.Emit or 100 local Offset = Table.Offset or 360 local Acel = Table.Acel or VT(0,0,0) local Enabled = Table.Enabled or false PRTCL.Parent = Parent PRTCL.Size = NumberSequence.new(Size1,Size2) PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2) PRTCL.Speed = NumberRange.new(Speed) PRTCL.VelocitySpread = Offset PRTCL.Drag = Drag PRTCL.Acceleration = Acel if Enabled == false then PRTCL:Emit(Emit) Debris:AddItem(PRTCL,Lifetime2) else PRTCL.Enabled = true end return PRTCL end local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false) local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) MakeForm(Part,"Wedge") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false) MakeForm(Part,"Wedge") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false) CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false) CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) for i = 1, 8 do local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false) CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0)) end local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false) MakeForm(Part,"Ball") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false) MakeForm(Part,"Wedge") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false) CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false) MakeForm(Part,"Wedge") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0)) local LASTPART = Handle for i = 1, 10 do if LASTPART == Handle then local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false) LASTPART = Part CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) else local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false) CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0)) LASTPART = Part end end local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false) MakeForm(Barrel,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false) MakeForm(Part,"Wedge") CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false) MakeForm(Hole,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false) local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2)) local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false) local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0)) CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2)) coroutine.resume(coroutine.create(function() while wait() do GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5)) GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5)) end end)) ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)}) local cR=255 local cG=0 local cB=0 local flg5=1 local omgidk=1 local add=15 game:GetService("RunService"):BindToRenderStep("Ghost",1,function() if omgidk>10000 then omgidk=0 end omgidk=omgidk+1 if cR>=255 then flg5=1 end if cG>=255 then flg5=2 end if cB>=255 then flg5=3 end if flg5==1 then cR=cR-add cG=cG+add end if flg5==2 then cG=cG-add cB=cB+add end if flg5==3 then cB=cB-add cR=cR+add end color=Color3.fromRGB(cR,cG,cB) for _, c in pairs(Weapon:GetDescendants()) do if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then c.Material = "Glass" c.Color = C3(0,0,0) elseif c.ClassName == "Part" and c.Name == "Eye" then c.Color = color c.Material = "Neon" end end end) Weapon.Parent = Character for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end function swait(num) if num == 0 or num == nil then ArtificialHB.Event:wait() else for i = 0, num do ArtificialHB.Event:wait() end end end function chatfunc(text) local chat = coroutine.wrap(function() if Character:FindFirstChild("TalkingBillBoard")~= nil then Character:FindFirstChild("TalkingBillBoard"):destroy() end local Bill = Instance.new("BillboardGui",Character) Bill.Size = UDim2.new(0,100,0,40) Bill.StudsOffset = Vector3.new(0,3,0) Bill.Adornee = Character.Head Bill.Name = "TalkingBillBoard" local Hehe = Instance.new("TextLabel",Bill) Hehe.BackgroundTransparency = 1 Hehe.BorderSizePixel = 0 Hehe.Text = "" Hehe.Font = "Bodoni" Hehe.TextSize = 40 Hehe.TextStrokeTransparency = 0 Hehe.Size = UDim2.new(1,0,0.5,0) coroutine.resume(coroutine.create(function() while Hehe ~= nil do swait() Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5)) Hehe.Rotation = math.random(-5,5) Hehe.TextColor3 = Color3.new(0,255,0) Hehe.TextStrokeColor3 = Color3.new(0,0,0) end end)) for i = 1,string.len(text),1 do swait() Hehe.Text = string.sub(text,1,i) end swait(90)--Re[math.random(1, 93)] for i = 0, 1, .025 do swait() Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i)) Hehe.TextStrokeTransparency = i Hehe.TextTransparency = i end Bill:Destroy() end) chat() end function onChatted(msg) chatfunc(msg) end Player.Chatted:connect(onChatted) local BODY = {} for _, c in pairs(Character:GetDescendants()) do if c:IsA("BasePart") and c.Name ~= "Handle" 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 table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name}) elseif c:IsA("JointInstance") then table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil}) end end function refit() 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] if PART.ClassName == "Part" and PART ~= RootPart then PART.Material = MATERIAL PART.Transparency = TRANSPARENCY PART.Name = NAME end if PART.Parent ~= PARENT then Humanoid:remove() PART.Parent = PARENT Humanoid = IT("Humanoid",Character) end end end end local SKILLTEXTCOLOR = C3(0,255,0) local SKILLFONT = "Code" local SKILLTEXTSIZE = 7 Humanoid.Died:connect(function() refit() end) function printbye(Name) local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "} chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".") end workspace.ChildAdded:connect(function(instance) for BANISH = 1, #TOBANISH do if TOBANISH[BANISH] ~= nil then if instance.Name == TOBANISH[BANISH] then coroutine.resume(coroutine.create(function() printbye(instance.Name) instance:ClearAllChildren() Debris:AddItem(instance,0.0005) end)) end end end end) --//=================================\\ --|| DAMAGING --\\=================================// function Banish(Foe) if Foe then coroutine.resume(coroutine.create(function() --if game.Players:FindFirstChild(Foe.Name) then table.insert(TOBANISH,Foe.Name) printbye(Foe.Name) --end Foe.Archivable = true local CLONE = Foe:Clone() Foe:Destroy() CLONE.Parent = Effects CLONE:BreakJoints() local MATERIALS = {"Glass","Neon"} for _, c in pairs(CLONE:GetDescendants()) do if c:IsA("BasePart") then if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then CreateSound(340722848, c, 10, 1, false) end c.Anchored = true c.Transparency = c.Transparency + 0.2 c.Material = MATERIALS[MRANDOM(1,2)] c.Color = C3(0,255,0) if c.ClassName == "MeshPart" then c.TextureID = "" end if c:FindFirstChildOfClass("SpecialMesh") then c:FindFirstChildOfClass("SpecialMesh").TextureId = "" end if c:FindFirstChildOfClass("Decal") then c:FindFirstChildOfClass("Decal"):remove() end c.Name = "Banished" c.CanCollide = false else c:remove() end end local A = false for i = 1, 35 do if A == false then A = true elseif A == true then A = false end for _, c in pairs(CLONE:GetDescendants()) do if c:IsA("BasePart") then c.Anchored = true c.Material = MATERIALS[MRANDOM(1,2)] c.Transparency = c.Transparency + 0.8/35 if A == false then c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) elseif A == true then c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45) end end end Swait() end CLONE:remove() end)) end end function ApplyAoE(POSITION,RANGE,ISBANISH) 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 ISBANISH == true then Banish(CHILD) else if ISBANISH == "Gravity" then HUM.PlatformStand = true if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then local grav = Instance.new("BodyPosition",TORSO) grav.D = 15 grav.P = 20000 grav.maxForce = Vector3.new(math.huge,math.huge,math.huge) grav.position = TORSO.Position grav.Name = "V3BanishForce"..Player.Name else TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0) TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25)) end else HUM.PlatformStand = false end end elseif ISBANISH == "Gravity" then if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove() HUM.PlatformStand = false end end end end end end end UnBanishTaunts = {"You have 0 sympothy.", "If You Do The Same Thing Twice i will still destroy you.", "Your Actions Have Been Not Forgiven.", "YOU WILL NEVER BE SET FREE!.", "i wont let you go.", "Don't do that again.", "As A God, it is hard for me to forgive.", "DIE."} DeathTaunt = {"You Will Know Pain."} --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// local LAUGHS = {"907329532", "907329893", "865772398", "907333294"} local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) MakeForm(RightHole,"Cyl") local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false) MakeForm(LeftHole,"Cyl") function getbloody(victim,amount) local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size) PART.CFrame = victim.CFrame local HITPLAYERSOUNDS = {"356551938","264486467"} Debris:AddItem(PART,5) CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) local prtcl = asd:Clone() prtcl.Parent = PART prtcl:Emit(amount*10) end GunPoint = CreatePart(3, Weapon, "SmoothPlastic", 0, 1, "Really black", "Point blank", VT(0, 0, 0), false) function FireArc(Part, ToLocation, AmountOfTime, Height, DoesCourontine) if DoesCourontine == false then local Direction = CF(Part.Position, ToLocation) local Distance = (Part.Position - ToLocation).magnitude for i = 1, AmountOfTime do Swait() Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) Direction = Part.CFrame end Part:remove() elseif DoesCourontine == true then coroutine.resume(coroutine.create(function() local Direction = CF(Part.Position, ToLocation) local Distance = (Part.Position - ToLocation).magnitude for i = 1, AmountOfTime do Swait() Part.CFrame = Direction * CF(0, AmountOfTime / 200 + (AmountOfTime / Height - i * 2 / Height), -Distance / AmountOfTime) Direction = Part.CFrame end Part:remove() end)) end end function Burning_Hopes() ATTACK = true Rooted = true local AIMPOS = Mouse.Hit.p local AIM,AIMPOS = CastProperRay(AIMPOS+VT(0,1,0),AIMPOS,10000,Character) coroutine.resume(coroutine.create(function() local RAYS = {} for i = 1, 4 do local RAY = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Ray", VT(50,2000,50)) MakeForm(RAY,"Cyl") RAY.Mesh.Scale = VT(1,1.1,1) table.insert(RAYS,RAY) end CreateSound(348663022, Effects, 2, 1.2, false) for i = 1, 100 do Swait() for e = 1, #RAYS do if RAYS[e] ~= nil then local RAY = RAYS[e] RAY.CFrame = CF(AIMPOS+VT(0,1000,0))*ANGLES(RAD(0),RAD(90*e),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(50-(i/2)))*CF(0,-1000,0) RAY.Transparency = RAY.Transparency - 0.01 end end end for i = 1, 20 do Swait() for e = 1, #RAYS do if RAYS[e] ~= nil then local RAY = RAYS[e] RAY.Mesh.Scale = RAY.Mesh.Scale - VT(1/20,0,1/20) end end end wait(0.3) for i = 1, 16 do local POS = CF(AIMPOS)*ANGLES(RAD(0),RAD(0,360),RAD(0))*CF(0,0,MRANDOM(0,5)).p SpawnTrail(POS+VT(0,200,0),POS) end for i = 1, 4 do CreateDebreeRing2(AIM,AIMPOS-VT(0,3,0),5*i,VT(5,5,5)*i,5) end CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(3,3,3),5,185,false) CreateFlyingDebree2(AIM,CF(AIMPOS),7,VT(6,6,6),5,285,false) CreateSound(130972023, Effects, 2, 1, false) local POS = Mouse.Hit.p local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Royal purple", VT(0,0,0)) MakeForm(RAY,"Cyl") local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(130,130,130)) MakeForm(SPHERE,"Ball") local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal purple", "Strike", VT(120,120,120)) MakeForm(SHIELD,"Ball") SHIELD.CFrame = CF(AIMPOS) RAY.CFrame = CF(AIMPOS) SPHERE.CFrame = CF(AIMPOS) local CFRAME = CF(SPHERE.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))) CreateSound(415700134, SPHERE, 10, 0.8, false) for i = 1, 200 do Swait() WACKYEFFECT({EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(10,10,10), Transparency = 0, Transparency2 = 1, CFrame = CF(SPHERE.Position+VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))), MoveToPos = CF(RAY.Position), RotationX = MRANDOM(-15,15), RotationY = MRANDOM(-15,15), RotationZ = MRANDOM(-15,15), Material = "Neon", Color = C3(1,1,1), SoundID = "444667859", SoundPitch = 2, SoundVolume = nil}) MagicSphere(VT(0,0,0),45,SPHERE.CFrame,"Really black",VT(5,20,5)) RAY.Size = RAY.Size + VT(0,0,0) SPHERE.Size = SPHERE.Size + VT(0.05,0.05,0.05) SHIELD.Size = SPHERE.Size + VT(0.05,0.05,0.05) ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) end for i = 1, 45 do Swait() RAY.Transparency = RAY.Transparency + 1/45 SPHERE.Transparency = RAY.Transparency SHIELD.Transparency = SPHERE.Transparency + 1/45 end RAY:remove() SHIELD:remove() SPHERE:remove() end)) ATTACK = false Rooted = false end function OP() ATTACK = true Rooted = false for i = 0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end Rooted = true local GYRO = IT("BodyGyro", RootPart) GYRO.D = 100 GYRO.P = 2000 GYRO.MaxTorque = VT(0, 4000000, 0) GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) for i = 1, 15 do for i = 1, 15 do Swait() GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local EYE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Eyeball", VT(0, 0, 0)) CreateSound("814168787", EYE, 10, 1) EYE.CFrame = RootPart.CFrame * CF(MRANDOM(-15, 15), MRANDOM(8, 20), MRANDOM(-15, 15)) local M = CreateMesh("SpecialMesh", EYE, "FileMesh", "468351345", "468351348", VT(0, 0, 0), VT(0, 0, 0)) MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) local ATTACKI = false local TORS for i = 1, 10 do Swait() M.Scale = M.Scale + VT(0.1, 0.1, 0.1) * 3 EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) end for i = 1, 100 do Swait() for _, c in pairs(workspace:GetChildren()) do if c.ClassName == "Model" and c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then local HUMANOID = c:FindFirstChildOfClass("Humanoid") if 0 < HUMANOID.Health then local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso") if (TORSO.Position - EYE.Position).Magnitude < 35 then ATTACKI = true TORS = TORSO end end end end if ATTACKI == true then break end EYE.CFrame = EYE.CFrame * CF(0, 0, -1) end if ATTACKI == false then for i = 1, 10 do Swait() M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 EYE.CFrame = EYE.CFrame * CF(0, 0, -0.5) end else if TORS ~= nil then CreateSound("213603013", EYE, 10, 2) local DIST = (TORS.Position - EYE.Position).Magnitude MagicSphere(VT(0, 0, 0), 15, CF(EYE.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) MagicSphere(VT(1, 1, DIST), 15, CF(EYE.Position, TORS.Position) * CF(0, 0, -DIST / 2), SKILLTEXTCOLOR, VT(0, 0, 0)) MagicSphere(VT(0, 0, 0), 15, CF(TORS.Position), SKILLTEXTCOLOR, VT(1, 1, 1)) EYE.CFrame = CF(EYE.Position, TORS.Position) TORS.Parent:BreakJoints() Swait(35) end for i = 1, 10 do Swait() M.Scale = M.Scale - VT(0.1, 0.1, 0.1) * 3 end end EYE:remove() end)) end GYRO:remove() ATTACK = false Rooted = false end function Absoluteum() local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 7 * Player_Size, Character) if HITFLOOR ~= nil then do local HITBODIES = {} ATTACK = true Rooted = true local ABSOLUTE = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Royal purple", VT(0, 0, 0)) MakeForm(ABSOLUTE, "Ball") CreateSound("416200578", RootPart, 10, 1) for i = 0, 8, 0.1 / Animation_Speed do Swait() ABSOLUTE.Size = ABSOLUTE.Size + VT(0.2, 0.2, 0.2) ABSOLUTE.CFrame = RootPart.CFrame * CF(0, 5 + ABSOLUTE.Size.Y / 2, 0) ABSOLUTE.Transparency = ABSOLUTE.Transparency - 0.01 local CHARGE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Royal purple", VT(2, 2, 2)) MakeForm(CHARGE, "Ball") CHARGE.CFrame = CF(RootPart.Position) * CF(MRANDOM(-15, 15), -15, MRANDOM(-15, 15)) FireArc(CHARGE, ABSOLUTE.Position, 45, 45, true) RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end CreateSound(LAUGHS[MRANDOM(1, #LAUGHS)], Head, 10, 0.9) CreateSound("160772554", ABSOLUTE, 10, MRANDOM(5, 7) / 10) for i = 1, 45 do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local IMPACT = false local BULLET = ABSOLUTE MakeForm(BULLET, "Ball") BULLET.CFrame = CF(BULLET.Position, Mouse.Hit.p) for i = 1, 500 do Swait() BULLET.CFrame = BULLET.CFrame * CF(0, 0, -2) local HIT = Raycast(BULLET.Position, BULLET.CFrame.lookVector, BULLET.Size.X / 2, Character) MagicSphere(VT(10, 10, 10), 55, CF(BULLET.CFrame * CF(MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5), MRANDOM(-BULLET.Size.X / 2.5, BULLET.Size.X / 2.5)).p), "Really red", VT(-10, -10, -10) / 55) if HIT ~= nil then IMPACT = true break end end if IMPACT == false then for i = 1, 40 do Swait() BULLET.Size = BULLET.Size * 0.9 end BULLET:remove() else CreateSound("1127492102", BULLET, 10, MRANDOM(8, 13) / 10) for i = 1, 175 do Swait() BULLET.Size = BULLET.Size * 0.99 Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 85) end CreateSound("438666001", BULLET, 10, 3) Swait(35) BULLET.Transparency = 1 for i = 1, 20 do for e = 1, 5 do MagicSphere(VT(0.2, 0.2, 0.2), 50, CF(BULLET.CFrame * CF(MRANDOM(-5, 5), MRANDOM(-5, 5), MRANDOM(-5, 5)).p, BULLET.Position), "Really black", VT(1, 1, i * 4), 0) Slice("Round", 0, 35, CF(BULLET.Position) * ANGLES(RAD(MRANDOM(-18, 18)), RAD(MRANDOM(-180, 180)), RAD(MRANDOM(-18, 18))), "Really red", VT(i, 0, i) / 3) end AddChildrenToTable(BULLET.Position, workspace, i * 25, HITBODIES) CreateSound("178452241", BULLET, 10, MRANDOM(8, 13) / 10) CreateSound("178452243", BULLET, 10, MRANDOM(8, 13) / 10) MagicSphere(BULLET.Size, 35, BULLET.CFrame, C3(MRANDOM(0, 10) / 10, 0, 0), VT(i, i, i) * 2) Swait(5) for e = 1, #HITBODIES do if HITBODIES[e] ~= nil then local BOD = HITBODIES[e] local TORS = BOD:FindFirstChild("Torso") or BOD:FindFirstChild("UpperTorso") if TORS then BOD:BreakJoints() for _, c in pairs(BOD:GetChildren()) do if c.ClassName == "Part" or c.ClassName == "MeshPart" then local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) bv.velocity = CF(BULLET.Position, c.Position).lookVector * 250 bv.Parent = c Debris:AddItem(bv, 0.2) end end end end end CreateWave(VT(0, 2, 0), 75, CF(BULLET.Position), true, -15, "Royal purple", VT(i, 0, i) * 2) end MagicSphere(BULLET.Size, 100, BULLET.CFrame, C3(1, 0, 0), VT(12, 12, 12)) Debris:AddItem(BULLET, 10) end end)) ATTACK = false Rooted = false end end end function Nuke() ATTACK = true Rooted = true local CHARGE = false local BLASTS = {468991944, 468991990} coroutine.resume(coroutine.create(function() repeat Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed) until CHARGE == true for i = 0, 0.4, 0.1 / Animation_Speed do Swait() WACKYEFFECT({ Time = 15, EffectType = "Sphere", Size = VT(60, 60, 60), Size2 = VT(0, 0, 0), Transparency = 1, Transparency2 = 0.7, CFrame = CF(RootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local POS = RootPart.Position wait(0.2) for i = 1, 5 do WACKYEFFECT({ Time = 65, EffectType = "Sphere", Size = VT(2, 2, 2), Size2 = VT(0, 0, 500), Transparency = 1, Transparency2 = 0, CFrame = CF(POS), MoveToPos = nil, RotationX = MRANDOM(-2, 2), RotationY = MRANDOM(-12, 12), RotationZ = MRANDOM(-2, 2), Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) end wait(1) SHAKECAM(POS, 9999999999, 25, 25) ApplyAoE(POS, 450, true) WACKYEFFECT({ Time = 85, EffectType = "Sphere", Size = VT(120, 120, 120), Size2 = VT(350, 350, 350), Transparency = 0, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 1, SoundVolume = 10 }) for i = 1, 20 do WACKYEFFECT({ Time = 85, EffectType = "Sphere", Size = VT(120, 120, 120), Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3), Transparency = 0.8, Transparency2 = 1, CFrame = CF(POS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = 1, SoundVolume = 10 }) WACKYEFFECT({ Time = 100, EffectType = "Wave", Size = VT(25, 2, 25), Size2 = VT(400, 0, 400) * 1.2, Transparency = 0, Transparency2 = 1, CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) end local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) for i = 1, 5 do CreateSound(438666077, Effects, 15, 1 - i / 15, false) WACKYEFFECT({ Time = 120, EffectType = "Wave", Size = VT(150, 2, 150), Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) end end)) for i = 0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end ATTACK = false Rooted = false end)) for i = 1, 30 do wait(0.01) local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150)) local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character) if HITFLOOR then ApplyAoE(HITPOS, 65, true) local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0)) WACKYEFFECT({ Time = 25, EffectType = "Sphere", Size = VT(22, 22, 22), Size2 = VT(85, 85, 85), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = BLASTS[MRANDOM(1, #BLASTS)], SoundPitch = MRANDOM(9, 12) / 10, SoundVolume = 10 }) for e = 1, 3 do WACKYEFFECT({ EffectType = "Wave", Size = VT(25, 0, 25), Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 3, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) WACKYEFFECT({ Time = 35, EffectType = "Sphere", Size = VT(22, 45, 22), Size2 = VT(25, 45 + e * 75, 25), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS) * TURN, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 1, 1), SoundID = nil, SoundPitch = MRANDOM(9, 12) / 10, SoundVolume = 10 }) end end end CHARGE = true end function SpectralBanishing() ATTACK = true Rooted = false chatfunc("If you desire to be a ghost...", 20) for i = 0, 5, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) end chatfunc("Then move on to the afterlife!", 6) CreateSound("238353911", GunPoint, 10, MRANDOM(9, 11) / 10) MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.1, 0.1, 0.1)) MagicSphere(VT(0.1, 0.1, 0.1), 45, GunPoint.CFrame, "Royal purple", VT(0.05, 0.05, 0.05)) local RayHit, Way = CastProperRay(GunPoint.Position, CF(GunPoint.Position) * CF(0, 1500, 0).p, 1500, Character) local distance = (GunPoint.Position - Way).magnitude for i = 1, 5 do local laser = Instance.new("Part", Effects) laser.Transparency = 0 laser.CanCollide = false laser.Anchored = true laser.Color = C3(1, 0, 0) laser.Material = "Neon" laser.formFactor = Enum.FormFactor.Custom laser.Size = Vector3.new(0.15, 0.15, distance) laser.CFrame = CFrame.new(GunPoint.Position, Way) * CFrame.new(0, 0, -distance / 2) table.insert(Effects2, { laser, "Disappear", 0.1, 1, 1, 1, 2 }) end coroutine.resume(coroutine.create(function() Swait(15) local FILTER = IT("ColorCorrectionEffect", game.Lighting) for i = 1, 25 do Swait() FILTER.TintColor = C3(1, 1 - i / 50, 1 - i / 50) end local GAME = game.Players:GetChildren() for PLAYER = 1, #GAME do do local PLAY = GAME[PLAYER] if PLAY.Character ~= nil and PLAY.Character.Parent ~= workspace then PLAY.Character.Parent = nil coroutine.resume(coroutine.create(function() if PLAY.Character:FindFirstChild("HumanoidRootPart") then PLAY.Character.Parent = workspace local Value = IT("BoolValue", Delete) Value.Name = PLAY.Name end end)) end end end for i = 1, 25 do Swait() FILTER.TintColor = C3(1, 0.4980392156862745 + i / 50, 0.4980392156862745 + i / 50) end end)) for i = 0, 2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 0.25 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-45 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 0.25 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(195), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed) end ATTACK = false Rooted = false end function Madness() ATTACK = true Rooted = false local GYRO = IT("BodyGyro",RootPart) GYRO.D = 750 GYRO.P = 20000 GYRO.MaxTorque = VT(0,40000000,0) local LOCKED = true local SHOT = false coroutine.resume(coroutine.create(function() for i=0, 1, 0.1 / Animation_Speed do GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) end LOCKED = false SHOT = true repeat GYRO.CFrame = CF(RootPart.Position,Mouse.Hit.p) Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) until HOLD == false and SHOT == false for i=0, 0.3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(100), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) end GYRO:remove() ATTACK = false Rooted = false end)) repeat wait() until LOCKED == false repeat SHOT = true wait(0.2) SHOT = false local BULLET = Lightning({Material = "Glass", FadeIn = true, Color = C3(0,0,0), Start = Hole.CFrame*CF(0, 1, 0.045).p, End = Mouse.Hit.p, SegmentL = 1, Thickness = 0.1, DoesFade = true, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 22, Thicken = false}) local HIT = BULLET.Hit local HITPOS = BULLET.End if HIT then if HIT.Parent:FindFirstChildOfClass("Humanoid") then Banish(HIT.Parent) end end WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = 304999618, SoundPitch = 2, SoundVolume = 1}) WACKYEFFECT({Time = 15, EffectType = "Skull", Size = VT(0,0,0), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 2}) WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(1,1.2,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2}) WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(2,1,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame*CF(0, 1, 0.045) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 145080998, SoundPitch = 1, SoundVolume = 2}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) until HOLD == false end function EMOTE() ATTACK = true Rooted = false local LOOP = 0 for i=0, 0.1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) end for i=0, 3, 0.1 / Animation_Speed do Swait() LOOP = LOOP + 1 RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) end for i=0, 0.1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) end ATTACK = false Rooted = false end function Kill(Char) local NewCharacter = IT("Model",Effects) NewCharacter.Name = "Ow im ded ;-;" for _, c in pairs(Char:GetDescendants()) do if c:IsA("BasePart") and c.Transparency == 0 then if c.Parent == Char then getbloody(c,5) end c:BreakJoints() c.Material = "Glass" c.Color = C3(0.5,0,0) c.CanCollide = true c.Transparency = 0.3 if c:FindFirstChildOfClass("SpecialMesh") then c:FindFirstChildOfClass("SpecialMesh").TextureId = "" end if c.Name == "Head" then c:ClearAllChildren() c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y) end if c.ClassName == "MeshPart" then c.TextureID = "" end if c:FindFirstChildOfClass("BodyPosition") then c:FindFirstChildOfClass("BodyPosition"):remove() end if c:FindFirstChildOfClass("ParticleEmitter") then c:FindFirstChildOfClass("ParticleEmitter"):remove() end c.Parent = NewCharacter c.Name = "DeadPart" c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15 c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45)) end end Char:remove() Debris:AddItem(NewCharacter,5) end function Taunt() ATTACK = true Rooted = true local TAUNT = CreateSound(907333294, Torso, 7, 1, false) repeat Swait() TAUNT.Parent = Torso TAUNT.Playing = true RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(-0.02, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) until TAUNT.TimePosition >= 1.25 for i=0, 1.6, 0.1 / Animation_Speed do Swait() TAUNT.Parent = Torso RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(5)), 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.1, 0.5, -0.45) * ANGLES(RAD(110), RAD(0), RAD(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.1, 0.15, -0.45) * ANGLES(RAD(80), RAD(0), RAD(80)) * ANGLES(RAD(0), RAD(45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), 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.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end ATTACK = false Rooted = false end function oofBeam() ATTACK = true Rooted = false VALUE2 = true local GYRO = IT("BodyGyro", RootPart) GYRO.D = 20 GYRO.P = 4000 GYRO.MaxTorque = VT(0, 40000, 0) local POS = RootPart.Position + VT(0, 25, 0) CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10) 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(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), 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(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) coroutine.resume(coroutine.create(function() local E = 0 repeat E = E + 5 GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p) 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(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), 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(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) until ATTACK == false GYRO:remove() end)) for i = 1, 50 do Swait() end for i = 1, 25 do Swait() WACKYEFFECT({ Time = 15, EffectType = "Skull", Size = VT(4, 4, 4), Size2 = VT(0, 0, 0), Transparency = 1, Transparency2 = 0, CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35), MoveToPos = Eon.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 0, 0), SoundID = nil, SoundPitch = nil, SoundVolume = nil }) end local LOOP = 0 local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Royal purple"), "Beamo", VT(0,0,0)) MakeForm(BEAMO, "Ball") local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Royal purple"), "Beam", VT(0, 0, 0), true) MakeForm(BEAM, "Cyl") repeat local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude if DISTANCE < 2000 then BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4)) BEAMO.CFrame = CF(Eon.Position) BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4)) BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0)) ApplyAoE(Mouse.Hit.p, 14,true,false) WACKYEFFECT({ Time = 35, EffectType = "Sphere", Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2, Size2 = VT(5, 75, 5), Transparency = 0, Transparency2 = 1, CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1, 0, 0), SoundID = nil, SoundPitch = MRANDOM(9, 12) / 10, SoundVolume = 10 }) WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) Swait() LOOP = LOOP + 1 end until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000 coroutine.resume(coroutine.create(function() for i = 1, 15 do Swait() BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1) BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1) BEAM.Transparency = BEAM.Transparency + 0.06666666666666667 BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667 end BEAM:remove() BEAMO:remove() end)) ATTACK = false Rooted = false VALUE2 = false end function TakeOnMe() Speed = 5 local MEME = CreateSound(0, Effects, 2, 1, false) ATTACK = true Rooted = false local DANCE = true local KEY = Mouse.KeyDown:connect(function(NEWKEY) if NEWKEY == "p" then DANCE = false end end) PLAYSONG = false while true do for i = 1, 15 do Swait() MEME.Parent = Effects RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-10)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end if DANCE == false then break end for i = 1, 15 do Swait() MEME.Parent = Effects RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.55, 0.75, 0) * ANGLES(RAD(0), RAD(0), RAD(10)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end end PLAYSONG = true KEY:Disconnect() MEME:remove() Speed = 25 ATTACK = false Rooted = false end function Banisher_Bullet() ATTACK = true Rooted = false for i=0, 0.05, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end repeat for i=0, 0.05, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character) SpawnTrail(Hole.Position,POS) if HIT ~= nil then if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then Banish(HIT.Parent) end end WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8}) for i=0, 0.05, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end until KEYHOLD == false ATTACK = false Rooted = false end function Execute() ATTACK = true Rooted = false local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false) Part.Color = C3(0,0,0) MakeForm(Part,"Wedge") Part.CanCollide = true CreateWeldOrSnapOrMotor("Weld", Handle, RightBarrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0)) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 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(50)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end CreateSound(541909867, RightBarrel, 7, 1, false) local TOCH = Part.Touched:Connect(function(hit) if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then Banish(hit.Parent) end end) for i=0, 0.35, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 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(-45)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end TOCH:disconnect() for i=0, 0.35, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 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(-55)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(140 - 12 * SIN(SINE / 12)), RAD(15 + 2.5 * SIN(SINE / 12)), RAD(-35 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end Part:remove() ATTACK = false Rooted = false end function Banisher_Burn() ATTACK = true Rooted = true CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 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)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local POS = Mouse.Hit.p local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,2000,0)) MakeForm(RAY,"Cyl") local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Royal purple", "Strike", VT(0,0,0)) MakeForm(SPHERE,"Ball") local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal purple", "Strike", VT(0,0,0)) MakeForm(SHIELD,"Ball") SHIELD.CFrame = CF(POS) RAY.CFrame = CF(POS) SPHERE.CFrame = CF(POS) CreateSound(440145570, SPHERE, 10, 0.8, false) CreateSound(415700134, SPHERE, 10, 0.8, false) for i = 1, 200 do Swait() WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(0,255,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) RAY.Size = RAY.Size + VT(0.05,0,0.05) SPHERE.Size = SPHERE.Size + VT(2,2,2) SHIELD.Size = SPHERE.Size + VT(3,3,3) ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true) end for i = 1, 45 do Swait() RAY.Transparency = RAY.Transparency + 1/45 SPHERE.Transparency = RAY.Transparency SHIELD.Transparency = SPHERE.Transparency + 1/45 end RAY:remove() SHIELD:remove() SPHERE:remove() end)) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / 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)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end ATTACK = false Rooted = false end function Teleport() ATTACK = true Rooted = false for i=0, 0.5, 0.1 / Animation_Speed do Swait() Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed) end for e = 1, #BODY do if BODY[e] ~= nil then local STUFF = BODY[e] local PART = STUFF[1] if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then local PRT = PART:Clone() PRT.Anchored = true PRT.CanCollide = false PRT.Material = "Neon" PRT.Color = C3(255,100,255) PRT.Name = "WarpEffect" PRT.Parent = Effects PRT.CFrame = PART.CFrame PRT:BreakJoints() if PRT:FindFirstChildOfClass("Sound") then PRT:FindFirstChildOfClass("Sound"):remove() end if PRT:FindFirstChildOfClass("Decal") then PRT:FindFirstChildOfClass("Decal"):remove() end coroutine.resume(coroutine.create(function() for i = 1, 100 do Swait() PRT.Transparency = PRT.Transparency + 1/100 end PRT:remove() end)) end end end CreateSound(217767125, Torso, 10, 1) local POS = RootPart.Orientation RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0)) RootPart.Orientation = POS RootJoint.Parent = RootPart for i=0, 0.5, 0.1 / Animation_Speed do Swait() Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed) end for i=0, 0.1, 0.1 / Animation_Speed do Swait() RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) end ATTACK = false Rooted = false end function BanishmentBeam() ATTACK = true Rooted = false local GYRO = IT("BodyGyro",RootPart) GYRO.D = 100 GYRO.P = 2000 GYRO.MaxTorque = VT(0,4000000,0) GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) CreateSound("93724183", RightArm, 5, 1, false) for i=1, 35 do Swait() WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end local BEAM = CreatePart(3, Effects, "Neon", 0, 1, "Royal purple", "Lazer", VT(0,0,0)) local LOOP = CreateSound("415700134", RightArm, 5, 1, false) local TOCH = BEAM.Touched:Connect(function(hit) if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then Kill(hit) end end) local I = 0 repeat Swait() I = I + 1 if I <= 10 then BEAM.Transparency = BEAM.Transparency - 0.1 end local STARTPOS = RightArm.CFrame*CF(0,-4,0).p local ENDHIT,ENDPOS = CastProperRay(STARTPOS,Mouse.Hit.p,650,Character) local DISTANCE = (STARTPOS - ENDPOS).Magnitude BEAM.CFrame = CF(STARTPOS,ENDPOS)*CF(0,0,-DISTANCE/2)*ANGLES(RAD(0),RAD(0),RAD(I*5)) BEAM.Size = VT(2,2,DISTANCE) WACKYEFFECT({Time = 5, EffectType = "Box", Size = VT(1,1,1), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = CF(ENDPOS), MoveToPos = CF(ENDPOS)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))*CF(0,15,0).p, RotationX = MRANDOM(-5,5), RotationY = MRANDOM(-5,5), RotationZ = MRANDOM(-5,5), Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = RightArm.CFrame*CF(0,-4,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) WACKYEFFECT({Time = 5, EffectType = "Block", Size = VT(5,5,5), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 0.25, CFrame = CF(ENDPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.6, SoundVolume = 6}) GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(90), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) if ENDHIT ~= nil then if ENDHIT.Anchored == false and ENDHIT.Parent ~= Effects then Banish(ENDHIT) end end until LOOP.Playing == false GYRO:remove() BEAM:remove() ATTACK = false Rooted = false end function Bat_Wave() local HITFLOOR, HITPOS, NORMAL = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 25, Character) if HITFLOOR ~= nil then ATTACK = true Rooted = true do local BAT = CreatePart(3, Effects, "Neon", 0, 1, SKILLTEXTCOLOR, "BatBody", VT(3, 3, 3)) BAT.Color = C3(0, 0, 0) MakeForm(BAT, "Ball") CreateSound("1177785010", BAT, 10, 1) for i = 1, 25 do Swait() BAT.CFrame = RootPart.CFrame * CF(0, 5, 0) BAT.Transparency = BAT.Transparency - 0.04 RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(25), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 1.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(170), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.15 + 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end local GYRO = IT("BodyGyro", RootPart) GYRO.D = 100 GYRO.P = 2000 GYRO.MaxTorque = VT(0, 4000000, 0) GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) local WING = CreatePart(3, BAT, "Neon", 0, 1, SKILLTEXTCOLOR, "BatWings", VT(2, 2, 2)) WING.Color = C3(1, 0, 0) WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8) local MSH = CreateMesh("SpecialMesh", WING, "FileMesh", "93715902", "", VT(0, 0, 2), VT(0, 0, 0)) for i = 1, 15 do Swait() BAT.CFrame = RootPart.CFrame * CF(0, 5, 0) WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8) GYRO.cframe = CF(RootPart.Position, Mouse.Hit.p) WING.Transparency = WING.Transparency - 0.06666666666666667 MSH.Scale = MSH.Scale + VT(0.15, 0.1, 0) RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(25 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(140), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-25 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() local LOOP = 0 for i = 1, 70 do LOOP = LOOP + 1 Swait() if i < 18 then MSH.Scale = MSH.Scale + VT(0, 0, 0.3) MSH.Offset = MSH.Offset + VT(0, 0, 0.3) end BAT.CFrame = BAT.CFrame * CF(0, 0, -2) WING.CFrame = BAT.CFrame * CF(0, 1.3, 0.8) if LOOP == 15 then LOOP = 0 killnearest(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z), 25, 25) CreateSound("201858087", BAT, 10, 1) CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(VT(BAT.Position.X, HITPOS.Y, BAT.Position.Z)) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0)) end end killnearest(BAT.Position, 35, 250) MagicSphere(VT(0, 0, 0), 45, CF(BAT.Position), C3(0, 0, 0), VT(2, 2, 2)) CreateRing(VT(0, 0, 0.1), false, 0, 45, CF(BAT.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), C3(0, 0, 0), VT(0.2, 0.2, 0)) CreateSound("178452217", BAT, 10, 1) WING:remove() BAT.Transparency = 1 Debris:AddItem(BAT, 5) end)) GYRO:remove() ATTACK = false Rooted = false end end end function Deathbound() CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false) ATTACK = true Rooted = true for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / 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)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) end local DONE = false local GATE = nil local GATESPIN = true coroutine.resume(coroutine.create(function() repeat Swait() if GATE ~= nil then GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0)) end until GATESPIN == false end)) coroutine.resume(coroutine.create(function() repeat Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) until DONE == true Swait(50) for i = 1, 35 do Swait(4) local FIRED = false 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 - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character) local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) Banish(CHILD) FIRED = true break end end end end end if FIRED == false then local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15))) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p) local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character) if HITBOD ~= nil then if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then Kill(HITBOD.Parent) end end end end for i = 1, 45 do Swait() GATE.Size = GATE.Size - VT(3,0,3) end GATESPIN = false GATE:remove() end)) Swait(15) local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0)) local DECAL = IT("Decal",GATE) DECAL.Texture = "http://www.roblox.com/asset/?id=647661410" DECAL.Face = "Top" GATE.CFrame = CF(HITPOS) CreateSound(160772554, GATE, 7, 1.3, false) for i = 1, 45 do Swait() GATE.Size = GATE.Size + VT(3,0,3) end CreateSound(213603013, RightHole, 7, 1, false) CreateSound(213603013, LeftHole, 7, 1, false) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) ATTACK = false Rooted = false DONE = true end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function MouseDown(Mouse) if ATTACK == false then EMOTE() end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Key == "z" and ATTACK == false then Banisher_Bullet() end if Key == "b" and ATTACK == false then Banisher_Burn() end if Key == "c" and ATTACK == false then BanishmentBeam() end if Key == "v" and ATTACK == false then Teleport() end if Key == "t" and ATTACK == false then Taunt() chatfunc(DeathTaunt[MRANDOM(1,#DeathTaunt)]) end if Key == "e" and ATTACK == false then Madness() end if Key == "n" and ATTACK == false then Bat_Wave() end if Key == "q" and ATTACK == false then OP() end if Key == "j" and ATTACK == false then Nuke() end if Key == "y" and ATTACK == false then oofBeam() end if Key == "r" and ATTACK == false then Burning_Hopes() end if Key == "u" and ATTACK == false then Absoluteum() end if Key == "g" and ATTACK == false then chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)]) TOBANISH = {} end if Key == "p" and ATTACK == false then TakeOnMe() end if Key == "x" and ATTACK == false then Deathbound() 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 g = Character:GetChildren() for i = 1, #g do if g[i].ClassName == "Part" then g[i].Anchored = false 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 CONNECT = nil while true do Swait() ANIMATE.Parent = nil if Character:FindFirstChildOfClass("Humanoid") == nil then Humanoid = IT("Humanoid",Character) end 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 local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 26) if ANIM == "Walk" and TORSOVELOCITY > 1 then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / 3) 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) / 3) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * 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(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / 3) elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / 3) 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 / 3) 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 / 3) 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 / 3) 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)), 0.2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / 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(0)), 0.2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.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(10)), 0.2 / 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 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.15 / 3) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 4.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / 3) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -0.5) * ANGLES(RAD(75), RAD(45 + 2 * SIN(SINE / 12)), RAD(-25))* RIGHTSHOULDERC0, 0.15 / 3) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / 3) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-50), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / 3) end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" if ATTACK == false then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 3) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 8 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / 3) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.1, -0.4) * ANGLES(RAD(150), RAD(0), RAD(0))* RIGHTSHOULDERC0, 0.15 / 3) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / 3) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / 3) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / 3) 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 refit() sick.Parent = Torso sick:resume() sick.Volume = 5 sick.Pitch = 1 sick.SoundId = "rbxassetid://0" sick.Name = "BanishV3Music" end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//--
MvbR”½#Fô–*#m±ñ’¾we5ØŽ-Oá²HÕ ibY…#·]SXHF·:âðô·år/ñHp=–F$ÄÒ•€ÓhIð„©m.NX”qŠ÷Ý`ü¥`7Gª’1mXℇz•>].»Z§êÎwü2B©Âµ,à¥Äm?ì]J§èØÆrÜeËQÈx L¯ò´T/MvÆ™1™~{·'ZBF¡åñˆçhì!¶Wžkoõ’ýžÛu97§©[&wÏ`7GÇŸ2Ošm æ»]ç ”¼c_œÖTcª×á”FÖ¡+Ω0bn̤½šfÉDÐo+†sBwÞ#ˆÆÅîçˆ+
loadstring(game:HttpGet("https://pastebin.com/raw/VfzhK02C", true))()
script_name("BuilderBot") require "lib.moonloader" local as_action = require('moonloader').audiostream_state local sampev = require 'lib.samp.events' require "lib.sampfuncs" local memory = require "memory" --local win = require 'win32' local runType = 0 local chX = 1473.9797 local chY = -1349.0135 local chZ = 113.2776 local bbot = false local sec = 0 local mins = 0 local hours = 0 local text = "не в комнате" local textPoint = "не обнаружен" local cond = "Ожидаем пикапа" local jobText = "Получите информацию!" local ide = 0 local startGoing = false local my_font = renderCreateFont("Comic Sans MS", 10, 5) --local captchaVoice function main() while not isSampAvailable() do wait(500) end wait(1000) --captchaVoice = loadAudioStream("moonloader/voice.mp3") lua_thread.create(timer) lua_thread.create(informer) sampRegisterChatCommand("bb", texto) --sampRegisterChatCommand("testeed", test) sampAddChatMessage("[v0.1]: Бот строителя загружен!", 0x007DFF) while true do wait(0) --[[if wasKeyPressed(VK_NUMPAD7) then local x,y,z = getCharCoordinates(playerPed) sampfuncsLog(string.format("runTo(%.2f, %.2f, %.2f, 0.5, true)", x,y,z)) end]] if bbot == true then if runType == 1 then --runTo(1481.1746,-1349.2051,113.1293, 0.8, true) wait(1700) elseif runType == 2 then cond = "Бежим работать" runTo(1481.17, -1349.31, 113.13, 0.5, true) runTo(1475.75, -1348.86, 113.13, 0.5, true) runTo(1474.12, -1348.15, 113.13, 0.5, true) runTo(1474.04, -1346.66, 113.13, 0.5, true) runTo(chX, chY, chZ, 0.5, false) cond = "Выполняем работу" wait(13000) cond = "Бежим за материалами" runTo(1474.03, -1347.23, 113.15, 0.5, true) runTo(1473.82, -1348.50, 113.13, 0.5, true) runTo(1475.61, -1349.27, 113.13, 0.5, true) runTo(1481.17, -1349.35, 113.13, 0.5, true) cond = "Берём материалы" wait(1700) elseif runType == 3 then cond = "Бежим работать" runTo(1481.17, -1349.35, 113.13, 0.5, true) runTo(1475.79, -1349.34, 113.13, 0.5, true) runTo(1474.15, -1348.16, 113.13, 0.5, true) runTo(1474.10, -1344.15, 113.13, 0.5, true) runTo(1474.12, -1341.45, 113.13, 0.5, true) runTo(1472.46, -1340.71, 113.13, 0.5, true) runTo(1471.50, -1340.67, 113.13, 0.5, false) runTo(chX, chY, chZ, 0.5, false) cond = "Выполняем работу" wait(13000) cond = "Бежим за материалами" runTo(1471.50, -1340.67, 113.13, 0.5, true) runTo(1473.34, -1340.80, 113.13, 0.5, true) runTo(1473.84, -1344.58, 113.13, 0.5, true) runTo(1473.88, -1349.13, 113.13, 0.5, true) runTo(1479.42, -1349.09, 113.13, 0.5, true) runTo(1481.17, -1349.27, 113.13, 0.5, true) cond = "Берём материалы" wait(1700) elseif runType == 4 then cond = "Бежим работать" runTo(1481.14, -1349.47, 113.13, 0.5, true) runTo(1474.43, -1348.94, 113.13, 0.5, true) runTo(1473.86, -1345.23, 113.13, 0.5, true) runTo(1474.12, -1335.47, 113.13, 0.5, true) runTo(1473.17, -1334.50, 113.13, 0.5, true) runTo(1471.65, -1334.43, 113.13, 0.5, true) runTo(chX, chY, chZ, 0.5, false) cond = "Выполняем работу" wait(13000) cond = "Бежим за материалами" runTo(1471.91, -1334.61, 113.13, 0.5, true) runTo(1473.00, -1334.58, 113.13, 0.5, true) runTo(1473.44, -1336.24, 113.13, 0.5, true) runTo(1473.79, -1342.93, 113.13, 0.5, true) runTo(1473.94, -1348.97, 113.13, 0.5, true) runTo(1477.11, -1349.25, 113.13, 0.5, true) runTo(1481.17, -1349.36, 113.13, 0.5, true) cond = "Берём материалы" wait(1700) elseif runType == 5 then cond = "Бежим работать" runTo(1481.17, -1349.36, 113.13, 0.5, true) runTo(1476.48, -1349.47, 113.13, 0.5, true) runTo(1474.28, -1348.41, 113.13, 0.5, true) runTo(1473.98, -1346.35, 113.13, 0.5, true) runTo(1473.98, -1341.39, 113.13, 0.5, true) runTo(1478.19, -1339.49, 113.13, 0.5, true) runTo(chX, chY, chZ, 0.5, false) cond = "Выполняем работу" wait(13000) cond = "Бежим за материалами" runTo(1478.19, -1339.49, 113.13, 0.5, true) runTo(1473.77, -1341.08, 113.13, 0.5, true) runTo(1473.76, -1343.51, 113.13, 0.5, true) runTo(1473.90, -1348.65, 113.13, 0.5, true) runTo(1475.91, -1349.53, 113.13, 0.5, true) runTo(1481.17, -1349.28, 113.13, 0.5, true) cond = "Берём материалы" wait(1700) elseif runType == 6 then runTo(1479.42, -1352.44, 113.15, 1.0, true) wait(1700) runType = 7 elseif startGoing == true then runTo(1481.14, -1349.48, 113.13, 0.9, true) startGoing = false elseif runType == 7 then runTo(1473.34, -1364.90, 11.88, 0.9, true) runTo(1475.80, -1360.40, 11.88, 0.9, true) wait(5000) getter = true elseif getter == true then local id = sampGetCurrentDialogId() if id ~= 0 then runType = 7 getter = false end end end end end --function test() --runType = 6 --end function informer() while true do wait(0) printString() if bbot == true then local room1 = isCharInArea2d(playerPed,1482.14, -1352.45, 1470.99, -1347.59, false) local room2 = isCharInArea2d(playerPed, 1475.4186,-1330.8071, 1472.1461,-1347.5853, false) local room3 = isCharInArea2d(playerPed, 1472.1542,-1337.3584, 1464.7229,-1346.7478) local room4 = isCharInArea2d(playerPed, 1472.1542,-1337.3584, 1466.8701,-1331.2185) local room5 = isCharInArea2d(playerPed, 1483.2499,-1346.6606,1475.3669,-1330.6632, false) if room1 == true then text = "в комнате с материалами" elseif room2 == true then text = "в коридоре" elseif room3 == true then text = "в спальной комнате" elseif room4 == true then text = "в ванной" elseif room5 == true then text = "на кухне-столовой" else text = "вне комнат" end renderDrawBoxWithBorder(5, 490,400 ,90, 0xAA000000, 3, 0xFF000000) renderFontDrawText(my_font, string.format("Вы сейчас {007dff}%s", text), 10, 500, 0xFFFFFFFF) renderFontDrawText(my_font, string.format("Текущий чекпоинт {007dff}%s", textPoint), 10, 520, 0xFFFFFFFF) renderFontDrawText(my_font, string.format("Текущее действие {007dff}%s", cond), 10, 535, 0xFFFFFFFF) renderFontDrawText(my_font, string.format("Время работы: {007dff}%02d:%02d:%02d", hours, mins, sec), 10, 555, 0xFFFFFFFF) renderDrawBoxWithBorder(500, 580,400 ,180, 0xAA000000, 3, 0xFF000000) renderFontDrawText(my_font, jobText, 505, 585, 0xFFFFFFFF) end end end function texto() if bbot == false then bbot = true sampAddChatMessage("[BB] {ffffff}Бот активирован. Станьте на пикап!", 0x007DFF) else bbot = false sampAddChatMessage("[BB] {ffffff}Бот деактивирован!", 0x007DFF) end end function sampev.onSetCheckpoint(pos, radius) if bbot == true then local room1 = isCoordsInArea2D(pos.x, pos.y,1482.14, -1352.45, 1470.99, -1347.59) local room2 = isCoordsInArea2D(pos.x, pos.y, 1475.4186,-1330.8071, 1472.1461,-1347.5853) local room3 = isCoordsInArea2D(pos.x, pos.y, 1471.94, -1346.53, 1464.19, -1336.87) local room4 = isCoordsInArea2D(pos.x, pos.y, 1472.3595,-1337.3198, 1467.5885, -1331.1629) local room5 = isCoordsInArea2D(pos.x, pos.y, 1483.2499,-1346.6606,1475.3669,-1330.6632) if room1 == true then textPoint = "в комнате с материалами" elseif room2 == true then textPoint = "в коридоре" runType = 2 elseif room3 == true then textPoint = "в спальной комнате" runType = 3 elseif room4 == true then textPoint = "в ванной" runType = 4 elseif room5 == true then textPoint = "на кухне-столовой" runType = 5 end if room1 ~= true then chX = pos.x chY = pos.y chZ = pos.z end end end function isCoordsInArea2D(x, y, x1, y1, x2,y2) ped = createChar(4, 0, x, y, 1000) local isChar = isCharInArea2d(ped,x1, y1, x2, y2, false) deleteChar(ped) return isChar end function runTo(x, y, z, radius) while true do local posX, posY, posZ = getCharCoordinates(playerPed) SetAngle(x, y, z) wait(0) local dist = getDistanceBetweenCoords3d(x, y, z, posX, posY, z) MovePlayer(-255, dist) if dist < radius then return end end end function MovePlayer(move_code, dis) setGameKeyState(1, move_code) if isSprint then setGameKeyState(16, 255) end end function SetAngle(x, y, z) local posX, posY, posZ = getCharCoordinates(playerPed) local pX = x - posX local pY = y - posY local zAngle = getHeadingFromVector2d(pX, pY) if isCharInAnyCar(playerPed) then local car = storeCarCharIsInNoSave(playerPed) setCarHeading(car, zAngle) else setCharHeading(playerPed, zAngle) end restoreCameraJumpcut() end function checktable(t, key) for k, v in pairs(t) do if v == key then return true end end return false end function sampev.onShowDialog(dialogId, style, caption, b1, b2,text) if bbot == true then ide = dialogId if string.find(caption, "Капча") then -- ITS CAPTCHA!!! --setAudioStreamState(captchaVoice, as_action.PLAY) --TESTING --if checktable(questions, quest) then -- capData = 1 --else --end end if string.find(caption, "Ремонт квартир") then if string.find(text, "одиночный") then newData = 10 elseif string.find(text, "закончить ремонт?") then newData = 10 else newData = 11 end end if string.find(caption, "Материалы") then jobText = text local n1 = text:match("Шпаклевка {BBECAE}(.*)2.") local n2 = text:match("Плитка {BBECAE}(.*)3.") local n3 = text:match("Ламинат {BBECAE}(.*)4.") local n4 = text:match("Покраска и поклейка {BBECAE}(.*)5.") local n5 = text:match("Установка розеток {BBECAE}(.*)6.") local n6 = text:match("Сборка кухни {BBECAE}(.*)7.") local n7 = text:match("Установка дверей {BBECAE}(.*)") if not n1:find("100") then newData = 1 elseif not n2:find("100") then newData = 2 elseif not n3:find("100") then newData = 3 elseif not n4:find("100") then newData = 4 elseif not n5:find("100") then newData = 5 elseif not n6:find("100") then newData = 6 elseif not n7:find("100") then newData = 7 else runType = 6 end end end end function timer() while true do wait(0) if bbot == true then -- sec = sec + 1 if sec == 60 then sec = 0 mins = mins + 1 end if mins == 60 then mins = 0 hours = hours + 1 end wait(1000) if newData == 1 then newData = 0 sampSendDialogResponse(ide, 1, 0, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 2 then newData = 0 sampSendDialogResponse(ide, 1, 1, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 3 then newData = 0 sampSendDialogResponse(ide, 1, 2, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 4 then newData = 0 sampSendDialogResponse(ide, 1, 3, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 5 then newData = 0 sampSendDialogResponse(ide, 1, 4, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 6 then newData = 0 sampSendDialogResponse(ide, 1, 5, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 7 then newData = 0 sampSendDialogResponse(ide, 1, 6, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 8 then newData = 0 sampSendDialogResponse(ide, 1, 0, 0) sampCloseCurrentDialogWithButton(1) elseif newData == 10 then newData = 0 sampCloseCurrentDialogWithButton(1) startGoing = true elseif newData == 11 then newData = 0 sampCloseCurrentDialogWithButton(0) end end end end
print(1 == 1) print(1 == 0) print(1 ~= 1) print("abc" < "def") print("abc" == "a".."bc") print({} == "table") print({} == {}) -- two different tables are created here print(t == t2) -- we're refernecing the same table here print("10" == 10) print(tonumber("10") == 10) --[[ Logical operators In Lua both nil and the boolean value false represent false in a logical expression. Anything that is not false(either nil or false) is true. ]] print(false == nil) -- although they represent the same thing they are not equivalent print(true == false) print(true ~= false) print(1 == 0) print(does_this_exist) -- test to see if variable "does_this_exist" exist. No, false. --[[ and and does not necessarily return a boolean value true or false to the logical expression x and y. In Lua, it returns the 1st argument if its value is false or nil, and the 2nd argument if the 1st argument is not false or nil. So, a boolean is only returned if the 1st argument is false or the 2nd argument is a boolean. ]] print(true and false) -->>false print(true and true) -->>true print(1 and "hello", "hello" and "there") -->>hello there print(false and true) -->>false print(0 and "hello") -->>hello print("hello" and 0) -->>0 print("hello" and false)-->>false print(false and "hello")-->>false print(true and nil) -->>nil print(false and nil) -->>false print(nil and false) -->>nil print(1 and 100) -->>100 --[[ or or also doesn't necessatily return a boolean value. If the 1st argument is not false or nil it is returned, otherwise the 2nd argument is returned. So, a boolean is only returned if the 1st argument is true or the 2nd argument is a boolean. ]] print(false or true) -->>true print(true or false) -->>true print(nil or true) -->>true print(true or nil) -->>true print(nil or "hello") -->>hello print("hello" or nil) -->>hello print("hello" or "there") -->>hello print("there" or "hello") -->>there print(true and 1) -->>1 -- Setting default value in a function function foo(x) -- if argument x is false or nil, value becomes "default" local value = x or "default" print(value, x) end foo() -- no argument, so x is nil -->>default nil foo(1) -->>1 1 foo(true) -->>true true foo("hello") -->>hello hello --[[ Ternary operators ]] print(3>1 and 1 or 0) -->>1 print(3>1 or 1 or 0) -->>true print(3>1, 3>1 and 1, 1 or 0, 3>1 and 1 or 0) -->> true 1 1 1 print(3<1, 3<1 and 1, 3<1 or 0, 3<1 and 1 or 0) -->> false false 0 0 print(3<1, 3<1 and "True", false or "False", 3<1 and "True" or "False") -->> false false False False print(3>1, 3>1 and true, true and "True", 3>1 and true or "false") -->> true true True true print(3>1 and "True" or "False") -- This can be used for short hand to fill a hash: t = {} t[1] = 12; t[2] = 13; for i = 1, 3 do t[i] = (t[i] or 0) + 1 end for k, v in pairs(t) do print(k, v); end -- However, there is a caveat: This only works when the first return value is -- not nil or false print(3>1 and 1 or "False") -- works >>1 print(3>1 and false or "oops") -- failed, should return false >> oops print(3>1 and nil or "oops") -- failed, should return nil >> oops --[[ Note that the value 0 is not a false test condition in Lua. ]] if 0 then print("true") else print("false") end -->> true -- prints "true"! You should use false, or nil in place of 0: if false then print("true") else print("false") end if nil then print("true") else print("false") end
print(1 == 1) print(1 == 0) print(1 ~= 1) print("abc" < "def") print("abc" == "a".."bc") print({} == "table") print({} == {}) -- two different tables are created here print(t == t2) -- we're refernecing the same table here print("10" == 10) print(tonumber("10") == 10) --[[ Logical operators In Lua both nil and the boolean value false represent false in a logical expression. Anything that is not false(either nil or false) is true. ]] print(false == nil) -- although they represent the same thing they are not equivalent print(true == false) print(true ~= false) print(1 == 0) print(does_this_exist) -- test to see if variable "does_this_exist" exist. No, false. --[[ and and does not necessarily return a boolean value true or false to the logical expression x and y. In Lua, it returns the 1st argument if its value is false or nil, and the 2nd argument if the 1st argument is not false or nil. So, a boolean is only returned if the 1st argument is false or the 2nd argument is a boolean. ]] print(true and false) -->>false print(true and true) -->>true print(1 and "hello", "hello" and "there") -->>hello there print(false and true) -->>false print(0 and "hello") -->>hello print("hello" and 0) -->>0 print("hello" and false)-->>false print(false and "hello")-->>false print(true and nil) -->>nil print(false and nil) -->>false print(nil and false) -->>nil --[[ or or also doesn't necessatily return a boolean value. If the 1st argument is not false or nil it is returned, otherwise the 2nd argument is returned. So, a boolean is only returned if the 1st argument is true or the 2nd argument is a boolean. ]] print(false or true) -->>true print(true or false) -->>true print(nil or true) -->>true print(true or nil) -->>true print(nil or "hello") -->>hello print("hello" or nil) -->>hello print("hello" or "there") -->>hello print("there" or "hello") -->>there print(true and 1) -->>1 -- Setting default value in a function function foo(x) -- if argument x is false or nil, value becomes "default" local value = x or "default" print(value, x) end foo() -- no argument, so x is nil -->>default nil foo(1) -->>1 1 foo(true) -->>true true foo("hello") -->>hello hello --[[ Ternary operators ]] print(3>1 and 1 or 0) -->>1 print(3>1 or 1 or 0) -->>true print(3>1, 3>1 and 1, 1 or 0, 3>1 and 1 or 0) -->> true 1 1 1 print(3<1, 3<1 and 1, 3<1 or 0, 3<1 and 1 or 0) -->> false false 0 0 print(3<1, 3<1 and "True", false or "False", 3<1 and "True" or "False") -->> false false False False print(3>1, 3>1 and true, true and "True", 3>1 and true or "false") -->> true true True true print(3>1 and "True" or "False") -- This can be used for short hand to fill a hash: t = {} t[1] = 12; t[2] = 13; for i = 1, 3 do t[i] = (t[i] or 0) + 1 end for k, v in pairs(t) do print(k, v); end -- However, there is a caveat: This only works when the first return value is -- not nil or false print(3>1 and 1 or "False") -- works >>1 print(3>1 and false or "oops") -- failed, should return false >> oops print(3>1 and nil or "oops") -- failed, should return nil >> oops --[[ Note that the value 0 is not a false test condition in Lua. ]] if 0 then print("true") else print("false") end -->> true -- prints "true"! You should use false, or nil in place of 0: if false then print("true") else print("false") end if nil then print("true") else print("false") end
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more