--//====================================================\\-- --|| CREATED BY INFINITEONEWITHDANK --\\====================================================//-- print("Infinite GUI By InfiniteOneWithdank") -- Objects local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local TextButton = Instance.new("TextButton") local TextButton_2 = Instance.new("TextButton") local TextButton_3 = Instance.new("TextButton") local TextButton_4 = Instance.new("TextButton") local TextButton_5 = Instance.new("TextButton") local TextButton_6 = Instance.new("TextButton") local TextButton_7 = Instance.new("TextButton") local TextButton_8 = Instance.new("TextButton") local TextButton_9 = Instance.new("TextButton") -- Properties ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.new(0, 0, 0) Frame.BorderColor3 = Color3.new(0, 0, 0) Frame.Position = UDim2.new(0, 10, 0, 256) Frame.Size = UDim2.new(0, 464, 0, 175) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextLabel.BorderColor3 = Color3.new(0, 0.00784314, 0) TextLabel.Size = UDim2.new(0, 464, 0, 50) TextLabel.Font = Enum.Font.Code TextLabel.Text = "Infinite GUI" TextLabel.TextColor3 = Color3.new(0, 0.0235294, 0) TextLabel.TextScaled = true TextLabel.TextSize = 14 TextLabel.TextStrokeColor3 = Color3.new(0.235294, 0.988235, 0.360784) TextLabel.TextWrapped = true TextButton.Parent = Frame TextButton.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton.Position = UDim2.new(0, 21, 0, 62) TextButton.Size = UDim2.new(0, 90, 0, 50) TextButton.Font = Enum.Font.Code TextButton.Text = "Inf's Gear" TextButton.TextSize = 14 TextButton.TextWrapped = true TextButton.MouseButton1Down:connect(function() --//====================================================\\-- --|| EDITED BY INFINITEONEWITHDANK CREATED BY SHACKLUSTER --\\====================================================//-- wait(0.2) print("This is edited by InfiniteOneWIthdank, Original script creator is Shackluster give em credits") 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 sick = Instance.new("Sound",Character) sick.SoundId = "rbxassetid://224418706" sick.Looped = true sick.Pitch = 1 sick.Volume = 1 sick:Play() 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 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 --//=================================\\ --|| NAME OF PLAYER --\\=================================// p = game.Players.LocalPlayer char = p.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 = "Code" text.TextStrokeColor3 = Color3.new(0,0,0) text.TextColor3 = Color3.new(0,255,0) text.Text = "Infinite's Gear lol get on my level " --//=================================\\ --|| CUSTOMIZATION --\\=================================// Player_Size = 1 --Size of the player. Animation_Speed = 3 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 20 local Effects2 = {} --//=================================\\ --|| END OF CUSTOMIZATION --\\=================================// 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 --//=================================\\ --|| BODY TRAIL --\\=================================// --All The Settings for Trails in this Script TrailSettings = { Lifetime = 0.5, Texture = 'rbxassetid://31270182', --Color1 is for UpperBody and Accessories, Color2 is for Lower Body Color1 = ColorSequence.new(BrickColor.new('Lime green').Color,BrickColor.new('Green').Color), Color2 = ColorSequence.new(BrickColor.new('Really black').Color,BrickColor.new('Black').Color), AllBody = true, UpperBodyOnly = false, LowerBodyOnly = false, Accessories = false, Extras = true, R15 = false, --Change to true if you're using R15 R15Parts = { 'UpperTorso', 'LowerTorso', } } local Trail; --Making other Trails uses this in this Script --UpperBody Function UpperBody = function() if TrailSettings.R15 == false then A0 = Instance.new('Attachment',Character.Torso) A1 = Instance.new('Attachment',Character.Head) A2 = Instance.new('Attachment',Character['Right Arm']) A3 = Instance.new('Attachment',Character['Left Arm']) Trail = Instance.new('Trail',Character) Trail.Attachment0 = A0 Trail.Attachment1 = A1 Trail.Texture = TrailSettings.Texture Trail.Color = TrailSettings.Color1 Trail.Lifetime = TrailSettings.Lifetime local Trail2 = Trail:Clone() Trail2.Parent = Character Trail2.Attachment1 = A2 local Trail3 = Trail:Clone() Trail3.Parent = Character Trail3.Attachment1 = A3 local Trail6 = Trail:Clone() Trail6.Parent = Character Trail6.Attachment0 = A1 Trail6.Attachment1 = A2 local Trail7 = Trail:Clone() Trail7.Parent = Character Trail7.Attachment0 = A1 Trail7.Attachment1 = A3 else A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]]) A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]]) A1 = Instance.new('Attachment',Character.Head) A2 = Instance.new('Attachment',Character['RightUpperArm']) A2R = Instance.new('Attachment',Character['RightLowerArm']) A3 = Instance.new('Attachment',Character['LeftUpperArm']) A3R = Instance.new('Attachment',Character['LeftLowerArm']) Trail = Instance.new('Trail',Character) Trail.Attachment0 = A0 Trail.Attachment1 = A1 Trail.Texture = TrailSettings.Texture Trail.Color = TrailSettings.Color1 Trail.Lifetime = TrailSettings.Lifetime local Trail2 = Trail:Clone() Trail2.Parent = Character Trail2.Attachment1 = A2 local Trail3 = Trail:Clone() Trail3.Parent = Character Trail3.Attachment1 = A3 local Trail6 = Trail:Clone() Trail6.Parent = Character Trail6.Attachment0 = A1 Trail6.Attachment1 = A2 local Trail7 = Trail:Clone() Trail7.Parent = Character Trail7.Attachment0 = A1 Trail7.Attachment1 = A3 --R15 Trails local Trail1R = Trail:Clone() Trail1R.Parent = Character Trail1R.Attachment1 = A2R local Trail2R = Trail:Clone() Trail2R.Parent = Character Trail2R.Attachment1 = A3R local Trail6R = Trail:Clone() Trail6.Parent = Character Trail6.Attachment0 = A1 Trail6.Attachment1 = A2R local Trail7R = Trail:Clone() Trail7.Parent = Character Trail7.Attachment0 = A1 Trail7.Attachment1 = A3R end end --Lower Body Function LowerBody = function() if TrailSettings.R15 == false then A4 = Instance.new('Attachment',Character['Right Leg']) A5 = Instance.new('Attachment',Character['Left Leg']) local Trail4 = Trail:Clone() Trail4.Parent = Character Trail4.Attachment1 = A4 local Trail5 = Trail:Clone() Trail5.Parent = Character Trail5.Attachment1 = A5 local Trail8 = Trail:Clone() Trail8.Parent = Character Trail8.Attachment0 = A2 Trail8.Attachment1 = A4 Trail8.Color = TrailSettings.Color2 local Trail9 = Trail:Clone() Trail9.Parent = Character Trail9.Attachment0 = A3 Trail9.Attachment1 = A5 Trail9.Color = TrailSettings.Color2 local FT = Trail:Clone() FT.Parent = Character FT.Attachment0 = A4 FT.Attachment1 = A5 FT.Color = TrailSettings.Color2 else A4 = Instance.new('Attachment',Character['RightLowerLeg']) A4R = Instance.new('Attachment',Character['RightUpperLeg']) A5 = Instance.new('Attachment',Character['LeftLowerLeg']) A5R = Instance.new('Attachment',Character['LeftUpperLeg']) local Trail4 = Trail:Clone() Trail4.Parent = Character Trail4.Attachment1 = A4 local Trail5 = Trail:Clone() Trail5.Parent = Character Trail5.Attachment1 = A5 local Trail8 = Trail:Clone() Trail8.Parent = Character Trail8.Attachment0 = A2 Trail8.Attachment1 = A4 Trail8.Color = TrailSettings.Color2 local Trail9 = Trail:Clone() Trail9.Parent = Character Trail9.Attachment0 = A3 Trail9.Attachment1 = A5 Trail9.Color = TrailSettings.Color2 local FT = Trail:Clone() FT.Parent = Character FT.Attachment0 = A4 FT.Attachment1 = A5 FT.Color = TrailSettings.Color2 --R15 Trails local Trail3R = Trail:Clone() Trail3R.Parent = Character Trail3R.Attachment1 = A4R local Trail4R = Trail:Clone() Trail4R.Parent = Character Trail4R.Attachment1 = A5R local Trail8 = Trail:Clone() Trail8.Parent = Character Trail8.Attachment0 = A2R Trail8.Attachment1 = A4R Trail8.Color = TrailSettings.Color2 local Trail9 = Trail:Clone() Trail9.Parent = Character Trail9.Attachment0 = A3R Trail9.Attachment1 = A5R Trail9.Color = TrailSettings.Color2 local FT2R = Trail:Clone() FT2R.Parent = Character FT2R.Attachment0 = A4R FT2R.Attachment1 = A5R FT2R.Color = TrailSettings.Color2 end end --All Body Function calling Both Functions AllBody = function() UpperBody() LowerBody() end --Checking to make sure that Only some Variables are Selected else do All Body if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then TrailSettings.UpperBodyOnly = false TrailSettings.LowerBodyOnly = false elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then TrailSettings.UpperBodyOnly = false TrailSettings.LowerBodyOnly = false elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then TrailSettings.UpperBodyOnly = false TrailSettings.LowerBodyOnly = false elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then TrailSettings.AllBody = true TrailSettings.UpperBodyOnly = false TrailSettings.LowerBodyOnly = false end --Call Trail Functions if TrailSettings.UpperBodyOnly == true then UpperBody() print('Called Upper Body Trail') elseif TrailSettings.LowerBodyOnly == true then LowerBody() print('Called Lower Body Trail') elseif TrailSettings.AllBody == true then AllBody() print('Called Full Body Trail') end --Trails for Accessories if TrailSettings.Accessories == true then for Index,Item in pairs(Character:GetChildren()) do if Item:IsA'Accessory' then local AA = Instance.new('Attachment',Item.Handle) local ATrail = Trail:Clone() ATrail.Parent = Character ATrail.Attachment1 = AA end end end --Extras if TrailSettings.Extras == true then --Making an Invisible Platform Part local a = Instance.new('Part',Character) a.CanCollide = false a.Size = Vector3.new(2,.2,2) a.Transparency = 1 --Constantly putting it under your feet if TrailSettings.R15 == false then spawn(function() game:GetService('RunService').RenderStepped:connect(function() a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0) end) end) else spawn(function() game:GetService('RunService').RenderStepped:connect(function() a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0) end) end) end --Make a Trail from both feet to the Platform spawn(function() repeat wait() until Trail local AB = Instance.new('Attachment',a) local ABT = Trail:Clone() ABT.Parent = Character ABT.Attachment0 = A4 ABT.Attachment1 = AB ABT.Color = TrailSettings.Color2 local ABT2 = Trail:Clone() ABT2.Parent = Character ABT2.Attachment0 = A5 ABT2.Attachment1 = AB ABT2.Color = TrailSettings.Color2 end) end --//=================================\\ --|| USEFUL VALUES --\\=================================// 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 CHANGEDEFENSE = 0 local CHANGEDAMAGE = 0 local CHANGEMOVEMENT = 0 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 WALK = 0 local VALUE1 = false local VALUE2 = false local ROBLOXIDLEANIMATION = IT("Animation") ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" --ROBLOXIDLEANIMATION.Parent = Humanoid local WEAPONGUI = IT("ScreenGui", PlayerGui) WEAPONGUI.Name = "Weapon GUI" local Weapon = IT("Model") Weapon.Name = "Adds" local HITFLOOR = nil local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} local HITBLOCKSOUNDS = {"199148933", "199148947"} local UNANCHOR = true local SKILLTEXTCOLOR = Color3.new(0, 255, 0) --//=================================\\ --\\=================================// --//=================================\\ --|| SAZERENOS' ARTIFICIAL HEARTBEAT --\\=================================// ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "ArtificialHB" script:WaitForChild("ArtificialHB") frame = Frame_Speed tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.ArtificialHB:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.ArtificialHB:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.ArtificialHB:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --//=================================\\ --\\=================================// --//=================================\\ --|| SOME FUNCTIONS --\\=================================// function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function 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 function CreateSound(ID, PARENT, VOLUME, PITCH) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = IT("Sound", PARENT) NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID Swait() NEWSOUND:play() game:GetService("Debris"):AddItem(NEWSOUND, 10) 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 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 = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" mesh.Scale = SIZE mesh.Offset = 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 CreateWave2(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 = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" mesh.Scale = SIZE --mesh.Offset = 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 CreateSwirl(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 = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" mesh.Scale = SIZE 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 Slice(SIZE,WAIT,CFRAME,COLOR,GROW) local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1,1,1), true) local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), 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 + (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 = IT("SpecialMesh",wave) mesh.MeshType = "Sphere" mesh.Scale = SIZE mesh.Offset = 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 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 CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) if FLOOR ~= nil then coroutine.resume(coroutine.create(function() local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) PART.CFrame = CF(POSITION) for i = 1, 45 do local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "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/100) end PART:remove() end)) end end function CheckTableForString(Table, String) for i, v in pairs(Table) do if string.find(string.lower(String), string.lower(v)) then return true end end return false end function CheckIntangible(Hit) local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} if Hit and Hit.Parent then if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then return true end end return false end Debris = game:GetService("Debris") function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) local Direction = CFrame.new(StartPos, Vec).lookVector local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) if RayHit and CheckIntangible(RayHit) then if DelayIfHit then wait() end RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) end return RayHit, RayPos, RayNormal 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 FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftArm, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LeftLeg, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local FIST = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.01*Player_Size,1.4*Player_Size,1.01*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", FIST, RightLeg, FIST, CF(0 * Player_Size, -0.25 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.2*Player_Size,0.3*Player_Size,1.2*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.6 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.2 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.3 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.05*Player_Size,0.05*Player_Size,1.05*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, 0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Lime green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1.1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0 * Player_Size, -0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Neon Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,1*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.05 * Player_Size, -0.375 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, 0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Bright green", "Gauntlet Part", VT(1.1*Player_Size,0.8*Player_Size,0.3*Player_Size),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, FIST, part, CF(0.1 * Player_Size, -0.4 * Player_Size, -0.33 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end Weapon.Parent = Character Humanoid.Died:connect(function() ATTACK = true end) local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.13, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.60, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.9, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.7, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") local SKILL5FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.1, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fist Of Fury And Destruction", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Body Shatter", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Speed of light", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 3") local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[X] Extreme Implosion Cannon", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text4") local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[P] Impending Doom Rush", SKILLTEXTCOLOR, 6, "SciFi", 0, 2, 1, "Text5") --//=================================\\ --|| DAMAGE FUNCTIONS --\\=================================// function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Lime green", "Effect", VT()) STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) local BODYGYRO = IT("BodyGyro", STATPART) local BODYPOSITION = IT("BodyPosition", STATPART) BODYPOSITION.P = 2000 BODYPOSITION.D = 100 BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) 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 = "SciFi" TEXTLABEL.FontSize="Size42" TEXTLABEL.TextColor3 = COLOR TEXTLABEL.TextStrokeTransparency = 1 TEXTLABEL.TextScaled = true TEXTLABEL.TextWrapped = true coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) if LABELTYPE == "Normal" then for i = 1, 30 do Swait() STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) end elseif LABELTYPE == "Debuff" then for i = 1, 30 do Swait() STATPART.Position = STATPART.Position - VT(0, i/10 ,0) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) end elseif LABELTYPE == "Shock" then local ORIGIN = STATPART.Position for i = 1, 30 do Swait() STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30) end end THEPART.Parent = nil end),STATPART, BODYPOSITION, TEXTLABEL) end --//=================================\\ --|| DAMAGING --\\=================================// function killnearest(position,range,maxstrength,direction) for i,v in ipairs(workspace:GetChildren()) do local body = v:GetChildren() for part = 1, #body do if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then if(body[part].Position - position).Magnitude < range then if v.ClassName == "Model" then --v:BreakJoints() end local POS = position coroutine.resume(coroutine.create(function() body[part].Anchored = true body[part].Parent = Effects body[part].CanCollide = true local SIZE = body[part].Size body[part].Material = "Neon" CreateSound("952306739", body[part], 2, MRANDOM(7, 12) / 10) for i = 1, 75 do Swait() body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) end coroutine.resume(coroutine.create(function() while true do Swait() body[part].Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) body[part].Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) end end)) body[part].Anchored = false body[part].Velocity = direction.lookVector*maxstrength end)) end end end if v.ClassName == "Part" then if v.Anchored == false and (v.Position - position).Magnitude < range then local POS = position coroutine.resume(coroutine.create(function() v.Anchored = true v.Parent = Effects local SIZE = v.Size v.Material = "Neon" CreateSound("952306739", v, 2, MRANDOM(7, 12) / 10) for i = 1, 75 do Swait() v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) end coroutine.resume(coroutine.create(function() while true do Swait() v.Color = C3(MRANDOM(0,100)/100,MRANDOM(0,100)/100,MRANDOM(0,100)/100) v.Size = VT(SIZE.X+MRANDOM(-2,2),SIZE.Y+MRANDOM(-2,2),SIZE.Z+MRANDOM(-2,2)) end end)) v.Anchored = false v.Velocity = direction.lookVector*maxstrength end)) end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function AttackTemplate() ATTACK = true Rooted = false for i=0, 0, 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(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) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(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) end ATTACK = false Rooted = false end function Unexpected() ATTACK = true Rooted = false local SPEED = Speed Speed = 8 CreateSound("169445572", RightArm, 10, 1.1) for i=0, 0, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Green",VT(-1/15,-1/15,-1/15)) MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Lime green",VT(-2/15,-2/15,-2/15)) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end for i=0, 0, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Forest green", "Punch", VT(50,50,50),false) PART.CFrame = RootPart.CFrame * CF(0,0,-25) PART.Shape = "Ball" local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = RootPart.CFrame.lookVector*600 bv.Parent = PART bv.Name = "PROJECTILEVELOCITY" CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2.5,0.2,2.5)) CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Lime green",VT(3,0.2,3)) CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Lime green",VT(2,0.6,2)) CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Pearl",VT(2.2,0.6,2.2)) CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) coroutine.resume(coroutine.create(function() for i = 1, 10 do Swait() PART.Transparency = PART.Transparency + 0.2/10 PART.Size = PART.Size + VT(5,5,5) killnearest(PART.Position,PART.Size.Y/2+15,100,RootPart.CFrame) end PART:Destroy() end)) for i=0, 0, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) end Speed = SPEED ATTACK = false Rooted = false end function Realization() ATTACK = true Rooted = false local HASGRABBED = false local WELD = nil local TORS = nil local hitting = FIST.Touched:connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then if hit.Parent.Humanoid.Health ~= 0 then UNANCHOR = false TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso") TORS.Anchored = true TORS.CFrame = RightArm.CFrame * CF(0,-1.15,0) * ANGLES(RAD(90), RAD(0), RAD(0)) WELD = weldBetween(RightArm,TORS) HASGRABBED = true Rooted = true end end end) for i=0, 1, 0.1 / Animation_Speed do Swait() if HASGRABBED == true then break end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 2 / 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)), 2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 2 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), 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)), 2 / 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)), 2 / Animation_Speed) end hitting:disconnect() if HASGRABBED == true then TORS.Anchored = false RootPart.Anchored = true for i=0, 1, 0.5 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, -1.2) * ANGLES(RAD(65), RAD(0), RAD(0)), 0.2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 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, -0.3, -1) * 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, -0.3, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Forest green",VT(0.5,0.3,0.5)) CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Forest green",VT(0.6,0.3,0.6)) local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Sound", VT(0,0,0)) SOUNDPART.CFrame = RootPart.CFrame Debris:AddItem(SOUNDPART,5) CreateSound("1295446488", SOUNDPART, 2, 1) for i = 1, 7 do Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(-180,180)), RAD(90)),"Lime green", 1 + MRANDOM(1,30)/15) end for i=0, 1, 0 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 50000000) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 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 for i=0, 1, 0 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), 3 / 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)), 3 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 3 / 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) end if HITFLOOR ~= nil then CreateDebreeRing(HITFLOOR,CF(RootPart.Position)*CF(0,-3,0).p,15,VT(7,7,7),85) end CreateSound("414517163", Effects, 10, MRANDOM(7, 12) / 10) WELD:remove() for i = 1, 12 do Swait() killnearest(RootPart.Position,45,100,Torso.CFrame) CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(0.3,3,0.3)) CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(1,0.4,1)) CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,5,"Pearl",VT(2.3,0.3,2.3)) Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/5) Slice(0.1,65,CF(RightArm.CFrame*CF(0,-1,0).p) * ANGLES(RAD(MRANDOM(-20,20)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-20,20))),"Forest green", 1 + MRANDOM(1,30)/15) end end UNANCHOR = true ATTACK = false Rooted = false end function ShowOff() local ORIGIN = RootPart.Position CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Forest green",VT(0.2,3,0.4)) CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Forest green",VT(0.2,3.1,0.6)) local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Glod", "Sound", VT(0,0,0)) SOUNDPART.CFrame = RootPart.CFrame Debris:AddItem(SOUNDPART,5) CreateSound("1295446488", SOUNDPART, 2, 1) RootPart.CFrame = CF(Mouse.Hit.p+VT(0,3,0),VT(ORIGIN.X,Mouse.Hit.p.Y,ORIGIN.Z)) Swait() CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3,0.4)) CreateWave2(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),false,2,"Pearl",VT(0.2,3.1,0.6)) local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, "Forest green", "Sound", VT(0,0,0)) SOUNDPART.CFrame = RootPart.CFrame Debris:AddItem(SOUNDPART,5) CreateSound("1295446488", SOUNDPART, 2, 1) if MRANDOM(1,8) == 1 then ATTACK = true Rooted = true local FRUITSTABLE = { {MeshId = "16190555", TextureId = "16190577", Color = "Forest green"}, {MeshId = "119574562", TextureId = "64374853", Color = "Forest green"}, {MeshId = "24394186", TextureId = "24394178", Color = "Forest green"} } local FRUIT = FRUITSTABLE[MRANDOM(1, #FRUITSTABLE)] local FRUITMODEL = CreatePart(3, Effects, "Neon", 0, 0, FRUIT.Color, "Fruit", VT(0,0,0),false) CreateMesh("SpecialMesh", FRUITMODEL, "FileMesh", FRUIT.MeshId, FRUIT.TextureId, VT(2,2,2), VT(0,0,0)) FRUITMODEL.CFrame = RightArm.CFrame * CF(0,-1.5,0) weldBetween(RightArm,FRUITMODEL) for i=0, 0, 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(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) * ANGLES(RAD(0), RAD(190), RAD(-145)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(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) end CreateSound("414517163", RightArm, 10, MRANDOM(7, 12) / 10) FRUITMODEL:remove() for i = 1, 15 do Slice(0.1,15,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),FRUIT.Color, 1 + MRANDOM(1,10)/15) end for i=0, 0, 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(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) * ANGLES(RAD(0), RAD(190), RAD(-175)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(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) end ATTACK = false Rooted = false end end function Cool() ATTACK = true Rooted = true CreateSound("169445572", RightArm, 10, 0.8) for i=0, 0, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) CreateWave(VT(3,1,3),65,CF(RootPart.Position)*CF(0,-3,0),true,2,"Forest green",VT(0.2,0,0.2)) Slice(0.1,65,RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Forest green", 1.1) MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Forest green",VT(0.001,0.001,1),0) MagicSphere(VT(0.2,0.2,0.2),15,CF(RightArm.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,RightArm.Position),"Forest green",VT(0.001,0.001,2),0) MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Forest green",VT(-1/15,-1/15,-1/15)) MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Forest green",VT(-2/15,-2/15,-2/15)) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end for i=0, 0, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end MagicSphere(VT(4,4,4),100,RootPart.CFrame * CF(0,0,-6),"Pearl",VT(-0.04,-0.04,-0.04)) MagicSphere(VT(3.5,3.5,3.5),100,RootPart.CFrame * CF(0,0,-6),"Pearl",VT(-0.035,-0.035,-0.035)) coroutine.resume(coroutine.create(function() Swait(100) for i = 1, 5 do MagicSphere(VT(150,150,150),75,RootPart.CFrame * CF(0,0,-72*i),"Pearl",VT(-150/(150-(15*i)),-150/(150-(15*i)),-150/(150-(15*i)))) CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Forest green",VT(4.5*i,0.2,4.5*i)) CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Forest green",VT(5*i,0.2,5*i)) CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Forest green",VT(4*i,0.6,4*i)) CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15*i)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Forest green",VT(5.2*i,0.6,5.2*i)) end killnearest(RootPart.CFrame * CF(0,0,-500).p,500,1000,RootPart.CFrame) for i = 1, 5 do CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) CreateSound("414517163", Effects, 10, MRANDOM(5, 8) / 10) end coroutine.resume(coroutine.create(function() for i = 1, 10 do Swait() for i = 1, 1 do Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Lime green", 1 + MRANDOM(1,30)/5) end for i = 1, 4 do Slice(0.1,65,CF(RootPart.Position) * ANGLES(RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180)), RAD(MRANDOM(-180,180))),"Pearl", 1 + MRANDOM(1,30)/3) end end end)) end)) for i=0, 0, 0.01 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed) end ATTACK = false Rooted = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function MouseDown(Mouse) if ATTACK == false then end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Key == "z" and ATTACK == false then Unexpected() end if Key == "b" and ATTACK == false then Realization() end if Key == "c" and ATTACK == false then ShowOff() end if Key == "x" and ATTACK == false then Cool() end if Key == "p" and ATTACK == false then if Speed == 20 then Speed = 150 elseif Speed == 150 then Speed = 20 end end end function KeyUp(Key) KEYHOLD = false end Mouse.Button1Down:connect(function(NEWKEY) MouseDown(NEWKEY) end) Mouse.Button1Up:connect(function(NEWKEY) MouseUp(NEWKEY) end) Mouse.KeyDown:connect(function(NEWKEY) KeyDown(NEWKEY) end) Mouse.KeyUp:connect(function(NEWKEY) KeyUp(NEWKEY) end) --//=================================\\ --\\=================================// function unanchor() if UNANCHOR == true then 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) while true do Swait() ANIMATE.Parent = nil local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() SINE = SINE + CHANGE local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude local TORSOVERTICALVELOCITY = RootPart.Velocity.y local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) local WALKSPEEDVALUE = 0 if Speed < 35 then WALKSPEEDVALUE = 6 else WALKSPEEDVALUE = 3 end if ANIM == "Walk" and TORSOVELOCITY > 1 and Rooted == false then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (1) / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) if Speed < 35 then RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(56 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) else RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (WALKSPEEDVALUE) / Animation_Speed) end elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) or Rooted == true then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then ANIM = "Jump" if ATTACK == false then RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 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(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 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(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 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.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) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(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) end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil and Rooted == false then ANIM = "Walk" WALK = WALK + 1 / Animation_Speed if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then WALK = 0 if WALKINGANIM == true then WALKINGANIM = false elseif WALKINGANIM == false then WALKINGANIM = true end end --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) if ATTACK == false then if Speed < 35 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed) 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 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-30 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) else RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed) 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 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-30 * COS(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) end 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 local MATHS = {"0","1"} Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] Humanoid.PlatformStand = false end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//-- end) TextButton_2.Parent = Frame TextButton_2.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_2.Position = UDim2.new(0, 129, 0, 63) TextButton_2.Size = UDim2.new(0, 86, 0, 50) TextButton_2.Font = Enum.Font.Code TextButton_2.Text = "WreckerV" TextButton_2.TextSize = 14 TextButton_2.MouseButton1Down:connect(function() --//====================================================\\-- --|| CREATED BY SHACKLUSTER --\\====================================================//-- --8th mode added by delta1035. Had to reuse moves, lol 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 sick = Instance.new("Sound",Character) sick.SoundId = "rbxassetid://205196911" sick.Looped = true sick.Pitch = 1 sick.Volume = 2 sick:Play() 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 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 --//=================================\\ --|| CUSTOMIZATION --\\=================================// Class_Name = "Template" Weapon_Name = "Add-ons" Custom_Colors = { Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities. } Player_Size = 1 --Size of the player. Animation_Speed = 3 Animation_Speed2 = 1 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 16 local Effects2 = {} --//=================================\\ --|| END OF CUSTOMIZATION --\\=================================// 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 createaccessory(attachmentpart,mesh,texture,scale,offset,color) local acs = Instance.new("Part") acs.CanCollide = false acs.Anchored = false acs.Size = Vector3.new(0,0,0) acs.CFrame = attachmentpart.CFrame acs.Parent = Character acs.BrickColor = color local meshs = Instance.new("SpecialMesh") meshs.MeshId = mesh meshs.TextureId = texture meshs.Parent = acs meshs.Scale = scale meshs.Offset = offset weldBetween(attachmentpart,acs) end function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE) if TYPE == "Gem" then local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) acs.Anchored = false acs.CanCollide = false acs.CFrame = PART.CFrame local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET) weldBetween(PART,acs) elseif TYPE == "Skull" then local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0)) acs.Anchored = false acs.CanCollide = false acs.CFrame = PART.CFrame local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET) weldBetween(PART,acs) elseif TYPE == "Eye" then local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0)) acs.Anchored = false acs.CanCollide = false acs.CFrame = PART.CFrame local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET) weldBetween(PART,acs) end end --//=================================\\ --|| USEFUL VALUES --\\=================================// 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 CHANGEDEFENSE = 0 local CHANGEDAMAGE = 0 local CHANGEMOVEMENT = 0 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 WALK = 0 local VALUE1 = false local VALUE2 = false local ROBLOXIDLEANIMATION = IT("Animation") ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" --ROBLOXIDLEANIMATION.Parent = Humanoid local WEAPONGUI = IT("ScreenGui", PlayerGui) WEAPONGUI.Name = "Weapon GUI" local Weapon = IT("Model") Weapon.Name = Weapon_Name local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"} local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"} local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"} local HITBLOCKSOUNDS = {"199148933", "199148947"} local CASTSOUNDS = {"1369158","2974000","2974249"} local BOLTSOUNDS = {"821439273","224339201","168586586"} local TORNADOSOUND = "362395087" local UNANCHOR = true local SKILLTEXTCOLOR = C3(0,0,0) --//=================================\\ --\\=================================// --//=================================\\ --|| SAZERENOS' ARTIFICIAL HEARTBEAT --\\=================================// ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "ArtificialHB" script:WaitForChild("ArtificialHB") frame = Frame_Speed tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.ArtificialHB:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.ArtificialHB:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.ArtificialHB:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --//=================================\\ --\\=================================// --//=================================\\ --|| SOME FUNCTIONS --\\=================================// function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function 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 function CreateSound(ID, PARENT, VOLUME, PITCH) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = IT("Sound", PARENT) NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID NEWSOUND:play() game:GetService("Debris"):AddItem(NEWSOUND, 20) 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 function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" mesh.Scale = SIZE mesh.Offset = 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=1078075" mesh.Scale = SIZE mesh.Offset = 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateIceCrown(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=1323306" mesh.Scale = SIZE mesh.Offset = 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateSpikeball(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=9982590" mesh.Scale = SIZE mesh.Offset = 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=1051557" mesh.Scale = SIZE 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateTornado(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=102638417" mesh.Scale = SIZE 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(0,0,0)) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=3270017" mesh.Scale = SIZE mesh.Offset = 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 + ((1-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(1,1,1), true) local mesh = IT("SpecialMesh",wave) mesh.MeshType = "Sphere" mesh.Scale = SIZE mesh.Offset = 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-TRANS)/WAIT) if wave.Transparency > 0.99 then wave:remove() end end end)) end function MagicBlock(SIZE,WAIT,CFRAME,COLOR,GROW,TRANS) local wave = CreatePart(3, Effects, "Neon", 0, TRANS, BRICKC(COLOR), "Effect", VT(SIZE,SIZE,SIZE), true) wave.CFrame = CFRAME coroutine.resume(coroutine.create(function(PART) for i = 1, WAIT do Swait() wave.Size = wave.Size + GROW wave.CFrame = CFRAME * ANGLES(RAD(math.random(-360,360)),RAD(math.random(-360,360)),RAD(math.random(-360,360))) wave.Transparency = wave.Transparency + ((1-TRANS)/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 CheckTableForString(Table, String) for i, v in pairs(Table) do if string.find(string.lower(String), string.lower(v)) then return true end end return false end function CheckIntangible(Hit) local ProjectileNames = {"Water", "Arrow", "Projectile", "Effect", "Rail", "Lightning", "Bullet"} if Hit and Hit.Parent then if ((not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid")) then return true end end return false end Debris = game:GetService("Debris") function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit) local Direction = CFrame.new(StartPos, Vec).lookVector local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Direction * Length), Ignore) if RayHit and CheckIntangible(RayHit) then if DelayIfHit then wait() end RayHit, RayPos, RayNormal = CastZapRay((RayPos + (Vec * 0.01)), Vec, (Length - ((StartPos - RayPos).magnitude)), Ignore, DelayIfHit) end return RayHit, RayPos, RayNormal 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 --//=================================\\ --|| SPEECH --\\=================================// function chatfunc(text,waitt) local chat = coroutine.wrap(function() if Character:FindFirstChild("TalkingBillBoard")~= nil then Character:FindFirstChild("TalkingBillBoard"):destroy() end local naeeym2 = Instance.new("BillboardGui",Character) naeeym2.Size = UDim2.new(0,100,0,40) naeeym2.StudsOffset = Vector3.new(0,5,0) naeeym2.Adornee = Character.Head naeeym2.Name = "TalkingBillBoard" naeeym2.AlwaysOnTop = true local tecks2 = Instance.new("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.BorderSizePixel = 0 tecks2.Text = "" tecks2.Font = "SciFi" tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 1 tecks2.TextColor3 = SKILLTEXTCOLOR tecks2.TextStrokeColor3 = Color3.new(0,0,0) tecks2.Size = UDim2.new(1,0,0.5,0) for i = 1,string.len(text),1 do tecks2.Text = string.sub(text,1,i) Swait() end wait(waitt) coroutine.resume(coroutine.create(function() for i = 1, 10 do tecks2.TextTransparency = tecks2.TextTransparency + 0.1 Swait() end naeeym2:Destroy() end)) end) chat() end --//=================================\\ --|| WEAPON CREATION --\\=================================// function CreateGauntlet(LIMB,ROT,OFFSET) local FIST = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.025,2.025,1.025),false) local weld = CreateWeldOrSnapOrMotor("Weld", FIST, LIMB, FIST, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) FIST.CanCollide = true local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(1.075,0.25,1.075),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,0.15,1.1),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -1, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) --ALL OF THE 04-- local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.5,0.5),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(0.5,0.25,0.25),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,0.025,1.065),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Neon", 0, 0, "Pearl", "04-Type", VT(1.065,2.065,1.065),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/4, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0)) MakeForm(part,"Wedge") ----------------- local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.45,0.45),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Metal", 0, 0, "Pearl", "02-Type", VT(0.55,0.2,0.2),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(OFFSET, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local part = CreatePart(3, Weapon, "Granite", 0, 0, "Pearl", "01-Type", VT(1.075,2.075,1.075),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3.5, 0, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0)) MakeForm(part,"Wedge") local part = CreatePart(3, Weapon, "Metal", 0, 0, "Really black", "03-Type", VT(1.1,2.1,1.1),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, LIMB, part, CF(-OFFSET/3, 0.1, 0) * ANGLES(RAD(0), RAD(90+ROT), RAD(180)), CF(0, 0, 0)) MakeForm(part,"Wedge") end CreateGauntlet(RightArm,180,0.3) CreateGauntlet(LeftArm,0,-0.3) CreateGauntlet(RightLeg,180,0.3) CreateGauntlet(LeftLeg,0,-0.3) for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end Weapon.Parent = Character Humanoid.Died:connect(function() ATTACK = true end) print(Class_Name.." loaded.") local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.5, 2, UD2(0.365, 0, 0.93, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Turret cannon", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 1") local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[X] Shield pulse", SKILLTEXTCOLOR, 7, "SciFi", 0, 2, 1, "Text 2") local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[1-8] Switch stance", C3(0,0,0), 6, "SciFi", 0, 2, 1, "Text 3") --//=================================\\ --|| DAMAGE FUNCTIONS --\\=================================// function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR) local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT()) STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0)) local BODYGYRO = IT("BodyGyro", STATPART) local BODYPOSITION = IT("BodyPosition", STATPART) BODYPOSITION.P = 2000 BODYPOSITION.D = 100 BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge) BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2)) 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 = true local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI) TEXTLABEL.BackgroundTransparency = 1 TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0) TEXTLABEL.Text = TEXT TEXTLABEL.Font = "SciFi" TEXTLABEL.FontSize="Size42" TEXTLABEL.TextColor3 = COLOR TEXTLABEL.TextStrokeTransparency = 1 TEXTLABEL.TextScaled = true TEXTLABEL.TextWrapped = true coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL) if LABELTYPE == "Normal" then for i = 1, 20 do Swait() STATPART.Position = STATPART.Position + VT(0, (10-i)/10 ,0) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20) end elseif LABELTYPE == "Debuff" then for i = 1, 20 do Swait() STATPART.Position = STATPART.Position - VT(0, i/10 ,0) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20) end elseif LABELTYPE == "Shock" then local ORIGIN = STATPART.Position for i = 1, 20 do Swait() STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2)) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/20) end end THEPART.Parent = nil end),STATPART, BODYPOSITION, TEXTLABEL) end --//=================================\\ --|| DAMAGING --\\=================================// function dealdamage(hit,min,max,maxstrength,beserk,critrate,critmultiplier) if hit.Parent ~= Character and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent:FindFirstChild("HitBy"..Player.Name) == nil then local humanoid = hit.Parent:FindFirstChildOfClass("Humanoid") local dmg = math.random(min,max) if humanoid.Health > 0 then if beserk == true then humanoid.Health = 0 else CreateSound("260430060", hit, 1.2, MRANDOM(7, 12) / 10) hit.Velocity = CFrame.new(Torso.Position,hit.Position).lookVector*5*maxstrength if math.random(1,100) < critrate+1 then humanoid.Health = humanoid.Health - dmg*critmultiplier StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) else humanoid.Health = humanoid.Health - dmg StatLabel("Normal", hit.CFrame * CF(0, 0 + (hit.Size.z - 1), 0), dmg, C3(0, 0, 0)) end local defence = Instance.new("BoolValue",hit.Parent) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.1) end end end end function AoEWarp(position,radius) for i,v in ipairs(workspace:GetChildren()) do if v:FindFirstChild("HitBy"..Player.Name) == nil then local body = v:GetChildren() for part = 1, #body do if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then if(body[part].Position - position).Magnitude < radius then if v.ClassName == "Model" then if v:FindFirstChild("Humanoid") then if v.Humanoid.Health ~= 0 then if body[part].Position.Y < position.Y+12 then print("Got "..v.Name) local defence = Instance.new("BoolValue",v) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.01) local TORSO = v:FindFirstChild("HumanoidRootPart") or v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso") Warp(TORSO) end end end end --body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength end end end end end end function AoEDamage(position,radius,min,max,maxstrength,beserk,critrate,critmultiplier,CanBeDodgedByJumping) local dmg = math.random(min,max) for i,v in ipairs(workspace:GetChildren()) do if v:FindFirstChild("HitBy"..Player.Name) == nil then local body = v:GetChildren() for part = 1, #body do if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then if(body[part].Position - position).Magnitude < radius then if v.ClassName == "Model" then if v:FindFirstChild("Humanoid") then if v.Humanoid.Health ~= 0 then if CanBeDodgedByJumping == true then if body[part].Position.Y < position.Y+5 then if math.random(1,100) < critrate+1 then v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) else v.Humanoid.Health = v.Humanoid.Health - dmg StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) end local defence = Instance.new("BoolValue",v) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.1) end else if beserk == true then v.Humanoid.Health = 0 end if math.random(1,100) < critrate+1 then v.Humanoid.Health = v.Humanoid.Health - dmg*critmultiplier StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), "CRIT/"..dmg*critmultiplier, C3(255/255, 0, 0)) else v.Humanoid.Health = v.Humanoid.Health - dmg StatLabel("Normal", body[part].CFrame * CF(0, 0 + (body[part].Size.z - 1), 0), dmg, C3(0, 0, 0)) end local defence = Instance.new("BoolValue",v) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.1) end end end end body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength end end end if v.ClassName == "Part" then if v.Anchored == false and (v.Position - position).Magnitude < radius then v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength end end end end end function AoEStun(POS,RANGE,LAST,TYPE) for i,v in ipairs(workspace:GetChildren()) do if v:FindFirstChild("StunnedBy"..Player.Name) == nil then local body = v:GetChildren() for part = 1, #body do if(v:FindFirstChild("StunnedBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then if(body[part].Position - POS).Magnitude < RANGE then if v.ClassName == "Model" then if v:FindFirstChild("Humanoid") then if v.Humanoid.Health ~= 0 then if TYPE == "Stun" then Stun(v.Humanoid,LAST) elseif TYPE == "Freeze" then Freeze(v.Humanoid,LAST) end local defence = Instance.new("BoolValue",v) defence.Name = ("StunnedBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.1) end end end end end end end end end function Warp(Victim) print("Warping "..Victim.Name.."...") Victim.Anchored = true coroutine.resume(coroutine.create(function() local GUI,GUI2 = CreateGUICircle(Victim) CreateSound("1208650519", Victim, 10, 1) for i = 1, 200 do Swait() GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0) GUI2.Rotation = GUI2.Rotation + 2 end CastWarpOutlines(Victim.Parent) Victim.CFrame = Victim.CFrame * CF(MRANDOM(-65,65),0,MRANDOM(-65,65)) CreateSound("1177785010", Victim, 10, 1) local HUMANOID = Victim.Parent:FindFirstChildOfClass("Humanoid") if HUMANOID ~= nil then local dmg = MRANDOM(75,95) HUMANOID.Health = HUMANOID.Health - dmg StatLabel("Normal", Victim.CFrame * CF(0, 0 + (Victim.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3)) end for i = 1, 50 do Swait() GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) GUI2.Rotation = GUI2.Rotation - 8 end Victim.Anchored = false GUI:remove() end)) end function Stun(HUMANOID,LAST) if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then HUMANOID.PlatformStand = true local defence = Instance.new("BoolValue",HUMANOID.Parent) defence.Name = ("StunnedBy"..Player.Name) game:GetService("Debris"):AddItem(defence, LAST) if HUMANOID.Parent:FindFirstChild("Head") then StatLabel("Shock", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Stunned!", C3(0.3, 0.3, 0.3)) end coroutine.resume(coroutine.create(function() Swait(LAST*100) HUMANOID.PlatformStand = false end)) end end function Freeze(HUMANOID,LAST) if HUMANOID.Parent:FindFirstChild("StunnedBy"..Player.Name) == nil then local q = HUMANOID.Parent:GetChildren() for i = 1, #q do local bob = q[i] if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then if bob.Transparency < 1 then bob.Anchored = true local icelayer = bob:Clone() icelayer.Parent = bob icelayer.Material = "Ice" icelayer.CanCollide = false icelayer.BrickColor = BRICKC"Steel blue" icelayer.Transparency = 0.5 icelayer.CFrame = bob.CFrame icelayer.Name = "Ice" icelayer.Size = icelayer.Size + VT(0.1,0.1,0.1) if icelayer:FindFirstChildOfClass("Decal") then icelayer:FindFirstChildOfClass("Decal"):remove() end end end end local defence = Instance.new("BoolValue",HUMANOID.Parent) defence.Name = ("StunnedBy"..Player.Name) game:GetService("Debris"):AddItem(defence, LAST) if HUMANOID.Parent:FindFirstChild("Head") then StatLabel("Normal", HUMANOID.Parent.Head.CFrame * CF(0, 0 + (HUMANOID.Parent.Head.Size.z - 1), 0), "Frozen!", C3(0.3, 0.3, 0.3)) end coroutine.resume(coroutine.create(function() Swait(LAST*100) local q = HUMANOID.Parent:GetChildren() for i = 1, #q do local bob = q[i] if bob.ClassName == "Part" or bob.ClassName == "MeshPart" then if bob.Transparency < 1 then bob.Anchored = false bob.Ice:remove() end end end end)) end end function killnearest(position,range,maxstrength) for i,v in ipairs(workspace:GetChildren()) do local body = v:GetChildren() for part = 1, #body do if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then if(body[part].Position - position).Magnitude < range then table.insert(Effects2,{body[part],"Evaporate",0.005,2,2,2,2}) body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength end end end if v.ClassName == "Part" then if v.Anchored == false and (v.Position - position).Magnitude < range then table.insert(Effects2,{v,"Evaporate",0.005,2,2,2,2}) v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function Stance1() VALUE1 = 1 SKILL1TEXT.Text = "[Z] Turret cannon" SKILL2TEXT.Text = "[X] Shield pulse" sick.SoundId = "rbxassetid://196739738" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Granite" P.BrickColor = BRICKC"Pearl" elseif P.Name == "02-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Pearl" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Really black" elseif P.Name == "04-Type" then P.Material = "Neon" P.BrickColor = BRICKC"Pearl" end end end end function Stance2() VALUE1 = 2 SKILL1TEXT.Text = "[Z] Fireball" SKILL2TEXT.Text = "[X] Fire field" sick.SoundId = "rbxassetid://231131640" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Granite" P.BrickColor = BRICKC"Deep orange" elseif P.Name == "02-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Maroon" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Really black" elseif P.Name == "04-Type" then P.Material = "Neon" P.BrickColor = BRICKC"CGA brown" end end end end function Stance3() VALUE1 = 3 SKILL1TEXT.Text = "[Z] Icicle storm" SKILL2TEXT.Text = "[X] Frost breath" sick.SoundId = "rbxassetid://590071128" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Marble" P.BrickColor = BRICKC"Medium stone grey" elseif P.Name == "02-Type" then P.Material = "Neon" P.BrickColor = BRICKC"Cyan" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Cyan" elseif P.Name == "04-Type" then P.Material = "Ice" P.BrickColor = BRICKC"Steel blue" end end end end function Stance4() VALUE1 = 4 SKILL1TEXT.Text = "[Z] Shriek" SKILL2TEXT.Text = "[X] Bloodbath" sick.SoundId = "rbxassetid://614032233" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Cobblestone" P.BrickColor = BRICKC"Really black" elseif P.Name == "02-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Maroon" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Black" elseif P.Name == "04-Type" then P.Material = "Neon" P.BrickColor = BRICKC"Really red" end end end end function Stance5() VALUE1 = 5 SKILL1TEXT.Text = "[Z] Rock throw" SKILL2TEXT.Text = "[X] Earth tremor" sick.SoundId = "rbxassetid://167492778" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Cobblestone" P.BrickColor = BRICKC"Rust" elseif P.Name == "02-Type" then P.Material = "Cobblestone" P.BrickColor = BRICKC"CGA brown" elseif P.Name == "03-Type" then P.Material = "Marble" P.BrickColor = BRICKC"Black" elseif P.Name == "04-Type" then P.Material = "Slate" P.BrickColor = BRICKC"Pine cone" end end end end function Stance6() VALUE1 = 6 SKILL1TEXT.Text = "[Z] Radiant void" SKILL2TEXT.Text = "[X] Void warp" sick.SoundId = "rbxassetid://1283869370" sick.Pitch = 0.98 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Granite" P.BrickColor = BRICKC"Royal purple" elseif P.Name == "02-Type" then P.Material = "Slate" P.BrickColor = BRICKC"Really black" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Black" elseif P.Name == "04-Type" then P.Material = "Neon" P.BrickColor = BRICKC"Royal purple" end end end end function Stance7() VALUE1 = 7 SKILL1TEXT.Text = "[Z] Divine glow" SKILL2TEXT.Text = "[X] Divine evaporation" sick.SoundId = "rbxassetid://965804171" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Neon" P.BrickColor = BRICKC"Stone grey" elseif P.Name == "02-Type" then P.Material = "Granite" P.BrickColor = BRICKC"Gold" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Gold" elseif P.Name == "04-Type" then P.Material = "Granite" P.BrickColor = BRICKC"New Yeller" end end end end function Stance8() VALUE1 = 8 SKILL1TEXT.Text = "[Z] Leaf Storm" SKILL2TEXT.Text = "[X] Leaf Field" sick.SoundId = "rbxassetid://630020632" sick.Pitch = 1 local wep = Weapon:GetChildren() for part = 1, #wep do if wep[part].ClassName == "Part" then local P = wep[part] if P.Name == "01-Type" then P.Material = "Granite" P.BrickColor = BRICKC"1020" elseif P.Name == "02-Type" then P.Material = "Slate" P.BrickColor = BRICKC"Really black" elseif P.Name == "03-Type" then P.Material = "Metal" P.BrickColor = BRICKC"Shamrock" elseif P.Name == "04-Type" then P.Material = "Neon" P.BrickColor = BRICKC"1020" end end end end function createfireball(size,explosionsize,pos,velocity) local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"} local FIREBALLHITSOUNDS = {"522282998", "527535379", "304448425"} local FIREBALL = IT("Part",Effects) FIREBALL.Shape = "Ball" FIREBALL.Size = VT(size,size,size) FIREBALL.Material = "Neon" FIREBALL.CFrame = CF(pos) FIREBALL.Transparency = 1 local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = velocity bv.Parent = FIREBALL bv.Name = "MOVE" local HIT = false local harm = FIREBALL.Touched:Connect(function(hit) if HIT == false and hit.Parent.ClassName ~= "Accessory" and hit.Parent ~= Character and hit.Parent ~= Weapon and hit.Parent ~= FIREBALL.Parent then HIT = true coroutine.resume(coroutine.create(function() FIREBALL.Anchored = true FIREBALL.CanCollide = false CreateSound(FIREBALLHITSOUNDS[MRANDOM(1, #FIREBALLHITSOUNDS)], FIREBALL, 3, 1) AoEDamage(FIREBALL.Position,explosionsize*2,45,65,25,false,3,2,false,true) MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3,3,3),0) MagicSphere(VT(2,2,2),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(3.5,3.5,3.5),0) Swait(250) FIREBALL:remove() end)) end end) coroutine.resume(coroutine.create(function() repeat Swait() MagicSphere(VT(size,size,size),15,FIREBALL.CFrame,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-size/15,-size/15,-size/15),0) until HIT == true end)) return FIREBALL end function AttackTemplate() ATTACK = true Rooted = false for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end ATTACK = false Rooted = false end local asd = Instance.new("ParticleEmitter") asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) asd.LightEmission = .1 asd.Size = NumberSequence.new(0.2) asd.Texture = "http://www.roblox.com/asset/?ID=291880914" aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)}) bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) asd.Transparency = bbb asd.Size = aaa asd.ZOffset = .9 asd.Acceleration = Vector3.new(0, -15, 0) asd.LockedToPart = false asd.EmissionDirection = "Back" asd.Lifetime = NumberRange.new(1, 2) asd.Rotation = NumberRange.new(-100, 100) asd.RotSpeed = NumberRange.new(-100, 100) asd.Speed = NumberRange.new(25,35) asd.Enabled = false asd.VelocitySpread = 15 function getbloody(victim,amount) local PART = IT("Part",Effects) PART.Transparency = 1 PART.Size = victim.Size PART.Anchored = true PART.CanCollide = false PART.CFrame = CF(victim.Position,Torso.Position) local HITPLAYERSOUNDS = {"356551938","264486467"} Debris:AddItem(PART,5) CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10)) local prtcl = asd:Clone() prtcl.Parent = PART prtcl:Emit(amount*10) end function CreateMagicCircle() local sinkhole = IT("Part") sinkhole.Size = VT(0,0,0) sinkhole.Parent = Effects sinkhole.Material = "Neon" sinkhole.Color = C3(0,0,0) sinkhole.Anchored = true sinkhole.CanCollide = false sinkhole.Transparency = 1 local decal = IT("Decal",sinkhole) decal.Face = "Top" decal.Texture = "http://www.roblox.com/asset/?id=1260793696" local decal2 = IT("Decal",sinkhole) decal2.Face = "Bottom" decal2.Texture = "http://www.roblox.com/asset/?id=1260793696" return sinkhole end function CreateLeafMagicCircle() local sinkhole = IT("Part") sinkhole.Size = VT(0,0,0) sinkhole.Parent = Effects sinkhole.Material = "Neon" sinkhole.Color = C3(0,0,0) sinkhole.Anchored = true sinkhole.CanCollide = false sinkhole.Transparency = 1 local decal = IT("Decal",sinkhole) decal.Face = "Top" decal.Texture = "http://www.roblox.com/asset/?id=332014171" local decal2 = IT("Decal",sinkhole) decal2.Face = "Bottom" decal2.Texture = "http://www.roblox.com/asset/?id=332014171" return sinkhole end function CreateGUICircle(TARGET) local GUI = Instance.new("BillboardGui",Character) GUI.Size = UDim2.new(0,0,0,0) GUI.Adornee = TARGET local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI.AlwaysOnTop = true GUI2.Image = "http://www.roblox.com/asset/?id=1260793696" return GUI,GUI2 end function CastWarpOutlines(TARGET) coroutine.resume(coroutine.create(function() local T = TARGET:GetChildren() for i = 1, # T do local child = T[i] if child.ClassName == "Part" or child.ClassName == "MeshPart" then local clone = child:Clone() clone.Parent = Effects clone.Anchored = true clone.CanCollide = false clone:ClearAllChildren() clone.CFrame = child.CFrame if clone.Name == "Head" then if TARGET:FindFirstChildOfClass("MeshPart") == nil then clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y) end end if clone.ClassName == "MeshPart" then clone.TextureID = "" end clone.BrickColor = BRICKC"Black" clone.Material = "Neon" coroutine.resume(coroutine.create(function() for i = 1, 200 do Swait() clone.Transparency = clone.Transparency + 0.005 clone.Size = clone.Size + VT(0.001,0.001,0.001) end clone:remove() end)) end end end)) end --Z MOVES-- function TurretCannon() ATTACK = true Rooted = false for i=0, 2, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end Rooted = true local TURRETS = {RightArm,LeftArm} local soundeffect = IT("Sound",Torso) soundeffect.SoundId = "rbxassetid://337638956" soundeffect.Looped = true soundeffect.Volume = 1 soundeffect.Playing = true repeat Swait() turnto(Mouse.Hit.p) local TURRET = TURRETS[MRANDOM(1,#TURRETS)] MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"New Yeller",VT(0.3,0.3,0.3),0) local BULLET = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false) BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300 bv.Parent = BULLET bv.Name = "PROJECTILEVELOCITY" MakeForm(BULLET,"Ball") local BOO = BULLET.Touched:Connect(function(hit) dealdamage(hit,5,8,5,false,2,3) end) table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2}) until KEYHOLD == false soundeffect:remove() ATTACK = false Rooted = false end function Fireball() ATTACK = true Rooted = true local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"} CreateSound("169445572", RightArm, 2, 1.6) for i=0, 5, 0.1 / Animation_Speed2 do Swait() MagicSphere(VT(2,2,2),35,RightArm.CFrame*CF(0,-1,0),FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(-2/35,-2/35,-2/35),0.6) turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.4 / Animation_Speed2) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(-75)), 0.2 / Animation_Speed2) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(140)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2) end local aimpos = Mouse.Hit.p createfireball(2,8,RightArm.CFrame * CF(0,-2,0).p,CF(RightArm.CFrame * CF(0,-2,0).p,aimpos).lookVector*100) for i=0, 1.5, 0.1 / Animation_Speed2 do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.4 / Animation_Speed2) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(10)), 0.2 / Animation_Speed2) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed2) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(25), RAD(-25)) * LEFTSHOULDERC0, 0.15 / Animation_Speed2) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed2) end ATTACK = false Rooted = false end function IcicleStorm() ATTACK = true Rooted = false local BulletHolder = IT("Folder",Weapon) BulletHolder.Name = "Bullets" game:GetService("Debris"):AddItem(BulletHolder, 40) for i=0, 3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end CreateSound("333476017", Torso, 10, 1) for i = 1, 150 do Swait() RootPart.CFrame = CF(RootPart.Position,Mouse.Hit.p) coroutine.resume(coroutine.create(function() local gem = IT("Part",BulletHolder) gem.Size = VT(0.3,0.3,0.3) gem.CFrame = Torso.CFrame * CF(math.random(-25,25),math.random(25,50),math.random(-25,25)) gem.Anchored = true gem.BrickColor = BRICKC"Steel blue" local Cys = Instance.new("SpecialMesh", gem) Cys.MeshType = "FileMesh" Cys.MeshId = "rbxassetid://9756362" Cys.Scale = Vector3.new(2,2,2) end)) end local IceHitSounds = { "338594737", "338594687", "338594666", "338594648", "338594606", "338594574", "338594556", "338594524", "338594467" } coroutine.resume(coroutine.create(function() q = BulletHolder:GetChildren() for i = 1, #q do Swait() turnto(Mouse.Hit.p) local bullet = q[i] local bv = Instance.new("BodyVelocity") bullet.Mesh.Scale = VT(2,2,5) bullet.CFrame = CF(bullet.Position,Mouse.Hit.p) bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(bullet.Position,Mouse.Hit.p).lookVector*500 bv.Parent = bullet bv.Name = "DASH" bullet.Anchored = false local paw = bullet.Touched:Connect(function(hit) if bullet.Anchored == false then CreateSound(IceHitSounds[math.random(1, #IceHitSounds)], bullet, 3, 1) local cframe = bullet.CFrame bullet.Anchored = true table.insert(Effects2,{bullet,"Block1",0.15,0,0,0,5}) AoEDamage(bullet.Position,5,15,15,0,false,5,3,false) if MRANDOM(1,45) == 1 then AoEStun(bullet.Position,5,5,"Freeze") end end end) end end)) ATTACK = false Rooted = false end function Shriek() ATTACK = true Rooted = false for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(20)), 0.4 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(10), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.45, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(55)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(15)), 0.4 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 , -0.8, -0.2) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-7.5), RAD(0), RAD(-5)), 0.4 / Animation_Speed) end Rooted = true CreateSound("439369949", Effects, 10, 1) for i=0, 3, 0.1 / Animation_Speed do Swait() MagicSphere(VT(2,2,2),5,Head.CFrame,"Pearl",VT(35,35,35),0.97) AoEDamage(Head.Position,65,3,5,4,false,12,3,false) AoEStun(Head.Position,65,2,"Stun") RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(10), RAD(0), RAD(-30)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)),1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8, -0.2) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-2.5), RAD(0), RAD(5)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.2) * ANGLES(RAD(0), RAD(-65), RAD(0)) * ANGLES(RAD(-10), RAD(0), RAD(-15)), 1 / Animation_Speed) end ATTACK = false Rooted = false end function clerp(a, b, t) return a:lerp(b, t) end function newBezier(startpos, pos2, pos3, endpos, t) local A = clerp(startpos, pos2, t) local B = clerp(pos2, pos3, t) local C = clerp(pos3, endpos, t) local lerp1 = clerp(A, B, t) local lerp2 = clerp(B, C, t) local cubic = clerp(lerp1, lerp2, t) return cubic end function RockThrow() ATTACK = true Rooted = false for i=0, 2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 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(-25)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end local ROCK = IT("Part",Effects) ROCK.CFrame = RightArm.CFrame * CF(0,-1.3,0) ROCK.Size = VT(1.2,1.2,1.2) ROCK.Material = "Cobblestone" ROCK.Transparency = 1 ROCK.BrickColor = BRICKC"Pine Cone" local WELD = weldBetween(RightArm,ROCK) ROCK.CanCollide = false for i = 1, 10 do Swait() ROCK.Transparency = ROCK.Transparency - 0.1 end for i=0, 0.2, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / 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(-5)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), 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(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) end WELD:remove() coroutine.resume(coroutine.create(function() local POS = ROCK.Position ROCK.Anchored = true local onefourth = POS:Lerp(Mouse.Hit.p, 0.25) + Vector3.new(0, math.random(25, 55),0) local threefourths = POS:Lerp(Mouse.Hit.p, 0.75) + Vector3.new(0, math.random(25, 55),0) for i = 0, 1, 0.07 do Swait() ROCK.CFrame = CFrame.new(newBezier(POS, onefourth, threefourths, Mouse.Hit.p, i)) end ROCK.Anchored = false ROCK.CanCollide = true CreateWave(VT(1,1,1),25,CF(ROCK.Position),false,0,"Pearl",VT(1,0.2,1),0.5) AoEDamage(ROCK.Position,5,35,55,4,false,12,3,true) Swait(500) ROCK.Anchored = true ROCK.CanCollide = false for i = 1, 10 do Swait() ROCK.Transparency = ROCK.Transparency + 0.1 end ROCK:remove() end)) for i=0, 1.6, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0.2, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(25)), 0.5 / 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(-5)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), 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(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) end ATTACK = false Rooted = false end function RadiantVoid() ATTACK = true Rooted = true for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / 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)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * 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, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end local RING = CreateMagicCircle() RING.CFrame = CF(RootPart.Position)*CF(0,-2.8,0) CreateSound("1208650519", Torso, 10, 1) for i = 1, 200 do Swait() RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(i/15),RAD(0)) RING.Size = RING.Size + VT(1,0,1) end AoEWarp(RING.Position,RING.Size.X/2) coroutine.resume(coroutine.create(function() Swait(75) for i = 1, 50 do Swait() RING.CFrame = RING.CFrame * ANGLES(RAD(0),RAD(-i/2),RAD(0)) RING.Size = RING.Size - VT(4,0,4) end RING:remove() end)) ATTACK = false Rooted = false end function DivineGlow() ATTACK = true Rooted = true for i=0, 2, 0.1 / Animation_Speed do Swait() MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,0.5),0.5) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), 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, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * 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, -0.8 - 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) end CreateSound("3264923", Torso, 10, 3) coroutine.resume(coroutine.create(function() local FRAME = Torso.CFrame MagicSphere(VT(3,3,3),450,FRAME,"New Yeller",VT(-3/550,-3/550,-3/550),0) for i = 1, 450 do Swait() MagicSphere(VT(0.2,0.2,0.2),15,CF(FRAME*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,FRAME.p),"New Yeller",VT(0.001,0.001,2.5),0.5) AoEDamage(FRAME.p,1,1,1,-5,false,12,3,false) end MagicSphere(VT(6,6,6),70,FRAME,"New Yeller",VT(1,1,1),0) MagicSphere(VT(5,5,5),70,FRAME,"Pearl",VT(1,1,1),0.5) AoEDamage(FRAME.p,55,45,45,-5,false,2,30,false) end)) ATTACK = false Rooted = false end --X MOVES-- function ShieldPulse() ATTACK = true Rooted = false for i=0, 1, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / 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.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), 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(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) end local shield = IT("Part",Effects) shield.CFrame = RootPart.CFrame * CF(0,0,-3) shield.Size = VT(0.2,0.2,0.2) shield.Anchored = true shield.Material = "Neon" shield.Color = C3(1,1,1) shield.Transparency = 0.5 repeat Swait() turnto(Mouse.Hit.p) shield.CFrame = RootPart.CFrame * CF(0,0,-3) shield.Size = shield.Size + VT(0.2,0.2,0) until KEYHOLD == false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = RootPart.CFrame.lookVector*300 bv.Parent = shield shield.Anchored = false shield.CanCollide = false bv.Name = "PROJECTILEVELOCITY" local BOO = shield.Touched:Connect(function(hit) dealdamage(hit,55,75,5,false,2,3) end) Debris:AddItem(shield,5) ATTACK = false Rooted = false end function FireField() ATTACK = true Rooted = true for i=0, 1.5, 0.1 / Animation_Speed*3 do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end CreateSound("217767125", LeftArm, 10, 1) local FIREBALLCOLORS = {"Bright red", "Bright orange", "Bright yellow"} coroutine.resume(coroutine.create(function() local CFRAME = RootPart.CFrame * CF(0,-3.4,0) for i = 1, 450 do Swait() AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true) MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8) end end)) for i=0, 1.5, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end ATTACK = false Rooted = false end function FrostBreath() ATTACK = true Rooted = true for i=0, 2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end CreateSound("976606790", Head, 10, 2) local IceColors = {"Steel blue","Cyan","Pastel blue-green"} for i=0, 4, 0.1 / Animation_Speed do Swait() for i = 1, 6 do AoEStun(Head.CFrame * CF(0,-0.4,-i*3).p,i*3,35,"Freeze") CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/15,i/10,i/15),0.7) CreateSwirl(VT(0,0,0),25,Head.CFrame * CF(0,-0.4,-i*3)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,0.05,IceColors[MRANDOM(1,#IceColors)],VT(i/10,i/10,i/10),0.7) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(22)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-22)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(15), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(15), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end ATTACK = false Rooted = false end function Bloodbath() local HASSTARTED = false local target = nil local targettorso = nil if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then if Mouse.Target.Parent.Humanoid.PlatformStand == false then target = Mouse.Target.Parent.Humanoid targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso") end end if target ~= nil then CreateSound("305685800", Head, 10, 1) targettorso.Anchored = true HASSTARTED = true ATTACK = true Rooted = true CastWarpOutlines(Character) RootPart.CFrame = targettorso.CFrame * CF(0,0,2) coroutine.resume(coroutine.create(function() Swait(10*100) if HASSTARTED == true then ATTACK = false Rooted = false UNANCHOR = true end end)) UNANCHOR = false RootPart.Anchored = true coroutine.resume(coroutine.create(function() for i=0, 3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / 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)), 0.05 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed) end for i=0, 3, 0.1 / Animation_Speed do RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / 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(-85)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), 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(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) end getbloody(targettorso,25) Swait(5) targettorso:remove() Swait(15) ATTACK = false Rooted = false HASSTARTED = false UNANCHOR = true end)) end end function EarthTremor() local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) if HITFLOOR ~= nil then ATTACK = true Rooted = true for i=0, 2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 0.3 / 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.3 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.3 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(160), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.3 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.2, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.3 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.3 / Animation_Speed) end for i=0, 0.3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed) end CreateSound("438666141", RightLeg, 5, 1) local sinkhole = IT("Part") sinkhole.Size = VT(35,0,35) sinkhole.Parent = Effects sinkhole.Material = "Neon" sinkhole.Color = C3(0,0,0) sinkhole.Anchored = true sinkhole.CanCollide = false sinkhole.Transparency = 1 local decal = IT("Decal",sinkhole) decal.Face = "Top" decal.Texture = "http://www.roblox.com/asset/?id=29268434" decal.Transparency = 1 sinkhole.CFrame = CF(RightLeg.Position)*CF(0,-0.75,0) AoEDamage(RightLeg.Position,35,15,25,4,false,32,7,true) coroutine.resume(coroutine.create(function() for i = 1, 5 do Swait() decal.Transparency = decal.Transparency - 0.2 end Swait(500) for i = 1, 5 do Swait() decal.Transparency = decal.Transparency + 0.2 end sinkhole:remove() end)) for i=0, 1, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.5, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-20), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 0.75 / Animation_Speed) end ATTACK = false Rooted = false end end function VoidWarp() local HASSTARTED = false local target = nil local targettorso = nil if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then if Mouse.Target.Parent.Humanoid.PlatformStand == false then target = Mouse.Target.Parent.Humanoid targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso") end end if target ~= nil then ATTACK = true Rooted = true for i=0, 1.5, 0.1 / Animation_Speed do Swait() if targettorso ~= nil then turnto(targettorso.Position) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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) * ANGLES(RAD(0-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end if targettorso ~= nil then local GUI,GUI3 = CreateGUICircle(targettorso) local GUI2,GUI4 = CreateGUICircle(Torso) CreateSound("1208650519", targettorso, 10, 1) CreateSound("1208650519", Torso, 10, 1) targettorso.Anchored = true for i = 1, 200 do Swait() GUI.Size = GUI.Size + UDim2.new(0.1,0,0.1,0) GUI2.Size = GUI.Size GUI3.Rotation = GUI3.Rotation + 2 GUI4.Rotation = GUI4.Rotation - 2 end if targettorso ~= nil then CastWarpOutlines(targettorso.Parent) CastWarpOutlines(Character) local TFrame = Torso.CFrame local TTFrame = targettorso.CFrame Torso.CFrame = TTFrame targettorso.CFrame = TFrame local HUMANOID = targettorso.Parent:FindFirstChildOfClass("Humanoid") local dmg = MRANDOM(75,95) HUMANOID.Health = HUMANOID.Health - dmg StatLabel("Normal", targettorso.CFrame * CF(0, 0 + (targettorso.Size.z - 1), 0), "WARPED/"..dmg, C3(0.3, 0, 0.3)) CreateSound("1177785010", targettorso, 10, 1) CreateSound("1177785010", Torso, 10, 1) HASSTARTED = true coroutine.resume(coroutine.create(function() for i = 1, 50 do Swait() GUI.Size = GUI.Size - UDim2.new(0.4,0,0.4,0) GUI2.Size = GUI.Size GUI3.Rotation = GUI3.Rotation - 8 GUI4.Rotation = GUI4.Rotation + 8 end GUI:remove() GUI2:remove() targettorso.Anchored = false end)) end if HASSTARTED == false then GUI:remove() GUI2:remove() end end ATTACK = false Rooted = false end end function DivineEvaporation() ATTACK = true Rooted = false for i=0, 6, 0.1 / Animation_Speed do Swait() MagicSphere(VT(0.2,0.2,0.2),15,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.001,0.001,1),0) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(15), 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, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -0.5) * ANGLES(RAD(170), RAD(0), RAD(12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * 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, -0.8 - 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) end CreateSound("3264923", Torso, 10, 1) for i = 1, 50 do MagicSphere(VT(0.2,0.2,0.2),50,CF(Torso.CFrame*CF(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5)).p,Torso.Position),"New Yeller",VT(0.005,0.005,0.1),0) end MagicSphere(VT(20,20,20),50,Torso.CFrame,"New Yeller",VT(0,0,0),0.9) killnearest(Torso.Position,15,5) ATTACK = false Rooted = false end function LeafField() ATTACK = true Rooted = true for i=0, 1.5, 0.1 / Animation_Speed*3 do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(20), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(80), RAD(-20), RAD(-30)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end CreateSound("217767125", LeftArm, 10, 1) local FIREBALLCOLORS = {"Lime green", "Mint", "Forest green"} coroutine.resume(coroutine.create(function() local CFRAME = RootPart.CFrame * CF(0,-3.4,0) for i = 1, 450 do Swait() AoEDamage(CFRAME.p,35,3,5,4,false,12,3,true) MagicSphere(VT(0,0,0),35,CFRAME,FIREBALLCOLORS[MRANDOM(1, #FIREBALLCOLORS)],VT(2.5,0.1,2.5),0.8) end end)) for i=0, 1.5, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-40)), 0.4 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(35)) * ANGLES(RAD(2.5), RAD(0), RAD(0)), 0.4 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.35 * Player_Size, 0 * Player_Size) * ANGLES(RAD(10), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.75 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(30)) * ANGLES(RAD(80), RAD(-10), RAD(-20)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end ATTACK = false Rooted = false end function LeafStorm() ATTACK = true ATTACK = true Rooted = false for i=0, 2, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end Rooted = true local TURRETS = {RightArm,LeftArm} local soundeffect = IT("Sound",Torso) soundeffect.SoundId = "rbxassetid://337638956" soundeffect.Looped = true soundeffect.Volume = 1 soundeffect.Playing = true repeat Swait() turnto(Mouse.Hit.p) local TURRET = TURRETS[MRANDOM(1,#TURRETS)] MagicSphere(VT(0,0,0),7,TURRET.CFrame*CF(0,-1,0),"Shamrock",VT(0.3,0.3,0.3),0) local BULLET = CreatePart(3, Effects, "Grass", 0, 0, "Shamrock", "Bullet", VT(0.2*Player_Size,0.2*Player_Size,4*Player_Size),false) BULLET.CFrame = CF(TURRET.CFrame*CF(0,-2,0).p,Mouse.Hit.p) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(TURRET.Position,Mouse.Hit.p).lookVector*300 bv.Parent = BULLET bv.Name = "PROJECTILEVELOCITY" MakeForm(BULLET,"Ball") local BOO = BULLET.Touched:Connect(function(hit) dealdamage(hit,5,8,5,false,2,3) end) table.insert(Effects2,{BULLET,"Disappear",0.02,1,0,0,2}) until KEYHOLD == false soundeffect:remove() ATTACK = false Rooted = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function ChineseEarthquake() Rooted = true local icri = CreateSound("1177999394", Torso, 10, 1) Swait(130) local FRAME = Torso.CFrame repeat Swait() Torso.CFrame = FRAME * CF(0,1,0) Swait() Torso.CFrame = FRAME until icri.Playing == false Rooted = false end function MouseDown(Mouse) if ATTACK == false then end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Rooted == false then if Key == "z" and ATTACK == false then if VALUE1 == 1 then TurretCannon() elseif VALUE1 == 2 then Fireball() elseif VALUE1 == 3 then IcicleStorm() elseif VALUE1 == 4 then Shriek() elseif VALUE1 == 5 then RockThrow() elseif VALUE1 == 6 then RadiantVoid() elseif VALUE1 == 7 then DivineGlow() elseif VALUE1 == 8 then LeafStorm() end end if Key == "x" and ATTACK == false then if VALUE1 == 1 then ShieldPulse() elseif VALUE1 == 2 then FireField() elseif VALUE1 == 3 then FrostBreath() elseif VALUE1 == 4 then Bloodbath() elseif VALUE1 == 5 then EarthTremor() elseif VALUE1 == 6 then VoidWarp() elseif VALUE1 == 7 then DivineEvaporation() elseif VALUE1 == 8 then LeafField() end end if Key == "1" and ATTACK == false then Stance1() end if Key == "2" and ATTACK == false then Stance2() end if Key == "3" and ATTACK == false then Stance3() end if Key == "4" and ATTACK == false then Stance4() end if Key == "5" and ATTACK == false then Stance5() end if Key == "6" and ATTACK == false then Stance6() end if Key == "7" and ATTACK == false then Stance7() end if Key == "8" and ATTACK == false then Stance8() end if Key == "t" and ATTACK == false and VALUE1 == 5 then ChineseEarthquake() end end end function KeyUp(Key) KEYHOLD = false end Mouse.Button1Down:connect(function(NEWKEY) MouseDown(NEWKEY) end) Mouse.Button1Up:connect(function(NEWKEY) MouseUp(NEWKEY) end) Mouse.KeyDown:connect(function(NEWKEY) KeyDown(NEWKEY) end) Mouse.KeyUp:connect(function(NEWKEY) KeyUp(NEWKEY) end) --//=================================\\ --\\=================================// function unanchor() if UNANCHOR == true then 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) VALUE1 = 1 Speed = 25 while true do Swait() ANIMATE.Parent = nil local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() SINE = SINE + CHANGE local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude local TORSOVERTICALVELOCITY = RootPart.Velocity.y local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position) local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character) local WALKSPEEDVALUE = 12 / (Humanoid.WalkSpeed / 16) if ANIM == "Walk" and TORSOVELOCITY > 1 and VALUE1 ~= 7 then RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.1 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) 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 / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then ANIM = "Jump" if ATTACK == false then RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 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(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0 * Player_Size) * 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(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 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 if VALUE1 == 1 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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(0.75, 0.5, -1) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.2, -0.5) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) elseif VALUE1 == 2 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.15 / 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(-25)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.2, -0.3) * ANGLES(RAD(160), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) elseif VALUE1 == 3 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) elseif VALUE1 == 4 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) if MRANDOM(1,5) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1) end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) elseif VALUE1 == 5 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 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.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(90)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) elseif VALUE1 == 6 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 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, -0.8 - 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) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) if MRANDOM(1,25) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25)), RAD(MRANDOM(-25,25))), 1) end elseif VALUE1 == 7 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * 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.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * 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, -0.8 - 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) elseif VALUE1 == 8 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + -0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-25)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 * Player_Size, 0.5 * Player_Size, -0.5 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(50)) * ANGLES(RAD(-2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -0.8 * Player_Size - 0.05 * COS(SINE / 12) * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) end end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" WALK = WALK + 1 / Animation_Speed if WALK >= 15 - (5 * (Humanoid.WalkSpeed / 16 / Player_Size)) then WALK = 0 if WALKINGANIM == true then WALKINGANIM = false elseif WALKINGANIM == false then WALKINGANIM = true end end --RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) --LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(60 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) if ATTACK == false then if VALUE1 < 4 or VALUE1 == 6 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 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)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed) elseif VALUE1 == 4 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) if MRANDOM(1,15) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15)), RAD(MRANDOM(-15,15))), 1) end RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(12)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(MRANDOM(-15,15)), RAD(-12)) * LEFTSHOULDERC0, 0.4 / 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(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / 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(0), RAD(0), RAD(-40 * COS(SINE / WALKSPEEDVALUE))), 0.35 / Animation_Speed) elseif VALUE1 == 7 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * 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, -0.8 - 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) elseif VALUE1 == 5 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 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)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-90)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.65, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(90)) * LEFTSHOULDERC0, 0.15 / 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed) elseif VALUE1 == 8 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12) ) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / 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)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(15+80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15-80 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-12)) * 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 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(0), RAD(0), RAD(-80 * COS(SINE / WALKSPEEDVALUE))), 0.15 / Animation_Speed) end end end if #Effects2>0 then for e=1,#Effects2 do if Effects2[e]~=nil then local Thing=Effects2[e] if Thing~=nil then local Part=Thing[1] local Mode=Thing[2] local Delay=Thing[3] local IncX=Thing[4] local IncY=Thing[5] local IncZ=Thing[6] local Part2=Thing[8] if Thing[1].Transparency<=1 then if Thing[2]=="Block1" then Thing[1].CFrame=Thing[1].CFrame Mesh=Thing[1].Mesh Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) Thing[1].Transparency=Thing[1].Transparency+Thing[3] elseif Thing[2]=="Cylinder" then Mesh=Thing[1].Mesh Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) Thing[1].Transparency=Thing[1].Transparency+Thing[3] elseif Thing[2]=="Blood" then Mesh=Thing[7] Thing[1].CFrame=Thing[1].CFrame*CF(0,.5,0) Mesh.Scale=Mesh.Scale+VT(Thing[4],Thing[5],Thing[6]) Thing[1].Transparency=Thing[1].Transparency+Thing[3] elseif Thing[2]=="Elec" then Mesh=Thing[1].Mesh Mesh.Scale=Mesh.Scale+VT(Thing[7],Thing[8],Thing[9]) Thing[1].Transparency=Thing[1].Transparency+Thing[3] elseif Thing[2]=="Disappear" then Thing[1].Transparency=Thing[1].Transparency+Thing[3] elseif Thing[2]=="Evaporate" then Thing[1].Transparency=Thing[1].Transparency+Thing[3] local C = {-5,-2,2,5} MagicSphere(VT(0,0,0),15,CF(Thing[1].CFrame*CF(C[MRANDOM(1,#C)],C[MRANDOM(1,#C)],C[MRANDOM(1,#C)]).p,Thing[1].Position),"New Yeller",VT(0.01,0.01,0.5),0.8) end else Part.Parent=nil table.remove(Effects2,e) end end end 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 local MATHS = {"0","1"} Humanoid.Name = MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)]..MATHS[MRANDOM(1,#MATHS)] Humanoid.PlatformStand = false end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//-- end) TextButton_3.Parent = Frame TextButton_3.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_3.Position = UDim2.new(0, 232, 0, 62) TextButton_3.Size = UDim2.new(0, 92, 0, 50) TextButton_3.Font = Enum.Font.Code TextButton_3.Text = "MechAngel" TextButton_3.TextSize = 14 TextButton_3.MouseButton1Down:connect(function() --[[ > ⚙Mechanized Angel > - by tomonaoboys > > Hello world! > what things can be a real angel? > Only The angel knows. > There's no light ... Only have fake one. > Warning : this is NOT complete. the move can get added ,removed ,or replaced. > I'm not made for editing. The codes are spagetti. > > Moves : ( *:Able to hold , or required ) > E : Flawing Light It shoots three holy? blasts. they explodes after 100 or got hit any object. > R* : Infinite Bright It spams something like beam? ...it shoots continuous beam. gatling? WARNING : it makes missing sound if you are using potato. I highly do this on server. > T : Blink Teleport. Only it is. many my script or edits highly have teleport. --]] local wedge=Instance.new("Part")wedge.Material="Neon"wedge.Anchored=1 wedge.TopSurface=Enum.SurfaceType.Smooth wedge.BottomSurface=Enum.SurfaceType.Smooth wedge.CanCollide=false musicId="rbxassetid://182096702"local mcol=Color3.new(1,1,.7)wedge.Color=mcol local Camera=workspace.CurrentCamera Instance.new("SpecialMesh",wedge).MeshType="Wedge"wedge.Size=Vector3.new() --local Moon={"🌑","🌒","🌓","🌔","🌕","🌖","🌗","🌘"}useless now for idealess local function ToMesh(Part) local Mesh=Instance.new("SpecialMesh",Part) if Part:IsA"WedgePart"then Mesh.MeshType="Wedge" elseif Part.Shape==Enum.PartType.Block then Mesh.MeshType="Brick"elseif Part.Shape==Enum.PartType.Ball then Mesh.MeshType="Sphere"elseif Part.Shape==Enum.PartType.Cylinder then Mesh.MeshType="Cylinder"end Mesh.Scale=Part.Size*20 Part.Size=Vector3.new() return Mesh end function drawTriangle(a,b,c,parent,PartStat,classic) a=typeof(a)=="CFrame"and a.p or a b=typeof(b)=="CFrame"and b.p or b c=typeof(c)=="CFrame"and c.p or c if not a or not b or not c then error'Attempt to use NIL value'end local TriangleModel=Instance.new("Model",parent) local siz=0 local edges={{longest=(c-b),other=(a-b),position=b},{longest=(a-c),other=(b-c),position=c},{longest=(b-a),other=(c-a),position=a}} table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1] local theta=math.acos(edge.longest.unit:Dot(edge.other.unit))local s1=Vector2.new(edge.other.magnitude * math.cos(theta),edge.other.magnitude * math.sin(theta)) local s2=Vector2.new(edge.longest.magnitude-s1.x,s1.y)local p1=edge.position + edge.other * 0.5 local p2=edge.position + edge.longest + (edge.other-edge.longest) * 0.5 local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit local cf1=CFrame.new(p1.x,p1.y,p1.z,-right.x,up.x,back.x,-right.y,up.y,back.y,-right.z,up.z,back.z)local cf2=CFrame.new(p2.x,p2.y,p2.z,right.x,up.x,-back.x,right.y,up.y,-back.y,right.z,up.z,-back.z) local w1=wedge:Clone()local w2=wedge:Clone()w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end if not classic then w1.Name="Wedge1"w2.Name="Wedge2" TriangleModel.Parent=parent or workspace return TriangleModel else w1.Parent=parent or workspace w2.Parent=parent or workspace return w1,w2 end end function DoSquare(A,B,C,D,parent,PartStat,classic) if not classic then local SquareModel=Instance.new("Model",parent or workspace) local mA=drawTriangle(A,B,C,SquareModel,PartStat)local mB=drawTriangle(C,D,A,SquareModel,PartStat)mA.Name="A"mB.Name="B"return SquareModel else local a,b=drawTriangle(A,B,C,parent,PartStat,1)local c,d=drawTriangle(C,D,A,parent,PartStat,1)return a,b,c,d end end function ReDrawSqu(m,A,B,C,D,PartStat)ReDrawTri(m.A,A,B,C,PartStat)B=ReDrawTri(m.B,C,D,A,PartStat)end function ReDrawTri(TriangleModel,a,b,c,PartStat) a=typeof(a)=="CFrame"and a.p or a b=typeof(b)=="CFrame"and b.p or b c=typeof(c)=="CFrame"and c.p or c local siz=0 local edges={{longest=(c-b),other=(a-b),position=b},{longest=(a-c),other=(b-c),position=c},{longest=(b-a),other=(c-a),position=a}} table.sort(edges,function(a,b) return a.longest.magnitude > b.longest.magnitude end)local edge=edges[1] local theta=math.acos(edge.longest.unit:Dot(edge.other.unit))local s1=Vector2.new(edge.other.magnitude * math.cos(theta),edge.other.magnitude * math.sin(theta)) local s2=Vector2.new(edge.longest.magnitude-s1.x,s1.y)local p1=edge.position + edge.other * 0.5 local p2=edge.position + edge.longest + (edge.other-edge.longest) * 0.5 local right=edge.longest:Cross(edge.other).unit local up=right:Cross(edge.longest).unit local back=edge.longest.unit local cf1=CFrame.new(p1.x,p1.y,p1.z,-right.x,up.x,back.x,-right.y,up.y,back.y,-right.z,up.z,back.z)local cf2=CFrame.new(p2.x,p2.y,p2.z,right.x,up.x,-back.x,right.y,up.y,-back.y,right.z,up.z,-back.z) local w1=TriangleModel.Wedge1 local w2=TriangleModel.Wedge2 w1.Mesh.Scale=Vector3.new(siz,s1.y,s1.x)*20 w2.Mesh.Scale=Vector3.new(siz,s2.y,s2.x)*20 w1.CFrame=cf1 w2.CFrame=cf2 w1.Parent=TriangleModel w2.Parent=TriangleModel for Index, Value in pairs(PartStat or{})do w1[Index]=Value end for Index, Value in pairs(PartStat or{})do w2[Index]=Value end end owner=owner function lerp(a,b,t)return a*(1-t)+(b*t)end function rc()return CFrame.Angles(math.rad(math.random(360)),math.rad(math.random(360)),math.rad(math.random(360)))end local IsChatAvailable=false local HBMode="HeartBeat" if script.ClassName=="Script"then if tostring(game.PlaceId)=="843468296"then owner:Explode()end error("HOW?!??!?!")end local PL=game:service("Players").LocalPlayer script.Parent=PL:FindFirstChildOfClass("PlayerScripts") function a(part)local j=Instance.new("BodyVelocity",part)j.MaxForce=Vector3.new(1/0,1/0,1/0)j.Velocity=Vector3.new(0,0,0)end if 1 then local InsertModel=Instance.new'Model'GetInstance=function(CallInst,Parent)if InsertModel:FindFirstChildOfClass(CallInst)==nil then Instance.new(CallInst,InsertModel)end local Obj=InsertModel:Clone():FindFirstChildOfClass(CallInst)Obj.Parent=Parent or nil return Obj end end local function ieraseurmotor(chr) for i,p in pairs(chr:children())do for i2,p2 in pairs(p:children())do if p2:IsA("Motor6D")and(tostring(p2)~="RootJoint"and tostring(p2)~="Neck")then p2:Destroy()end end end if chr:FindFirstChild("Animate")then chr.Animate:Destroy()end if chr:FindFirstChildOfClass("Humanoid")then if chr:FindFirstChildOfClass("Humanoid"):FindFirstChild("Animator")then chr:FindFirstChildOfClass("Humanoid").Animator:Destroy()end end end Humanoid=nil local DoEffect=1 local CooldownBox=Instance.new("Folder") function DoCDown(Name,time)local tag=Instance.new("Part",CooldownBox)tag.Name=Name debri(tag,time)end function GetCDown(Name)return not CooldownBox:FindFirstChild(Name)end local function FindHumanoid(Part)local humanoid=nil if Part.Parent then if Part.Parent~=PL.Character and Part.Parent:FindFirstChildOfClass("Humanoid")~=nil then humanoid=Part.Parent:FindFirstChildOfClass("Humanoid")else if Part.Parent.Parent then if Part.Parent.Parent:FindFirstChildOfClass("Humanoid")and Part.Parent.Parent~=PL.Character then humanoid=Part.Parent.Parent:FindFirstChildOfClass("Humanoid")end end end end if humanoid==Humanoid then humanoid=nil end return humanoid end if 1 then --Engine ? anyway by tomonaoboys maybe PierceForceField = false E_MainColor=Color3.new(1,1,2/3) local AutomaticRegen=true local HealthRValue=.02 local Players=game:GetService("Players") local ply=Players.LocalPlayer local chr=ply.Character local humanoid=chr:FindFirstChildOfClass("Humanoid") local DVal=Instance.new("NumberValue",humanoid)DVal.Name="Defense" local Defense=7.77 local Mouse=ply:GetMouse() local rs=game:GetService("RunService")if HBMode=="RenderStepped"then rs=rs.RenderStepped else rs=rs.Heartbeat end local DCoolDowns={}local Debri=function(itm,t)game:GetService("Debris"):AddItem(itm,t)end function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end function tDamage(CF,Range,Dam,DRand,DC,K,KH,Guide)--CFrame or Part , Range , Damage , DCoolDown , Knockback , Knockback Hold ,Knockback Guide if typeof(CF)=="Instance"then CF=CF.CFrame end local FinalD=0 if Dam==1/0 then FinalD=1/0 else FinalD=math.random(Dam-DRand,Dam+DRand)end for i,m in pairs(workspace:GetChildren())do if m:IsA("Model")and m~=chr then local DCFlg=false for i=1,#DCoolDowns do if DCoolDowns[i].Model==m then DCFlg=true end end if m:FindFirstChild("HumanoidRootPart")and not DCFlg then local hp=m.HumanoidRootPart if hp:IsA("BasePart")then if m:FindFirstChildOfClass("Humanoid")and(CF.p-hp.CFrame.p).magnitude<=Range then local hum=m:FindFirstChildOfClass("Humanoid")local Guard=false if hum:FindFirstChild("Defense")then if hum.Defense:IsA("NumberValue")then FinalD=math.ceil(FinalD/(hum.Defense.Value/5+.8)) end end FinalD=FinalD+math.random(0,1) if m:FindFirstChildOfClass("ForceField")and not PierceForceField then Guard=true end if not Guard then hum.Health=hum.Health-FinalD if Dam==1/0 then hum.Health=nil if hum.Parent then hum.Parent:BreakJoints()end end end if DC~=nil then table.insert(DCoolDowns,{Model=m,Time=DC})end if hum.Health~=0 then if K then if KH==nil then KH=1/2 end if Guide then local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000 j.Velocity=CFrame.new(hp.CFrame.p,CF.p).lookVector*K Debri(j,KH) else local j=Instance.new("BodyVelocity",hp)j.MaxForce=Vector3.new(100,100,100)*10000 j.Velocity=K Debri(j,KH) end end end local dp=Instance.new("Part",workspace)dp.Transparency=1 dp.CanCollide=false dp.Anchored=true dp.Size=Vector3.new()dp.CFrame=hp.CFrame local b=Instance.new("BillboardGui",dp)b.Size=UDim2.new(100,0,2,0)b.AlwaysOnTop=true b.MaxDistance=100 local d=Instance.new("TextLabel",b)d.Size=UDim2.new(1,0,1,0)d.TextScaled=true d.BackgroundTransparency=1 d.TextStrokeTransparency=0 if not Guard then d.TextColor3=Color3.new(1,1,1)d.Text=tostring(FinalD)else d.TextColor3=Color3.new(.4,.7,1)d.Text="Guard"end spawn(function()local j=Instance.new("BodyVelocity",dp)j.MaxForce=Vector3.new(1/0,1/0,1/0) for i=1,50 do if dp.Parent then dp.Anchored=true if i<25 then dp.CFrame=dp.CFrame+Vector3.new(0,.1,0) else d.TextTransparency=i/25-1 d.TextStrokeTransparency=i/25-1 end sw() end end dp:Destroy() end) end end end end end end spawn(function()if chr:FindFirstChild("Health")then chr.Health:Destroy()end local hs=Instance.new("ScreenGui",ply:FindFirstChildOfClass("PlayerGui"))hs.Name="statsidk" local HFrame=Instance.new("Frame",hs)HFrame.Position=UDim2.new(.4,0,.8,0)HFrame.Size=UDim2.new(.2,0,.03,0)HFrame.BackgroundTransparency=.5 HFrame.BackgroundColor3=Color3.new()HFrame.BorderSizePixel=0 local HPBar1=Instance.new("TextLabel",HFrame)HPBar1.Size=UDim2.new(1,0,1,0)HPBar1.Text=" Health"HPBar1.TextStrokeTransparency=0 HPBar1.TextScaled=true HPBar1.TextXAlignment="Left"HPBar1.TextColor3=Color3.new(.5,1,.5)HPBar1.BackgroundTransparency=1 HPBar1.ZIndex=3 local HPBar2=Instance.new("Frame",HFrame)HPBar2.Size=UDim2.new(1,0,1,0)HPBar2.BorderSizePixel=0 HPBar2.BackgroundColor3=Color3.new(0,1,0)HPBar2.ZIndex=2 local HPBar3=Instance.new("Frame",HFrame)HPBar3.Size=UDim2.new(1,0,1,0)HPBar3.BorderSizePixel=0 HPBar3.BackgroundColor3=Color3.new(1,0,0)HPBar3.ZIndex=1 HPBar3.BackgroundTransparency=.5 local AR=0 local wst=Instance.new("TextLabel",hs)wst.Size=UDim2.new(.09,0,.03,0)wst.Text="WalkSpeed 0"wst.Position=UDim2.new(.91,0,.4,0)wst.BackgroundColor3=E_MainColor wst.TextStrokeTransparency=0 wst.TextColor3=Color3.new(1,1,1) wst.BorderSizePixel=0 wst.BackgroundTransparency=.5 wst.Font="ArialBold"wst.TextScaled=1 local dft=Instance.new("TextLabel",hs)dft.Size=UDim2.new(.09,0,.03,0)dft.Text="Defense 0"dft.Position=UDim2.new(.91,0,.368,0)dft.BackgroundColor3=E_MainColor dft.TextStrokeTransparency=0 dft.TextColor3=Color3.new(1,1,1) dft.BorderSizePixel=0 dft.BackgroundTransparency=.5 dft.Font="ArialBold"dft.TextScaled=1 while sw()do if chr then if chr.Parent then if AutomaticRegen and humanoid.Health<0 then humanoid.Health=humanoid.Health+HealthRValue end for i=1,#DCoolDowns do if DCoolDowns[i]~=nil then if DCoolDowns[i].Model.Parent then if DCoolDowns[i].Time>0 then DCoolDowns[i].Time=DCoolDowns[i].Time-1 else table.remove(DCoolDowns,i) end else table.remove(DCoolDowns,i) end end end --HPScreen if hs.Parent then HPBar2.Size=UDim2.new(humanoid.Health/humanoid.MaxHealth,0,1,0) HPBar3.Size=UDim2.new(HPBar3.Size.X.Scale*(1-.1)+(HPBar2.Size.X.Scale*.1),0,1,0) HPBar1.Text=" Health "..tostring(math.floor(humanoid.Health*10)/10).."/"..tostring(math.floor(humanoid.MaxHealth)) wst.Text="WalkSpeed "..tostring(humanoid.WalkSpeed) dft.Text="Defense "..tostring(Defense) end else chr=ply.Character end end end end) end --Global Functions that can use easily --tDamage ( CFrame or Part , Range , Damage , Damage Randomize , DCoolDown , Knockback , Knockback Hold ,Knockback Guide )magnitudedamagelol but has idk --sw ( number ) this function can use like wait() because it has true returning. if think easily, just small version of swait lol local PC=PL.Character debri=function(item,tim)game:service("Debris"):AddItem(item,tim)end local hum=PC:FindFirstChildOfClass("Humanoid") local function DoPrism(pos,top,sid,par,option)--returns model local Model=Instance.new("Model",par) local Position0,Position1,Position2,Position3=pos*sid,pos*CFrame.Angles(0,math.rad(120),0)*sid,pos*CFrame.Angles(0,math.rad(240),0)*sid,pos*top drawTriangle(Position0,Position1,Position3,Model,option).Name="A"drawTriangle(Position1,Position2,Position3,Model,option).Name="B"drawTriangle(Position2,Position0,Position3,Model,option).Name="C" drawTriangle(Position0,Position1,Position2,Model,option).Name="D" return Model end local function ReDrawPrism(m,pos,top,sid,par,option)--returns model local Model=m local Position0,Position1,Position2,Position3=pos*sid,pos*CFrame.Angles(0,math.rad(120),0)*sid,pos*CFrame.Angles(0,math.rad(240),0)*sid,pos*top ReDrawTri(m.A,Position0,Position1,Position3,option) ReDrawTri(m.B,Position1,Position2,Position3,option) ReDrawTri(m.C,Position2,Position0,Position3,option) ReDrawTri(m.D,Position0,Position1,Position2,option) return Model end local function GetBeamLight(Parent,Length,Width0,Width1,FirstTransparent,Color,LightEm) local BPart=Instance.new("Part",Parent)BPart.CanCollide=false BPart.Size=Vector3.new()BPart.Transparency=1 local a0=Instance.new("Attachment",BPart)local a1=Instance.new("Attachment",BPart)a1.Position=Vector3.new(0,0,Length) local beam=Instance.new("Beam",BPart)beam.FaceCamera=1 beam.Attachment0=a0 beam.Attachment1=a1 beam.Segments=0 beam.Width0=Width0 beam.Width1=Width1 beam.Texture="rbxassetid://1251856844"beam.LightEmission=LightEm or 1 beam.Transparency=NumberSequence.new(FirstTransparent,1)beam.Color=ColorSequence.new(Color) return BPart,beam end local function FadeBeamL(Beam,Type,Add) if Beam~=nil then if Beam:IsA("Beam")and Beam.Parent then if Type=="Normal"then spawn(function() for i=0,1,Add do if Beam.Parent then Beam.Transparency=NumberSequence.new(i,1) sw()end end Beam.Parent:Destroy() end) end if Type=="idk"then spawn(function() for i=1,0,-Add do if Beam.Parent then Beam.Transparency=NumberSequence.new(i,1) sw()end end for i=0,1,Add do if Beam.Parent then Beam.Transparency=NumberSequence.new(i,1) sw()end end if Beam.Parent then Beam.Parent:Destroy()end end) end end end end ieraseurmotor(PC)local RootPart=PC.HumanoidRootPart local walk=false local onground=false local walkspeed=16 local Active=false local Effects=Instance.new("Folder",workspace) local function GlitchParts(m,siz,t,Invisible,Hold)spawn(function() local Glit={}local invi={} if not m:IsA'BasePart'then for i,p in pairs(m:children())do if p:IsA"BasePart"then local a=p:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren() local CF=a.CFrame a.Parent=Effects a.CFrame=CF*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz) table.insert(Glit,{Pt=a,pst=CF,Sav=p,Tr=p.Transparency})if Invisible then p.Transparency=1 end end end else local a=m:Clone()a.Anchored=1 a.CanCollide=nil a:ClearAllChildren() local CF=a.CFrame a.Parent=Effects a.CFrame=CF*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz) table.insert(Glit,{Pt=a,pst=CF,Sav=m,Tr=m.Transparency})if Invisible then m.Transparency=1 end end for i=1,t do for i,p in pairs(Glit)do if p.Pt.Parent then if Hold then p.pst=p.Sav.CFrame end p.Pt.CFrame=p.pst*CFrame.new(math.random(-100,100)/siz,math.random(-100,100)/siz,math.random(-100,100)/siz) end end sw() end for i,p in pairs(Glit)do p.Pt:Destroy()if Invisible then p.Sav.Transparency=p.Tr end end end) end local Mouse=PL:GetMouse()local ShowHitBoxes=false FH=FindHumanoid local RArm=PC["Right Arm"]local LArm=PC["Left Arm"]local RLeg=PC["Right Leg"]local LLeg=PC["Left Leg"]local Torso=PC.Torso if 1 then local function motor(part0,part1,c0,c1) local motor=Instance.new("Motor",part0) motor.Part0=part0 motor.Part1=part1 motor.C0=c0 motor.C1=c1 return motor end local ra=motor(Torso,RArm,CFrame.new(1.5,0,0),CFrame.new(0,0,0))local la=motor(Torso,LArm,CFrame.new(-1.5,0,0),CFrame.new(0,0,0)) local rl=motor(Torso,RLeg,CFrame.new(.5,-2,0),CFrame.new(0,0,0))local ll=motor(Torso,LLeg,CFrame.new(-.5,-2,0),CFrame.new(0,0,0)) local nek=Torso.Neck local rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0) rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0) function ReCallAnimate() RArm=PC["Right Arm"]LArm=PC["Left Arm"]RLeg=PC["Right Leg"]LLeg=PC["Left Leg"]Torso=PC.Torso RootPart=PC.HumanoidRootPart ra=motor(Torso,RArm,CFrame.new(1.5,0,0),CFrame.new(0,0,0))la=motor(Torso,LArm,CFrame.new(-1.5,0,0),CFrame.new(0,0,0)) rl=motor(Torso,RLeg,CFrame.new(.5,-2,0),CFrame.new(0,0,0))ll=motor(Torso,LLeg,CFrame.new(-.5,-2,0),CFrame.new(0,0,0)) nek=Torso.Neck rjoint=RootPart.RootJoint nek.C0=CFrame.new(0,0,0)nek.C1=CFrame.new(0,0,0) rjoint.C0=CFrame.new(0,0,0)rjoint.C1=CFrame.new(0,0,0)Anim(latest,1) end function Anim(idk,lerpval) rjoint.C0=rjoint.C0:lerp(idk[1],lerpval) nek.C0=nek.C0:lerp(idk[2],lerpval) ra.C0=ra.C0:lerp(idk[3],lerpval) la.C0=la.C0:lerp(idk[4],lerpval) rl.C0=rl.C0:lerp(idk[5],lerpval) ll.C0=ll.C0:lerp(idk[6],lerpval) latest={}latest[1]=rjoint.C0 latest[2]=nek.C0 latest[3]=ra.C0 latest[4]=la.C0 latest[5]=rl.C0 latest[6]=ll.C0 end end local function spawnref(Position)Position=typeof(Position)=="Vector3"and CFrame.new(Position)or Position local ref=Instance.new("Part",Effects)ref.Transparency=1 ref.Size=Vector3.new()ref.CFrame=Position ref.Anchored=1 ref.CanCollide=nil return ref end local function ua(part)if part:IsA("BasePart")then part.Anchored=false end local c=part:GetChildren()for i=1,#c do ua(c[i])end end local function rot(part,vec3,pow)local j=Instance.new("BodyAngularVelocity",part)j.MaxTorque=Vector3.new(pow,pow,pow)j.AngularVelocity=vec3 return j end local function CreateHitBox(Size,CF,Script) local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Size rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF pt.Parent=Effects if ShowHitBoxes then pt.Transparency=.8 local s=Instance.new("SelectionBox",pt)s.Color3=Color3.new(.5,.5,.5)s.Adornee=pt end local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end) end local function CreateHitSphere(Size,CF,Script) local pt=Instance.new("Part")a(pt)pt.CanCollide=false pt.Size=Vector3.new(Size,Size,Size) rot(pt,Vector3.new(),1/0)pt.Transparency=1 pt.CFrame=CF pt.Shape="Ball" pt.Parent=Effects if ShowHitBoxes then pt.Transparency=.8 local s=Instance.new("SelectionBox",pt)s.Color3=Color3.new(.5,.5,.5)s.Adornee=pt end local function BreakHitBox()pt:Destroy()end pt.Touched:connect(Script)spawn(function()sw()pt:Destroy()end) end local function Region3Find(Size,Pos,Script,AutoSearch)--if AutoSearch==true then it automatically insert Humanoid after Part. Pos=typeof(Pos)=="CFrame"and Pos.p or Pos local reg=Region3.new(Pos-Vector3.new(Size/2,Size/2,Size/2),Pos+Vector3.new(Size/2,Size/2,Size/2)) for i,p in pairs(workspace:FindPartsInRegion3WithIgnoreList(reg,{PC,Effects},1000))do if AutoSearch then local h=FH(p)if h then spawn(function()if h.Parent then Script(p,h)end end)end else spawn(function()Script(p)end)end end end RayForMovingObj=function(Part,Length,WaterOpt)--or else , JUST CFrame. (return : hitting part / position ) local cf=typeof(Part)=="Instance"and Part.CFrame or Part return workspace:FindPartOnRayWithIgnoreList(Ray.new(cf.p,cf.lookVector*Length),{PC,Effects},true,not WaterOpt) end local MusicEnabled=1 spawn(function()local opos=Vector3.new(0,0,0)local pts=0 local pos=opos local MusicI=nil local MusicPos=0 if PC.Head:FindFirstChild"Running"then PC.Head.Running:Destroy()end --local pos=RootPart.Position if 1 then local frm=Torso.CFrame*CFrame.new(0,1.5,0) local wf=Instance.new("Folder",RootPart)wf.Name="Wings" local a,b,c,d=DoSquare(frm*CFrame.new(2,.5,2),frm*CFrame.new(3,4,2),frm*CFrame.new(6,3,4),frm*CFrame.new(7,3,5),wf,{Transparency=.7,Anchored=nil},1) local d,e,f,g=DoSquare(frm*CFrame.new(-2,.5,2),frm*CFrame.new(-3,4,2),frm*CFrame.new(-6,3,4),frm*CFrame.new(-7,3,5),wf,{Transparency=.7,Anchored=nil},1) local h,i=drawTriangle(frm*CFrame.new(2,-.5,1.5),frm*CFrame.new(3,-.5,1.2),frm*CFrame.new(8,-2,1.5),wf,{Transparency=.9,Anchored=nil},1) local j,k=drawTriangle(frm*CFrame.new(-2,-.5,1.5),frm*CFrame.new(-3,-.5,1.2),frm*CFrame.new(-8,-2,1.5),wf,{Transparency=.9,Anchored=nil},1) local l,m=drawTriangle(frm*CFrame.new(1.5,0,1.5),frm*CFrame.new(3,-.6,1.9),frm*CFrame.new(8,2,3),wf,{Transparency=.8,Anchored=nil},1) local n,o=drawTriangle(frm*CFrame.new(-1.5,0,1.5),frm*CFrame.new(-3,-.6,1.9),frm*CFrame.new(-8,2,3),wf,{Transparency=.8,Anchored=nil},1) --ToMesh(a)ToMesh(b)ToMesh(c)ToMesh(d)ToMesh(e)ToMesh(f)ToMesh(g)ToMesh(h)ToMesh(i)ToMesh(j)ToMesh(k)ToMesh(l)ToMesh(m)ToMesh(n)ToMesh(o) ua(wf)for _, v in pairs(wf:children())do--auto welding from Ace of Spades script if v.ClassName=="UnionOperation" or v.ClassName=="MeshPart" or v.ClassName=="Part" or v.ClassName=="WedgePart" or v.ClassName=="BasePart" then v.Anchored=false local OR=CFrame.new(v.Position) local P1C, P2C=v.CFrame:inverse() * OR, Torso.CFrame:inverse() * OR local weld=Instance.new("Weld", RootPart) weld.Name=v.Name .. "->" .. Torso.Name weld.Part0=v weld.Part1=Torso weld.C0=P1C weld.C1=P2C end end end for i=0,360,6 do local Head=PC.Head local part=Instance.new("Part",Head)part.Material="Neon"part.Size=Vector3.new(.1,.1,.125) local weld=Instance.new("Weld",part)ToMesh(part)part.Color=Color3.new(1,1,.7) weld.Part0=Head weld.Part1=part weld.C0=CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,1)+Vector3.new(0,1.5,0) end local namebbg=Instance.new("BillboardGui",PC)namebbg.Size=UDim2.new(16,0,2,0)namebbg.Adornee=RootPart namebbg.Name="NameTag" namebbg.StudsOffset=Vector3.new(0,4.8,0)namebbg.AlwaysOnTop=1 local nt=Instance.new("TextLabel",namebbg)nt.Text="Mechanized Angel"nt.TextColor3=Color3.new(1,1,.7)nt.TextScaled=1 nt.Position=UDim2.new(0,0,-.4,0) nt.Font="Fantasy"nt.BackgroundTransparency=1 nt.TextTransparency=0 nt.TextStrokeTransparency=.5 nt.Size=UDim2.new(1,0,1,0) while sw()do pts=pts+.05 if MusicI then if not MusicI.Parent then MusicI=GetInstance("Sound",PC)MusicI.TimePosition=MusicPos end else MusicI=GetInstance("Sound",PC)MusicI.TimePosition=MusicPos end MusicI.SoundId=musicId MusicI.Volume=4 MusicI.Playing=MusicEnabled MusicPos=MusicI.TimePosition pos=RootPart.Position if PC.Parent==nil or PC~=PL.Character then Effects:Destroy()script:Destroy()end if PC then if PC:FindFirstChildOfClass("ForceField")then PC:FindFirstChildOfClass("ForceField").Visible=false else GetInstance("ForceField",PC).Name=""end ua(PC) local hit,pos=workspace:FindPartOnRayWithIgnoreList(Ray.new(RootPart.CFrame.p,Vector3.new(0,-1,0).unit*3.5),{PC,Effects},false,true) if not hit then onground=false else onground=true end if (Vector3.new(pos.X,0,pos.Z)-Vector3.new(opos.X,0,opos.Z)).magnitude>=.01 then walk=true else walk=false end if not Active then if onground then if walk then Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(-.4,0,0), CFrame.new(0,1.5,0)*CFrame.Angles(.3,0,0), CFrame.new(1.5,0,.4)*CFrame.Angles(-.3,0,.2), CFrame.new(-1.5,0,.4)*CFrame.Angles(-.3,0,-.2), CFrame.new(.5,-1.8,.7)*CFrame.Angles(-.7-math.sin(pts)/15,0,.1-math.sin(pts)/15), CFrame.new(-.5,-1.3,-.55)*CFrame.Angles(0,0,-.1+math.sin(pts)/15), },.3) else Anim({CFrame.new(0,1+math.sin(pts)/10,0)*CFrame.Angles(0,0,0), CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0), CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4), CFrame.new(-.5,.3,-.5)*CFrame.Angles(.3,-3.1,-1.4), CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1-math.sin(pts)/15), CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1+math.sin(pts)/15), },.3) end else Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0), CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0), CFrame.new(1.5,0,0)*CFrame.Angles(0,0,.2), CFrame.new(-1.5,0,0)*CFrame.Angles(0,0,-.2), CFrame.new(.5,-1.8,.2)*CFrame.Angles(-.3-math.sin(pts)/15,0,.1-math.sin(pts)/15), CFrame.new(-.5,-1.5,-.25)*CFrame.Angles(0,0,-.1+math.sin(pts)/15), },.3) end end end if not Active then walkspeed=30 ua(PC)end if not hum then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum elseif not hum.Parent then hum=Instance.new("Humanoid",PC)workspace.CurrentCamera.CameraSubject=hum end hum.PlatformStand=false hum.Name="No Bright Things , but if you thought." hum.MaxHealth=1/0 hum.Health=0/0 hum.WalkSpeed=walkspeed if walkspeed>0 then hum.JumpPower=50 else hum.JumpPower=0 end if Effects.Parent==nil then Effects:Destroy()Effects=Instance.new("Folder",workspace)end Mouse.TargetFilter=Effects --if not PC:FindFirstChild("WingFolder")then Instance.new("Folder",PC).Name="WingFolder"else PC.WingFolder:ClearAllChildren()end --[[if DoEffect then local fol=PC.WingFolder local frm=Torso.CFrame+Vector3.new(0,1.5,0) DoSquare(frm*CFrame.new(2,.5,2),frm*CFrame.new(3,4,2),frm*CFrame.new(6,3,4),frm*CFrame.new(7,3,5),fol,{Transparency=.7}) DoSquare(frm*CFrame.new(-2,.5,2),frm*CFrame.new(-3,4,2),frm*CFrame.new(-6,3,4),frm*CFrame.new(-7,3,5),fol,{Transparency=.7}) drawTriangle(frm*CFrame.new(2,-.5,1.5),frm*CFrame.new(3,-.5,1.2),frm*CFrame.new(8,-2,1.5),fol,{Transparency=.9}) drawTriangle(frm*CFrame.new(-2,-.5,1.5),frm*CFrame.new(-3,-.5,1.2),frm*CFrame.new(-8,-2,1.5),fol,{Transparency=.9}) drawTriangle(frm*CFrame.new(1.5,0,1.5),frm*CFrame.new(3,-.6,1.9),frm*CFrame.new(8,2,3),fol,{Transparency=.8}) drawTriangle(frm*CFrame.new(-1.5,0,1.5),frm*CFrame.new(-3,-.6,1.9),frm*CFrame.new(-8,2,3),fol,{Transparency=.8}) end]] hum:ClearAllChildren()opos=pos end end) function chatfunc(text) spawn(function() local rs=game:service'RunService'.RenderStepped local function sw(n)if n==nil then rs:wait()else for i=1,n do rs:wait()end end return true end local Character=game:service'Players'.LocalPlayer.Character local RootPart=Character.HumanoidRootPart local s=GetInstance("Sound",PC)s.SoundId="rbxassetid://418252437"s.Volume=2 if Character:FindFirstChild("cht")then Character.cht:Destroy()end local b=Instance.new("BillboardGui",Character)b.AlwaysOnTop=true b.Adornee=RootPart b.StudsOffset=Vector3.new(0,4.8,0)b.Name="cht" local snum=text:len()b.Size=UDim2.new(snum/1.7,0,2,0) local texts={} for i=1,snum do texts[i]=Instance.new("TextButton",b) texts[i].Size=UDim2.new(1/snum,0,1,0)texts[i].Name=text:sub(i,i)--texts[i].TextSize=30 texts[i].Text=text:sub(i,i)texts[i].Position=UDim2.new((i-1)/snum+math.random(-100,100)/100,0,math.random(-100,100)/100,0) texts[i].BackgroundTransparency=1 texts[i].TextColor3=Color3.new(1,1,1) texts[i].TextStrokeTransparency=1 texts[i].Font="Fantasy"texts[i].TextScaled=1 texts[i].TextTransparency=1 end local DoOpt=function(Set,Val,LerpB)for i=1,#texts do if texts[i].Parent and b.Parent then if LerpB~=nil then if typeof(texts[i][Set])=="UDim2"then texts[i][Set]=texts[i][Set]:lerp(Val,LerpB)else texts[i][Set]=lerp(texts[i][Set],Val,LerpB)end else texts[i][Set]=Val end end end end for i=1,#texts do if texts[i].Parent then spawn(function()for i2=0,1,.025 do texts[i].Position=texts[i].Position:lerp(UDim2.new((i-1)/#texts,0,.3,0),.15)sw() texts[i].TextTransparency=1-i2 texts[i].TextStrokeTransparency=1-(i2/2) end texts[i].Position=UDim2.new((i-1)/#texts,0,.3,0)texts[i].TextTransparency=0 texts[i].TextStrokeTransparency=.5 end) end --if texts[i].Text~=" "then s:Play()end sw(3) end sw(180) s:Destroy() for i=1,0,-.025 do DoOpt("TextTransparency",1-i)DoOpt("TextStrokeTransparency",.5+(1-i)/2) DoOpt("Position",UDim2.new(.5,0,.3,0),.05) sw() end b:Destroy() end) end PL.Chatted:connect(function(m)chatfunc(game:service'Chat':FilterStringAsync(m,PL,PL))end) function EfcGUI(ref,alwaysNOTtop,BGCol,Option) local b=Instance.new("BillboardGui",ref)b.Adornee=ref b.AlwaysOnTop=not alwaysNOTtop local t=Instance.new("TextLabel",b)t.Size=UDim2.new(1,0,1,0)t.Text=""t.BorderSizePixel=0 t.BackgroundColor3=BGCol or mcol return b,t end local function Sound(id,parent,vol,pit,extra) local so=GetInstance("Sound",parent or Effects)if extra~=nil then if extra.M=="Dist"then Instance.new("DistortionSoundEffect",so).Level=extra.Val end end so.SoundId="rbxassetid://"..tostring(id)if vol~=nil then so.Volume=vol else so.Volume=1 end if pit~=nil then so.Pitch=pit else so.Pitch=1 end so:Play()so.Ended:connect(function()so:Destroy()end) end function TriangleSpam(num,Pos,r,r2) for i=1,num do local Model=drawTriangle(Vector3.new(),Vector3.new(),Vector3.new(),Effects,{Transparency=1}) spawn(function()local fpos=typeof(Pos)=="CFrame"and Pos.p or Pos-- local r=1200 local r2=70 local add0=Vector3.new(math.random(-100,100)/r2,math.random(-100,100)/800,math.random(-100,100)/r2) local vec1=fpos local add1=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r) local vec2=fpos local add2=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r) local vec3=fpos local add3=Vector3.new(math.random(-100,100)/r,math.random(-100,100)/r,math.random(-100,100)/r) for i=0,1,.01 do add0=add0/Vector3.new(1.1,1,1.1) add0=add0+Vector3.new(0,.005,0) vec1,vec2,vec3=vec1+add1+add0,vec2+add2+add0,vec3+add3+add0 ReDrawTri(Model,vec1,vec2,vec3,{Transparency=i}) sw() end Model:Destroy() end) end end function LightningEffect(Pos,Seg,Size,Time,Col,Options)--Position {Vector3 Start,Vector3 End} , Segment , Size , Time , Color(or nil) local p1,p2=typeof(Pos[1])=="CFrame"and Pos[1].p or Pos[1],typeof(Pos[2])=="CFrame"and Pos[2].p or Pos[2] Options={Fade=Options.Fade or false,AutoSegment=Options.AutoSegment or false,Transparency=Options.Transparency or 0,LightningSiz=Options.LightningSiz or 1,Block=Options.Block or false,SizeFade=Options.SizeFade or 0} local mag=(p1-p2).Magnitude local col=Col or mcol local LightningSize=Options.LightningSiz local OldPos=CFrame.new(p1)local Step=mag/Seg local CF=CFrame.new(p1,p2) if Options.AutoSegment then Step=Seg end for i=1+Step,mag-Step,Step do local Pos=CF*CFrame.new(0,0,-i)*CFrame.new(math.random(-LightningSize*50,LightningSize*50)/50,math.random(-LightningSize*50,LightningSize*50)/50,math.random(-LightningSize*50,LightningSize*50)/50) local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon" pt.Size=Vector3.new()pt.CFrame=(CFrame.new(OldPos.p,Pos.p)*CFrame.new(0,0,-(Pos.p-OldPos.p).Magnitude/2))*CFrame.Angles(0,math.rad(90),0) pt.Anchored=1 pt.CanCollide=nil if Options.Fade then pt.Transparency=lerp(Options.Transparency,1,i/mag)else pt.Transparency=Options.Transparency end local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType=not Options.Block and"Cylinder"or "Brick"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*20 OldPos=Pos spawn(function()local tr=pt.Transparency for i=0,1,Time/100 do pt.Transparency=lerp(tr,1,i)sw()Mesh.Scale=Mesh.Scale-Vector3.new(0,Options.SizeFade,Options.SizeFade)end pt:Destroy()end) end local Pos=CF*CFrame.new(0,0,mag) local pt=Instance.new("Part",Effects)pt.Color=Col pt.Material="Neon" pt.Size=Vector3.new()pt.CFrame=(CFrame.new(OldPos.p,Pos.p)*CFrame.new(0,0,-(Pos.p-OldPos.p).Magnitude/2))*CFrame.Angles(0,math.rad(90),0) pt.Anchored=1 pt.CanCollide=nil if Options.Fade then pt.Transparency=1 else pt.Transparency=Options.Transparency end local Mesh=Instance.new("SpecialMesh",pt)Mesh.MeshType="Cylinder"Mesh.Scale=Vector3.new((Pos.p-OldPos.p).Magnitude,Size,Size)*20 spawn(function()local tr=pt.Transparency for i=0,1,Time/100 do pt.Transparency=lerp(tr,1,i)sw()Mesh.Scale=Mesh.Scale-Vector3.new(0,Options.SizeFade,Options.SizeFade)end pt:Destroy()end) end --Lightning Options (table) (n = default) : Fade=false (fading by range?) , AutoSegment=false , Transparency=0 , LightningSiz=1 , Block = false , SizeFade=0 --I've added table option to dodge INSANE OPTIONS like some my scripts (Destroyer)... that was terrible. local NormalAttackNumber=0 Holding={} Mouse.KeyDown:connect(function(k3y) Holding[k3y]=true if not Active then if k3y=="e"and GetCDown"Flawing Light"then DoCDown("Flawing Light",.5) for i=1,3 do local part=Instance.new("Part",Effects)part.Size=Vector3.new(1,1,1)part.Shape="Ball"ToMesh(part)part.Anchored=1 part.Material="Neon"part.Color=mcol part.CFrame=CFrame.new((RootPart.CFrame+Vector3.new(math.random(-50,50)/10,5+math.random(-50,50)/10,math.random(-50,50)/10)).p,Mouse.Hit.p) spawn(function()for i=1,100 do local h,p=RayForMovingObj(part,1) if h==nil then part.CFrame=part.CFrame*CFrame.new(0,0,-1) else break end sw() end Region3Find(12,part.CFrame,function(p,h)h.Health=nil GlitchParts(p,200,60,1)p:Destroy()end,1) local b,g=EfcGUI(part)part.Transparency=1 g.Rotation=45 for i=0,60 do b.Size=b.Size:lerp(UDim2.new(18,0,18,0),.1)sw()g.BackgroundTransparency=i/60 end part:Destroy()end) sw(6) end end if k3y=="r"and GetCDown"Infinite Bright"then Active=true walkspeed=8 chatfunc("Feel the Light...") Sound(255679384,PC,4,3.7)Sound(392838370,PC,2,1) for i=0,1,.02 do Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0), CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0), CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4), CFrame.new(-1.4,1.2,0)*CFrame.Angles(math.rad(180),0,-.1), CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1), CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1), },.4)sw() end spawn(function()local keepit=4 local num=0 while sw(keepit)and Active do if num<78 then num=num+1 else keepit=8 end Camera.CFrame=Camera.CFrame*CFrame.Angles(math.rad(math.random(-10,10)/20),math.rad(math.random(-10,10)/20),0) Sound(1145252750,PC,1,2) local CF=CFrame.new(LArm.CFrame.p,Mouse.Hit.p) local h,p=RayForMovingObj(CF,4000) LightningEffect({p,LArm.CFrame*CFrame.new(0,-1,0)},10,.4,10,Color3.new(1,1,.7),{LightningSiz=.5,SizeFade=1,Fade=true}) local ref=spawnref(p) local b,g=EfcGUI(ref) spawn(function()g.Rotation=math.random(360)for i=0,30 do b.Size=b.Size:lerp(UDim2.new(10,0,10,0),.1)sw()g.BackgroundTransparency=i/30 end ref:Destroy()end) Region3Find(7,p,function(p,h)h.Health=nil p:Destroy()for i=1,2 do local efc=Instance.new("Part")efc.Size=p.Size efc.Position=p.CFrame.p efc.Parent=Effects efc.Anchored=1 efc.CanCollide=nil efc.Material="Neon"efc.Color=mcol local away=Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))/500 spawn(function()for i=0,1,.01 do efc.Transparency=i efc.CFrame=efc.CFrame+away sw()end efc:Destroy()end)end end,1) end end)local num=0 while sw()and(Holding.r or num<45)do if num<46 then num=num+1 end Anim({CFrame.new(0,1,0)*CFrame.Angles(0,-1,0), CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0), CFrame.new(.5,.3,-.5)*CFrame.Angles(.3,3.1,1.4), CFrame.new(-1.8,.3,-.9)*CFrame.Angles(0,-.8,-1.6), CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1), CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1), },.6)sw() end DoCDown("Infinite Bright",1) Active=nil end if k3y=="t"and GetCDown"Blink"then local Pos=Mouse.Hit local OldCF=RootPart.CFrame if Mouse.Target then Sound(289556450,Effects,5)Sound(1012554393,Effects,1) RootPart.CFrame=Pos+Vector3.new(0,2,0)local CF=RootPart.CFrame local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(30,0,30,0) b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0) spawn(function()for i=0,1,.025 do d.Rotation=lerp(d.Rotation,180,.15)sw()end for i=0,1,.05 do d.ImageTransparency=i sw()end ref:Destroy()end) local ref=spawnref(OldCF)local b=Instance.new("BillboardGui",ref)b.Size=UDim2.new(10,0,10,0) b.AlwaysOnTop=1 local d=Instance.new("ImageLabel",b)d.BackgroundTransparency=1 d.Image="rbxassetid://328647556"d.Size=UDim2.new(1,0,1,0) spawn(function()for i=0,1,.025 do d.Rotation=lerp(d.Rotation,-180,.15)sw()end for i=0,1,.05 do d.ImageTransparency=i sw()end ref:Destroy()end) spawn(function() local Model=DoSquare(CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),Effects,{Transparency=1}) for i=0,1,.05 do ReDrawSqu(Model,CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),CF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),OldCF*CFrame.new(math.random(-100,100)/50,math.random(-100,100)/50,math.random(-100,100)/50),{Transparency=i}) sw()end Model:Destroy()end)DoCDown("Blink",1)TriangleSpam(20,RootPart.CFrame.p,800,40) end end if k3y=="z"and GetCDown"Judgement Prism"then Active=true walkspeed=8 for i=0,1,.05 do Anim({CFrame.new(0,1,0)*CFrame.Angles(0,0,0), CFrame.new(0,1.5,0)*CFrame.Angles(0,0,0), CFrame.new(1.3,1.4,0)*CFrame.Angles(math.rad(180),0,.1), CFrame.new(-1.3,1.4,0)*CFrame.Angles(math.rad(180),0,-.1), CFrame.new(.5,-2,0)*CFrame.Angles(0,0,.1), CFrame.new(-.5,-2,0)*CFrame.Angles(0,0,-.1), },.5)sw() end Active=false DoCDown("Judgement Prism",12) local Pos=CFrame.new(RootPart.Position) local PrismTop=CFrame.new(0,12,0)local PrismSide=CFrame.new(9,0,0)--just two number is easier I think --Animate Prism local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=1}) for i=1,.8,-.0025 do Pos=Pos*CFrame.new(0,.1,0)*CFrame.Angles(0,.05,0) PrismTop=PrismTop:lerp(CFrame.new(0,9,0),.1)PrismSide=PrismSide:lerp(CFrame.new(6,0,0),.1) ReDrawPrism(m,Pos,PrismTop,PrismSide,Effects,{Transparency=i}) sw() end m:Destroy() local sound=GetInstance("Sound",PC)sound.SoundId="rbxassetid://255679384"sound.Volume=5 sound:Play() while 1 and(sound.Parent~=nil and sound.Playing and sound.Parent.Parent~=nil )do Pos=Pos*CFrame.Angles(0,.05,0) local m=DoPrism(Pos,PrismTop,PrismSide,Effects,{Transparency=.8}) sw() m:Destroy() end Sound(878000314,Effects,2.5)LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,3,1,mcol,{SizeFade=.5,Fade=true,LightningSiz=3}) TriangleSpam(40,Pos,1200,70) sw(60) for i=1,10 do local Pos=Mouse.Hit LightningEffect({Pos,Pos+Vector3.new(0,300,0)},60,1,5,mcol,{SizeFade=.5,Fade=true,LightningSiz=5}) TriangleSpam(4,Pos,1200,120)Sound(480357531,Effects,2)Sound(1145252750,Effects,2) for i=1,10 do local pt=Instance.new("Part",Effects)pt.Color=mcol pt.Material="Neon" pt.Anchored=1 pt.CanCollide=nil pt.Size=Vector3.new()local m=ToMesh(pt) local CF=Pos*rc()pt.CFrame=CF local add=math.random(5,100)/100 spawn(function() for i=1,0,-.01 do m.Scale=Vector3.new(i,i,i)*20 pt.CFrame=pt.CFrame+Vector3.new(0,add,0)sw()end pt:Destroy() end) end Region3Find(17,Pos,function(p,h) if h.Parent then for i,p in pairs(h.Parent:GetDescendants())do if p:IsA"BasePart"then local part=Instance.new("Part",Effects)part.Material="Neon"part.Size=p.Size part.Color=mcol part.Anchored=1 part.CanCollide=nil part.CFrame=CFrame.new(p.Position) local add=Vector3.new(math.random(-100,100)/200,math.random(-100,100)/200,math.random(-100,100)/200) spawn(function()for i=0,1,.01 do part.CFrame=part.CFrame+add part.Transparency=i sw()end part:Destroy()end) end end h:Destroy()p.Parent:Destroy() end end,1) --[[spawn(function()local ref=spawnref(Pos) local b,g=EfcGUI(ref)ref.Transparency=1 g.Rotation=45 for i=0,60 do b.Size=b.Size:lerp(UDim2.new(18,0,18,0),.1)sw()g.BackgroundTransparency=i/60 end ref:Destroy()end)]] sw(20) end end end if k3y=="m"then MusicEnabled=not MusicEnabled end end) Mouse.KeyUp:connect(function(k3y) if Holding[k3y]then Holding[k3y]=nil end end) if 1 then Mouse.Button1Down:connect(function() if not Active then end end) end print"Load finished."print"Hello world!" warn'Credits : her boy friend:koonguy98755 , Do not erase this.' warn'For my love roblox' end) TextButton_4.Parent = Frame TextButton_4.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_4.Position = UDim2.new(0, 347, 0, 62) TextButton_4.Size = UDim2.new(0, 92, 0, 50) TextButton_4.Font = Enum.Font.Code TextButton_4.Text = "Starman V4" TextButton_4.TextSize = 14 TextButton_4.MouseButton1Down:connect(function() plr = game.Players.LocalPlayer char = plr.Character char.Archivable = true m = char wait(.4) char.Head.face:Destroy() for i,v in pairs(char:GetChildren()) do if v.ClassName == "Accessory" then v:Destroy() end end char.Parent = workspace.Camera for i,v in pairs(char:GetChildren()) do if v.ClassName == "Part" then v.Transparency = 1 end end model = Instance.new("Model",workspace) moozik = Instance.new("Sound",model) moozik.Volume = 5 moozik.SoundId = "rbxassetid://198584962" moozik.Name = "Music" moozik.Looped = true moozik:Play() moozik.TimePosition = 0.2 base = Instance.new("ScreenGui",plr.PlayerGui) bbg = Instance.new("BillboardGui",char) bbg.Size = UDim2.new(0,200,0,50) bbg.StudsOffset = Vector3.new(0,3,0) bbgTl = Instance.new("TextLabel",bbg) bbgTl.BackgroundTransparency = 1 bbgTl.Size = UDim2.new(10,0,1,0) bbgTl.Position = UDim2.new(-4.5,0,0,0) bbgTl.Font = "Arcade" bbgTl.Text = "" bbgTl.TextSize = 25 bbgTl.TextStrokeColor3 = Color3.new(1,1,1) bbgTl.TextColor3 = BrickColor.new("Lime green").Color bbgTl.TextStrokeTransparency = 0 bbgTl.TextWrapped = true plr.Chatted:connect(function(msg) bbgTl.Text = msg wait(6) if bbgTl.Text == msg then bbgTl.Text = " " end end) local hitbox = Instance.new("Part",model) hitbox.Size = char.Torso.Size hitbox.Transparency = 1 hitbox.CanCollide = false local hweld = Instance.new("Weld",hitbox) hweld.Part0 = hitbox hweld.Part1 = char.Torso hweld.C0 = CFrame.new(0, 0, 1.02879095, 1, 0, 0, 0, 1, 0, 0, 0, 1) touchie = hitbox.Touched:connect(function(part) local hum = part.Parent:FindFirstChildOfClass("Humanoid") if hum then hum.Health = 0 end end) while true do wait(0.01) local cp = char:Clone() cp:MakeJoints() if model.Parent == nil then model.Parent = workspace end for i,v in pairs(cp:GetChildren()) do if v.ClassName == "Part" then v.CanCollide = false v.Anchored = true v.Material = "SmoothPlastic" v.Transparency = 0.1 v.BrickColor = BrickColor.Random() if v.Name == "Head" then elseif v.Name == "Torso" then v.roblox:Destroy() elseif v.Name == "HumanoidRootPart" then v:Destroy() end else v:Remove() end end cp.Parent = workspace game.Debris:AddItem(cp,.05) end end) TextButton_5.Parent = Frame TextButton_5.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_5.Position = UDim2.new(0, 22, 0, 125) TextButton_5.Size = UDim2.new(0, 86, 0, 29) TextButton_5.Font = Enum.Font.Code TextButton_5.Text = "CrackedV4" TextButton_5.TextSize = 14 TextButton_5.MouseButton1Down:connect(function() local plr = game:GetService("Players").LocalPlayer local deb = false while not plr.Character do wait() end wait(1) local tstab = {} local tsstab = {} local ignlist = {} local stab = {} function plrIgnore(char) for i,v in pairs(char:GetChildren()) do if #v:GetChildren() >= 1 then plrIgnore(v) end table.insert(ignlist,v) end end function timeStop(target) for i,v in pairs(target:GetChildren()) do if #v:GetChildren() >= 1 then timeStop(v) end local isinign = false for i,b in pairs(ignlist) do if b == v then isinign = true end end if isinign == false then if v:IsA("Part") or v:IsA("WedgePart") or v:IsA("UnionOperation") then if v.Anchored == false then table.insert(tstab,v) v.Anchored = true end end if v:IsA("Sound") then local isintab = false for i,b in pairs(stab) do if v == b[1] then isintab = true end end if isintab == false then table.insert(stab,{v,v.Pitch}) end end --[[if v:IsA("Script") or v:IsA("LocalScript") then if v.Disabled == false then table.insert(tsstab,v) v.Disabled = true end end]] end end local isinign = false for i,b in pairs(ignlist) do if b == target then isinign = true end end if isinign == false then if target:IsA("Part") or target:IsA("WedgePart") or target:IsA("UnionOperation") then if target.Anchored == false then table.insert(tstab,target) target.Anchored = true end end if target:IsA("Sound") then table.insert(stab,{target,target.Pitch}) end end end plr:GetMouse().KeyDown:connect(function(key) if key == "r" then if deb == true then deb = false else print("R!") deb = true s = Instance.new("Sound",game:GetService("Workspace")) s.SoundId = "rbxassetid://274698941" s.Volume = 5 s:Play() wait(2) print("ZA WARUDO!") local cc = Instance.new("ColorCorrectionEffect",game:GetService("Lighting")) spawn(function() plr.Character.Humanoid.WalkSpeed = 0 plr.Character.Humanoid.JumpPower = 0 local p = Instance.new("Part",plr.Character) p.Transparency = 0.5 p.BrickColor = BrickColor.new("Institutional white") p.Size = Vector3.new(0.2,0.2,0.2) p.Anchored = true p.CanCollide = false p.CFrame = plr.Character.Torso.CFrame local m = Instance.new("SpecialMesh",p) m.MeshType = Enum.MeshType.Sphere local r = 255 local g = 255 local b = 255 local contrast = 0 for i=1,50 do m.Scale = m.Scale + Vector3.new(50,50,50) p.Transparency = p.Transparency + 0.5/50 r = r - ((255-42)/50) g = g - ((255-0)/50) b = b - ((255-255)/50) contrast = contrast - 2/50 --cc.TintColor = Color3.fromRGB(r,g,b) cc.Contrast = contrast for i,v in pairs(stab) do v[1].Pitch = v[1].Pitch - (v[2]/50) end wait() end p:Destroy() plr.Character.Humanoid.WalkSpeed = 20 plr.Character.Humanoid.JumpPower = 69 end) local sHp = plr.Character.Humanoid.Health local hplock = plr.Character.Humanoid.HealthChanged:connect(function() plr.Character.Humanoid.Health = sHp end) local aNew = game:GetService("Workspace").ChildAdded:connect(function(c) timeStop(c) end) for i,v in pairs(ignlist) do table.remove(ignlist,1) end plrIgnore(plr.Character) timeStop(game:GetService("Workspace")) while deb ~= false do wait() end --spawn(function() local r = 42 local g = 0 local b = 255 local contrast = -2 for i=1,50 do r = r + ((255-42)/50) g = g + ((255-0)/50) b = b + ((255-255)/50) contrast = contrast + 2/50 --cc.TintColor = Color3.fromRGB(r,g,b) cc.Contrast = contrast for i,v in pairs(stab) do v[1].Pitch = v[1].Pitch + (v[2]/50) end wait() end cc:Destroy() --end) for i,v in pairs(tstab) do v.Anchored = false end for i,v in pairs(tstab) do table.remove(tstab,1) end --table.foreach(stab,print) for i,v in pairs(stab) do table.remove(stab,1) end --print("---------") --table.foreach(stab,print) --[[for i,v in pairs(tsstab) do v.Disabled = false end for i,v in pairs(tsstab) do table.remove(tsstab,1) end]] hplock:Disconnect() aNew:Disconnect() deb = false end end end) local player = game:GetService('Players').LocalPlayer local rightclone = Instance.new('Motor6D') rightclone.Name = "Right Shoulder" rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) local leftclone = Instance.new('Motor6D') leftclone.Name = "Left Shoulder" leftclone.C0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) leftclone.C1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) local leftlegclone = Instance.new('Motor6D') leftlegclone.Name = "Left Hip" leftlegclone.C0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) leftlegclone.C1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) local rightlegclone = Instance.new('Motor6D') rightlegclone.Name = "Right Hip" rightlegclone.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) rightlegclone.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) local torsoclone = Instance.new('Motor6D') torsoclone.Name = "RootJoint" torsoclone.C0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) torsoclone.C1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) local mouse = player:GetMouse() local rag1 = false local rag2 = false local firsttime = true local firsttime2 = true local firsttime3 = true local firsttime4 = true local firsttime5 = true local childlock = true local math1 = math.random(1,5) math1 = math1+(math.random(0,9)/10) local math2 = math.random(1,15) math2 = math2+(math.random(0,9)/10) local math3 = math.random(1,10) math3 = math3+(math.random(0,9)/10) local math4 = math.random(5,100) math4 = math4+(math.random(0,9)/10) local answer = (math4+(math1*math3))/(math1*math2) answer = math.floor((answer*10)+0.5) answer = answer/10 print([[asd lol get rekt asd asd ecks dee lol no anwser.]]) local rekt = {} do local filteredMessages = { ['___'] = '___' }; local onPropertyChanged = function (obj) if (obj:isDescendantOf (workspace)) then local objText = obj.Text; if (objText ~= '___' and objText:find '(%S)') then if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then obj.Text = filteredMessages [objText]; elseif (not filteredMessages [objText]) then obj.Text = '___'; local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); filteredMessages [objText] = filtered; filteredMessages [filtered] = filtered; obj.Text = filtered; end; end; end; end; local newInstance = Instance.new; Instance = { new = function (class, parent) local obj = newInstance (class, parent); if (pcall (function()return obj.Text;end)) then obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); end; return obj; end; }; end; plr = game.Players.LocalPlayer base = Instance.new("ScreenGui",plr.PlayerGui) bbg = Instance.new("BillboardGui",plr.Character.Head) bbg.Size = UDim2.new(0,200,0,50) bbg.StudsOffset = Vector3.new(0,3,0) bbgTl = Instance.new("TextLabel",bbg) bbgTl.BackgroundTransparency = 1 bbgTl.Size = UDim2.new(10,0,1,0) bbgTl.Position = UDim2.new(-4.5,0,0,0) bbgTl.Font = "Arial" bbgTl.Text = " " bbgTl.TextSize = 24 bbgTl.TextStrokeColor3 = Color3.new(1,1,1) bbgTl.TextColor3 = Color3.new(0,0,0) bbgTl.TextStrokeTransparency = 0 bbgTl.TextWrapped = true plr.Chatted:connect(function(msg) bbgTl.Text = msg wait(5) if bbgTl.Text == msg then bbgTl.Text = " " end end) ff = Instance.new("ForceField", game.Players.LocalPlayer.Character) ff.Visible = false p = game:GetService('Players').LocalPlayer if p.Character then if p.Character:FindFirstChild('Humanoid') then p.Character.Humanoid.MaxHealth = math.huge end end -- Objects local MainGUI = Instance.new("ScreenGui") local Customize = Instance.new("TextButton") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local Frame_2 = Instance.new("Frame") local Frame_3 = Instance.new("Frame") local ImageLabel = Instance.new("ImageLabel") local R = Instance.new("TextBox") local G = Instance.new("TextBox") local B = Instance.new("TextBox") local TextLabel_2 = Instance.new("TextLabel") local TextLabel_3 = Instance.new("TextLabel") local TextLabel_4 = Instance.new("TextLabel") local Slider = Instance.new("Frame") local Slidee = Instance.new("ImageButton") local ChildLock = Instance.new("Frame") local TextLabel_5 = Instance.new("TextLabel") local mathz = Instance.new("TextLabel") local TextBox = Instance.new("TextBox") local Black = Instance.new('Frame') local fps = Instance.new('TextLabel') -- Properties MainGUI.Name = "MainGUI" MainGUI.ResetOnSpawn = true pcall(function() MainGUI.Parent = player.PlayerGui end) pcall(function() MainGUI.Parent = game.CoreGui game.CoreGui.RobloxGui.Backpack.Hotbar.AnchorPoint = Vector2.new(0.5,0.5) game.CoreGui.RobloxGui.Backpack.Hotbar.Position = UDim2.new(0.5,0,0.85,0) end) Customize.Name = "Customize" Customize.Parent = MainGUI Customize.BackgroundColor3 = Color3.new(0, 0.776471, 0.282353) Customize.BorderSizePixel = 0 Customize.Position = UDim2.new(0.15, 0, 0.9, 0) Customize.Size = UDim2.new(0.699999988, 0, 0.100000001, 0) Customize.Font = Enum.Font.SourceSans Customize.FontSize = Enum.FontSize.Size14 Customize.Text = "Customize V4" Customize.TextColor3 = Color3.new(1, 1, 1) Customize.TextScaled = true Customize.TextSize = 14 Customize.TextWrapped = true Frame.Parent = Customize Frame.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706) Frame.BorderSizePixel = 0 Frame.Position = UDim2.new(0, 0, 1, 0) Frame.Size = UDim2.new(1, 0, 6.5, 0) TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel.BackgroundTransparency = 1 TextLabel.Position = UDim2.new(0, 0, 0.100000001, 0) TextLabel.Size = UDim2.new(0.300000012, 0, 0.200000003, 0) TextLabel.Font = Enum.Font.SourceSansLight TextLabel.FontSize = Enum.FontSize.Size14 TextLabel.Text = "Blood Color: [255, 255, 255]" TextLabel.TextColor3 = Color3.new(1, 1, 1) TextLabel.TextScaled = true TextLabel.TextSize = 14 TextLabel.TextWrapped = true TextLabel.TextXAlignment = Enum.TextXAlignment.Right Frame_2.Parent = TextLabel Frame_2.BackgroundColor3 = Color3.new(0.458824, 0, 0) Frame_2.BorderSizePixel = 0 Frame_2.Position = UDim2.new(1.04999995, 0, 0, 0) Frame_2.Size = UDim2.new(1, 0, 1, 0) Frame_2.SizeConstraint = Enum.SizeConstraint.RelativeYY Frame_3.Parent = Frame Frame_3.BackgroundColor3 = Color3.new(1, 1, 1) Frame_3.BackgroundTransparency = 1 Frame_3.BorderSizePixel = 0 Frame_3.Position = UDim2.new(0.0500000007, 0, 0.449999988, 0) Frame_3.Size = UDim2.new(0.5, 0, 0.5, 0) Frame_3.SizeConstraint = Enum.SizeConstraint.RelativeYY ImageLabel.Parent = Frame_3 ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1) ImageLabel.BackgroundTransparency = 1 ImageLabel.Size = UDim2.new(1, 0, 1, 0) ImageLabel.Image = "rbxassetid://328298876" R.Name = "R" R.Parent = Frame_3 R.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) R.BorderSizePixel = 0 R.Position = UDim2.new(1.39999998, 0, 0, 0) R.Size = UDim2.new(0.75, 0, 0.300000012, 0) R.Font = Enum.Font.SourceSans R.FontSize = Enum.FontSize.Size14 R.Text = "Input" R.TextColor3 = Color3.new(1, 1, 1) R.TextScaled = true R.TextSize = 14 R.TextWrapped = true R.TextXAlignment = Enum.TextXAlignment.Left G.Name = "G" G.Parent = Frame_3 G.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) G.BorderSizePixel = 0 G.Position = UDim2.new(1.39999998, 0, 0.349999994, 0) G.Size = UDim2.new(0.75, 0, 0.300000012, 0) G.Font = Enum.Font.SourceSans G.FontSize = Enum.FontSize.Size14 G.Text = "Input" G.TextColor3 = Color3.new(1, 1, 1) G.TextScaled = true G.TextSize = 14 G.TextWrapped = true G.TextXAlignment = Enum.TextXAlignment.Left B.Name = "B" B.Parent = Frame_3 B.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) B.BorderSizePixel = 0 B.Position = UDim2.new(1.39999998, 0, 0.699999988, 0) B.Size = UDim2.new(0.75, 0, 0.300000012, 0) B.Font = Enum.Font.SourceSans B.FontSize = Enum.FontSize.Size14 B.Text = "Input" B.TextColor3 = Color3.new(1, 1, 1) B.TextScaled = true B.TextSize = 14 B.TextWrapped = true B.TextXAlignment = Enum.TextXAlignment.Left TextLabel_2.Parent = Frame_3 TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel_2.BackgroundTransparency = 1 TextLabel_2.Position = UDim2.new(1.04999995, 0, 0, 0) TextLabel_2.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) TextLabel_2.Font = Enum.Font.SourceSansLight TextLabel_2.FontSize = Enum.FontSize.Size14 TextLabel_2.Text = "R" TextLabel_2.TextColor3 = Color3.new(1, 1, 1) TextLabel_2.TextScaled = true TextLabel_2.TextSize = 14 TextLabel_2.TextWrapped = true TextLabel_3.Parent = Frame_3 TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel_3.BackgroundTransparency = 1 TextLabel_3.Position = UDim2.new(1.04999995, 0, 0.349999994, 0) TextLabel_3.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) TextLabel_3.Font = Enum.Font.SourceSansLight TextLabel_3.FontSize = Enum.FontSize.Size14 TextLabel_3.Text = "G" TextLabel_3.TextColor3 = Color3.new(1, 1, 1) TextLabel_3.TextScaled = true TextLabel_3.TextSize = 14 TextLabel_3.TextWrapped = true TextLabel_4.Parent = Frame_3 TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel_4.BackgroundTransparency = 1 TextLabel_4.Position = UDim2.new(1.04999995, 0, 0.699999988, 0) TextLabel_4.Size = UDim2.new(0.300000012, 0, 0.300000012, 0) TextLabel_4.Font = Enum.Font.SourceSansLight TextLabel_4.FontSize = Enum.FontSize.Size14 TextLabel_4.Text = "B" TextLabel_4.TextColor3 = Color3.new(1, 1, 1) TextLabel_4.TextScaled = true TextLabel_4.TextSize = 14 TextLabel_4.TextWrapped = true Slider.Name = "Slider" Slider.Parent = Frame Slider.BackgroundColor3 = Color3.new(0.121569, 0.121569, 0.121569) Slider.Position = UDim2.new(0.0500000007, 0, 0.375, 0) Slider.Size = UDim2.new(0.230000004, 0, 0.00999999978, 0) Slidee.Name = "Slidee" Slidee.Parent = Slider Slidee.AnchorPoint = Vector2.new(0.5, 0.5) Slidee.BackgroundColor3 = Color3.new(0.0941177, 0.0941177, 0.0941177) Slidee.BorderSizePixel = 0 Slidee.Size = UDim2.new(0.0299999993, 0, 7, 0) Slidee.ImageTransparency = 1 ChildLock.Name = "ChildLock" ChildLock.Parent = Frame ChildLock.Active = true ChildLock.BackgroundColor3 = Color3.new(0, 0, 0) ChildLock.BackgroundTransparency = 0.60000002384186 ChildLock.BorderSizePixel = 0 ChildLock.Position = UDim2.new(0.600000024, 0, 0, 0) ChildLock.Size = UDim2.new(0.400000006, 0, 1, 0) ChildLock.ZIndex = 2 TextLabel_5.Parent = ChildLock TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1) TextLabel_5.BackgroundTransparency = 1 TextLabel_5.BorderSizePixel = 0 TextLabel_5.Position = UDim2.new(0.125, 0, 0.150000006, 0) TextLabel_5.Size = UDim2.new(0.75, 0, 0.200000003, 0) TextLabel_5.ZIndex = 3 TextLabel_5.Font = Enum.Font.SourceSans TextLabel_5.FontSize = Enum.FontSize.Size14 TextLabel_5.Text = "do this math to disable child lock" TextLabel_5.TextColor3 = Color3.new(1, 1, 1) TextLabel_5.TextScaled = true TextLabel_5.TextSize = 14 TextLabel_5.TextWrapped = true mathz.Name = "mathz" mathz.Parent = ChildLock mathz.BackgroundColor3 = Color3.new(1, 1, 1) mathz.BackgroundTransparency = 1 mathz.Position = UDim2.new(0.125, 0, 0.449999988, 0) mathz.Size = UDim2.new(0.75, 0, 0.200000003, 0) mathz.ZIndex = 3 mathz.Font = Enum.Font.SourceSans mathz.FontSize = Enum.FontSize.Size14 mathz.Text = math1.."("..math2.."r - "..math3..") = "..math4 mathz.TextColor3 = Color3.new(1, 1, 1) mathz.TextScaled = true mathz.TextSize = 14 mathz.TextWrapped = true fps.Name = "fps" fps.Parent = Frame fps.BackgroundColor3 = Color3.new(1, 1, 1) fps.BackgroundTransparency = 1 fps.Size = UDim2.new(0.75, 0, 0.05, 0) fps.ZIndex = 3 fps.Font = Enum.Font.SourceSansLight fps.FontSize = Enum.FontSize.Size14 fps.Text = "FPS: N/A" fps.TextColor3 = Color3.new(1, 1, 1) fps.TextScaled = true fps.TextSize = 14 fps.TextWrapped = true fps.TextXAlignment = Enum.TextXAlignment.Left TextBox.Parent = ChildLock TextBox.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255) TextBox.BorderSizePixel = 0 TextBox.Position = UDim2.new(0.200000003, 0, 0.699999988, 0) TextBox.Size = UDim2.new(0.600000024, 0, 0.200000003, 0) TextBox.ZIndex = 3 TextBox.Font = Enum.Font.SourceSans TextBox.FontSize = Enum.FontSize.Size14 TextBox.Text = "Answer (rounded to nearest tenth)" TextBox.TextColor3 = Color3.new(1, 1, 1) TextBox.TextScaled = true TextBox.TextSize = 14 TextBox.TextWrapped = true TextBox.TextXAlignment = Enum.TextXAlignment.Left Black.Size = UDim2.new(1,0,1,0) Black.BackgroundTransparency = 1 Black.BorderSizePixel = 0 Black.BackgroundColor3 = Color3.new(0,0,0) Black.Parent = Frame_3 TextBox.FocusLost:connect(function() if TextBox.Text == tostring(answer) or TextBox.Text == "r="..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == "r = "..tostring(answer) or TextBox.Text == "r= "..tostring(answer) or TextBox.Text == tostring(answer).."=r" or TextBox.Text == tostring(answer).." =r" or TextBox.Text == tostring(answer).."= r" or TextBox.Text == tostring(answer).." = r" then ChildLock:Destroy() childlock = false notify("NOOOOOOOOOOOOOOOOOOOOOOOOO.",true) end end) local mousedown = false mouse.Button1Down:connect(function() mousedown = true end) mouse.Button1Up:connect(function() mousedown = false slidee = false end) Slidee.MouseButton1Down:connect(function() slidee = true end) Slidee.MouseButton1Up:connect(function() slidee = false end) mouse.Move:connect(function() if mousedown then if mouse.X >= ImageLabel.AbsolutePosition.X and mouse.X <= ImageLabel.AbsolutePosition.X+ ImageLabel.AbsoluteSize.X and mouse.Y >= ImageLabel.AbsolutePosition.Y and mouse.Y <= ImageLabel.AbsolutePosition.Y+ ImageLabel.AbsoluteSize.Y then local newX = ImageLabel.AbsoluteSize.X-(mouse.X-ImageLabel.AbsolutePosition.X) local newY = ImageLabel.AbsoluteSize.Y-(mouse.Y-ImageLabel.AbsolutePosition.Y) local newcolor = Color3.fromHSV(newX/ImageLabel.AbsoluteSize.X,newY/ImageLabel.AbsoluteSize.Y,Black.Transparency) Frame_2.BackgroundColor3 = newcolor TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" end end if slidee then local ree = mouse.X if ree < Slider.AbsolutePosition.X then ree = Slider.AbsolutePosition.X elseif ree > Slider.AbsolutePosition.X+Slider.AbsoluteSize.X then ree = Slider.AbsolutePosition.X+Slider.AbsoluteSize.X end Slidee.Position = UDim2.new(0,ree-Slider.AbsolutePosition.X,0,0) Black.Transparency = 1-(Slidee.Position.X.Offset/Slider.AbsoluteSize.X) end end) R.FocusLost:connect(function() if R.Text ~= "Input" then if tonumber(R.Text) then if tonumber(R.Text) > 255 then R.Text = "255" end local newcolor = Color3.new(tonumber(R.Text/255),Frame_2.BackgroundColor3.g,Frame_2.BackgroundColor3.b) Frame_2.BackgroundColor3 = newcolor TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" R.Text = "Input" end end end) G.FocusLost:connect(function() if G.Text ~= "Input" then if tonumber(G.Text) then if tonumber(G.Text) > 255 then G.Text = "255" end local newcolor = Color3.new(Frame_2.BackgroundColor3.r,tonumber(G.Text/255),Frame_2.BackgroundColor3.b) Frame_2.BackgroundColor3 = newcolor TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" G.Text = "Input" end end end) B.FocusLost:connect(function() if B.Text ~= "Input" then if tonumber(B.Text) then if tonumber(B.Text) > 255 then B.Text = "255" end local newcolor = Color3.new(Frame_2.BackgroundColor3.r,Frame_2.BackgroundColor3.g,tonumber(B.Text/255)) Frame_2.BackgroundColor3 = newcolor TextLabel.Text = "Blood Color: ["..math.floor(255*newcolor.r)..", "..math.floor(255*newcolor.g)..", "..math.floor(255*newcolor.b).."]" B.Text = "Input" end end end) local open = false local opening = false Customize.MouseButton1Click:connect(function() if opening == false then if open == false then open = true opening = true Customize:TweenPosition(UDim2.new(0.15, 0, 0.1, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) wait(1) opening = false else open = false opening = true Customize:TweenPosition(UDim2.new(0.15, 0, 0.9, 0),Enum.EasingDirection.Out,Enum.EasingStyle.Quint,1) wait(1) opening = false end end end) Frame_2.BackgroundColor3 = Color3.fromRGB(117,0,0) function removewelds(part) for i,v in pairs(part:GetChildren()) do if v:IsA('Weld') then v:Destroy() end end end function notify(msg,remove) local coru= coroutine.wrap(function() for i,v in pairs(MainGUI:GetChildren()) do if v:IsA('TextLabel') then v:Destroy() end end if msg then local TextLabel = Instance.new("TextLabel") local Frame = Instance.new("Frame") -- Properties TextLabel.Parent = MainGUI TextLabel.BackgroundColor3 = Color3.new(0.227451, 0.227451, 0.227451) TextLabel.BorderSizePixel = 0 TextLabel.Position = UDim2.new(0.25, 0, 0.05, -10) TextLabel.Size = UDim2.new(0.5, 0, 0.1, 0) TextLabel.Font = Enum.Font.SourceSans TextLabel.FontSize = Enum.FontSize.Size60 TextLabel.TextColor3 = Color3.new(1, 1, 1) TextLabel.TextSize = 50 TextLabel.Transparency = 1 TextLabel.TextScaled = true TextLabel.TextYAlignment = Enum.TextYAlignment.Top TextLabel.Text = "" TextLabel.TextXAlignment = Enum.TextXAlignment.Left Frame.Parent = TextLabel Frame.BackgroundColor3 = Color3.new(0.192157, 0.192157, 0.192157) Frame.BorderSizePixel = 0 Frame.Transparency = 1 Frame.Position = UDim2.new(0, 0, 1,0) Frame.Size = UDim2.new(1, 0, 0, 5) for i=1,10 do TextLabel.Transparency = TextLabel.Transparency-0.1 TextLabel.Position = TextLabel.Position+UDim2.new(0,0,0,1) Frame.Transparency = Frame.Transparency-0.1 wait() end for i=1,#msg do TextLabel.Text = string.sub(msg,1,i) wait() end wait(1) if remove ~= true then for i=1,10 do TextLabel.Transparency = TextLabel.Transparency+0.1 TextLabel.Position = TextLabel.Position-UDim2.new(0,0,0,1) Frame.Transparency = Frame.Transparency+0.1 wait() end TextLabel:Destroy() end end end) coru() end if workspace.FilteringEnabled == false then if workspace:PGSIsEnabled() then notify('Press Z to equip. Created by mustardfoot and Tollonis. Not By InfiniteOnewithdank, ya?',true) else notify('(this game is really old or something and has terrible physics so a lot of things wont work sorry) Press Z to equip. Created by mustardfoot and Tollonis.',true) end else notify('LOL this game has filtering enabled so it literally wont work here') end local handProperties = { {"LimitsEnabled", true}; {"UpperAngle",0}; {"LowerAngle",0}; } local shinProperties = { {"LimitsEnabled", true}; {"UpperAngle", 0}; {"LowerAngle", -75}; } local footProperties = { {"LimitsEnabled", true}; {"UpperAngle", 15}; {"LowerAngle", -45}; } function bleed(frick,OwO) while frick.Parent ~= nil and frick.Parent.Parent ~= nil do local reeee = coroutine.wrap(function() local thing = Instance.new('Part',workspace) thing.Size = Vector3.new(0.2,0.2,0.2) thing.CFrame = frick.CFrame thing.Transparency = 1 thing.BrickColor = BrickColor.new(Frame_2.BackgroundColor3) thing.Material = Enum.Material.SmoothPlastic thing.Name = "Blood" thing.CanCollide =false thing:BreakJoints() local rawrxd = Instance.new('BodyForce',thing) rawrxd.Force = frick.CFrame.upVector*(math.random()*2)+Vector3.new(math.random(-5, 5)/10,1.5,0) local coru = coroutine.wrap(function() wait(0.01) rawrxd:Destroy() end) coru() local ree = Instance.new('ParticleEmitter',thing) if OwO ~= true then ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Frame_2.BackgroundColor3),ColorSequenceKeypoint.new(1,Frame_2.BackgroundColor3)}) else ree.Color = ColorSequence.new({ColorSequenceKeypoint.new(0,Color3.new(1,1,1)),ColorSequenceKeypoint.new(1,Color3.new(1,1,1))}) end ree.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.1),NumberSequenceKeypoint.new(1,0.1)}) ree.Texture = 'rbxassetid://867743272' ree.Lifetime = NumberRange.new(0.4) ree.Rate = 50 ree.LockedToPart = true ree.Speed = NumberRange.new(0, 2) thing.Touched:connect(function(tou) if tou.Parent and tou.Parent:IsA('Tool') == false and tou.Parent.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Parent:FindFirstChildOfClass('Humanoid') == nil and tou.Name ~= "Blood" and tou.Parent.Name ~= "Projectile" and tou.Parent.Name ~= "big ass knife" and tou.Parent ~= player.Character and tou.Parent.ClassName ~= "Accessory" and tou.Parent.Name ~= "bitch ass knife" and tou.Parent.Name ~= 'handle' and tou.Name ~= "blade" and tou.Name ~= 'handle' and tou.Name ~= "Projectile" and tou.Parent.Name ~= "Projectile" then local pos = Vector3.new(thing.Position.X,(tou.Position.Y+(tou.Size.Y/2))+0.02,thing.Position.Z) local Point1 = pos-Vector3.new(0.01,0.01,0.01) local Point2 = pos+Vector3.new(0.01,0.01,0.01) local Region = Region3.new(Point1,Point2) for _,Part in pairs(game.Workspace:FindPartsInRegion3(Region,nil,math.huge)) do if Part.Name == "BloodPuddle" then tou = Part end end thing:Destroy() if tou.Name == "BloodPuddle" then if tou.Size.X < 1 then pcall(function() tou.Sound:Play() end) end local reee = tou.CFrame if tou.Transparency > -0.2 then tou.Transparency = tou.Transparency -0.1 end if tou.Size.X < 5 then tou.Size = tou.Size+Vector3.new(0.1,0,0.1) tou.CFrame = reee end elseif tou.CanCollide == true then local bloodlol = Instance.new('Part',workspace) local sound = Instance.new('Sound',bloodlol) sound.SoundId = 'rbxassetid://685857471' sound.Volume = 0.025 sound:Play() bloodlol.Size=Vector3.new(1,0.2,1) bloodlol.Name = "BloodPuddle" bloodlol.Anchored = true bloodlol.CanCollide = false bloodlol.Material = Enum.Material.SmoothPlastic if OwO ~= true then bloodlol.Color = Frame_2.BackgroundColor3 else bloodlol.Color = Color3.new(1,1,1) end local cyl = Instance.new('CylinderMesh',bloodlol) cyl.Scale = Vector3.new(1,0.1,1) bloodlol.CFrame = CFrame.new(pos) local coru=coroutine.wrap(function() while bloodlol.Parent ~= nil do if bloodlol.Transparency < 1 then bloodlol.Transparency = bloodlol.Transparency+0.05 else bloodlol:Destroy() end wait(0.1) end end) coru() end end end) local coru = coroutine.wrap(function() wait(1) thing:Destroy() end) coru() end) reeee() wait() end end function stun(char) local found = false pcall(function() char:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Physics) end) for i,v in pairs(rekt) do if v == char then found = true end end if found == false then table.insert(rekt,char) end end function unstun(char) for i,v in pairs(rekt) do if v == char then if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then v:FindFirstChildOfClass('Humanoid'):ChangeState(Enum.HumanoidStateType.Running) v:FindFirstChildOfClass('Humanoid').PlatformStand = false v:FindFirstChildOfClass('Humanoid').Sit = false v:FindFirstChildOfClass('Humanoid').Jump = true v:FindFirstChildOfClass('Humanoid').JumpPower = 50 v:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 v:FindFirstChildOfClass('Humanoid').Name = "Humanoid" end table.remove(rekt,i) end end end function recurse(root,callback,i) i= i or 0 for _,v in pairs(root:GetChildren()) do i = i + 1 callback(i,v) if #v:GetChildren() > 0 then i = recurse(v,callback,i) end end return i end function ragdollJoint(character, part0, part1, attachmentName, className, properties) if character:FindFirstChild("RagdollConstraint"..part1.Name) == nil then if character:FindFirstChild('HumanoidRootPart')then character.HumanoidRootPart.CanCollide = false end for i,v in pairs(character:GetChildren()) do if v:IsA("MeshPart") and (v.MeshId == 'http://www.roblox.com/asset/?id=553602991' or v.MeshId == 'http://www.roblox.com/asset/?id=553602977' or v.MeshId == 'http://www.roblox.com/asset/?id=553602987') then v.Size = Vector3.new(1,1,1) end end recurse(character, function(_,v) if v:IsA("Attachment") and v.Parent.Name ~= "ayybleed" then v.Axis = Vector3.new(0, 1, 0) v.SecondaryAxis = Vector3.new(0, 0, 1) v.Rotation = Vector3.new(0, 0, 0) end end) if part1:FindFirstChildOfClass('Motor6D') then part1:FindFirstChildOfClass('Motor6D'):Destroy() end if attachmentName ~= "NeckAttachment" then attachmentName = attachmentName.."RigAttachment" end local constraint = Instance.new(className.."Constraint") constraint.Attachment0 = part0:FindFirstChild(attachmentName) constraint.Attachment1 = part1:FindFirstChild(attachmentName) constraint.Name = "RagdollConstraint"..part1.Name if character:FindFirstChildOfClass('Humanoid').Health > 0 then local collidepart = Instance.new('Part',part1) collidepart.Size = part1.Size/2 if string.find(string.lower(part1.Name),"upper") then if string.find(string.lower(part1.Name),"leg") then collidepart.Size = part1.Size/3 else collidepart.Size = part1.Size/2.5 end end collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = part1.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',part1) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end if string.find(string.lower(part1.Name),"upper") then if string.find(string.lower(part1.Name),"leg") then attachment0.Position = Vector3.new(0,0.01,0) else attachment0.Position = Vector3.new(0,0.25,0) end else attachment0.Position = Vector3.new(0,-0.1,0) end end for _,propertyData in next,properties or {} do constraint[propertyData[1]] = propertyData[2] end constraint.Parent = character end end function R6ragdollJoint(character,limbname,attached,heded) pcall(function() if limbname == "Right Arm" and character:FindFirstChild("Right Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right ArmRagdollConstraint") == nil then local torsoatt = Instance.new('Attachment',character.Torso) torsoatt.Name = limbname.."RagdollConstraint" torsoatt.Position = Vector3.new(1.45,0.768,-0.009) torsoatt.Axis = Vector3.new(1,0,0) torsoatt.SecondaryAxis = Vector3.new(0,1,0) local limbatt = Instance.new("Attachment",character[limbname]) limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) limbatt.Name = limbname.."RagdollConstraint" limbatt.Axis = Vector3.new(1,0,0) limbatt.SecondaryAxis = Vector3.new(0,1,0) local ballc = Instance.new('BallSocketConstraint',character) ballc.Name = "RightArmRagdollRig" ballc.Attachment0 = torsoatt ballc.Attachment1 = limbatt local part1 = character[limbname] if character:FindFirstChildOfClass('Humanoid').Health > 0 then local collidepart = Instance.new('Part',part1) collidepart.Size = part1.Size/1.5 collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = part1.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',part1) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end if character.Torso:FindFirstChild('Right Shoulder') then character.Torso:FindFirstChild('Right Shoulder'):Destroy() end elseif limbname == "Left Arm" and character:FindFirstChild("Left Arm") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left ArmRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left ArmRagdollConstraint") == nil then local torsoatt = Instance.new('Attachment',character.Torso) torsoatt.Name = limbname.."RagdollConstraint" torsoatt.Position = Vector3.new(-1.45,0.768,-0.009) torsoatt.Axis = Vector3.new(1,0,0) torsoatt.SecondaryAxis = Vector3.new(0,1,0) local limbatt = Instance.new("Attachment",character[limbname]) limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) limbatt.Name = limbname.."RagdollConstraint" limbatt.Axis = Vector3.new(1,0,0) limbatt.SecondaryAxis = Vector3.new(0,1,0) local ballc = Instance.new('BallSocketConstraint',character) ballc.Name = "LeftArmRagdollRig" ballc.Attachment0 = torsoatt ballc.Attachment1 = limbatt local part1 = character[limbname] if character:FindFirstChildOfClass('Humanoid').Health > 0 then local collidepart = Instance.new('Part',part1) collidepart.Size = part1.Size/1.5 collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = part1.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',part1) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end if character.Torso:FindFirstChild('Left Shoulder') then character.Torso:FindFirstChild('Left Shoulder'):Destroy() end elseif limbname == "Right Leg" and character:FindFirstChild("Right Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Right LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Right LegRagdollConstraint") == nil then stun(character) local torsoatt = Instance.new('Attachment',character.Torso) torsoatt.Name = limbname.."RagdollConstraint" torsoatt.Position = Vector3.new(0.45, -1.242, -0.009) torsoatt.Axis = Vector3.new(1,0,0) torsoatt.SecondaryAxis = Vector3.new(0,1,0) local limbatt = Instance.new("Attachment",character[limbname]) limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) limbatt.Name = limbname.."RagdollConstraint" limbatt.Axis = Vector3.new(1,0,0) limbatt.SecondaryAxis = Vector3.new(0,1,0) local ballc = Instance.new('BallSocketConstraint',character) ballc.Name = "RightLegRagdollRig" ballc.Attachment0 = torsoatt ballc.Attachment1 = limbatt local part1 = character[limbname] if character:FindFirstChildOfClass('Humanoid').Health > 0 then local collidepart = Instance.new('Part',part1) collidepart.Size = part1.Size/1.5 collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = part1.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',part1) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end if character.Torso:FindFirstChild('Right Hip') then character.Torso:FindFirstChild('Right Hip'):Destroy() end elseif limbname == "Left Leg" and character:FindFirstChild("Left Leg") and character:FindFirstChild("Torso") and character.Torso:FindFirstChild("Left LegRagdollConstraint") == nil and character[limbname]:FindFirstChild("Left LegRagdollConstraint") == nil then stun(character) local torsoatt = Instance.new('Attachment',character.Torso) torsoatt.Name = limbname.."RagdollConstraint" torsoatt.Position = Vector3.new(-0.45, -1.242, -0.009) torsoatt.Axis = Vector3.new(1,0,0) torsoatt.SecondaryAxis = Vector3.new(0,1,0) local limbatt = Instance.new("Attachment",character[limbname]) limbatt.Position = Vector3.new(-0.086, 0.755, -0.007) limbatt.Name = limbname.."RagdollConstraint" limbatt.Axis = Vector3.new(1,0,0) limbatt.SecondaryAxis = Vector3.new(0,1,0) local ballc = Instance.new('BallSocketConstraint',character) ballc.Name = "LeftLegRagdollRig" ballc.Attachment0 = torsoatt ballc.Attachment1 = limbatt local part1 = character[limbname] if character:FindFirstChildOfClass('Humanoid').Health > 0 then local collidepart = Instance.new('Part',part1) collidepart.Size = part1.Size/1.5 collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = part1.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',part1) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end if character.Torso:FindFirstChild('Left Hip') then character.Torso:FindFirstChild('Left Hip'):Destroy() end elseif limbname == "Head" or limbname == "Torso" and character:FindFirstChild("Head") and character:FindFirstChild("Torso") and character.Head:FindFirstChild("Neck") == nil then if character:FindFirstChildOfClass('Humanoid') then character:FindFirstChildOfClass('Humanoid').Health = 0 end while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end if character:FindFirstChild('HumanoidRootPart') then character.HumanoidRootPart:Destroy() end game:GetService('Debris'):AddItem(character,10) for _,child in next,character:GetChildren() do if child:IsA("Accoutrement") then for _,part in next,child:GetChildren() do if part:IsA("BasePart") then for _,c in pairs(part:GetChildren()) do if c:IsA('Weld') then c:Destroy() end end local attachment1 = part:FindFirstChildOfClass("Attachment") local attachment0 = getAttachment0(character,attachment1.Name) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end end end end for i,v in pairs(character:GetChildren()) do if v:IsA('MeshPart') or v:IsA('BasePart') then for _,c in pairs(v:GetChildren()) do if c.Name == "Collision" then c:Destroy() end end end end if character.Torso:FindFirstChild('Neck') then character.Torso.Neck:Destroy() end if character:FindFirstChild('Torso') then local collidepart = Instance.new('Part',character.Torso) collidepart.Size = character.Torso.Size/1.5 collidepart.CanCollide = true collidepart.Name = "Collision" collidepart.Anchored = false collidepart.Transparency = 1 collidepart.CFrame = character.Torso.CFrame collidepart:BreakJoints() local attachment0 = Instance.new('Attachment',character.Torso) local attachment1 = Instance.new('Attachment',collidepart) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end if character:FindFirstChild('Torso') and character:FindFirstChild('Head') then if character.Torso:FindFirstChild('NeckAttachment') == nil then local neck = Instance.new('Attachment',character.Torso) neck.Name = "NeckAttachment" neck.Position = Vector3.new(0, 1, 0) end ragdollJoint(character,character.Torso, character.Head, "NeckAttachment", "Hinge", { {"LimitsEnabled",true}; {"UpperAngle",50}; {"LowerAngle",-50}; }) end if attached ~= false then ragdollpart(character, "Right Leg") ragdollpart(character, "Left Leg") else pcall(function() local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character.Torso.Size.X,0.1,character.Torso.Size.Z) ayybleed.Transparency = 1 ayybleed.CanCollide = false ayybleed.CFrame = character.Torso.CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,-character.Torso.Size.Y/2,0) attachment1.Orientation = Vector3.new(0, 0, -180) local attachment0 = Instance.new('Attachment',character.Torso) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() end) end ragdollpart(character, "Right Arm") ragdollpart(character, "Left Arm") end end) end function getAttachment0(character,attachmentName) for _,child in next,character:GetChildren() do local attachment = child:FindFirstChild(attachmentName) if attachment then return attachment end end end function ragdollpart(character,partname,attached,heded) if heded ~= false then local neck = Instance.new('Attachment',character.Head) neck.Name = "NeckAttachment" neck.Position = Vector3.new(0,-0.5,0) else local force = Instance.new('BodyForce',character.Head) force.Force = Vector3.new(0,500,0) game:GetService('Debris'):AddItem(force,0.25) pcall(function() local asdf = Instance.new('Attachment',character.Head) asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) local last = asdf for i=1,14 do local bONE = Instance.new('Part',character) bONE.BrickColor = BrickColor.new('Institutional white') bONE.Size = Vector3.new(0.1,0.1,0.1) bONE.CFrame = character.Head.CFrame+(character.Head.CFrame.upVector*-(i/10)) local lole = Instance.new('Attachment',bONE) local hangurself = Instance.new('RopeConstraint',bONE) hangurself.Attachment0 = lole hangurself.Attachment1 = last hangurself.Visible = true hangurself.Thickness = 0.05 hangurself.Color = BrickColor.new('Bright red') hangurself.Length = 0.2 last = lole end local bleedee = Instance.new('Part',character.Head) bleedee.Size = Vector3.new(0.75,0.25,0.75) bleedee.CanCollide = false bleedee.Color = Frame_2.BackgroundColor3 bleedee.CFrame = character.Head.CFrame local mehs = Instance.new('CylinderMesh',bleedee) bleedee:BreakJoints() local attachment1 = Instance.new('Attachment',bleedee) attachment1.Position = Vector3.new(0,character.Head.Size.Y/2,0) attachment1.Orientation = Vector3.new(0,0,180) local attachment0 = Instance.new('Attachment',character.Head) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end spawn(function() bleed(bleedee) end) end) local thing = "Torso" if character:FindFirstChild(thing) == nil then thing = "UpperTorso" end pcall(function() local bleedee = Instance.new('Part',character[thing]) bleedee.Size = Vector3.new(0.75,0,0.75) bleedee.CanCollide = false bleedee.Color = Frame_2.BackgroundColor3 bleedee.CFrame = character[thing].CFrame local mehs = Instance.new('CylinderMesh',bleedee) bleedee:BreakJoints() local attachment1 = Instance.new('Attachment',bleedee) attachment1.Position = Vector3.new(0,-character[thing].Size.Y/2,0) attachment1.Orientation = Vector3.new(0,0,180) local attachment0 = Instance.new('Attachment',character[thing]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end spawn(function() bleed(bleedee) end) end) end pcall(function() if workspace.PGSPhysicsSolverEnabled == false then workspace.PGSPhysicsSolverEnabled = true end end) if partname == "HumanoidRootPart" then if character:FindFirstChild('Torso') then partname = "Torso" else partname = "UpperTorso" end end if attached == false then if character:FindFirstChild('UpperTorso') then pcall(function() character.UpperTorso.WaistRigAttachment:Destroy() end) pcall(function() local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character.UpperTorso.Size.X,0,character.UpperTorso.Size.Z) ayybleed.Transparency = 1 ayybleed.CanCollide = false ayybleed.CFrame = character.UpperTorso.CFrame ayybleed:BreakJoints() ayybleed.Name = "ayybleed" local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,-character.UpperTorso.Size.Y/2,0) attachment1.Orientation = Vector3.new(0,0,180) local attachment0 = Instance.new('Attachment',character.UpperTorso) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() end) pcall(function() local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character.LowerTorso.Size.X-0.1,0.1,character.LowerTorso.Size.Z-0.1) ayybleed.Transparency = 1 ayybleed.CanCollide = false ayybleed.CFrame = character.LowerTorso.CFrame ayybleed:BreakJoints() ayybleed.Name = "ayybleed" local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,-character.LowerTorso.Size.Y/2,0) attachment1.Orientation = Vector3.new(0,0,0) local attachment0 = Instance.new('Attachment',character.LowerTorso) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() end) end pcall(function() local thang = "Torso" if character:FindFirstChild('UpperTorso') then thang = "UpperTorso" end local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) ayybleed.Color = Frame_2.BackgroundColor3 ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 0 ayybleed.CFrame = character[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,(character[thang].Size.Y/2)-0.045,0) attachment1.Orientation = Vector3.new(0,0,0) local attachment0 = Instance.new('Attachment',character[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end) pcall(function() local ree = character.LowerTorso local thang = "LowerTorso" local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) ayybleed.Color = Frame_2.BackgroundColor3 ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 0 ayybleed.CFrame = character[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) attachment1.Orientation = Vector3.new(0,0,0) local attachment0 = Instance.new('Attachment',character[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end) pcall(function() local ree = character["Right Leg"] local thang = "Right Leg" local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) ayybleed.Color = Frame_2.BackgroundColor3 ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 0 ayybleed.CFrame = character[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) attachment1.Orientation = Vector3.new(0,0,0) local attachment0 = Instance.new('Attachment',character[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end) pcall(function() local ree = character["Left Leg"] local thang = "Left Leg" local ayybleed = Instance.new('Part',character) ayybleed.Size = Vector3.new(character[thang].Size.X-0.1,0.1,character[thang].Size.Z-0.1) ayybleed.Color = Frame_2.BackgroundColor3 ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 0 ayybleed.CFrame = character[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,(-character[thang].Size.Y/2)+0.045,0) attachment1.Orientation = Vector3.new(0,0,0) local attachment0 = Instance.new('Attachment',character[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end) partname="Head" end if partname == "RightHand" or partname == "RightLowerArm" or partname == "RightUpperArm" then if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then ragdollJoint(character, character.UpperTorso, character["RightUpperArm"], "RightShoulder", "BallSocket") end if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then ragdollJoint(character, character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") end elseif partname == "LeftHand" or partname == "LeftLowerArm" or partname == "LeftUpperArm" then if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then ragdollJoint(character, character.UpperTorso, character["LeftUpperArm"], "LeftShoulder", "BallSocket") end if character:FindFirstChild('LeftUpperArm') and character:FindFirstChild('LeftLowerArm') then ragdollJoint(character, character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") end elseif partname == "RightFoot" or partname == "RightUpperLeg" or partname == "RightLowerLeg" then stun(character) if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) end if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) end if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") end elseif partname == "LeftFoot" or partname == "LeftUpperLeg" or partname == "LeftLowerLeg" then stun(character) if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) end if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) end if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") end elseif partname == "Head" or partname == "UpperTorso" or partname == "LowerTorso" then if character:FindFirstChildOfClass('Humanoid') and character:FindFirstChildOfClass('Humanoid').RigType == Enum.HumanoidRigType.R15 then if character:FindFirstChildOfClass('Humanoid') then character:FindFirstChildOfClass('Humanoid').Health = 0 end if character:FindFirstChild('HumanoidRootPart') then character.HumanoidRootPart:Destroy() end while character:FindFirstChildOfClass('Humanoid').Health > 0 do wait() end game:GetService('Debris'):AddItem(character,10) for _,child in next,character:GetChildren() do if child:IsA("Accoutrement") then for _,part in next,child:GetChildren() do if part:IsA("BasePart") then for _,c in pairs(part:GetChildren()) do if c:IsA('Weld') then c:Destroy() end end local attachment1 = part:FindFirstChildOfClass("Attachment") local attachment0 = getAttachment0(character,attachment1.Name) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = character end end end end end for i,v in pairs(character:GetChildren()) do if v:IsA('MeshPart') or v:IsA('BasePart') then for _,c in pairs(v:GetChildren()) do if c.Name == "Collision" then c:Destroy() end end end end if heded == false then pcall(function() local asdf = Instance.new('Attachment',character.Head) asdf.Position = Vector3.new(0,-character.Head.Size.Y/2,0) local last = asdf character.Head.Neck:Destroy() character.Head.NeckRigAttachment:Destroy() character.UpperTorso:FindFirstChild('NeckAttachment'):Destroy() end) end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LowerTorso') then ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", { {"LimitsEnabled",true}; {"UpperAngle",5}; {"Radius",5}; }) end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('Head') then ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "Hinge", { {"LimitsEnabled",true}; {"UpperAngle",50}; {"LowerAngle",-50}; }) end local handProperties = { {"LimitsEnabled", true}; {"UpperAngle",0}; {"LowerAngle",0}; } if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftHand') then ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties) end if character:FindFirstChild('RightLowerArm') and character:FindFirstChild('RightHand') then ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties) end local shinProperties = { {"LimitsEnabled", true}; {"UpperAngle", 0}; {"LowerAngle", -75}; } if character:FindFirstChild('LeftUpperLeg') and character:FindFirstChild('LeftLowerLeg') then ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties) end if character:FindFirstChild('RightUpperLeg') and character:FindFirstChild('RightLowerLeg') then ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties) end local footProperties = { {"LimitsEnabled", true}; {"UpperAngle", 15}; {"LowerAngle", -45}; } if character:FindFirstChild('LeftLowerLeg') and character:FindFirstChild('LeftFoot') then ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties) end if character:FindFirstChild('RightLowerLeg') and character:FindFirstChild('RightFoot') then ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties) end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('LeftUpperArm') then ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket") end if character:FindFirstChild('LeftLowerArm') and character:FindFirstChild('LeftUpperArm') then ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket") end if character:FindFirstChild('UpperTorso') and character:FindFirstChild('RightUpperArm') then ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket") end if character:FindFirstChild('RightUpperArm') and character:FindFirstChild('RightLowerArm') then ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket") end if character:FindFirstChild('LowerTorso') and character:FindFirstChild('LeftUpperLeg') then ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket") end if character:FindFirstChild('LowerTorso') and character:FindFirstChild('RightUpperLeg') then ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket") end if character:FindFirstChild('HumanoidRootPart') then character.HumanoidRootPart:Destroy() end else R6ragdollJoint(character,partname,attached,heded) end else R6ragdollJoint(character,partname,attached,heded) end end function grow(weld,part,endsize,endpos,amntime) local start = weld.C1 local parent = weld.Parent local startsize = part.Size local particl = Instance.new("ParticleEmitter") particl.LightEmission = 3 particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.1, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) particl.LightInfluence = 0.75 particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) particl.Lifetime = NumberRange.new(0.1, 1) particl.Rate = 50 particl.RotSpeed = NumberRange.new(300, 300) particl.Speed = NumberRange.new(0, 1) particl.SpreadAngle = Vector2.new(90, 90) particl.Parent = part for i=1,amntime*100 do weld.C1 = start:lerp(endpos,i/(amntime*100)) part.Size = startsize:lerp(endsize,i/(amntime*100)) weld.Parent = parent wait(0.01) end particl.Enabled = false end function lerp(weld,startpos,endpos,amntime,longatend) local waited = 0 for i=1,amntime*100 do if longatend == true then startpos = weld.C0 end weld.C0 = startpos:lerp(endpos,i/(amntime*100)) wait(0.01) waited=waited+0.01 end end function spawned() local usable = true local working = false local mode = "kill" local equipped = false local char = player.Character local blademode = "handle" local swinging = false local gettingeem = false local MOAN = false local sounding = false local SLESH = false local goteem = nil local grabbing = false local grabbed = nil local grabweld = nil local aidsificating = nil player.CharacterAdded:connect(function() if usable then usable = false end end) if char == nil then return end while char:FindFirstChildOfClass('Humanoid') == nil or char:FindFirstChild('Head') == nil do wait() end local badass = Instance.new('Sound',char.Head) badass.Name = 'Badass' badass.EmitterSize = player.CameraMaxZoomDistance+1 badass.MaxDistance = player.CameraMaxZoomDistance+1 badass.Volume = 5 badass.Looped=true badass.SoundId = 'rbxassetid://224418706' local handle = Instance.new("Part", char) handle.BrickColor = BrickColor.new("Lime green") handle.Material = "Metal" handle.CanCollide = false handle.Anchored = false handle.Shape = "Cylinder" handle.Size = Vector3.new(1.1, 0.3, 0.3) handle.BackSurface = "SmoothNoOutlines" handle.BottomSurface = "SmoothNoOutlines" handle.FrontSurface = "SmoothNoOutlines" handle.LeftSurface = "SmoothNoOutlines" handle.RightSurface = "SmoothNoOutlines" handle.TopSurface = "SmoothNoOutlines" handle.Name = "handle" local hweld = Instance.new("Weld", char.Torso) hweld.Part0 = char.Torso hweld.Part1 = handle hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) local rdd = false function oogabooga() if rdd == false then rdd = true pcall(function() ragdollpart(char,"Right Arm") ragdollpart(char,"Right Leg") ragdollpart(char,"Left Arm") ragdollpart(char,"Left Leg") end) pcall(function() ragdollpart(char,"RightUpperArm") ragdollpart(char,"RightUpperLeg") ragdollpart(char,"LeftUpperArm") ragdollpart(char,"LeftUpperLeg") end) unstun(char) for i,v in pairs(char:GetChildren()) do v.ChildAdded:connect(function(child) if rdd == true then if child.Name ~= "Neck" and child.Name ~= "RootJoint" and child.Name ~= "Root" and (child:IsA('Motor6D') or child:IsA('Weld')) then if child ~= grabweld then spawn(function() wait() child:Destroy() end) end end end end) if string.find(string.lower(v.Name),'leg') then if v:FindFirstChild('Collision') then v:FindFirstChild('Collision'):Destroy() end end end else rdd = false for i,v in pairs(char:GetChildren()) do if v:IsA('HingeConstraint') or v:IsA('BallSocketConstraint') then v:Destroy() elseif v:IsA('BasePart') then if v:FindFirstChild('Collision') then v.Collision:Destroy() end for a,c in pairs(v:GetChildren()) do if string.find(string.lower(c.Name),"ragdoll") then c:Destroy() end end end end pcall(function() local ra = rightclone:Clone() ra.Parent = char.Torso ra.Part0 = char.Torso ra.Part1 = char["Right Arm"] end) pcall(function() local la = leftclone:Clone() la.Parent = char.Torso la.Part0 = char.Torso la.Part1 = char["Left Arm"] end) pcall(function() local ll = leftlegclone:Clone() ll.Parent = char.Torso ll.Part0 = char.Torso ll.Part1 = char["Left Leg"] end) pcall(function() local rl = rightlegclone:Clone() rl.Parent = char.Torso rl.Part0 = char.Torso rl.Part1 = char["Right Leg"] end) end end function getrid() if grabbed then release() end blademode = "handle" for _,ree in pairs(handle:GetChildren()) do if ree:IsA('BasePart') then local part = Instance.new('Part',workspace) part.CFrame = ree.CFrame part.Anchored = true part.CanCollide = false part.Size = ree.Size part.Transparency = 1 ree:Destroy() local pe2 = Instance.new("ParticleEmitter") pe2.Acceleration = Vector3.new(0, 1, 0) pe2.Lifetime = NumberRange.new(0.1, 0.2) pe2.Speed = NumberRange.new(0.5) pe2.Rate = 20000 pe2.RotSpeed = NumberRange.new(-30, 30) pe2.Rotation = NumberRange.new(0, 360) pe2.Size = NumberSequence.new({ NumberSequenceKeypoint.new(0, part.Size.X*2, 0), NumberSequenceKeypoint.new(1, part.Size.X*2, 0), }) pe2.Texture = "rbxassetid://244221440" pe2.Transparency = NumberSequence.new({ NumberSequenceKeypoint.new(0, 0.9, 0), NumberSequenceKeypoint.new(1, 0.9, 0) }) pe2.ZOffset = 5 pe2.VelocitySpread = 360 pe2.Parent = part pe2.Enabled = true local coru=coroutine.wrap(function() wait(0.2) pe2.Enabled = false game:GetService('Debris'):AddItem(part,0.5) end) coru() else ree:Remove() end end end function equip() equipped = true working = true if char.Torso:FindFirstChild("Right Shoulder") then char.Torso:FindFirstChild("Right Shoulder"):Destroy() end local weld = Instance.new('Weld', char.Torso) weld.Name = "Lerping" weld.Part0 = char["Right Arm"] weld.Part1 = char.Torso weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) wait(0.1) hweld.Part0 = char["Right Arm"] hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) weld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end working = false end function unequip() getrid(handle) equipped = false working = true if char.Torso:FindFirstChild("Right Shoulder") then char.Torso:FindFirstChild("Right Shoulder"):Destroy() end local weld = Instance.new('Weld', char.Torso) weld.Name = "Lerping" weld.Part0 = char["Right Arm"] weld.Part1 = char.Torso weld.C0 = CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0) lerp(weld,weld.C0,CFrame.new(-1.3, -0.5, 0) * CFrame.Angles(0, 0, math.rad(15)),0.12,true) hweld.Part0 = char["Torso"] hweld.C0 = CFrame.new(1, -0.8, 0) * CFrame.Angles(0, math.rad(90), 0) lerp(weld,weld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08,true) weld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end working = false end function aaa() blademode = "aaa" working = false -- 1 - pink toy local obj1 = Instance.new("Model") obj1.Name = "pink toy" obj1.Parent = handle -- 2 - Model local obj2 = Instance.new("Model") obj2.Parent = obj1 -- 3 - Part local obj3 = Instance.new("Part") obj3.CFrame = CFrame.new(Vector3.new(66.8643951, 3.86435986, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj3.CanCollide = false obj3.TopSurface = Enum.SurfaceType.Smooth obj3.BottomSurface = Enum.SurfaceType.Smooth obj3.Material = Enum.Material.SmoothPlastic obj3.Size = Vector3.new(1.00000024, 1.00000024, 1.00000024) obj3.BrickColor = BrickColor.new("Really white") obj3.Friction = 0.30000001192093 obj3.Shape = Enum.PartType.Ball obj3.Parent = obj2 obj3.Name = "tip" -- 4 - Part local obj4 = Instance.new("Part") obj4.CFrame = CFrame.new(Vector3.new(67.8275909, 2.08898449, 7.50048351)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) obj4.CanCollide = false obj4.TopSurface = Enum.SurfaceType.Smooth obj4.BottomSurface = Enum.SurfaceType.Smooth obj4.Material = Enum.Material.SmoothPlastic obj4.Size = Vector3.new(4.09999943, 1, 1) obj4.BrickColor = BrickColor.new("Really white") obj4.Friction = 0.30000001192093 obj4.Shape = Enum.PartType.Cylinder obj4.Parent = obj2 -- 5 - Part local obj5 = Instance.new("Part") obj5.CFrame = CFrame.new(Vector3.new(66.7104797, 3.86435843, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj5.CanCollide = false obj5.TopSurface = Enum.SurfaceType.Smooth obj5.BottomSurface = Enum.SurfaceType.Smooth obj5.Material = Enum.Material.SmoothPlastic obj5.Size = Vector3.new(0.25, 0.25, 0.25) obj5.BrickColor = BrickColor.new("Really white") obj5.Friction = 0.30000001192093 obj5.Shape = Enum.PartType.Ball obj5.Parent = obj2 -- 6 - Part local obj6 = Instance.new("Part") obj6.CFrame = CFrame.new(Vector3.new(68.6905365, 0.83212769, 8.29345417)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) obj6.CanCollide = false obj6.TopSurface = Enum.SurfaceType.Smooth obj6.BottomSurface = Enum.SurfaceType.Smooth obj6.Material = Enum.Material.SmoothPlastic obj6.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) obj6.BrickColor = BrickColor.new("Really white") obj6.Friction = 0.30000001192093 obj6.Shape = Enum.PartType.Ball obj6.Parent = obj2 -- 7 - Part local obj7 = Instance.new("Part") obj7.CFrame = CFrame.new(Vector3.new(67.0182953, 3.86435866, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj7.CanCollide = false obj7.TopSurface = Enum.SurfaceType.Smooth obj7.BottomSurface = Enum.SurfaceType.Smooth obj7.Material = Enum.Material.SmoothPlastic obj7.Size = Vector3.new(0.25, 0.25, 0.25) obj7.BrickColor = BrickColor.new("Really white") obj7.Friction = 0.30000001192093 obj7.Shape = Enum.PartType.Ball obj7.Parent = obj2 -- 8 - Part local obj8 = Instance.new("Part") obj8.CFrame = CFrame.new(Vector3.new(68.9983597, 0.832128167, 7.44772816)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.7925276756287) obj8.CanCollide = false obj8.TopSurface = Enum.SurfaceType.Smooth obj8.BottomSurface = Enum.SurfaceType.Smooth obj8.Material = Enum.Material.SmoothPlastic obj8.Size = Vector3.new(0.999999762, 0.999999762, 0.999999762) obj8.BrickColor = BrickColor.new("Really white") obj8.Friction = 0.30000001192093 obj8.Shape = Enum.PartType.Ball obj8.Parent = obj2 local fiREPART = obj8 -- 9 - Part local obj9 = Instance.new("Part") obj9.CFrame = CFrame.new(Vector3.new(68.8566208, 0.357954353, 7.87501621)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.2217314243317) obj9.CanCollide = false obj9.TopSurface = Enum.SurfaceType.Smooth obj9.BottomSurface = Enum.SurfaceType.Smooth obj9.Material = Enum.Material.SmoothPlastic obj9.Size = Vector3.new(0.0999999791, 1.50000036, 2) obj9.BrickColor = BrickColor.new("Really white") obj9.Friction = 0.30000001192093 obj9.Shape = Enum.PartType.Cylinder obj9.Parent = obj2 -- 10 - Part local obj10 = Instance.new("Part") obj10.CFrame = CFrame.new(Vector3.new(66.8069, 3.58244801, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj10.CanCollide = false obj10.TopSurface = Enum.SurfaceType.Smooth obj10.BottomSurface = Enum.SurfaceType.Smooth obj10.Material = Enum.Material.SmoothPlastic obj10.Size = Vector3.new(0.25, 0.25, 0.25) obj10.BrickColor = BrickColor.new("Really white") obj10.Friction = 0.30000001192093 obj10.Shape = Enum.PartType.Ball obj10.Parent = obj2 -- 11 - Part local obj11 = Instance.new("Part") obj11.CFrame = CFrame.new(Vector3.new(67.196106, 3.632447, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj11.CanCollide = false obj11.TopSurface = Enum.SurfaceType.Smooth obj11.BottomSurface = Enum.SurfaceType.Smooth obj11.Material = Enum.Material.SmoothPlastic obj11.Size = Vector3.new(0.25, 0.25, 0.25) obj11.BrickColor = BrickColor.new("Really white") obj11.Friction = 0.30000001192093 obj11.Shape = Enum.PartType.Ball obj11.Parent = obj2 -- 12 - Part local obj12 = Instance.new("Part") obj12.CFrame = CFrame.new(Vector3.new(67.0756683, 3.77002549, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj12.CanCollide = false obj12.TopSurface = Enum.SurfaceType.Smooth obj12.BottomSurface = Enum.SurfaceType.Smooth obj12.Material = Enum.Material.SmoothPlastic obj12.Size = Vector3.new(0.25, 0.25, 0.25) obj12.BrickColor = BrickColor.new("Really white") obj12.Friction = 0.30000001192093 obj12.Shape = Enum.PartType.Ball obj12.Parent = obj2 -- 13 - Part local obj13 = Instance.new("Part") obj13.CFrame = CFrame.new(Vector3.new(67.4108353, 3.27276325, 6.88037825)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj13.CanCollide = false obj13.TopSurface = Enum.SurfaceType.Smooth obj13.BottomSurface = Enum.SurfaceType.Smooth obj13.Material = Enum.Material.SmoothPlastic obj13.Size = Vector3.new(0.25, 0.25, 0.25) obj13.BrickColor = BrickColor.new("Really white") obj13.Friction = 0.30000001192093 obj13.Shape = Enum.PartType.Ball obj13.Parent = obj2 -- 14 - Part local obj14 = Instance.new("Part") obj14.CFrame = CFrame.new(Vector3.new(66.868927, 3.43238807, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj14.CanCollide = false obj14.TopSurface = Enum.SurfaceType.Smooth obj14.BottomSurface = Enum.SurfaceType.Smooth obj14.Material = Enum.Material.SmoothPlastic obj14.Size = Vector3.new(0.25, 0.25, 0.25) obj14.BrickColor = BrickColor.new("Really White") obj14.Friction = 0.30000001192093 obj14.Shape = Enum.PartType.Ball obj14.Parent = obj2 -- 15 - Part local obj15 = Instance.new("Part") obj15.CFrame = CFrame.new(Vector3.new(67.1951675, 3.383008, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj15.CanCollide = false obj15.TopSurface = Enum.SurfaceType.Smooth obj15.BottomSurface = Enum.SurfaceType.Smooth obj15.Material = Enum.Material.SmoothPlastic obj15.Size = Vector3.new(0.25, 0.25, 0.25) obj15.BrickColor = BrickColor.new("Hot pink") obj15.Friction = 0.30000001192093 obj15.Shape = Enum.PartType.Ball obj15.Parent = obj2 -- 16 - Part local obj16 = Instance.new("Part") obj16.CFrame = CFrame.new(Vector3.new(67.50383, 3.46245813, 7.48069429)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj16.CanCollide = false obj16.TopSurface = Enum.SurfaceType.Smooth obj16.BottomSurface = Enum.SurfaceType.Smooth obj16.Material = Enum.Material.SmoothPlastic obj16.Size = Vector3.new(0.25, 0.25, 0.25) obj16.BrickColor = BrickColor.new("Hot pink") obj16.Friction = 0.30000001192093 obj16.Shape = Enum.PartType.Ball obj16.Parent = obj2 -- 17 - Part local obj17 = Instance.new("Part") obj17.CFrame = CFrame.new(Vector3.new(66.5551376, 3.4628334, 7.33871651)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj17.CanCollide = false obj17.TopSurface = Enum.SurfaceType.Smooth obj17.BottomSurface = Enum.SurfaceType.Smooth obj17.Material = Enum.Material.SmoothPlastic obj17.Size = Vector3.new(0.25, 0.25, 0.25) obj17.BrickColor = BrickColor.new("Hot pink") obj17.Friction = 0.30000001192093 obj17.Shape = Enum.PartType.Ball obj17.Parent = obj2 -- 18 - Part local obj18 = Instance.new("Part") obj18.CFrame = CFrame.new(Vector3.new(67.3677139, 3.83245182, 7.3331027)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj18.CanCollide = false obj18.TopSurface = Enum.SurfaceType.Smooth obj18.BottomSurface = Enum.SurfaceType.Smooth obj18.Material = Enum.Material.SmoothPlastic obj18.Size = Vector3.new(0.25, 0.25, 0.25) obj18.BrickColor = BrickColor.new("Hot pink") obj18.Friction = 0.30000001192093 obj18.Shape = Enum.PartType.Ball obj18.Parent = obj2 -- 19 - Part local obj19 = Instance.new("Part") obj19.CFrame = CFrame.new(Vector3.new(67.4115601, 3.71535063, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj19.CanCollide = false obj19.TopSurface = Enum.SurfaceType.Smooth obj19.BottomSurface = Enum.SurfaceType.Smooth obj19.Material = Enum.Material.SmoothPlastic obj19.Size = Vector3.new(0.25, 0.25, 0.25) obj19.BrickColor = BrickColor.new("Hot pink") obj19.Friction = 0.30000001192093 obj19.Shape = Enum.PartType.Ball obj19.Parent = obj2 -- 20 - Part local obj20 = Instance.new("Part") obj20.CFrame = CFrame.new(Vector3.new(67.6487045, 3.39313889, 7.19381428)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj20.CanCollide = false obj20.TopSurface = Enum.SurfaceType.Smooth obj20.BottomSurface = Enum.SurfaceType.Smooth obj20.Material = Enum.Material.SmoothPlastic obj20.Size = Vector3.new(0.25, 0.25, 0.25) obj20.BrickColor = BrickColor.new("Hot pink") obj20.Friction = 0.30000001192093 obj20.Shape = Enum.PartType.Ball obj20.Parent = obj2 -- 21 - Part local obj21 = Instance.new("Part") obj21.CFrame = CFrame.new(Vector3.new(66.8260422, 4.12417316, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj21.CanCollide = false obj21.TopSurface = Enum.SurfaceType.Smooth obj21.BottomSurface = Enum.SurfaceType.Smooth obj21.Material = Enum.Material.SmoothPlastic obj21.Size = Vector3.new(0.25, 0.25, 0.25) obj21.BrickColor = BrickColor.new("Hot pink") obj21.Friction = 0.30000001192093 obj21.Shape = Enum.PartType.Ball obj21.Parent = obj2 -- 22 - Part local obj22 = Instance.new("Part") obj22.CFrame = CFrame.new(Vector3.new(67.162117, 3.11433029, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj22.CanCollide = false obj22.TopSurface = Enum.SurfaceType.Smooth obj22.BottomSurface = Enum.SurfaceType.Smooth obj22.Material = Enum.Material.SmoothPlastic obj22.Size = Vector3.new(0.25, 0.25, 0.25) obj22.BrickColor = BrickColor.new("Hot pink") obj22.Friction = 0.30000001192093 obj22.Shape = Enum.PartType.Ball obj22.Parent = obj2 -- 23 - Part local obj23 = Instance.new("Part") obj23.CFrame = CFrame.new(Vector3.new(66.4981842, 3.63936186, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj23.CanCollide = false obj23.TopSurface = Enum.SurfaceType.Smooth obj23.BottomSurface = Enum.SurfaceType.Smooth obj23.Material = Enum.Material.SmoothPlastic obj23.Size = Vector3.new(0.25, 0.25, 0.25) obj23.BrickColor = BrickColor.new("Hot pink") obj23.Friction = 0.30000001192093 obj23.Shape = Enum.PartType.Ball obj23.Parent = obj2 -- 24 - Part local obj24 = Instance.new("Part") obj24.CFrame = CFrame.new(Vector3.new(66.6352844, 3.38244724, 7.06651926)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj24.CanCollide = false obj24.TopSurface = Enum.SurfaceType.Smooth obj24.BottomSurface = Enum.SurfaceType.Smooth obj24.Material = Enum.Material.SmoothPlastic obj24.Size = Vector3.new(0.25, 0.25, 0.25) obj24.BrickColor = BrickColor.new("Hot pink") obj24.Friction = 0.30000001192093 obj24.Shape = Enum.PartType.Ball obj24.Parent = obj2 -- 25 - Part local obj25 = Instance.new("Part") obj25.CFrame = CFrame.new(Vector3.new(66.753746, 3.10362744, 7.32704163)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj25.CanCollide = false obj25.TopSurface = Enum.SurfaceType.Smooth obj25.BottomSurface = Enum.SurfaceType.Smooth obj25.Material = Enum.Material.SmoothPlastic obj25.Size = Vector3.new(0.25, 0.25, 0.25) obj25.BrickColor = BrickColor.new("Hot pink") obj25.Friction = 0.30000001192093 obj25.Shape = Enum.PartType.Ball obj25.Parent = obj2 -- 26 - Part local obj26 = Instance.new("Part") obj26.CFrame = CFrame.new(Vector3.new(66.851532, 3.01907969, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj26.CanCollide = false obj26.TopSurface = Enum.SurfaceType.Smooth obj26.BottomSurface = Enum.SurfaceType.Smooth obj26.Material = Enum.Material.SmoothPlastic obj26.Size = Vector3.new(0.25, 0.25, 0.25) obj26.BrickColor = BrickColor.new("Hot pink") obj26.Friction = 0.30000001192093 obj26.Shape = Enum.PartType.Ball obj26.Parent = obj2 -- 27 - Part local obj27 = Instance.new("Part") obj27.CFrame = CFrame.new(Vector3.new(66.944519, 3.20876789, 7.64748764)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj27.CanCollide = false obj27.TopSurface = Enum.SurfaceType.Smooth obj27.BottomSurface = Enum.SurfaceType.Smooth obj27.Material = Enum.Material.SmoothPlastic obj27.Size = Vector3.new(0.25, 0.25, 0.25) obj27.BrickColor = BrickColor.new("Hot pink") obj27.Friction = 0.30000001192093 obj27.Shape = Enum.PartType.Ball obj27.Parent = obj2 -- 28 - Part local obj28 = Instance.new("Part") obj28.CFrame = CFrame.new(Vector3.new(67.2306061, 4.08936405, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj28.CanCollide = false obj28.TopSurface = Enum.SurfaceType.Smooth obj28.BottomSurface = Enum.SurfaceType.Smooth obj28.Material = Enum.Material.SmoothPlastic obj28.Size = Vector3.new(0.25, 0.25, 0.25) obj28.BrickColor = BrickColor.new("Hot pink") obj28.Friction = 0.30000001192093 obj28.Shape = Enum.PartType.Ball obj28.Parent = obj2 -- 29 - Part local obj29 = Instance.new("Part") obj29.CFrame = CFrame.new(Vector3.new(66.5712891, 3.99917173, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj29.CanCollide = false obj29.TopSurface = Enum.SurfaceType.Smooth obj29.BottomSurface = Enum.SurfaceType.Smooth obj29.Material = Enum.Material.SmoothPlastic obj29.Size = Vector3.new(0.25, 0.25, 0.25) obj29.BrickColor = BrickColor.new("Hot pink") obj29.Friction = 0.30000001192093 obj29.Shape = Enum.PartType.Ball obj29.Parent = obj2 -- 30 - Part local obj30 = Instance.new("Part") obj30.CFrame = CFrame.new(Vector3.new(66.7236328, 4.26077843, 7.20509243)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj30.CanCollide = false obj30.TopSurface = Enum.SurfaceType.Smooth obj30.BottomSurface = Enum.SurfaceType.Smooth obj30.Material = Enum.Material.SmoothPlastic obj30.Size = Vector3.new(0.25, 0.25, 0.25) obj30.BrickColor = BrickColor.new("Hot pink") obj30.Friction = 0.30000001192093 obj30.Shape = Enum.PartType.Ball obj30.Parent = obj2 -- 31 - Part local obj31 = Instance.new("Part") obj31.CFrame = CFrame.new(Vector3.new(66.5950623, 4.16077423, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj31.CanCollide = false obj31.TopSurface = Enum.SurfaceType.Smooth obj31.BottomSurface = Enum.SurfaceType.Smooth obj31.Material = Enum.Material.SmoothPlastic obj31.Size = Vector3.new(0.25, 0.25, 0.25) obj31.BrickColor = BrickColor.new("Hot pink") obj31.Friction = 0.30000001192093 obj31.Shape = Enum.PartType.Ball obj31.Parent = obj2 -- 32 - Part local obj32 = Instance.new("Part") obj32.CFrame = CFrame.new(Vector3.new(67.0637207, 4.03936481, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj32.CanCollide = false obj32.TopSurface = Enum.SurfaceType.Smooth obj32.BottomSurface = Enum.SurfaceType.Smooth obj32.Material = Enum.Material.SmoothPlastic obj32.Size = Vector3.new(0.25, 0.25, 0.25) obj32.BrickColor = BrickColor.new("Hot pink") obj32.Friction = 0.30000001192093 obj32.Shape = Enum.PartType.Ball obj32.Parent = obj2 -- 33 - Part local obj33 = Instance.new("Part") obj33.CFrame = CFrame.new(Vector3.new(66.4686813, 3.99917364, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj33.CanCollide = false obj33.TopSurface = Enum.SurfaceType.Smooth obj33.BottomSurface = Enum.SurfaceType.Smooth obj33.Material = Enum.Material.SmoothPlastic obj33.Size = Vector3.new(0.25, 0.25, 0.25) obj33.BrickColor = BrickColor.new("Hot pink") obj33.Friction = 0.30000001192093 obj33.Shape = Enum.PartType.Ball obj33.Parent = obj2 -- 34 - Part local obj34 = Instance.new("Part") obj34.CFrame = CFrame.new(Vector3.new(66.6615219, 4.14917231, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj34.CanCollide = false obj34.TopSurface = Enum.SurfaceType.Smooth obj34.BottomSurface = Enum.SurfaceType.Smooth obj34.Material = Enum.Material.SmoothPlastic obj34.Size = Vector3.new(0.25, 0.25, 0.25) obj34.BrickColor = BrickColor.new("Hot pink") obj34.Friction = 0.30000001192093 obj34.Shape = Enum.PartType.Ball obj34.Parent = obj2 -- 35 - Part local obj35 = Instance.new("Part") obj35.CFrame = CFrame.new(Vector3.new(66.8712616, 4.16257238, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj35.CanCollide = false obj35.TopSurface = Enum.SurfaceType.Smooth obj35.BottomSurface = Enum.SurfaceType.Smooth obj35.Material = Enum.Material.SmoothPlastic obj35.Size = Vector3.new(0.25, 0.25, 0.25) obj35.BrickColor = BrickColor.new("Hot pink") obj35.Friction = 0.30000001192093 obj35.Shape = Enum.PartType.Ball obj35.Parent = obj2 -- 36 - Part local obj36 = Instance.new("Part") obj36.CFrame = CFrame.new(Vector3.new(66.7165604, 3.82596827, 6.77684546)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj36.CanCollide = false obj36.TopSurface = Enum.SurfaceType.Smooth obj36.BottomSurface = Enum.SurfaceType.Smooth obj36.Material = Enum.Material.SmoothPlastic obj36.Size = Vector3.new(0.25, 0.25, 0.25) obj36.BrickColor = BrickColor.new("Hot pink") obj36.Friction = 0.30000001192093 obj36.Shape = Enum.PartType.Ball obj36.Parent = obj2 -- 37 - Part local obj37 = Instance.new("Part") obj37.CFrame = CFrame.new(Vector3.new(66.9846878, 4.27417517, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj37.CanCollide = false obj37.TopSurface = Enum.SurfaceType.Smooth obj37.BottomSurface = Enum.SurfaceType.Smooth obj37.Material = Enum.Material.SmoothPlastic obj37.Size = Vector3.new(0.25, 0.25, 0.25) obj37.BrickColor = BrickColor.new("Hot pink") obj37.Friction = 0.30000001192093 obj37.Shape = Enum.PartType.Ball obj37.Parent = obj2 -- 38 - Part local obj38 = Instance.new("Part") obj38.CFrame = CFrame.new(Vector3.new(67.1641541, 4.10096312, 6.93975735)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj38.CanCollide = false obj38.TopSurface = Enum.SurfaceType.Smooth obj38.BottomSurface = Enum.SurfaceType.Smooth obj38.Material = Enum.Material.SmoothPlastic obj38.Size = Vector3.new(0.25, 0.25, 0.25) obj38.BrickColor = BrickColor.new("Hot pink") obj38.Friction = 0.30000001192093 obj38.Shape = Enum.PartType.Ball obj38.Parent = obj2 -- 39 - Part local obj39 = Instance.new("Part") obj39.CFrame = CFrame.new(Vector3.new(66.792038, 4.26077843, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj39.CanCollide = false obj39.TopSurface = Enum.SurfaceType.Smooth obj39.BottomSurface = Enum.SurfaceType.Smooth obj39.Material = Enum.Material.SmoothPlastic obj39.Size = Vector3.new(0.25, 0.25, 0.25) obj39.BrickColor = BrickColor.new("Hot pink") obj39.Friction = 0.30000001192093 obj39.Shape = Enum.PartType.Ball obj39.Parent = obj2 -- 40 - Part local obj40 = Instance.new("Part") obj40.CFrame = CFrame.new(Vector3.new(66.5005493, 3.71436262, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj40.CanCollide = false obj40.TopSurface = Enum.SurfaceType.Smooth obj40.BottomSurface = Enum.SurfaceType.Smooth obj40.Material = Enum.Material.SmoothPlastic obj40.Size = Vector3.new(0.25, 0.25, 0.25) obj40.BrickColor = BrickColor.new("Hot pink") obj40.Friction = 0.30000001192093 obj40.Shape = Enum.PartType.Ball obj40.Parent = obj2 -- 41 - stretches local obj41 = Instance.new("Model") obj41.Name = "stretches" obj41.Parent = obj1 -- 42 - stretchlol local obj42 = Instance.new("Part") obj42.CFrame = CFrame.new(Vector3.new(67.162117, 3.13544774, 6.8847661)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj42.CanCollide = false obj42.Transparency = 1 obj42.TopSurface = Enum.SurfaceType.Smooth obj42.BottomSurface = Enum.SurfaceType.Smooth obj42.Material = Enum.Material.SmoothPlastic obj42.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj42.BrickColor = BrickColor.new("Pastel brown") obj42.Friction = 0.30000001192093 obj42.Shape = Enum.PartType.Ball obj42.Name = "stretchlol" obj42.Parent = obj41 -- 43 - stretchlol local obj43 = Instance.new("Part") obj43.CFrame = CFrame.new(Vector3.new(67.1951675, 3.40412855, 7.69050598)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj43.CanCollide = false obj43.Transparency = 1 obj43.TopSurface = Enum.SurfaceType.Smooth obj43.BottomSurface = Enum.SurfaceType.Smooth obj43.Material = Enum.Material.SmoothPlastic obj43.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj43.BrickColor = BrickColor.new("Pastel brown") obj43.Friction = 0.30000001192093 obj43.Shape = Enum.PartType.Ball obj43.Name = "stretchlol" obj43.Parent = obj41 -- 44 - stretchlol local obj44 = Instance.new("Part") obj44.CFrame = CFrame.new(Vector3.new(67.5038223, 3.48357916, 7.48069382)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj44.CanCollide = false obj44.Transparency = 1 obj44.TopSurface = Enum.SurfaceType.Smooth obj44.BottomSurface = Enum.SurfaceType.Smooth obj44.Material = Enum.Material.SmoothPlastic obj44.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj44.BrickColor = BrickColor.new("Pastel brown") obj44.Friction = 0.30000001192093 obj44.Shape = Enum.PartType.Ball obj44.Name = "stretchlol" obj44.Parent = obj41 -- 45 - stretchlol local obj45 = Instance.new("Part") obj45.CFrame = CFrame.new(Vector3.new(67.1641541, 4.12207699, 6.93975687)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj45.CanCollide = false obj45.Transparency = 1 obj45.TopSurface = Enum.SurfaceType.Smooth obj45.BottomSurface = Enum.SurfaceType.Smooth obj45.Material = Enum.Material.SmoothPlastic obj45.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj45.BrickColor = BrickColor.new("Pastel brown") obj45.Friction = 0.30000001192093 obj45.Shape = Enum.PartType.Ball obj45.Name = "stretchlol" obj45.Parent = obj41 -- 46 - stretchlol local obj46 = Instance.new("Part") obj46.CFrame = CFrame.new(Vector3.new(66.8712616, 4.18368626, 7.47166586)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj46.CanCollide = false obj46.Transparency = 1 obj46.TopSurface = Enum.SurfaceType.Smooth obj46.BottomSurface = Enum.SurfaceType.Smooth obj46.Material = Enum.Material.SmoothPlastic obj46.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj46.BrickColor = BrickColor.new("Pastel brown") obj46.Friction = 0.30000001192093 obj46.Shape = Enum.PartType.Ball obj46.Name = "stretchlol" obj46.Parent = obj41 -- 47 - stretchlol local obj47 = Instance.new("Part") obj47.CFrame = CFrame.new(Vector3.new(66.8260345, 4.14528561, 6.81669378)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj47.CanCollide = false obj47.Transparency = 1 obj47.TopSurface = Enum.SurfaceType.Smooth obj47.BottomSurface = Enum.SurfaceType.Smooth obj47.Material = Enum.Material.SmoothPlastic obj47.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj47.BrickColor = BrickColor.new("Pastel brown") obj47.Friction = 0.30000001192093 obj47.Shape = Enum.PartType.Ball obj47.Name = "stretchlol" obj47.Parent = obj41 -- 48 - stretchlol local obj48 = Instance.new("Part") obj48.CFrame = CFrame.new(Vector3.new(66.7104797, 3.88547921, 7.57276678)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj48.CanCollide = false obj48.Transparency = 1 obj48.TopSurface = Enum.SurfaceType.Smooth obj48.BottomSurface = Enum.SurfaceType.Smooth obj48.Material = Enum.Material.SmoothPlastic obj48.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj48.BrickColor = BrickColor.new("Pastel brown") obj48.Friction = 0.30000001192093 obj48.Shape = Enum.PartType.Ball obj48.Name = "stretchlol" obj48.Parent = obj41 -- 49 - stretchlol local obj49 = Instance.new("Part") obj49.CFrame = CFrame.new(Vector3.new(67.0637207, 4.06047773, 7.48850012)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj49.CanCollide = false obj49.Transparency = 1 obj49.TopSurface = Enum.SurfaceType.Smooth obj49.BottomSurface = Enum.SurfaceType.Smooth obj49.Material = Enum.Material.SmoothPlastic obj49.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj49.BrickColor = BrickColor.new("Pastel brown") obj49.Friction = 0.30000001192093 obj49.Shape = Enum.PartType.Ball obj49.Name = "stretchlol" obj49.Parent = obj41 -- 50 - stretchlol local obj50 = Instance.new("Part") obj50.CFrame = CFrame.new(Vector3.new(66.7165604, 3.84708691, 6.77684498)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj50.CanCollide = false obj50.Transparency = 1 obj50.TopSurface = Enum.SurfaceType.Smooth obj50.BottomSurface = Enum.SurfaceType.Smooth obj50.Material = Enum.Material.SmoothPlastic obj50.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj50.BrickColor = BrickColor.new("Pastel brown") obj50.Friction = 0.30000001192093 obj50.Shape = Enum.PartType.Ball obj50.Name = "stretchlol" obj50.Parent = obj41 -- 51 - stretchlol local obj51 = Instance.new("Part") obj51.CFrame = CFrame.new(Vector3.new(66.9846878, 4.29528904, 7.14047909)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj51.CanCollide = false obj51.Transparency = 1 obj51.TopSurface = Enum.SurfaceType.Smooth obj51.BottomSurface = Enum.SurfaceType.Smooth obj51.Material = Enum.Material.SmoothPlastic obj51.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj51.BrickColor = BrickColor.new("Pastel brown") obj51.Friction = 0.30000001192093 obj51.Shape = Enum.PartType.Ball obj51.Name = "stretchlol" obj51.Parent = obj41 -- 52 - stretchlol local obj52 = Instance.new("Part") obj52.CFrame = CFrame.new(Vector3.new(66.868927, 3.45350599, 6.82578087)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj52.CanCollide = false obj52.Transparency = 1 obj52.TopSurface = Enum.SurfaceType.Smooth obj52.BottomSurface = Enum.SurfaceType.Smooth obj52.Material = Enum.Material.SmoothPlastic obj52.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj52.BrickColor = BrickColor.new("Pastel brown") obj52.Friction = 0.30000001192093 obj52.Shape = Enum.PartType.Ball obj52.Name = "stretchlol" obj52.Parent = obj41 -- 53 - stretchlol local obj53 = Instance.new("Part") obj53.CFrame = CFrame.new(Vector3.new(67.287262, 3.10603261, 7.30382156)) * CFrame.Angles(9.1487750708552e-09, -0.34906616806984, -1.0471986532211) obj53.CanCollide = false obj53.Transparency = 1 obj53.TopSurface = Enum.SurfaceType.Smooth obj53.BottomSurface = Enum.SurfaceType.Smooth obj53.Material = Enum.Material.SmoothPlastic obj53.Size = Vector3.new(1.79999995, 1.04999995, 1.04999995) obj53.BrickColor = BrickColor.new("Pastel brown") obj53.Friction = 0.30000001192093 obj53.Shape = Enum.PartType.Cylinder obj53.Name = "stretchlol" obj53.Parent = obj41 -- 54 - stretchlol local obj54 = Instance.new("Part") obj54.CFrame = CFrame.new(Vector3.new(66.4686813, 4.02028799, 7.16550922)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj54.CanCollide = false obj54.Transparency = 1 obj54.TopSurface = Enum.SurfaceType.Smooth obj54.BottomSurface = Enum.SurfaceType.Smooth obj54.Material = Enum.Material.SmoothPlastic obj54.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj54.BrickColor = BrickColor.new("Pastel brown") obj54.Friction = 0.30000001192093 obj54.Shape = Enum.PartType.Ball obj54.Name = "stretchlol" obj54.Parent = obj41 -- 55 - stretchlol local obj55 = Instance.new("Part") obj55.CFrame = CFrame.new(Vector3.new(66.6615219, 4.17028332, 7.3953228)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj55.CanCollide = false obj55.Transparency = 1 obj55.TopSurface = Enum.SurfaceType.Smooth obj55.BottomSurface = Enum.SurfaceType.Smooth obj55.Material = Enum.Material.SmoothPlastic obj55.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj55.BrickColor = BrickColor.new("Pastel brown") obj55.Friction = 0.30000001192093 obj55.Shape = Enum.PartType.Ball obj55.Name = "stretchlol" obj55.Parent = obj41 -- 56 - stretchlol local obj56 = Instance.new("Part") obj56.CFrame = CFrame.new(Vector3.new(66.753746, 3.12474751, 7.32704115)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj56.CanCollide = false obj56.Transparency = 1 obj56.TopSurface = Enum.SurfaceType.Smooth obj56.BottomSurface = Enum.SurfaceType.Smooth obj56.Material = Enum.Material.SmoothPlastic obj56.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj56.BrickColor = BrickColor.new("Pastel brown") obj56.Friction = 0.30000001192093 obj56.Shape = Enum.PartType.Ball obj56.Name = "stretchlol" obj56.Parent = obj41 -- 57 - stretchlol local obj57 = Instance.new("Part") obj57.CFrame = CFrame.new(Vector3.new(67.2306061, 4.11047649, 7.28319883)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj57.CanCollide = false obj57.Transparency = 1 obj57.TopSurface = Enum.SurfaceType.Smooth obj57.BottomSurface = Enum.SurfaceType.Smooth obj57.Material = Enum.Material.SmoothPlastic obj57.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj57.BrickColor = BrickColor.new("Pastel brown") obj57.Friction = 0.30000001192093 obj57.Shape = Enum.PartType.Ball obj57.Name = "stretchlol" obj57.Parent = obj41 -- 58 - stretchlol local obj58 = Instance.new("Part") obj58.CFrame = CFrame.new(Vector3.new(67.0756683, 3.79114079, 7.63403416)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj58.CanCollide = false obj58.Transparency = 1 obj58.TopSurface = Enum.SurfaceType.Smooth obj58.BottomSurface = Enum.SurfaceType.Smooth obj58.Material = Enum.Material.SmoothPlastic obj58.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj58.BrickColor = BrickColor.new("Pastel brown") obj58.Friction = 0.30000001192093 obj58.Shape = Enum.PartType.Ball obj58.Name = "stretchlol" obj58.Parent = obj41 -- 59 - stretchlol local obj59 = Instance.new("Part") obj59.CFrame = CFrame.new(Vector3.new(66.5005493, 3.73548079, 7.38994217)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj59.CanCollide = false obj59.Transparency = 1 obj59.TopSurface = Enum.SurfaceType.Smooth obj59.BottomSurface = Enum.SurfaceType.Smooth obj59.Material = Enum.Material.SmoothPlastic obj59.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj59.BrickColor = BrickColor.new("Pastel brown") obj59.Friction = 0.30000001192093 obj59.Shape = Enum.PartType.Ball obj59.Name = "stretchlol" obj59.Parent = obj41 -- 60 - stretchlol local obj60 = Instance.new("Part") obj60.CFrame = CFrame.new(Vector3.new(67.6487045, 3.41425848, 7.1938138)) * CFrame.Angles(-2.0021269321442, 1.2287007570267, 1.6869416236877) obj60.CanCollide = false obj60.Transparency = 1 obj60.TopSurface = Enum.SurfaceType.Smooth obj60.BottomSurface = Enum.SurfaceType.Smooth obj60.Material = Enum.Material.SmoothPlastic obj60.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj60.BrickColor = BrickColor.new("Pastel brown") obj60.Friction = 0.30000001192093 obj60.Shape = Enum.PartType.Ball obj60.Name = "stretchlol" obj60.Parent = obj41 -- 61 - stretchlol local obj61 = Instance.new("Part") obj61.CFrame = CFrame.new(Vector3.new(67.3677139, 3.85357118, 7.33310223)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj61.CanCollide = false obj61.Transparency = 1 obj61.TopSurface = Enum.SurfaceType.Smooth obj61.BottomSurface = Enum.SurfaceType.Smooth obj61.Material = Enum.Material.SmoothPlastic obj61.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj61.BrickColor = BrickColor.new("Pastel brown") obj61.Friction = 0.30000001192093 obj61.Shape = Enum.PartType.Ball obj61.Name = "stretchlol" obj61.Parent = obj41 -- 62 - stretchlol local obj62 = Instance.new("Part") obj62.CFrame = CFrame.new(Vector3.new(66.6352844, 3.40356588, 7.06651878)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj62.CanCollide = false obj62.Transparency = 1 obj62.TopSurface = Enum.SurfaceType.Smooth obj62.BottomSurface = Enum.SurfaceType.Smooth obj62.Material = Enum.Material.SmoothPlastic obj62.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj62.BrickColor = BrickColor.new("Pastel brown") obj62.Friction = 0.30000001192093 obj62.Shape = Enum.PartType.Ball obj62.Name = "stretchlol" obj62.Parent = obj41 -- 63 - stretchlol local obj63 = Instance.new("Part") obj63.CFrame = CFrame.new(Vector3.new(66.7236328, 4.28189754, 7.20509195)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj63.CanCollide = false obj63.Transparency = 1 obj63.TopSurface = Enum.SurfaceType.Smooth obj63.BottomSurface = Enum.SurfaceType.Smooth obj63.Material = Enum.Material.SmoothPlastic obj63.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj63.BrickColor = BrickColor.new("Pastel brown") obj63.Friction = 0.30000001192093 obj63.Shape = Enum.PartType.Ball obj63.Name = "stretchlol" obj63.Parent = obj41 -- 64 - stretchlol local obj64 = Instance.new("Part") obj64.CFrame = CFrame.new(Vector3.new(66.5712891, 4.02028799, 6.8835969)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj64.CanCollide = false obj64.Transparency = 1 obj64.TopSurface = Enum.SurfaceType.Smooth obj64.BottomSurface = Enum.SurfaceType.Smooth obj64.Material = Enum.Material.SmoothPlastic obj64.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj64.BrickColor = BrickColor.new("Pastel brown") obj64.Friction = 0.30000001192093 obj64.Shape = Enum.PartType.Ball obj64.Name = "stretchlol" obj64.Parent = obj41 -- 65 - stretchlol local obj65 = Instance.new("Part") obj65.CFrame = CFrame.new(Vector3.new(66.4981842, 3.66047978, 7.01661682)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj65.CanCollide = false obj65.Transparency = 1 obj65.TopSurface = Enum.SurfaceType.Smooth obj65.BottomSurface = Enum.SurfaceType.Smooth obj65.Material = Enum.Material.SmoothPlastic obj65.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj65.BrickColor = BrickColor.new("Pastel brown") obj65.Friction = 0.30000001192093 obj65.Shape = Enum.PartType.Ball obj65.Name = "stretchlol" obj65.Parent = obj41 -- 66 - stretchlol local obj66 = Instance.new("Part") obj66.CFrame = CFrame.new(Vector3.new(66.7920303, 4.28189754, 7.01715183)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj66.CanCollide = false obj66.Transparency = 1 obj66.TopSurface = Enum.SurfaceType.Smooth obj66.BottomSurface = Enum.SurfaceType.Smooth obj66.Material = Enum.Material.SmoothPlastic obj66.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj66.BrickColor = BrickColor.new("Pastel brown") obj66.Friction = 0.30000001192093 obj66.Shape = Enum.PartType.Ball obj66.Name = "stretchlol" obj66.Parent = obj41 -- 67 - stretchlol local obj67 = Instance.new("Part") obj67.CFrame = CFrame.new(Vector3.new(66.5950623, 4.18188763, 7.05188084)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj67.CanCollide = false obj67.Transparency = 1 obj67.TopSurface = Enum.SurfaceType.Smooth obj67.BottomSurface = Enum.SurfaceType.Smooth obj67.Material = Enum.Material.SmoothPlastic obj67.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj67.BrickColor = BrickColor.new("Pastel brown") obj67.Friction = 0.30000001192093 obj67.Shape = Enum.PartType.Ball obj67.Name = "stretchlol" obj67.Parent = obj41 -- 68 - stretchlol local obj68 = Instance.new("Part") obj68.CFrame = CFrame.new(Vector3.new(67.4115601, 3.73646879, 7.01420689)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj68.CanCollide = false obj68.Transparency = 1 obj68.TopSurface = Enum.SurfaceType.Smooth obj68.BottomSurface = Enum.SurfaceType.Smooth obj68.Material = Enum.Material.SmoothPlastic obj68.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj68.BrickColor = BrickColor.new("Pastel brown") obj68.Friction = 0.30000001192093 obj68.Shape = Enum.PartType.Ball obj68.Name = "stretchlol" obj68.Parent = obj41 -- 69 - stretchlol local obj69 = Instance.new("Part") obj69.CFrame = CFrame.new(Vector3.new(66.8643951, 3.88548112, 7.14990711)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj69.CanCollide = false obj69.Transparency = 1 obj69.TopSurface = Enum.SurfaceType.Smooth obj69.BottomSurface = Enum.SurfaceType.Smooth obj69.Material = Enum.Material.SmoothPlastic obj69.Size = Vector3.new(1.04999995, 1.04999995, 1.04999995) obj69.BrickColor = BrickColor.new("Pastel brown") obj69.Friction = 0.30000001192093 obj69.Shape = Enum.PartType.Ball obj69.Name = "stretchlol" obj69.Parent = obj41 -- 70 - stretchlol local obj70 = Instance.new("Part") obj70.CFrame = CFrame.new(Vector3.new(67.4108353, 3.29388237, 6.88037777)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj70.CanCollide = false obj70.Transparency = 1 obj70.TopSurface = Enum.SurfaceType.Smooth obj70.BottomSurface = Enum.SurfaceType.Smooth obj70.Material = Enum.Material.SmoothPlastic obj70.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj70.BrickColor = BrickColor.new("Pastel brown") obj70.Friction = 0.30000001192093 obj70.Shape = Enum.PartType.Ball obj70.Name = "stretchlol" obj70.Parent = obj41 -- 71 - stretchlol local obj71 = Instance.new("Part") obj71.CFrame = CFrame.new(Vector3.new(67.1960983, 3.65356374, 6.79175806)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj71.CanCollide = false obj71.Transparency = 1 obj71.TopSurface = Enum.SurfaceType.Smooth obj71.BottomSurface = Enum.SurfaceType.Smooth obj71.Material = Enum.Material.SmoothPlastic obj71.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj71.BrickColor = BrickColor.new("Pastel brown") obj71.Friction = 0.30000001192093 obj71.Shape = Enum.PartType.Ball obj71.Name = "stretchlol" obj71.Parent = obj41 -- 72 - stretchlol local obj72 = Instance.new("Part") obj72.CFrame = CFrame.new(Vector3.new(66.944519, 3.22988653, 7.64748716)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj72.CanCollide = false obj72.Transparency = 1 obj72.TopSurface = Enum.SurfaceType.Smooth obj72.BottomSurface = Enum.SurfaceType.Smooth obj72.Material = Enum.Material.SmoothPlastic obj72.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj72.BrickColor = BrickColor.new("Pastel brown") obj72.Friction = 0.30000001192093 obj72.Shape = Enum.PartType.Ball obj72.Name = "stretchlol" obj72.Parent = obj41 -- 73 - stretchlol local obj73 = Instance.new("Part") obj73.CFrame = CFrame.new(Vector3.new(66.851532, 3.04020095, 7.04717398)) * CFrame.Angles(-3.058357000351, 0.5446692109108, 2.5818355083466) obj73.CanCollide = false obj73.Transparency = 1 obj73.TopSurface = Enum.SurfaceType.Smooth obj73.BottomSurface = Enum.SurfaceType.Smooth obj73.Material = Enum.Material.SmoothPlastic obj73.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj73.BrickColor = BrickColor.new("Pastel brown") obj73.Friction = 0.30000001192093 obj73.Shape = Enum.PartType.Ball obj73.Name = "stretchlol" obj73.Parent = obj41 -- 74 - stretchlol local obj74 = Instance.new("Part") obj74.CFrame = CFrame.new(Vector3.new(66.5551376, 3.48395109, 7.33871603)) * CFrame.Angles(-2.4803557395935, 1.123170375824, 2.1302044391632) obj74.CanCollide = false obj74.Transparency = 1 obj74.TopSurface = Enum.SurfaceType.Smooth obj74.BottomSurface = Enum.SurfaceType.Smooth obj74.Material = Enum.Material.SmoothPlastic obj74.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj74.BrickColor = BrickColor.new("Pastel brown") obj74.Friction = 0.30000001192093 obj74.Shape = Enum.PartType.Ball obj74.Name = "stretchlol" obj74.Parent = obj41 -- 75 - stretchlol local obj75 = Instance.new("Part") obj75.CFrame = CFrame.new(Vector3.new(66.8069, 3.60357046, 7.60786104)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj75.CanCollide = false obj75.Transparency = 1 obj75.TopSurface = Enum.SurfaceType.Smooth obj75.BottomSurface = Enum.SurfaceType.Smooth obj75.Material = Enum.Material.SmoothPlastic obj75.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj75.BrickColor = BrickColor.new("Pastel brown") obj75.Friction = 0.30000001192093 obj75.Shape = Enum.PartType.Ball obj75.Name = "stretchlol" obj75.Parent = obj41 -- 76 - stretchlol local obj76 = Instance.new("Part") obj76.CFrame = CFrame.new(Vector3.new(67.0182953, 3.88547921, 6.72704411)) * CFrame.Angles(-3.1415927410126, 0.34906616806984, 2.6179955005646) obj76.CanCollide = false obj76.Transparency = 1 obj76.TopSurface = Enum.SurfaceType.Smooth obj76.BottomSurface = Enum.SurfaceType.Smooth obj76.Material = Enum.Material.SmoothPlastic obj76.Size = Vector3.new(0.300000012, 0.300000012, 0.300000012) obj76.BrickColor = BrickColor.new("Pastel brown") obj76.Friction = 0.30000001192093 obj76.Shape = Enum.PartType.Ball obj76.Name = "stretchlol" obj76.Parent = obj41 obj1.PrimaryPart = obj4 local stretches = obj41:GetChildren() for i,v in pairs(stretches) do v.Anchored = true v.Parent = obj1 end for i,v in pairs(obj2:GetChildren()) do v.Anchored = true v.Parent = obj1 end obj2:Destroy() obj41:Destroy() local previous = nil for i,v in pairs(obj1:GetChildren()) do if v:IsA('BasePart') then if previous then local weld = Instance.new('Weld',v) weld.Part0 = v weld.Part1 = previous weld.C0 = v.CFrame:inverse() * previous.CFrame previous.Anchored = false previous.CanCollide = false local vee = v weld.AncestryChanged:connect(function(mez,par) wait() weld.Parent = vee end) end previous = v end end previous.Anchored = false previous.CanCollide = false obj1:SetPrimaryPartCFrame(handle.CFrame*CFrame.Angles(0,math.rad(180),0)+Vector3.new(0,100,0)) -- 2 - Part local ree = Instance.new("Part") ree.CFrame = CFrame.new(Vector3.new(50.5, 141, 5.5)) ree.Transparency = 0.80000001192093 ree.Material = Enum.Material.Neon ree.CFrame = CFrame.new(obj4.Position) ree.Size = Vector3.new(5, math.huge, 5) ree.BrickColor = BrickColor.new("New Yeller") ree.Friction = 0.30000001192093 ree.Shape = Enum.PartType.Block ree.Parent = handle -- 3 - Mesh local ree2 = Instance.new("CylinderMesh") ree2.Parent = ree local thing = Instance.new('BodyPosition',obj9) local thing2 = Instance.new('BodyPosition',ree) thing2.P = 100000 thing2.MaxForce = Vector3.new(math.huge,math.huge,math.huge) thing.MaxForce = Vector3.new(10000,10000,10000) for i=1,100 do thing2.Position = obj4.Position obj1:SetPrimaryPartCFrame(CFrame.new(obj1.PrimaryPart.Position)*CFrame.Angles(math.rad(handle.Orientation.X),math.rad(handle.Orientation.Y),math.rad(handle.Orientation.Z))*CFrame.Angles(0,math.rad(180),0)) thing.Position = handle.Position+(handle.CFrame.rightVector*0.5) wait() end thing:Destroy() local lmfao = Instance.new('Weld',obj4) lmfao.C0 = CFrame.new(2.5,0.2,0)*CFrame.Angles(0,math.rad(180),0) lmfao.Part0 = obj4 lmfao.Part1 = handle ree:Destroy() working = false end function katanamode() blademode = "katana" -- 1 - weeb shit local weebshit1 = handle -- 16 - top cap local weebshit16 = Instance.new("Part") weebshit16.CFrame = CFrame.new(Vector3.new(206.400146, 11.5499945, 5.00058556)) * CFrame.Angles(-3.1415927410126, 0, 1.5707963705063) weebshit16.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.Size = Vector3.new(0.1, 0.05,0.05) --0.65, 0.65 weebshit16.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit16.Anchored = false weebshit16.BrickColor = BrickColor.new("Lime green") weebshit16.Friction = 0.30000001192093 weebshit16.Shape = Enum.PartType.Cylinder weebshit16.Name = "top cap" weebshit16.Parent = weebshit1 local weld = Instance.new('Weld',weebshit16) weld.Part0 = weebshit16 weld.Part1 = handle weld.C1 = CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048) --weld,part,endsize,endpos,amntime grow(weld,weebshit16,Vector3.new(0.1,0.65,0.65),CFrame.new(0.6, 0, 0, 1.00000048, 0, 0, 0, 1, 0, 0, 0, 1.00000048),0.1) -- 8 - blade local weebshit8 = Instance.new("Part") weebshit8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.Material = Enum.Material.Metal weebshit8.Size = Vector3.new(0.23,0.05, 0.1) weebshit8.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit8.Anchored = false weebshit8.BrickColor = BrickColor.new("Dark stone grey") weebshit8.Friction = 0.30000001192093 weebshit8.Shape = Enum.PartType.Block weebshit8.Name = "blade" weebshit8.Parent = weebshit1 weebshit8:BreakJoints() local bld1 = weebshit8 local weld2 = Instance.new('Weld',weebshit8) weld2.Part0 = weebshit8 weld2.Part1 = handle weld2.C1 = CFrame.new(0.75, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)) local coru=coroutine.wrap(function() grow(weld2,weebshit8,Vector3.new(0.23,1.17,0.1),CFrame.new(1.25, 0, 0) * CFrame.Angles(math.rad(180), 0, math.rad(-90)),0.05) end) coru() -- 9 - blade local weebshit9 = Instance.new("Part") weebshit9.CFrame = CFrame.new(Vector3.new(206.475388, 13.3372736, 5.00158167)) * CFrame.Angles(-0, 0, 0.052359949797392) weebshit9.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.Material = Enum.Material.Metal weebshit9.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) weebshit9.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit9.Anchored = false weebshit9.BrickColor = BrickColor.new("Institutional white") weebshit9.Friction = 0.30000001192093 weebshit9.Shape = Enum.PartType.Block weebshit9.Name = "blade" weebshit9.Parent = weebshit8 local bld2 = weebshit9 local weld3 = Instance.new('Weld',weebshit9) weld3.Part0 = weebshit9 weld3.Part1 = weebshit8 weld3.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) grow(weld3,weebshit9,Vector3.new(0.100000009, 1.17, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.05) -- 10 - blade local weebshit10 = Instance.new("Part") weebshit10.CFrame = CFrame.new(Vector3.new(206.26973, 14.458313, 5)) * CFrame.Angles(-0, 0, 0.10472027212381) weebshit10.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.Material = Enum.Material.Metal weebshit10.Size = Vector3.new(0.229999945, 0.05, 0.100000009) weebshit10.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit10.Anchored = false weebshit10.BrickColor = BrickColor.new("Dark stone grey") weebshit10.Friction = 0.30000001192093 weebshit10.Shape = Enum.PartType.Block weebshit10.Name = "blade" weebshit10.Parent = weebshit1 local weld4 = Instance.new('Weld',weebshit10) weld4.Part0 = weebshit10 weld4.Part1 = weebshit8 weld4.C1 = CFrame.new(-0.01, 0.55, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095) local coru=coroutine.wrap(function() grow(weld4,weebshit10,Vector3.new(0.23,1.17,0.1),CFrame.new(-0.0285797119, 1.14634609, -1.14440918e-05, 0.998631477, 0.0523363762, -1.25522347e-05, 0.0523363687, -0.998631358, -8.97663813e-06, -1.3056685e-05, 8.01841452e-06, -1.00000095),0.1) end) coru() -- 11 - blade local weebshit11 = Instance.new("Part") weebshit11.CFrame = CFrame.new(Vector3.new(206.384079, 14.4703341, 5.00158167)) * CFrame.Angles(-0, 0, 0.10472027212381) weebshit11.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.Material = Enum.Material.Metal weebshit11.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) weebshit11.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit11.Anchored = false weebshit11.BrickColor = BrickColor.new("Institutional white") weebshit11.Friction = 0.30000001192093 weebshit11.Shape = Enum.PartType.Block weebshit11.Name = "blade" weebshit11.Parent = weebshit1 local weld5 = Instance.new('Weld',weebshit10) weld5.Part0 = weebshit10 weld5.Part1 = weebshit11 weld5.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) grow(weld5,weebshit11,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(-0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) -- 15 - blade local weebshit15 = Instance.new("Part") weebshit15.CFrame = CFrame.new(Vector3.new(206.36055, 13.3312511, 5)) * CFrame.Angles(-0, 0, 0.052359949797392) weebshit15.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.Material = Enum.Material.Metal weebshit15.Size = Vector3.new(0.229999945, 0.55, 0.100000009) weebshit15.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit15.Anchored = false weebshit15.BrickColor = BrickColor.new("Dark stone grey") weebshit15.Friction = 0.30000001192093 weebshit15.Shape = Enum.PartType.Block weebshit15.Name = "blade" weebshit15.Parent = weebshit1 local weld6 = Instance.new('Weld',weebshit15) weld6.Part0 = weebshit15 weld6.Part1 = weebshit10 weld6.C1 = CFrame.new(-0.01, -0.55, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006) local coru=coroutine.wrap(function() grow(weld6,weebshit15,Vector3.new(0.229999945, 1.17000151, 0.100000009),CFrame.new(-0.0274810791, -1.13038063, 0, 0.99863112, -0.0523363762, 5.34574838e-07, -0.0523363203, -0.998631358, 9.75034527e-06, 9.04611142e-08, -1.00508332e-05, -1.0000006),0.1) end) coru() -- 12 - blade local weebshit12 = Instance.new("Part") weebshit12.CFrame = CFrame.new(Vector3.new(206.50705, 12.1849957, 5.00158167)) * CFrame.Angles(-0, 0, -0) weebshit12.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.Material = Enum.Material.Metal weebshit12.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) weebshit12.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit12.Anchored = false weebshit12.BrickColor = BrickColor.new("Institutional white") weebshit12.Friction = 0.30000001192093 weebshit12.Shape = Enum.PartType.Block weebshit12.Name = "blade" weebshit12.Parent = weebshit1 local weld7 = Instance.new('Weld',weebshit12) weld7.Part0 = weebshit12 weld7.Part1 = weebshit15 weld7.C1 = CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0) grow(weld7,weebshit12,Vector3.new(0.100000009, 1.16999841, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) -- 14 - blade local weebshit14 = Instance.new("Part") weebshit14.CFrame = CFrame.new(Vector3.new(206.155365, 15.3628922, 5)) * CFrame.Angles(-0, 0, 0.15708021819592) weebshit14.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.Material = Enum.Material.Metal weebshit14.Size = Vector3.new(0.229999945, 0.05, 0.100000009) weebshit14.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit14.Anchored = false weebshit14.BrickColor = BrickColor.new("Dark stone grey") weebshit14.Friction = 0.30000001192093 weebshit14.Shape = Enum.PartType.Block weebshit14.Name = "blade" weebshit14.Parent = weebshit1 local weld8 = Instance.new('Weld',weebshit14) weld8.Part0 = weebshit14 weld8.Part1 = weebshit15 weld8.C1 = CFrame.new(-0.01, 0.45, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1) local coru=coroutine.wrap(function() grow(weld8,weebshit14,Vector3.new(0.229999945, 0.700001657, 0.100000009),CFrame.new(-0.0191650391, 0.911635399, -1.43051147e-06, 0.99862963, 0.0522801876, -1.10407145e-05, 0.0522794127, 0.998632491, -1.50609173e-06, 8.47656065e-06, 1.7598054e-06, 1),0.1) end) coru() -- 13 - blade local weebshit13 = Instance.new("Part") weebshit13.CFrame = CFrame.new(Vector3.new(206.268967, 15.3808832, 5.00158167)) * CFrame.Angles(-0, 0, 0.15708021819592) weebshit13.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.Material = Enum.Material.Metal weebshit13.Size = Vector3.new(0.100000009, 0.05, 0.0500000007) weebshit13.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit13.Anchored = false weebshit13.BrickColor = BrickColor.new("Institutional white") weebshit13.Friction = 0.30000001192093 weebshit13.Shape = Enum.PartType.Block weebshit13.Name = "blade" weebshit13.Parent = weebshit1 local weld9 = Instance.new('Weld',weebshit13) weld9.Part0 = weebshit13 weld9.Part1 = weebshit14 weld9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0) grow(weld9,weebshit13,Vector3.new(0.100000009, 0.699998796, 0.0500000007),CFrame.new(0.11, 0, 0) * CFrame.Angles(0, 0, 0),0.1) -- 18 - blade local weebshit18 = Instance.new("WedgePart") weebshit18.CFrame = CFrame.new(Vector3.new(206.077118, 15.85674, 5)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) weebshit18.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.Material = Enum.Material.Metal weebshit18.Size = Vector3.new(0.100000009, 0.05, 0.230000108) weebshit18.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit18.Anchored = false weebshit18.BrickColor = BrickColor.new("Dark stone grey") weebshit18.Friction = 0.30000001192093 weebshit18.Name = "blade" weebshit18.Parent = weebshit1 local weld10 = Instance.new('Weld',weebshit18) weld10.Part0 = weebshit18 weld10.Part1 = weebshit14 weld10.C1 = CFrame.new(-0.015, 0.299937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0) local coru=coroutine.wrap(function() grow(weld10,weebshit18,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.499937057, 2.86102295e-06)*CFrame.Angles(0,math.rad(-90),0),0.1) end) coru() -- 19 - blade local weebshit19 = Instance.new("WedgePart") weebshit19.CFrame = CFrame.new(Vector3.new(206.096375, 15.8952179, 5.00177383)) * CFrame.Angles(1.5707963705063, -1.4137160778046, 1.5707963705063) weebshit19.LeftSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.TopSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.RightSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.FrontSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.Material = Enum.Material.Metal weebshit19.Size = Vector3.new(0.0500000007, 0.05, 0.280000091) weebshit19.BottomSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.BackSurface = Enum.SurfaceType.SmoothNoOutlines weebshit19.Anchored = false weebshit19.BrickColor = BrickColor.new("Institutional white") weebshit19.Friction = 0.30000001192093 weebshit19.Name = "blade" weebshit19.Parent = weebshit1 local weld11 = Instance.new('Weld',weebshit19) weld11.Part0 = weebshit19 weld11.Part1 = weebshit18 weld11.C1 = CFrame.new(0, 0, -0.029) * CFrame.Angles(0, 0, 0) local coru=coroutine.wrap(function() grow(weld11,weebshit19,Vector3.new(0.05, 0.37, 0.28),CFrame.new(0, 0.011, -0.029) * CFrame.Angles(0, 0, 0),0.1) end) coru() end function gunmode() working = false working = false end function knifemode() blademode = "knife" -- 6 - thicc cap local obj6 = Instance.new("Part") obj6.CFrame = CFrame.new(Vector3.new(202.399948, 10.5999813, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) obj6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj6.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj6.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj6.Size = Vector3.new(0.3, 0.3, 0.3) obj6.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj6.Anchored = false obj6.BrickColor = BrickColor.new("Lime green") obj6.Friction = 0.30000001192093 obj6.Shape = Enum.PartType.Ball obj6.Name = "thicc cap" obj6.Parent = handle local weld2 = Instance.new('Weld',obj6) weld2.Part0 = obj6 weld2.Part1 = handle weld2.C0 = CFrame.new(0.4, 0, 0) grow(weld2,obj6,Vector3.new(0.3, 0.3, 0.3),CFrame.new(-0.15, 0, 0),0.1) -- 8 - thicc top cap local obj8 = Instance.new("Part") obj8.CFrame = CFrame.new(Vector3.new(202.399963, 11.3000078, 5.00099993)) * CFrame.Angles(-0, 0, 3.5017728805542e-07) obj8.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj8.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj8.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj8.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj8.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj8.Size = Vector3.new(0.3, 0.3, 0.3) obj8.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj8.Anchored = false obj8.BrickColor = BrickColor.new("Lime green") obj8.Friction = 0.30000001192093 obj8.Shape = Enum.PartType.Ball obj8.Name = "thicc top cap" obj8.Parent = handle local weld1 = Instance.new('Weld',obj8) weld1.Part0 = obj8 weld1.Part1 = handle weld1.C0 = CFrame.new(-0.4, 0, 0) grow(weld1,obj8,Vector3.new(0.3, 0.3, 0.3),CFrame.new(0.15, 0, 0),0.1) -- 4 - thicc blade local obj4 = Instance.new("Part") obj4.CFrame = CFrame.new(Vector3.new(202.40007, 12.1600046, 5.00099707)) * CFrame.Angles(-0, 0, -0) obj4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj4.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj4.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj4.Material = Enum.Material.Metal obj4.Size = Vector3.new(0.23, 0.1, 0.1) obj4.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj4.Anchored = false obj4.BrickColor = BrickColor.new("Dark stone grey") obj4.Friction = 0.30000001192093 obj4.Shape = Enum.PartType.Block obj4.Name = "blade" obj4.Parent = handle local weld4 = Instance.new('Weld',obj4) weld4.Part0 = obj4 weld4.Part1 = handle weld4.C0 = CFrame.new(0, -0.535, 0)*CFrame.Angles(0,0,math.rad(90)) local coru=coroutine.wrap(function() grow(weld4,obj4,Vector3.new(0.23, 1.19, 0.1),CFrame.new(0.5, 0, 0),0.1) end) coru() -- 5 - thicc blade local obj5 = Instance.new("Part") obj5.CFrame = CFrame.new(Vector3.new(202.507141, 12.1749954, 5.00158167)) * CFrame.Angles(-0, 0, -0) obj5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj5.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj5.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj5.Material = Enum.Material.Metal obj5.Size = Vector3.new(0.100000009, 0.1, 0.0500000007) obj5.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj5.Anchored = false obj5.BrickColor = BrickColor.new("Institutional white") obj5.Friction = 0.30000001192093 obj5.Shape = Enum.PartType.Block obj5.Name = "blade" obj5.Parent = handle local weld5 = Instance.new('Weld',obj5) weld5.Part0 = obj5 weld5.Part1 = obj4 weld5.C0 = CFrame.new(0.09, 0, 0)*CFrame.Angles(0,0,0) grow(weld5,obj5,Vector3.new(0.1, 1.19, 0.05),CFrame.new(0, 0, 0),0.1) -- 3 - thicc blade local obj3 = Instance.new("WedgePart") obj3.CFrame = CFrame.new(Vector3.new(202.40007, 12.9000006, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) obj3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj3.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj3.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj3.Material = Enum.Material.Metal obj3.Size = Vector3.new(0.1, 0, 0.23) obj3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj3.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj3.Anchored = false obj3.BrickColor = BrickColor.new("Dark stone grey") obj3.Friction = 0.30000001192093 obj3.Name = "blade" obj3.Parent = handle local weld6 = Instance.new('Weld',obj3) weld6.Part0 = obj3 weld6.Part1 = obj4 weld6.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) local coru=coroutine.wrap(function() grow(weld6,obj3,Vector3.new(0.1, 0.3, 0.23),CFrame.new(0, 0.15, 0),0.05) end) coru() -- 2 - thicc blade local obj2 = Instance.new("WedgePart") obj2.CFrame = CFrame.new(Vector3.new(202.423431, 12.9305696, 5.00099707)) * CFrame.Angles(-0, -1.5707963705063, 0) obj2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines obj2.TopSurface = Enum.SurfaceType.SmoothNoOutlines obj2.RightSurface = Enum.SurfaceType.SmoothNoOutlines obj2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines obj2.Material = Enum.Material.Metal obj2.Size = Vector3.new(0.05, 0, 0.26) obj2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines obj2.BackSurface = Enum.SurfaceType.SmoothNoOutlines obj2.Anchored = false obj2.BrickColor = BrickColor.new("Lily white") obj2.Friction = 0.30000001192093 obj2.Name = "blade" obj2.Parent = handle local weld7 = Instance.new('Weld',obj2) weld7.Part0 = obj2 weld7.Part1 = obj4 weld7.C0 = CFrame.new(0, -0.595, 0)*CFrame.Angles(math.rad(0),math.rad(270),math.rad(0)) grow(weld7,obj2,Vector3.new(0.05, 0.33, 0.24),CFrame.new(-0.02, 0.165, 0),0.05) end function raep() working = true pcall(function() local holyshit = Instance.new("Sound", handle) holyshit.SoundId = "rbxassetid://345287845" holyshit.Volume = 5 holyshit:Play() holyshit.TimePosition = 0.6 --[[local waitwhatthefuck = Instance.new("Sound", handle) waitwhatthefuck.SoundId = "rbxassetid://864314263" waitwhatthefuck:Play()]]-- local coru=coroutine.wrap(function() wait(1.95) holyshit.TimePosition = 2.8 end) coru() local tweld = Instance.new("Weld", char.HumanoidRootPart) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local rweld = Instance.new("Weld", char["Right Arm"]) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) local lweld = Instance.new("Weld", char["Left Arm"]) lweld.Part0 = char.Torso lweld.Part1 = char["Left Arm"] lweld.C0 = CFrame.new(-1.5, 0, 0) char.Humanoid.WalkSpeed = 20 local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(50)),0.2) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, -0.25, 0) * CFrame.Angles(math.rad(-15), math.rad(-45), math.rad(0)),0.2) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, -0.35) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)),0.2) local particl = Instance.new("ParticleEmitter") particl.LightEmission = 3 particl.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(42, 0, 255)), ColorSequenceKeypoint.new(0.25, Color3.fromRGB(248, 153, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))}) particl.LightInfluence = 0.75 particl.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 0)}) particl.Lifetime = NumberRange.new(0.1, 0.5) particl.Rate = 50 particl.RotSpeed = NumberRange.new(300, 300) particl.Speed = NumberRange.new(0, 1) particl.SpreadAngle = Vector2.new(90, 90) particl.Parent = handle for i, v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA("Part") then coolaaa = particl:Clone() coolaaa.Parent = v end end particl:Remove() wait(1) MOAN = true char.Humanoid.WalkSpeed = 85 local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.6, 0.5, -0.75) * CFrame.Angles(0, math.rad(55), math.rad(90)),0.06) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(0)),0.06) end) local cor3 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.06) end) cor() cor2() cor3() lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.06) local omgg = 0 repeat wait(0.05) omgg = omgg+0.05 until aidsificating ~= nil or omgg > 2 holyshit:Destroy() char.Humanoid.WalkSpeed = 20 MOAN = false if aidsificating == nil then for i, v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA("Part") then v:FindFirstChild("ParticleEmitter"):Destroy() end end local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) end) local cor3 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) end) cor() cor2() cor3() lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.08) lweld:Remove() rweld:Remove() tweld:Remove() if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end else pcall(function() aidsificating.HumanoidRootPart:Destroy() end) pcall(function() ragdollpart(aidsificating,"Right Arm") ragdollpart(aidsificating,"Right Leg") ragdollpart(aidsificating,"Left Arm") ragdollpart(aidsificating,"Left Leg") end) pcall(function() ragdollpart(aidsificating,"RightUpperArm") ragdollpart(aidsificating,"RightUpperLeg") ragdollpart(aidsificating,"LeftUpperArm") ragdollpart(aidsificating,"LeftUpperLeg") end) pcall(function() local weld = Instance.new('Weld',aidsificating.Torso) weld.Part0 = aidsificating.Torso weld.Part1 = handle weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) for i,v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA('BasePart') and v.Name == "stretchlol" then v.BrickColor = aidsificating.Torso.BrickColor v.Transparency = 0 end end end) pcall(function() local weld = Instance.new('Weld',aidsificating.UpperTorso) weld.Part0 = aidsificating.UpperTorso weld.Part1 = handle weld.C0 = CFrame.new(0.2,-2.5,2)*CFrame.Angles(math.rad(135),0,math.rad(-90)) for i,v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA('BasePart') and v.Name == "stretchlol" then v.BrickColor = aidsificating.UpperTorso.BrickColor v.Transparency = 0 end end end) lerp(rweld,rweld.C0,CFrame.new(1.6, 1, -0.5) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.06) wait(2) for i,v in pairs(aidsificating:GetDescendants()) do if v:IsA('Weld') then v:Destroy() end end pcall(function() ragdollpart(aidsificating,"Head") end) pcall(function() local thang = "Torso" if aidsificating:FindFirstChild('UpperTorso') then thang = "UpperTorso" end local ayybleed = Instance.new('Part',aidsificating) ayybleed.Size = Vector3.new(0.2,0.2,0.2) ayybleed.BrickColor = BrickColor.new('Maroon') ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 1 ayybleed.CFrame = aidsificating[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,-1,0) attachment1.Orientation = Vector3.new(180, 0, 0) local attachment0 = Instance.new('Attachment',aidsificating[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = aidsificating end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed,true) end) bleedBLEED() end) aidsificating = nil pcall(function() for i,v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA('BasePart') and v.Name == "stretchlol" then v.Transparency = 1 end end end) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.6, -0.25, 0.75) * CFrame.Angles(0, math.rad(55), math.rad(145)),0.04) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.04) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.75, 0, 0.35) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-20)),0.04) wait(0.1) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.6, -0.5, 1) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)),0.08) end) local cor3 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.08) end) cor() cor2() cor3() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.08) lweld:Remove() rweld:Remove() tweld:Remove() if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end end end) working = false end function katanaQ() working = true swinging = true gettingeem = true pcall(function() local rweld = Instance.new("Weld", char["Right Arm"]) local tweld = Instance.new("Weld", char.HumanoidRootPart) pcall(function() rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso end) char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(5, 0, 0) at2.Visible = false at2.Position = Vector3.new(1, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 local coru=coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(90), math.rad(90)),0.08) end) coru() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-90),math.rad(180)), 0.08) local ree=0 while goteem == nil and ree < 1 do wait(0.05) ree=ree+0.05 end char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 gettingeem = false swinging = false if goteem then wait(2) pcall(function() local sounn = Instance.new("Sound", goteem.Torso) local lipp = math.random(1, 3) if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end sounn:Play() end) ragdollpart(goteem,"Head") for i,v in pairs(goteem:GetDescendants()) do if v:IsA('Weld') then v:Destroy() end end goteem = nil end trail:Destroy() at1:Destroy() at2:Destroy() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) cor() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) rweld:Destroy() tweld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end end) swinging = false gettingeem = false working = false end local function katanaE() working = true swinging = true SLESH = true pcall(function() local rweld = Instance.new("Weld", char["Right Arm"]) local tweld = Instance.new("Weld", char.HumanoidRootPart) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso char:FindFirstChildOfClass('Humanoid').WalkSpeed = 100 local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(5, 0, 0) at2.Visible = false at2.Position = Vector3.new(1, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 local coru=coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(2, 1, 0) * CFrame.Angles(math.rad(0), 0, math.rad(60)),0.08) end) coru() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(270),math.rad(-270),math.rad(0)), 0.08) wait(1) char:FindFirstChildOfClass('Humanoid').WalkSpeed = 16 trail:Destroy() at1:Destroy() at2:Destroy() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.05) local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) cor() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) rweld:Destroy() tweld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end end) swinging = false SLESH = false working = false end function begoneTHOUGHT() working = true pcall(function() local thott = Instance.new("Sound", char) thott.SoundId = "rbxassetid://949916584" thott.Volume = 1 thott.TimePosition = 0.5 thott.PlaybackSpeed = 1 thott.EmitterSize = player.CameraMaxZoomDistance+1 thott.MaxDistance = player.CameraMaxZoomDistance+1 thott:Play() local rweld = Instance.new("Weld", char["Right Arm"]) local tweld = Instance.new("Weld", char.HumanoidRootPart) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local coru=coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)),0.25) end) coru() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(-45),math.rad(0)), 0.25) wait(0.5) local thote = Instance.new("Sound", char.Head) thote.SoundId = "rbxassetid://358498516" thote.Volume = 1 thote:Play() local coru=coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)),0.04) end) coru() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.04) wait(0.04) local ree = Instance.new('Part',workspace) ree.Shape = Enum.PartType.Cylinder ree.CanCollide = false ree.Anchored = false ree.Size = Vector3.new(0.5,2,2) ree.TopSurface = Enum.SurfaceType.Smooth ree.BottomSurface = Enum.SurfaceType.Smooth ree.Transparency = 0.8 ree.Material =Enum.Material.Neon ree.BrickColor = BrickColor.new('Lime green') ree.CFrame = handle.CFrame*CFrame.Angles(0,0,math.rad(90)) ree:BreakJoints() local reee = Instance.new("Sound", ree) reee.SoundId = "rbxassetid://138677306" reee:Play() local heck = Instance.new('BodyVelocity',ree) heck.Velocity = ree.CFrame.rightVector*50 heck.MaxForce = Vector3.new(math.huge,math.huge,math.huge) local coru=coroutine.wrap(function() for i=1,21 do local cf = ree.CFrame ree.Size = ree.Size+Vector3.new(0,2,2) ree.CFrame = cf wait() end for i=1,4 do local cf = ree.CFrame ree.Size = ree.Size+Vector3.new(0,2,2) ree.CFrame = cf ree.Transparency = ree.Transparency + 0.05 wait() end ree:Destroy() end) coru() ree.Touched:connect(function(hit) if hit.Parent and hit.Parent ~= char and hit.Parent:FindFirstChildOfClass('Humanoid') then hit.Parent:FindFirstChildOfClass('Humanoid').Health = 100 ragdollpart(hit.Parent,"Head") end end) wait(0.5) local coru=coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.8) end) coru() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.8) rweld:Destroy() tweld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end end) working = false end function katanaswing() working = true pcall(function() local rweld = Instance.new("Weld", char["Right Arm"]) local lweld = Instance.new("Weld", char["Left Arm"]) local tweld = Instance.new("Weld", char.HumanoidRootPart) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) lweld.Part0 = char.Torso lweld.Part1 = char["Left Arm"] lweld.C0 = CFrame.new(-1.5, 0, 0) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0),0.08) end) cor() lerp(rweld,rweld.C0,CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)),0.08) wait(0.2) local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(5, 0, 0) at2.Visible = false at2.Position = Vector3.new(1, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, trail.Parent.Color), ColorSequenceKeypoint.new(1, trail.Parent.Color)}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.9), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 swinging = true local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0),0.04) end) cor() lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) wait(0.2) swinging = false trail:Destroy() at1:Destroy() at2:Destroy() local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) cor() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) rweld:Destroy() lweld:Destroy() tweld:Destroy() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end end) working = false end function throw() working = true pcall(function() local rweld = char["Right Arm"]:FindFirstChild("Weld") local lweld = char["Left Arm"]:FindFirstChild("Weld") local tweld = Instance.new("Weld", char.HumanoidRootPart) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local throwsound = Instance.new("Sound", char.Head) throwsound.SoundId = "rbxassetid://711753382" throwsound.PlaybackSpeed = 0.75 local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) end) local cor2 = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.04) end) cor() cor2() grabweld:Remove() throwsound:Play() local throwvel = Instance.new("BodyThrust") throwvel.Force = Vector3.new(0, 3000, -2000) pcall(function() throwvel.Parent = grabbed.Torso end) pcall(function() throwvel.Parent = grabbed.UpperTorso end) lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) wait(0.15) throwvel:Remove() local cor = coroutine.wrap(function() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) local cor2 = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) cor() cor2() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) lweld:Remove() rweld:Remove() tweld:Remove() if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if torsoclone and char:FindFirstChild('Torso') and char:FindFirstChild('HumanoidRootPart') then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end local lolgrabbed = grabbed spawn(function() wait(2) unstun(lolgrabbed) end) end) grabbed = nil working = false end function whoosh(vroom) vroom.Parent = workspace vroom.Name = "Projectile" vroom.CFrame = CFrame.new(char.Head.CFrame.p,mouse.Hit.p)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)) vroom.Anchored = true vroom.Velocity = Vector3.new(0,0,0) vroom.RotVelocity = Vector3.new(0,0,0) vroom.Anchored = false game:GetService('Debris'):AddItem(vroom,10) local flyy = Instance.new('BodyVelocity',vroom) flyy.Velocity = vroom.CFrame.rightVector*200 local touched = false for i,v in pairs(vroom:GetChildren()) do if v:IsA('BasePart') then v.Touched:connect(function(hit) local pos = vroom.CFrame if touched == false then if hit and hit.Parent and hit.Transparency ~= 1 and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent~= char then touched = true local before = hit.Anchored vroom.Anchored = true vroom.Velocity = Vector3.new(0,0,0) vroom.RotVelocity = Vector3.new(0,0,0) vroom.CFrame = vroom.CFrame-(vroom.CFrame.rightVector) hit.Anchored = true flyy:Destroy() pcall(function() local weld = Instance.new('Weld',hit) weld.Part0 = hit weld.Part1 = vroom weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) local ayybleed = Instance.new('Part',hit) ayybleed.Size = Vector3.new(0.2,0.2,0.2) ayybleed.BrickColor = BrickColor.new('Maroon') ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 1 ayybleed.CFrame = hit.CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) local attachment0 = Instance.new('Attachment',hit) for i,v in pairs(vroom:GetChildren()) do if v.Name == "blade" and v.Size == Vector3.new(0.23, 1.19, 0.1) then v.Name = "REEEE" end end attachment1.Orientation = vroom["REEEE"].Orientation+Vector3.new(90,0,0) attachment0.Position = hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).p-(hit.CFrame:toObjectSpace(vroom["REEEE"].CFrame).upVector) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = attachment0 end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() if hit.Name ~= "Head" and hit.Name ~= "UpperTorso" and hit.Name ~= "Torso" and hit.Name ~= "LowerTorso" then game:GetService('Debris'):AddItem(ayybleed,7.5) end end) hit.Anchored = before vroom.Anchored = false vroom.CanCollide = true pcall(function() vroom:FindFirstChildOfClass('Trail'):Destroy() end) for i,v in pairs(vroom:GetChildren()) do if v:IsA('BasePart') then v.CanCollide = true end end if hit.Name == "Head" or hit.Name == "UpperTorso" or hit.Name == "Torso" or hit.Name == "LowerTorso" then pcall(function() hit.Parent.HumanoidRootPart:Destroy() end) pcall(function() ragdollpart(hit.Parent,"Left Arm") ragdollpart(hit.Parent,"Left Leg") ragdollpart(hit.Parent,"Right Arm") ragdollpart(hit.Parent,"Right Leg") end) pcall(function() ragdollpart(hit.Parent,"LeftUpperLeg") ragdollpart(hit.Parent,"RightUpperLeg") ragdollpart(hit.Parent,"LeftUpperArm") ragdollpart(hit.Parent,"RightUpperArm") end) spawn(function() wait(5) ragdollpart(hit.Parent,"Head") end) else pcall(function() ragdollpart(hit.Parent,hit.Name) end) end elseif hit and hit.CanCollide == true and hit.Parent and hit.Parent ~= char then touched = true local before = hit.Anchored vroom.Anchored = true vroom.Velocity = Vector3.new(0,0,0) vroom.RotVelocity = Vector3.new(0,0,0) hit.Anchored = true flyy:Destroy() vroom.CFrame = vroom.CFrame-vroom.CFrame.rightVector pcall(function() local weld = Instance.new('Weld',hit) weld.Part0 = hit weld.Part1 = vroom weld.C0 = hit.CFrame:toObjectSpace(vroom.CFrame) end) pcall(function() vroom:FindFirstChildOfClass('Trail'):Destroy() end) hit.Anchored = before vroom.Anchored = false end end end) end end end function fling() working = true pcall(function() local rweld = Instance.new("Weld", char["Right Arm"]) local lweld = Instance.new("Weld", char["Left Arm"]) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) lweld.Part0 = char.Torso lweld.Part1 = char["Left Arm"] lweld.C0 = CFrame.new(-1.5, 0, 0) local tweld = Instance.new("Weld", char.HumanoidRootPart) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(2, 0, 0) at2.Visible = false at2.Position = Vector3.new(-0.3, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.75, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(45)),0.07) end) cor() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, -0.5) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.07) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.75, 1, 0.25) * CFrame.Angles(math.rad(35), math.rad(0), math.rad(150)),0.07) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), math.rad(0)),0.07) end) local cor3 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -2.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), 0),0.12) end) cor() cor2() cor3() lerp(lweld,lweld.C0,CFrame.new(-1.75, 0.5, -0.5) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-45)),0.07) wait(0.2) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 1, 0.25) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(170)),0.03) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.03) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1, 0, -0.45) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(45)),0.03) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0.5, -0.5) * CFrame.Angles(math.rad(0), math.rad(60), math.rad(90)),0.03) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), math.rad(0)),0.01) end) cor() cor2() whoosh(handle:Clone()) for i, v in pairs(handle:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 end end handle.Transparency = 1 trail:Remove() at1:Remove() at2:Remove() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.01) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(0.5, 0.4, -1) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(75)),0.04) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(55), math.rad(0)),0.04) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(45), math.rad(0), math.rad(0)),0.04) wait(0.2) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) end) local cor2 = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.07) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)),0.07) for i, v in pairs(handle:GetChildren()) do if v:IsA("Part") then v.Transparency = 0 end end handle.Transparency = 0 hweld.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0) lweld:Remove() rweld:Remove() tweld:Remove() if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end end) working = false end function kill() working = true pcall(function() local rweld = char["Right Arm"]:FindFirstChild("Weld") local lweld = char["Left Arm"]:FindFirstChild("Weld") local tweld = Instance.new("Weld", char.HumanoidRootPart) tweld.Part0 = char.HumanoidRootPart tweld.Part1 = char.Torso local killsound = Instance.new("Sound", grabbed.Head) killsound.SoundId = "rbxassetid://150315649" killsound.PlaybackSpeed = 1.2 local killsoundac = Instance.new("Sound", grabbed.Head) killsoundac.SoundId = "rbxassetid://162194585" killsoundac.PlaybackSpeed = 1 killsoundac.Volume = 1 local throwsound = Instance.new("Sound", char.Head) throwsound.SoundId = "rbxassetid://711753382" throwsound.PlaybackSpeed = 0.75 local chokesound = Instance.new("Sound", grabbed.Head) chokesound.SoundId = "rbxassetid://2801263" chokesound.TimePosition = 3 chokesound.PlaybackSpeed = 1 local bleedsound = Instance.new("Sound", grabbed.Head) bleedsound.SoundId = "rbxassetid://2801263" bleedsound.PlaybackSpeed = 1.5 bleedsound.Volume = 1.5 pitchun = math.random(9, 12)/10 pitchdos = math.random(9, 13)/10 killsound.PlaybackSpeed = pitchun killsoundac.PlaybackSpeed = pitchdos chokesound.PlaybackSpeed = pitchun pcall(function() grabbed.HumanoidRootPart:Destroy() end) lerp(rweld,rweld.C0,CFrame.new(0.5, 0.7, -0.70) * CFrame.Angles(0, math.rad(100), math.rad(105)),0.1) wait(0.2) lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.04) killsound:Play() killsoundac:Play() chokesound:Play() bleedsound:Play() local ayybleed = Instance.new('Part',grabbed) ayybleed.Size = Vector3.new(0.2,0.2,0.2) ayybleed.BrickColor = BrickColor.new('Maroon') ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 0.5 ayybleed.CFrame = grabbed.Head.CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(-0.55,0,0) attachment1.Orientation = Vector3.new(90, 0, -90) local attachment0 = Instance.new('Attachment') pcall(function() attachment0.Parent = grabbed.Torso end) pcall(function() attachment0.Parent = grabbed.UpperTorso end) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 pcall(function() constraint.Parent = grabbed.Torso end) pcall(function() constraint.Parent = grabbed.UpperTorso end) end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() wait(0.2) local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(2, 0, 0) at2.Visible = false at2.Position = Vector3.new(-0.3, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-40), math.rad(15)),0.08) lerp(rweld,rweld.C0,CFrame.new(1.5, 0.15, 0.4) * CFrame.Angles(0, math.rad(-30), math.rad(15)),0.1) local coru=coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0), 0.09) end) coru() local cor = coroutine.wrap(function() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-30), 0),0.04) end) cor() grabweld:Remove() throwsound:Play() local throwvel = Instance.new("BodyThrust") throwvel.Force = Vector3.new(0, 3000, -1000) pcall(function() throwvel.Parent = grabbed.Torso end) pcall(function() throwvel.Parent = grabbed.UpperTorso end) trail:Remove() at1:Remove() at2:Remove() lerp(lweld,lweld.C0,CFrame.new(-1.3, 0.7, -1) * CFrame.Angles(0, math.rad(-70), math.rad(-105)),0.04) pcall(function() ragdollpart(grabbed,"Left Arm") ragdollpart(grabbed,"Left Leg") ragdollpart(grabbed,"Right Arm") ragdollpart(grabbed,"Right Leg") end) pcall(function() ragdollpart(grabbed,"LeftUpperLeg") ragdollpart(grabbed,"RightUpperLeg") ragdollpart(grabbed,"LeftUpperArm") ragdollpart(grabbed,"RightUpperArm") end) wait(0.15) throwvel:Remove() local cor = coroutine.wrap(function() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) local cor2 = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, 0, 0),0.08) end) cor() cor2() lerp(tweld,tweld.C0,CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),0.08) lweld:Remove() rweld:Remove() tweld:Remove() if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then local clone = torsoclone:Clone() clone.Part0 = char.HumanoidRootPart clone.Part1 = char.Torso clone.Parent = char.HumanoidRootPart end if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end local coru2=coroutine.wrap(function() local whyy = grabbed local continue = true local repeats = 0 while continue == true do local ree = pcall(function() if repeats < 20 then whyy:FindFirstChildOfClass('Humanoid').Health = whyy:FindFirstChildOfClass('Humanoid').Health-4.9 repeats = repeats+1 if whyy:FindFirstChildOfClass('Humanoid').Health <= 0 then continue = false end else continue = false end end) if ree == false then continue = false end if continue == true then wait(0.2) end end ragdollpart(whyy,"Head") end) coru2() throwsound:Remove() killsound:Remove() end) grabbed = nil working = false end function release() working = true pcall(function() unstun(grabbed) grabbed = nil grabweld:Destroy() removewelds(char["Right Arm"]) removewelds(char["Left Arm"]) local rweld = Instance.new("Weld", char["Right Arm"]) local lweld = Instance.new("Weld", char["Left Arm"]) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)) lweld.Part0 = char.Torso lweld.Part1 = char["Left Arm"] lweld.C0 = CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)) local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) end) local cor2 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) lweld:Remove() rweld:Remove() if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end end) working = false end function grab() working = true pcall(function() local rweld = Instance.new("Weld", char["Right Arm"]) local lweld = Instance.new("Weld", char["Left Arm"]) rweld.Part0 = char["Torso"] rweld.Part1 = char["Right Arm"] rweld.C0 = CFrame.new(1.5, 0, 0) lweld.Part0 = char.Torso lweld.Part1 = char["Left Arm"] lweld.C0 = CFrame.new(-1.5, 0, 0) local at1 = Instance.new("Attachment", handle) local at2 = Instance.new("Attachment", handle) at1.Visible = false at1.Position = Vector3.new(2, 0, 0) at2.Visible = false at2.Position = Vector3.new(-0.3, 0, 0) local trail = Instance.new("Trail", handle) trail.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))}) trail.LightEmission = 0.25 trail.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.75), NumberSequenceKeypoint.new(1, 1)}) trail.Lifetime = 0.10 trail.MinLength = 0.05 trail.Attachment0 = at1 trail.Attachment1 = at2 local spinnyshit = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(-90), 0), 0.07) lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0),math.rad(90), 0), 0.07) end) spinnyshit() local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)),0.08) end) cor() lerp(lweld,lweld.C0,CFrame.new(-2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(-90)),0.08) wait(0.15) grabbing = true local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1, 0.7, -0.75) * CFrame.Angles(0, math.rad(95), math.rad(105)),0.08) end) cor() lerp(lweld,lweld.C0,CFrame.new(-1.25, 0.7, -0.75) * CFrame.Angles(0, math.rad(-140), math.rad(-105)),0.08) at1:Remove() at2:Remove() trail:Remove() wait(0.3) grabbing = false if grabbed == nil then local cor = coroutine.wrap(function() lerp(rweld,rweld.C0,CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) end) local cor2 = coroutine.wrap(function() lerp(hweld,hweld.C0,CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-180),math.rad(-90), 0),0.08) end) cor() cor2() lerp(lweld,lweld.C0,CFrame.new(-1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)),0.08) lweld:Remove() rweld:Remove() if leftclone and char:FindFirstChild('Left Arm') and char:FindFirstChild('Torso') then local clone = leftclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Left Arm"] clone.Parent = char.Torso end if rightclone and char:FindFirstChild('Right Arm') and char:FindFirstChild('Torso') then local clone = rightclone:Clone() clone.Part0 = char.Torso clone.Part1 = char["Right Arm"] clone.Parent = char.Torso end end end) working = false end mouse.KeyDown:connect(function(kkk) local key = kkk:lower() if usable and working == false then if key == "z" then if equipped == false then if firsttime then firsttime = false notify("Equipped || Press X or C to equip one of two weapons",true) else notify("Equipped") end equip() else notify("Unequipped") unequip() end elseif key == "x" then if blademode ~= "katana" and equipped == true then getrid(handle) if firsttime2 then firsttime2 = false notify("Katana mode enabled || Press Q, E, or click to perform an action",true) else notify("Katana mode enabled") end katanamode() elseif blademode == "katana" then getrid(handle) notify("Katana mode disabled") end elseif key == "v" then if blademode ~= "gun" and equipped == true then getrid(handle) if firsttime5 then firsttime5 = false notify("Gun mode enabled || this mode doesnt work, dont use this",true) else notify("Gun mode enabled") end gunmode() elseif blademode == "gun" then getrid(handle) notify("Gun mode disabled") end elseif key == "9887455" then if childlock == false then if blademode ~= "aaa" and equipped == true then getrid(handle) if firsttime4 then firsttime4 = false notify("aaaaaa mode enabled || TURN THIS OFF",true) else notify("aaaaa mode enabled") end aaa() elseif blademode == "aaa" then notify("aaa mode disabled") getrid(handle) end end elseif key == "c" then if blademode ~= "knife" and equipped == true then getrid(handle) if firsttime3 then firsttime3 = false notify("Knife mode enabled || Press F, E, T, or Q to set modes; Click to perform an action",true) else notify("Knife mode enabled") end knifemode() elseif blademode == "knife" then notify("Knife mode disabled") getrid(handle) end elseif key == "q" then if blademode == "katana" then notify() katanaQ() elseif blademode == "knife" then mode = "release" notify("Mode changed to "..mode) end elseif key == "e" then if blademode == "katana" then notify() katanaE() elseif blademode == "knife" then mode = "throw" notify("Mode changed to "..mode) end elseif key == "f" then if blademode == "handle" then notify([[BEGONE THOT]]) begoneTHOUGHT() elseif blademode == "knife" then mode = "kill" notify("Mode changed to "..mode) end elseif key == "t" then if blademode == "knife" then mode = "fling" notify("Mode changed to "..mode) end end end if key == "m" and sounding == false then --badass mode pcall(function() if badass.Playing == false then sounding = true for i,v in pairs(workspace:GetDescendants()) do if v:IsA('Sound') and v~=player.Character.Head.Badass then v:Stop() end end badass:Play() badass.Volume = 10 sounding = false else sounding = true for i=1,100 do badass.Volume = badass.Volume-0.1 wait() end badass.Volume = 0 badass:Stop() sounding = false end end) end if key == "r" then rag1 = true if rag1 == true and rag2 == true then oogabooga() end end if key == "g" then rag2 = true if rag1 == true and rag2 == true then oogabooga() end end end) mouse.KeyUp:connect(function(key) if key == "r" then rag1 = false end if key == "g" then rag2 = false end end) handle.ChildAdded:connect(function(child) if child:IsA('BasePart') then child.CanCollide = false if child.Name == "blade" then child.Touched:connect(function(hit) if blademode == "katana" and swinging then if gettingeem then if goteem == nil then if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then local sounn = Instance.new("Sound", char.Torso) local lipp = math.random(1, 3) if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end sounn:Play() goteem = hit.Parent pcall(function() goteem.HumanoidRootPart:Destroy() end) pcall(function() ragdollpart(goteem,"Right Arm") ragdollpart(goteem,"Right Leg") ragdollpart(goteem,"Left Arm") ragdollpart(goteem,"Left Leg") end) pcall(function() ragdollpart(goteem,"RightUpperArm") ragdollpart(goteem,"RightUpperLeg") ragdollpart(goteem,"LeftUpperArm") ragdollpart(goteem,"LeftUpperLeg") end) pcall(function() local weld = Instance.new('Weld',goteem.Torso) weld.Part0 = goteem.Torso weld.Part1 = handle weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) end) pcall(function() local weld = Instance.new('Weld',goteem.UpperTorso) weld.Part0 = goteem.UpperTorso weld.Part1 = handle weld.C0 = CFrame.new(0,0,2)*CFrame.Angles(math.rad(90),0,math.rad(-90)) end) pcall(function() local thang = "Torso" if goteem:FindFirstChild('UpperTorso') then thang = "UpperTorso" end local ayybleed = Instance.new('Part',goteem) ayybleed.Size = Vector3.new(0.2,0.2,0.2) ayybleed.BrickColor = BrickColor.new('Maroon') ayybleed.Material = Enum.Material.SmoothPlastic ayybleed.Name = "ayybleed" ayybleed.CanCollide = false ayybleed.Transparency = 1 ayybleed.CFrame = goteem[thang].CFrame ayybleed:BreakJoints() local attachment1 = Instance.new('Attachment',ayybleed) attachment1.Position = Vector3.new(0,0,0) attachment1.Orientation = Vector3.new(-90, 0, -90) local attachment0 = Instance.new('Attachment',goteem[thang]) if attachment0 and attachment1 then local constraint = Instance.new("HingeConstraint") constraint.Attachment0 = attachment0 constraint.Attachment1 = attachment1 constraint.LimitsEnabled = true constraint.UpperAngle = 0 constraint.LowerAngle = 0 constraint.Parent = goteem end local bleedBLEED= coroutine.wrap(function() bleed(ayybleed) end) bleedBLEED() end) end end elseif SLESH then if hit.Parent and hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then local sounn = Instance.new("Sound", char.Torso) local lipp = math.random(1, 3) if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end sounn:Play() ragdollpart(hit.Parent,hit.Name,false) end else if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then local sounn = Instance.new("Sound", char.Torso) local lipp = math.random(1, 3) if lipp == 1 then sounn.SoundId = "rbxassetid://444667844" end if lipp == 2 then sounn.SoundId = "rbxassetid://444667824" end if lipp == 3 then sounn.SoundId = "rbxassetid://444667859" end sounn:Play() swinging = false ragdollpart(hit.Parent,"Head",true,false) end end elseif blademode == "knife" then if grabbing == true and grabbed == nil then if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then grabbed = hit.Parent stun(grabbed) local grabwelds = Instance.new("Weld", char.Torso) grabwelds.Part0 = char.Torso pcall(function() grabwelds.Part1 = grabbed.Torso end) pcall(function() grabwelds.Part1 = grabbed.UpperTorso end) grabwelds.C0 = CFrame.new(-0.45, 0, -1) grabweld = grabwelds end end end end) end elseif child:IsA("Model") then child.ChildAdded:connect(function(aaatip) if aaatip:IsA('BasePart') then aaatip.Touched:connect(function(hit) if MOAN == true then if hit.Parent:FindFirstChildOfClass('Humanoid') and hit.Parent:FindFirstChildOfClass('Humanoid').Health > 0 and hit.Parent ~= char then local sound = Instance.new('Sound',hit.Parent.Head) sound.SoundId = 'rbxassetid://959679286' sound.Volume = 0 sound:Play() local sound3 = Instance.new("Sound",hit.Parent.Head) sound3.Volume = 0 sound3.SoundId = "rbxassetid://702631545" sound3:Play() pcall(function() for i,v in pairs(hit.Parent.Head:GetChildren()) do if v:IsA('Decal') then v:Destroy() end end end) pcall(function() local ree=Instance.new('Decal',hit.Parent.Head) ree.Name = "face" ree.Texture = "rbxassetid://996521543" end) MOAN = false aidsificating = hit.Parent for i, v in pairs(handle["pink toy"]:GetChildren()) do if v:IsA("Part") then v:FindFirstChild("ParticleEmitter"):Destroy() end end end end end) end end) end end) mouse.Button1Down:connect(function(jew) if usable and working == false and equipped then if blademode == "katana" then notify() katanaswing() elseif blademode == "knife" then notify() if grabbed == nil then if mode == "fling" then fling() else grab() end elseif grabbed ~= nil then if mode == "kill" then kill() elseif mode == "throw" then throw() elseif mode == "release" then release() end end elseif blademode == "aaa" then raep() end end end) end spawned() player.CharacterAdded:connect(function() spawned() end) local avgs = {} game:GetService('RunService').Heartbeat:connect(function(step) local ofps = math.floor((60/(step*60))*10)/10 if #avgs > 100 then table.remove(avgs,1) end table.insert(avgs,#avgs+1,ofps) local fpsa = 0 for i,v in pairs(avgs) do fpsa = fpsa+v end fpsa = math.floor(fpsa/#avgs) fps.Text = 'FPS: '..tostring(fpsa) end) while true do for i,v in pairs(rekt) do if v.Parent ~= nil then if v:FindFirstChildOfClass('Humanoid') and v:FindFirstChildOfClass('Humanoid').Health>0 then for a,c in pairs(v:GetChildren()) do if c:IsA('Tool') then c.ManualActivationOnly = true wait() if game:GetService('Players'):GetPlayerFromCharacter(v) then c.Parent = game:GetService('Players'):GetPlayerFromCharacter(v).Backpack c.ManualActivationOnly = false end end end v:FindFirstChildOfClass('Humanoid').PlatformStand = true v:FindFirstChildOfClass('Humanoid').Sit = false v:FindFirstChildOfClass('Humanoid').JumpPower = 0 v:FindFirstChildOfClass('Humanoid').WalkSpeed = 0 v:FindFirstChildOfClass('Humanoid').Name = "hecc" else table.remove(rekt,i) end else table.remove(rekt,i) end end wait() end end) TextButton_7.Parent = Frame TextButton_7.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_7.Position = UDim2.new(0, 132, 0, 126) TextButton_7.Size = UDim2.new(0, 79, 0, 26) TextButton_7.Font = Enum.Font.Code TextButton_7.Text = "PC thingy" TextButton_7.TextSize = 14 TextButton_7.MouseButton1Down:connect(function() --//====================================================\\-- --|| CREATED BY SHACKLUSTER --\\====================================================//-- 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"] 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 --//=================================\\ --|| USEFUL VALUES --\\=================================// Animation_Speed = 3 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 16 local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local RIGHTSHOULDERC0 = CF(-0.5, 0, 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 = "Weapon GUI" local Weapon = IT("Model") Weapon.Name = "Adds" local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local UNANCHOR = true local CYAN = BRICKC"Cyan".Color local ICONS = {"167300717","413366101","839798346","413372165","413366777","132769874","99340890","413364594","64940934","99340699"} --//=================================\\ --\\=================================// --//=================================\\ --|| SAZERENOS' ARTIFICIAL HEARTBEAT --\\=================================// ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "ArtificialHB" script:WaitForChild("ArtificialHB") frame = Frame_Speed tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.ArtificialHB:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.ArtificialHB:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.ArtificialHB:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --//=================================\\ --\\=================================// --//=================================\\ --|| SOME FUNCTIONS --\\=================================// function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) local NEWMESH = IT(MESH) if MESH == "SpecialMesh" then NEWMESH.MeshType = MESHTYPE if MESHID ~= "nil" and MESHID ~= "" then NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID end if TEXTUREID ~= "nil" and TEXTUREID ~= "" then NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID end end NEWMESH.Offset = OFFSET or VT(0, 0, 0) NEWMESH.Scale = SCALE NEWMESH.Parent = PARENT return NEWMESH end function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) local NEWPART = IT("Part") NEWPART.formFactor = FORMFACTOR NEWPART.Reflectance = REFLECTANCE NEWPART.Transparency = TRANSPARENCY NEWPART.CanCollide = false NEWPART.Locked = true NEWPART.Anchored = true if ANCHOR == false then NEWPART.Anchored = false end NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) NEWPART.Name = NAME NEWPART.Size = SIZE NEWPART.Position = Torso.Position NEWPART.Material = MATERIAL NEWPART:BreakJoints() NEWPART.Parent = PARENT return NEWPART end local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5 / s return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00 - m11 - m22 + 1) local recip = 0.5 / s return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip elseif i == 1 then local s = math.sqrt(m11 - m22 - m00 + 1) local recip = 0.5 / s return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip elseif i == 2 then local s = math.sqrt(m22 - m00 - m11 + 1) local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip end end end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w * xs, w * ys, w * zs local xx = x * xs local xy = x * ys local xz = x * zs local yy = y * ys local yz = y * zs local zz = z * zs return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) end function QuaternionSlerp(a, b, t) local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = ACOS(cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((1 - t) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end else if (1 + cosTheta) > 0.0001 then local theta = ACOS(-cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((t - 1) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = t - 1 finishInterp = t end end return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp end function Clerp(a, b, t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1 - t return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) end function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) local frame = IT("Frame") frame.BackgroundTransparency = TRANSPARENCY frame.BorderSizePixel = BORDERSIZEPIXEL frame.Position = POSITION frame.Size = SIZE frame.BackgroundColor3 = COLOR frame.BorderColor3 = BORDERCOLOR frame.Name = NAME frame.Parent = PARENT return frame end function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) local label = IT("TextLabel") label.BackgroundTransparency = 1 label.Size = UD2(1, 0, 1, 0) label.Position = UD2(0, 0, 0, 0) label.TextColor3 = TEXTCOLOR label.TextStrokeTransparency = STROKETRANSPARENCY label.TextTransparency = TRANSPARENCY label.FontSize = TEXTFONTSIZE label.Font = TEXTFONT label.BorderSizePixel = BORDERSIZEPIXEL label.TextScaled = false label.Text = TEXT label.Name = NAME label.Parent = PARENT return label end function NoOutlines(PART) PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 end function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) local NEWWELD = IT(TYPE) NEWWELD.Part0 = PART0 NEWWELD.Part1 = PART1 NEWWELD.C0 = C0 NEWWELD.C1 = C1 NEWWELD.Parent = PARENT return NEWWELD end local S = IT("Sound") function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = S:Clone() NEWSOUND.Parent = PARENT NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID NEWSOUND:play() if DOESLOOP == true then NEWSOUND.Looped = true else repeat Swait() until NEWSOUND.Playing == false NEWSOUND:remove() end end)) return NEWSOUND end function CFrameFromTopBack(at, top, back) local right = top:Cross(back) return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) end --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) function WACKYEFFECT(Table) local TYPE = (Table.EffectType or "Sphere") local SIZE = (Table.Size or VT(1,1,1)) local ENDSIZE = (Table.Size2 or VT(0,0,0)) local TRANSPARENCY = (Table.Transparency or 0) local ENDTRANSPARENCY = (Table.Transparency2 or 1) local CFRAME = (Table.CFrame or Torso.CFrame) local MOVEDIRECTION = (Table.MoveToPos or nil) local ROTATION1 = (Table.RotationX or 0) local ROTATION2 = (Table.RotationY or 0) local ROTATION3 = (Table.RotationZ or 0) local MATERIAL = (Table.Material or "Neon") local COLOR = (Table.Color or C3(1,1,1)) local TIME = (Table.Time or 45) local SOUNDID = (Table.SoundID or nil) local SOUNDPITCH = (Table.SoundPitch or nil) local SOUNDVOLUME = (Table.SoundVolume or nil) coroutine.resume(coroutine.create(function() local PLAYSSOUND = false local SOUND = nil local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then PLAYSSOUND = true SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) end EFFECT.Color = COLOR local MSH = nil if TYPE == "Sphere" then MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) elseif TYPE == "Block" then MSH = IT("BlockMesh",EFFECT) MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) elseif TYPE == "Wave" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) elseif TYPE == "Ring" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.01), 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)) elseif TYPE == "Box" then MSH = IT("BlockMesh",EFFECT) MSH.Scale = SIZE 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 do Swait() MSH.Scale = MSH.Scale - GROWTH/TIME if TYPE == "Wave" then MSH.Offset = VT(0,0,-MSH.Scale.X/8) end EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) end if MOVEDIRECTION ~= nil then local ORI = EFFECT.Orientation EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) EFFECT.Orientation = ORI end end if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end else if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end end end)) end function MakeForm(PART,TYPE) if TYPE == "Cyl" then local MSH = IT("CylinderMesh",PART) elseif TYPE == "Ball" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Sphere" elseif TYPE == "Wedge" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Wedge" end end Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return 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 --\\=================================// RightArm:remove() LeftArm:remove() RightLeg:remove() LeftLeg:remove() Humanoid.HipHeight = 6 Head:ClearAllChildren() Head.Transparency = 1 Torso.Transparency = 1 local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,2,1),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(1.6,1.6,1.5),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0,0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(2,0.2,0.5),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0,-0.9,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local BOX = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "BOX", VT(0.2,1.8,0.5),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, BOX, CF(-0.9,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local SCREEN = CreatePart(3, Weapon, "Neon", 0, 0, "Bright blue", "SCREEN", VT(1.8,1.8,0.45),false) CreateWeldOrSnapOrMotor("Weld", Torso, Torso, SCREEN, CF(0,0,-0.5) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local Eye1 = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eyeball", VT(0.3,0.7,0.2),false) MakeForm(Eye1,"Ball") Eye1.Color = C3(0,0,0) CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye1, CF(0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local Eye2 = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "Eyeball", VT(0.3,0.7,0.2),false) MakeForm(Eye2,"Ball") Eye2.Color = C3(0,0,0) CreateWeldOrSnapOrMotor("Weld", SCREEN, SCREEN, Eye2, CF(-0.3,0.2,-0.2) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,0,0)) local TIE = CreatePart(3, Weapon, "Neon", 0, 0, "Cyan", "TIE", VT(0,0,0),false) local TIEWELD = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, TIE, CF(0,0,0) * ANGLES(RAD(0),RAD(0),RAD(0)), CF(0,1.8,0.65)) CreateMesh("SpecialMesh", TIE, "FileMesh", "28463033", "28463022", VT(1,1,1)*1.5, VT(0,0,0)) for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end local SKILLTEXTCOLOR = C3(0,0,0) local SKILLFONT = "SciFi" local SKILLTEXTSIZE = 6 Weapon.Parent = Character Humanoid.Died:connect(function() ATTACK = true end) local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.80, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") local SKILL4FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Chuck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1") local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Suck", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2") local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Disable", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 3") local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 4") --//=================================\\ --|| DAMAGE FUNCTIONS --\\=================================// 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 --//=================================\\ --|| DAMAGING --\\=================================// function ApplyDamage(Humanoid,Damage,CritRate,CritMultiplier) if Humanoid.MaxHealth == math.huge then Humanoid.Parent:BreakJoints() local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso") local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false) REMAIN.CFrame = TORS.CFrame REMAIN.CanCollide = true local GUI = Instance.new("BillboardGui",REMAIN) GUI.Size = UDim2.new(3,0,3,0) GUI.Adornee = REMAIN local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI2.Image = "http://www.roblox.com/asset/?id=167300717" CreateSound("681582832", REMAIN, 3, 1, false) Debris:AddItem(REMAIN,15) if TORS then end Humanoid.Parent:remove() else local defence = Instance.new("BoolValue",Humanoid.Parent) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.001) Damage = Damage * DAMAGEMULTIPLIER if Humanoid.Health ~= 0 then local CritChance = MRANDOM(1,100) if CritChance < CritRate + 1 then Damage = Damage*CritMultiplier end if Damage > Humanoid.Health then Damage = math.ceil(Humanoid.Health) if Damage == 0 then Damage = 0.1 end end Humanoid.Health = Humanoid.Health - Damage if Humanoid.Parent:FindFirstChild("Head") then if CritChance < CritRate + 1 then StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), "CRIT//"..Damage, C3(1, 0, 0)) else StatLabel(Humanoid.Parent.Head.CFrame * CF(0, 0 + (Humanoid.Parent.Head.Size.z - 1), 0), Damage, C3(0, 0, 0)) end end if Humanoid.Health == 0 or Humanoid.MaxHealth == "inf" then local TORS = Humanoid.Parent:FindFirstChild("Torso") or Humanoid.Parent:FindFirstChild("UpperTorso") local REMAIN = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(3,3,3),false) REMAIN.CFrame = TORS.CFrame REMAIN.CanCollide = true local GUI = Instance.new("BillboardGui",REMAIN) GUI.Size = UDim2.new(3,0,3,0) GUI.Adornee = REMAIN local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI2.Image = "http://www.roblox.com/asset/?id=167300717" CreateSound("681582832", REMAIN, 3, 1, false) Debris:AddItem(REMAIN,15) if TORS then end Humanoid.Parent:remove() end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function Chuck() ATTACK = true Rooted = false CreateSound("11900833", SCREEN, 3, 1, false) coroutine.resume(coroutine.create(function() local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1)) TOCHUCK.CFrame = CF(SCREEN.Position,Mouse.Hit.p) local GUI = Instance.new("BillboardGui",TOCHUCK) GUI.Size = UDim2.new(1,0,1,0) GUI.Adornee = TOCHUCK local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI2.Image = "http://www.roblox.com/asset/?id="..ICONS[MRANDOM(1,#ICONS)] for i = 1, 100 do Swait() TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1) local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character) if HIT ~= nil then if HIT.Parent.ClassName == "Model" then if HIT.Parent:FindFirstChildOfClass("Humanoid") then CreateSound("131237241", HIT, 3, 1, false) ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15 bv.Parent = HIT Debris:AddItem(bv,0.1) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15 bv.Parent = TOCHUCK Debris:AddItem(bv,0.1) end end break end TOCHUCK.CFrame = TOCHUCK.CFrame*CF(0,0,-1) local HIT = Raycast(TOCHUCK.Position, TOCHUCK.CFrame.lookVector, 1.5, Character) if HIT ~= nil then if HIT.Parent.ClassName == "Model" then if HIT.Parent:FindFirstChildOfClass("Humanoid") then CreateSound("131237241", HIT, 3, 1, false) ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(7,14),4,3) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(TOCHUCK.Position,HIT.Position).lookVector*15 bv.Parent = HIT Debris:AddItem(bv,0.1) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(HIT.Position,TOCHUCK.Position).lookVector*15 bv.Parent = TOCHUCK Debris:AddItem(bv,0.1) end end break end end TOCHUCK.CanCollide = true TOCHUCK.Anchored = false Debris:AddItem(TOCHUCK,5) end)) for i=0, 0.2, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0))* CF(0,0,-0.1), 1 / Animation_Speed) end ATTACK = false Rooted = false end function Suck() local target = nil local targettorso = nil if Mouse.Target ~= nil then if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso") end end if target ~= nil then VALUE1 = true CreateSound("131228548", SCREEN, 10, 1, false) targettorso.Anchored = true local GYRO = IT("BodyGyro",RootPart) GYRO.D = 100 GYRO.P = 2000 GYRO.MaxTorque = VT(0,999999999999999999,0) GYRO.cframe = CF(RootPart.Position,targettorso.Position) wait(1.5) GYRO:remove() coroutine.resume(coroutine.create(function() local DISTANCE = 10 local REEEE = CreateSound("1278710301", targettorso, 5, 1, true) repeat Swait() targettorso.CFrame = CF(targettorso.Position,RootPart.Position)*CF(0,0,-1) DISTANCE = (targettorso.Position - RootPart.Position).Magnitude targettorso.Anchored = true target.PlatformStand = true until DISTANCE < 5 REEEE.Looped = false targettorso.Anchored = false wait(0.5) target.PlatformStand = false end)) VALUE1 = false end end function Disable() local target = nil local targettorso = nil if Mouse.Target ~= nil then if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then target = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") targettorso = Mouse.Target.Parent:FindFirstChild("HumanoidRootPart") or Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso") end end if target ~= nil then VALUE1 = true targettorso.Anchored = true CreateSound("191456748", SCREEN, 10, 1, false) local GYRO = IT("BodyGyro",RootPart) GYRO.D = 100 GYRO.P = 2000 GYRO.MaxTorque = VT(0,999999999999999999,0) GYRO.cframe = CF(RootPart.Position,targettorso.Position) wait(1) WACKYEFFECT({Time = 75, EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(5,5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,0,-2), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = 314970790, SoundPitch = 1, SoundVolume = 3}) GYRO:remove() targettorso.CFrame = CF(targettorso.Position,RootPart.Position) targettorso.Anchored = false for _, c in pairs(target.Parent:GetChildren()) do if c.ClassName == "LocalScript" then local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1)) TOCHUCK.CFrame = targettorso.CFrame local GUI = Instance.new("BillboardGui",TOCHUCK) GUI.Size = UDim2.new(1,0,1,0) GUI.Adornee = TOCHUCK local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI2.Image = "http://www.roblox.com/asset/?id=99340858" c.Disabled = true c.Parent = TOCHUCK coroutine.resume(coroutine.create(function() wait() TOCHUCK.Anchored = false TOCHUCK.CanCollide = true end)) coroutine.resume(coroutine.create(function() wait(MRANDOM(3,6)) local DISTANCE = 10 TOCHUCK.Anchored = true TOCHUCK.CanCollide = false repeat Swait() TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1) DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude until DISTANCE < 2 TOCHUCK:remove() end)) elseif c.ClassName == "Script" then local TOCHUCK = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Idk lol", VT(1,1,1)) TOCHUCK.CFrame = targettorso.CFrame local GUI = Instance.new("BillboardGui",TOCHUCK) GUI.Size = UDim2.new(1,0,1,0) GUI.Adornee = TOCHUCK local GUI2 = IT("ImageLabel",GUI) GUI2.BackgroundTransparency = 1 GUI2.BorderSizePixel = 0 GUI2.Size = UDim2.new(1,0,1,0) GUI2.SizeConstraint = "RelativeYY" GUI2.Image = "http://www.roblox.com/asset/?id=99340890" c.Disabled = true c.Parent = TOCHUCK coroutine.resume(coroutine.create(function() wait() TOCHUCK.Anchored = false TOCHUCK.CanCollide = true end)) coroutine.resume(coroutine.create(function() wait(MRANDOM(3,6)) local DISTANCE = 10 TOCHUCK.Anchored = true TOCHUCK.CanCollide = false repeat Swait() TOCHUCK.CFrame = CF(TOCHUCK.Position,RootPart.Position)*CF(0,0,-1) DISTANCE = (TOCHUCK.Position - RootPart.Position).Magnitude until DISTANCE < 1.2 TOCHUCK:remove() end)) end end target.PlatformStand = true CreateSound("330010786", targettorso, 10, 1, false) local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(VT(RootPart.Position.X,targettorso.Position.Y-10,RootPart.Position.Z),targettorso.Position).lookVector*350 bv.Parent = targettorso Debris:AddItem(bv,0.05) VALUE1 = false end end function Warp() local FRAME = RootPart.Position for i = 1, 6 do WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Cyan".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2}) end RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0),VT(FRAME.X,RootPart.Position.Y,FRAME.Z)) for i = 1, 6 do WACKYEFFECT({Time = 15, EffectType = "Box", Size = VT(2,0,2), Size2 = VT(0,35,0), Transparency = 0.5, Transparency2 = 0.5, CFrame = CF(Torso.Position)*ANGLES(RAD(0),RAD(i*(360/5)),RAD(0))*CF(6,0,0), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = BRICKC"Cyan".Color, SoundID = 1177785010, SoundPitch = 1, SoundVolume = 2}) end end function HavingFun() ATTACK = true VALUE2 = true Speed = 65 local SONGS = {329896322,162986891,1027314531,171131642,248967176,922850176,966409302,255023933} local PISS = CreateSound(SONGS[MRANDOM(1,#SONGS)], SCREEN, 10, 1, true) repeat for i = 1, 5 do Swait() PISS.Parent = SCREEN SCREEN.Color = CYAN CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(-5), RAD(0), RAD(0)) * CF(0,0,-0.1), 1 / Animation_Speed) end for i = 1, 5 do Swait() PISS.Parent = SCREEN SCREEN.Color = CYAN CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed) end if MRANDOM(1,15) == 1 then for i = 1, 15 do Swait() if VALUE2 == false then break end PISS.Parent = SCREEN SCREEN.Color = CYAN CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(i*18), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed) end end if MRANDOM(1,15) == 1 then for i = 1, 15 do Swait() if VALUE2 == false then break end PISS.Parent = SCREEN SCREEN.Color = CYAN CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(i*18)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed) end end if MRANDOM(1,15) == 1 then for i = 1, 15 do Swait() if VALUE2 == false then break end PISS.Parent = SCREEN SCREEN.Color = CYAN CYAN = C3(MRANDOM(0,255)/255,MRANDOM(0,255)/255,MRANDOM(0,255)/255) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(i*18), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed) end end until VALUE2 == false Speed = 16 PISS:remove() SCREEN.BrickColor = BRICKC"Bright blue" CYAN = BRICKC"Cyan".Color ATTACK = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function KeyDown(Key) KEYHOLD = true if VALUE1 == false and ATTACK == false then if Key == "z" then Chuck() end if Key == "b" then Suck() end if Key == "c" then Disable() end if Key == "v" then Warp() end if Key == "t" then CreateSound("1395854043", Effects, 5, 1, false) end end if (VALUE1 == false and ATTACK == false) or VALUE2 == true then if Key == "q" then if VALUE2 == false then HavingFun() elseif VALUE2 == true then VALUE2 = false end end end end function KeyUp(Key) KEYHOLD = false 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 LOOPED = 0 while true do Swait() script.Parent = WEAPONGUI ANIMATE.Parent = nil Character.Parent = workspace Humanoid.Parent = Character if Humanoid then local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() end SINE = SINE + CHANGE local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude local TORSOVERTICALVELOCITY = RootPart.Velocity.y local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character) local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) if ATTACK == false then if TORSOVELOCITY < 1 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) elseif TORSOVELOCITY > 1 then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 + 0.25 * COS(SINE / 15), 0 + 0.45 * COS(SINE / 20), 0 + 0.25 * COS(SINE / 24)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed) TIEWELD.C0 = Clerp(TIEWELD.C0, CF(0,0,0) * ANGLES(RAD(15), RAD(0), RAD(0)) * CF(0,-0.1,0.2), 1 / Animation_Speed) end end unanchor() Humanoid.MaxHealth = "inf" Humanoid.Health = "inf" if Rooted == false then Disable_Jump = false Humanoid.WalkSpeed = Speed elseif Rooted == true then Disable_Jump = true Humanoid.WalkSpeed = 0 end Head:ClearAllChildren() Head.Transparency = 1 for _, c in pairs(Character:GetChildren()) do if c.ClassName == "Part" then elseif c.ClassName == "Shirt" or c.ClassName == "Pants" or c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then c:remove() end end script.Parent = WEAPONGUI Humanoid.Name = "Roblox_Studio" LOOPED = LOOPED + 1 if LOOPED == 15 and HITFLOOR then LOOPED = 0 WACKYEFFECT({EffectType = "Ring", Size = VT(0.01,0.01,0.01), Size2 = VT(0.5,0.5,0.01), Transparency = 0.5, Transparency2 = 1, CFrame = CF(HITPOS,HITPOS+NORMAL)*ANGLES(RAD(0),RAD(0),RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = CYAN, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end if LOOPED > 15 then LOOPED = 0 end end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//-- end) TextButton_8.Parent = Frame TextButton_8.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_8.Position = UDim2.new(0, 232, 0, 128) TextButton_8.Size = UDim2.new(0, 93, 0, 24) TextButton_8.Font = Enum.Font.Code TextButton_8.Text = "Maruader" TextButton_8.TextSize = 14 TextButton_8.MouseButton1Down:connect(function() --//====================================================\\-- --|| EDIT BY InfiniteOneWithdank CREATED BY SHACKLUSTER --\\====================================================//-- 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"] SIZE = 1 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 --//=================================\\ --|| USEFUL VALUES --\\=================================// Animation_Speed = 3 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 10 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 = "Weapon GUI" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local UNANCHOR = true local GHOSTS = {} ANIMATE:remove() Character.Archivable = true script.Parent = WEAPONGUI local GHOSTBASE = Character:Clone() GHOSTBASE.Parent = nil GHOSTBASE.Name = "Ghost" for _, c in pairs(GHOSTBASE:GetChildren()) do if c.ClassName == "Part" and c.Transparency < 1 then c.Color = C3(0,0,0) if c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then c:remove() end end end local sick = Instance.new("Sound",Torso) sick.SoundId = "rbxassetid://657623150" sick.Looped = true sick.Pitch = 1 sick.Volume = 3 sick:Play() local Effects = IT("Folder", Character) Effects.Name = "Effects" Character.Archivable = false --//=================================\\ --\\=================================// local Player = game:service'Players'.LocalPlayer repeat wait() until Player.Character local Character = Player.Character local Char, Plr = Character, Player local Mouse = Player:GetMouse() local Char = Plr.Character local Hum = Char:FindFirstChildOfClass'Humanoid' local RArm = Char["Right Arm"] local LArm = Char["Left Arm"] local RLeg = Char["Right Leg"] local LLeg = Char["Left Leg"] local Root = Char:FindFirstChild'HumanoidRootPart' local Torso = Char.Torso local Head = Char.Head Player = game.Players.LocalPlayer Character = Player.Character local txt = Instance.new("BillboardGui", Character) txt.Adornee = Character.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 = "Code" text.TextStrokeColor3 = Color3.new(0,255,0) text.Text = "Hehe Skids Prepare to Face Your Doom AbusErs" wait(2) text.Text = "Edit By InfiniteOneWithdank" wait(2) text.Text = "Marauder" local face = Head:FindFirstChild'face' if(not face)then NewInstance("Decal",Head,{Name='face',Face=Enum.NormalId.Front,Texture="rbxassetid://1281412824"}) else face.Texture = "rbxassetid://1281412824" 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 FUNCTIONS --\\=================================// function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) local NEWMESH = IT(MESH) if MESH == "SpecialMesh" then NEWMESH.MeshType = MESHTYPE if MESHID ~= "nil" and MESHID ~= "" then NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID end if TEXTUREID ~= "nil" and TEXTUREID ~= "" then NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID end end NEWMESH.Offset = OFFSET or VT(0, 0, 0) NEWMESH.Scale = SCALE NEWMESH.Parent = PARENT return NEWMESH end function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) local NEWPART = IT("Part") NEWPART.formFactor = FORMFACTOR NEWPART.Reflectance = REFLECTANCE NEWPART.Transparency = TRANSPARENCY NEWPART.CanCollide = false NEWPART.Locked = true NEWPART.Anchored = true if ANCHOR == false then NEWPART.Anchored = false end NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) NEWPART.Name = NAME NEWPART.Size = SIZE NEWPART.Position = Torso.Position NEWPART.Material = MATERIAL NEWPART:BreakJoints() NEWPART.Parent = PARENT return NEWPART end local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5 / s return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00 - m11 - m22 + 1) local recip = 0.5 / s return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip elseif i == 1 then local s = math.sqrt(m11 - m22 - m00 + 1) local recip = 0.5 / s return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip elseif i == 2 then local s = math.sqrt(m22 - m00 - m11 + 1) local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip end end end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w * xs, w * ys, w * zs local xx = x * xs local xy = x * ys local xz = x * zs local yy = y * ys local yz = y * zs local zz = z * zs return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) end function QuaternionSlerp(a, b, t) local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = ACOS(cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((1 - t) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end else if (1 + cosTheta) > 0.0001 then local theta = ACOS(-cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((t - 1) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = t - 1 finishInterp = t end end return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp end function Clerp(a, b, t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1 - t return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) end function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) local frame = IT("Frame") frame.BackgroundTransparency = TRANSPARENCY frame.BorderSizePixel = BORDERSIZEPIXEL frame.Position = POSITION frame.Size = SIZE frame.BackgroundColor3 = COLOR frame.BorderColor3 = BORDERCOLOR frame.Name = NAME frame.Parent = PARENT return frame end function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) local label = IT("TextLabel") label.BackgroundTransparency = 1 label.Size = UD2(1, 0, 1, 0) label.Position = UD2(0, 0, 0, 0) label.TextColor3 = TEXTCOLOR label.TextStrokeTransparency = STROKETRANSPARENCY label.TextTransparency = TRANSPARENCY label.FontSize = TEXTFONTSIZE label.Font = TEXTFONT label.BorderSizePixel = BORDERSIZEPIXEL label.TextScaled = false label.Text = TEXT label.Name = NAME label.Parent = PARENT return label end function NoOutlines(PART) PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 end function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) local NEWWELD = IT(TYPE) NEWWELD.Part0 = PART0 NEWWELD.Part1 = PART1 NEWWELD.C0 = C0 NEWWELD.C1 = C1 NEWWELD.Parent = PARENT return NEWWELD end local S = IT("Sound") function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = S:Clone() NEWSOUND.Parent = PARENT NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID NEWSOUND:play() if DOESLOOP == true then NEWSOUND.Looped = true else repeat wait(1) until NEWSOUND.Playing == false NEWSOUND:remove() end end)) return NEWSOUND end function CFrameFromTopBack(at, top, back) local right = top:Cross(back) return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) end --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) function WACKYEFFECT(Table) local TYPE = (Table.EffectType or "Sphere") local SIZE = (Table.Size or VT(1,1,1)) local ENDSIZE = (Table.Size2 or VT(0,0,0)) local TRANSPARENCY = (Table.Transparency or 0) local ENDTRANSPARENCY = (Table.Transparency2 or 1) local CFRAME = (Table.CFrame or Torso.CFrame) local MOVEDIRECTION = (Table.MoveToPos or nil) local ROTATION1 = (Table.RotationX or 0) local ROTATION2 = (Table.RotationY or 0) local ROTATION3 = (Table.RotationZ or 0) local MATERIAL = (Table.Material or "Neon") local COLOR = (Table.Color or C3(1,1,1)) local TIME = (Table.Time or 45) local SOUNDID = (Table.SoundID or nil) local SOUNDPITCH = (Table.SoundPitch or nil) local SOUNDVOLUME = (Table.SoundVolume or nil) coroutine.resume(coroutine.create(function() local PLAYSSOUND = false local SOUND = nil local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then PLAYSSOUND = true SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) end EFFECT.Color = COLOR local MSH = nil if TYPE == "Sphere" then MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) elseif TYPE == "Block" then MSH = IT("BlockMesh",EFFECT) MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) elseif TYPE == "Wave" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) elseif TYPE == "Ring" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) elseif TYPE == "Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Round Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Swirl" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) elseif TYPE == "Skull" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) elseif TYPE == "Crystal" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) end if MSH ~= nil then local MOVESPEED = nil if MOVEDIRECTION ~= nil then MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME end local GROWTH = SIZE - ENDSIZE local TRANS = TRANSPARENCY - ENDTRANSPARENCY if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = CFRAME end for LOOP = 1, TIME+1 do Swait() MSH.Scale = MSH.Scale - GROWTH/TIME if TYPE == "Wave" then MSH.Offset = VT(0,0,-MSH.Scale.X/8) end EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) end if MOVEDIRECTION ~= nil then local ORI = EFFECT.Orientation EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) EFFECT.Orientation = ORI end end if PLAYSSOUND == false then EFFECT:remove() else 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 function MakeForm(PART,TYPE) if TYPE == "Cyl" then local MSH = IT("CylinderMesh",PART) elseif TYPE == "Ball" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Sphere" elseif TYPE == "Wedge" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Wedge" end end Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return 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 function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT) if FLOOR ~= nil then coroutine.resume(coroutine.create(function() local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0)) PART.CFrame = CF(POSITION) for i = 1, 45 do local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "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 function CreateFlyingDebree(FLOOR,POSITION,AMOUNT,BLOCKSIZE,SWAIT,STRENGTH,DOES360) if FLOOR ~= nil then for i = 1, AMOUNT do local DEBREE = CreatePart(3, Effects, "Neon", 0, 0, "Peal", "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))) if DOES360 == true then DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH),MRANDOM(-STRENGTH,STRENGTH)) else DEBREE.Velocity = VT(MRANDOM(-STRENGTH,STRENGTH),STRENGTH,MRANDOM(-STRENGTH,STRENGTH)) end coroutine.resume(coroutine.create(function() Swait(15) DEBREE.Parent = workspace DEBREE.CanCollide = true Debris:AddItem(DEBREE,SWAIT) end)) end end end function SpawnTrail(FROM,TO) local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0)) MakeForm(TRAIL,"Cyl") local DIST = (FROM - TO).Magnitude TRAIL.Size = VT(0.1,DIST,0.1) 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, 5 do Swait() TRAIL.Transparency = TRAIL.Transparency + 0.1 end TRAIL:remove() end)) end local Decal = IT("Decal") function SpawnBulletHole(POSITION) local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Bullet hole", VT(0.2,0,0.2)) local decal = Decal:Clone() decal.Parent = O1 decal.Face = "Top" decal.Texture = "http://www.roblox.com/asset/?id=130624105" local decal2 = Decal:Clone() decal2.Parent = O1 decal2.Face = "Bottom" decal2.Texture = "http://www.roblox.com/asset/?id=130624105" O1.CFrame = POSITION*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0)) Debris:AddItem(O1,5) end local asd = Instance.new("ParticleEmitter") asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0)) asd.LightEmission = .1 asd.Texture = "http://www.roblox.com/asset/?ID=291880914" aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 2)}) bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)}) asd.Transparency = bbb asd.Size = aaa asd.ZOffset = .9 asd.Acceleration = Vector3.new(0, -15, 0) asd.LockedToPart = false asd.EmissionDirection = "Back" asd.Lifetime = NumberRange.new(1, 2) asd.Rotation = NumberRange.new(-100, 100) asd.RotSpeed = NumberRange.new(-100, 100) asd.Speed = NumberRange.new(10) asd.Enabled = false asd.VelocitySpread = 999 function getbloody(victim,amount) local PART = IT("Part",Effects) PART.Transparency = 1 PART.Size = victim.Size PART.Anchored = true PART.CanCollide = false PART.CFrame = CF(victim.Position) 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 function BulletDetection(FROM,TO) local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character) coroutine.resume(coroutine.create(function() if AIMHIT ~= nil then if AIMHIT.Parent ~= Character then if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then if AIMHIT.Name ~= "Head" and AIMHIT.Parent.ClassName ~= "Accessory" then ApplyDamage(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25),AIMHIT) elseif AIMHIT.Name == "Head" or AIMHIT.Parent.ClassName == "Accessory" then if AIMHIT.Parent.ClassName == "Accessory" then if AIMHIT:FindFirstChild("HatAttachment") or AIMHIT:FindFirstChild("FaceFrontAttachment") or AIMHIT:FindFirstChild("HairAttachment") then AIMHIT.Parent.Parent:BreakJoints() if AIMHIT.Parent.Parent:FindFirstChild("Head") then getbloody(AIMHIT.Parent.Parent.Head,15) AIMHIT.Parent.Parent.Head:remove() StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0)) end else ApplyDamage(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(25,65),AIMHIT) end elseif AIMHIT.Name == "Head" then getbloody(AIMHIT,15) AIMHIT.Parent:BreakJoints() AIMHIT:remove() StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0)) end end else CreateFlyingDebree(AIMHIT,CF(AIMPOS),7,VT(0.1,0.1,0.1),5,35,true) SpawnBulletHole(CF(AIMPOS,AIMPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0))) end end end end)) return AIMHIT,AIMPOS,NORMAL end --//=================================\\ --|| WEAPON CREATION --\\=================================// 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, "Really red", "Eyeball", VT(0.15,0.15,0.15),false) MakeForm(EYE,"Ball") CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0)) local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false) MakeForm(EYE2,"Ball") CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0)) local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Gun", VT(0, 0, 0),false) local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430198390", "430198451", VT(0.06,0.06,0.06), VT(0,0, 0)) local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0)) 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}) elseif c:IsA("JointInstance") then table.insert(BODY,{c,c.Parent,nil,nil,nil}) end end 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] if PART.ClassName == "Part" and PART ~= RootPart then PART.Material = MATERIAL PART.Color = COLOR PART.Transparency = TRANSPARENCY end PART.AncestryChanged:Connect(function() PART.Parent = PARENT end) 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] if PART.ClassName == "Part" and PART ~= RootPart then PART.Material = MATERIAL PART.Color = COLOR PART.Transparency = TRANSPARENCY end if PART.Parent ~= PARENT then Humanoid:remove() PART.Parent = PARENT Humanoid = IT("Humanoid",Character) end end end end local SKILLTEXTCOLOR = C3(0,0,0) local SKILLFONT = "SciFi" local SKILLTEXTSIZE = 7 Humanoid.Died:connect(function() refit() end) function Blink() coroutine.resume(coroutine.create(function() if EYE ~= nil then for i = 1, 5 do Swait() EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0) EYE2.Mesh.Scale = EYE.Mesh.Scale end for i = 1, 7 do Swait() EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0) EYE2.Mesh.Scale = EYE.Mesh.Scale end EYE.Mesh.Scale = VT(1,1,1) EYE2.Mesh.Scale = EYE.Mesh.Scale end end)) end local AMMO1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.80, 0), UD2(0.07, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Ammo 1 Frame") local AMMO2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.80, 0), UD2(0.07, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Ammo 2 Frame") local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3TEXT = CreateLabel(SKILL1FRAME, "[Z] Shell", C3(0,0,0), 7, SKILLFONT, 0, 2, 1, "Text 3") local SKILL4TEXT = CreateLabel(SKILL2FRAME, "[X] Sinful Shell", C3(1,0,0), 8, "Antique", 0, 2, 1, "Text 4") local AMMOIMAGE1 = IT("ImageLabel",AMMO1FRAME) AMMOIMAGE1.Size = UD2(1,0,1,0) AMMOIMAGE1.BackgroundTransparency = 1 AMMOIMAGE1.BorderSizePixel = 0 AMMOIMAGE1.Image = "http://www.roblox.com/asset/?id=1493961907" local AMMOIMAGE2 = IT("ImageLabel",AMMO2FRAME) AMMOIMAGE2.Size = UD2(1,0,1,0) AMMOIMAGE2.BackgroundTransparency = 1 AMMOIMAGE2.BorderSizePixel = 0 AMMOIMAGE2.Image = "http://www.roblox.com/asset/?id=1493962162" --//=================================\\ --|| DAMAGE FUNCTIONS --\\=================================// 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, 10 do Swait() STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2) TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/10) TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency end THEPART.Parent = nil end),STATPART, TEXTLABEL) end --//=================================\\ --|| DAMAGING --\\=================================// function ApplyDamage(Humanoid,Damage,TorsoPart) local defence = Instance.new("BoolValue",Humanoid.Parent) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.001) Damage = Damage * DAMAGEMULTIPLIER if Humanoid.Health ~= 0 then local CritChance = MRANDOM(1,100) if Damage > Humanoid.Health then Damage = math.ceil(Humanoid.Health) if Damage == 0 then Damage = 0.1 end end Humanoid.Health = Humanoid.Health - Damage StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0)) end end function Ghostify(POSITION,RANGE) local CHILDREN = workspace:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then local HUM = CHILD:FindFirstChildOfClass("Humanoid") if HUM then local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") if TORSO then if HUM.Health > 0 and (TORSO.Position - POSITION).Magnitude <= RANGE then local GHOST = GHOSTBASE:Clone() GHOST.Parent = Effects GHOST.Torso.CFrame = TORSO.CFrame table.insert(GHOSTS,GHOST) CHILD:remove() end end end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function Shell() ATTACK = true Rooted = false local GYRO = IT("BodyGyro",RootPart) GYRO.D = 750 GYRO.P = 20000 GYRO.MaxTorque = VT(0,40000000,0) for i=0, 1, 0.1 / Animation_Speed do Swait() GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(115), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed) end GYRO:remove() CreateSound(696483710, Gun, 5, 1, false) local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p) SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS) WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) for i=0, 0.3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0.3) * ANGLES(RAD(110), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed) end ATTACK = false Rooted = false end function Taunt() ATTACK = true local LAUGH = nil coroutine.resume(coroutine.create(function() repeat Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) until LAUGH ~= nil repeat Swait() LAUGH.Parent = Head RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed) until LAUGH.Playing == false ATTACK = false end)) wait(0.1) sick:Stop() LAUGH = CreateSound(184605339, Head, 10, 1, false) sick:Resume() end function SinfulShell() ATTACK = true Rooted = false local GYRO = IT("BodyGyro",RootPart) GYRO.D = 750 GYRO.P = 20000 GYRO.MaxTorque = VT(0,40000000,0) for i=0, 1, 0.1 / Animation_Speed do Swait() GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(115), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed) end GYRO:remove() CreateSound(696483710, Gun, 5, 1, false) WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) coroutine.resume(coroutine.create(function() local Bullet = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "Really red", "Sinful bullet", VT(0,0,0)) CreateMesh("SpecialMesh", Bullet, "FileMesh", "94295100", "", VT(6, 6, 7), VT(0,0, 0)) Bullet.CFrame = Gun.CFrame*CF(1.5,0.5,0) local AIMPOINT = Mouse.Hit.p local STARTPOS = Gun.CFrame*CF(1.5,0.5,0).p local VECTOR = CF(STARTPOS,AIMPOINT) local IMPACTED = false CreateSound(1393698948, Bullet, 10, 1, true) for E = 1, 50 do if IMPACTED == true then break end local TARGETPOINT = VECTOR*CF(0,0,-E*5)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,1,0).p Bullet.CFrame = CF(Bullet.Position,TARGETPOINT) for i = 1, 5 do Swait() WACKYEFFECT({Time = 15, EffectType = "Swirl", Size = VT(1,1,1), Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i+E, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) Bullet.CFrame = Bullet.CFrame*CF(0,0,-1) local AIMHIT,AIMPOS,NORMAL = Raycast(Bullet.Position,Bullet.CFrame.lookVector,1.3,Character) if AIMHIT ~= nil then IMPACTED = true break end end end WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(10,10,10), Size2 = VT(9,9,9), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 182765513, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 7}) for i = 1, 7 do WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,15,1), Size2 = VT(0,25,0), Transparency = 0, Transparency2 = 1, CFrame = Bullet.CFrame*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 = nil, SoundVolume = nil}) end Ghostify(Bullet.Position,10) Bullet:remove() end)) for i=0, 0.3, 0.1 / Animation_Speed do Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(35)), 0.75 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(15), RAD(-35)), 0.75 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0.3) * ANGLES(RAD(110), RAD(0), RAD(35)) * ANGLES(RAD(0), RAD(90), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.75 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.8 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(50), RAD(0)) * ANGLES(RAD(-35), RAD(0), RAD(35)), 0.75 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1.3 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(-25)), 0.75 / Animation_Speed) end ATTACK = false Rooted = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function MouseDown(Mouse) if ATTACK == false then end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Key == "z" and ATTACK == false then Shell() end if Key == "t" and ATTACK == false then Taunt() end if Key == "x" and ATTACK == false then SinfulShell() 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 BLINKLOOP = 0 while true do Swait() script.Parent = WEAPONGUI ANIMATE.Parent = nil Humanoid.Parent = Character if Humanoid then local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() 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 / 16) 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) / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.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) / Animation_Speed) 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) / Animation_Speed) 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 / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then ANIM = "Jump" if ATTACK == false then RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 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(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 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(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 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.1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(25), RAD(0), RAD(15)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 - 0.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(25), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.45, -0.1) * ANGLES(RAD(25), RAD(0), RAD(5)) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(45)), 0.15 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(-15)), 0.15 / Animation_Speed) end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" if ATTACK == false then RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2) * ANGLES(RAD(30), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 3 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.7 - 0.1 * COS(SINE / 12), 0) * ANGLES(RAD(30), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(30-60 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(30), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(30), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) end end unanchor() Humanoid.MaxHealth = "inf" Humanoid.Health = "inf" if Rooted == false then Disable_Jump = false Humanoid.WalkSpeed = Speed elseif Rooted == true then Disable_Jump = true Humanoid.WalkSpeed = 0 end sick.SoundId = "rbxassetid://657623150" sick.Looped = true sick.Pitch = 1 sick.Volume = 1.3 sick.Playing = true sick.Parent = Torso if Head:FindFirstChild("face") then Head.face.Texture = "rbxassetid://315622231" end BLINKLOOP = BLINKLOOP + 1 if BLINKLOOP >=650 then BLINKLOOP = 0 Blink() end if #GHOSTS>0 then for e=1,#GHOSTS do if GHOSTS[e]~=nil then local Thing=GHOSTS[e] if Thing~=nil then if Thing:FindFirstChild("Head") then if Thing:FindFirstChild("Head"):FindFirstChild("face") then Thing:FindFirstChild("Head").face.Texture = "rbxassetid://479674570" end if Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound") then Thing:FindFirstChild("Head"):FindFirstChildOfClass("Sound"):remove() end end local TORSO = Thing:FindFirstChild("Torso") if TORSO then TORSO.Anchored = false local ROOT = Thing.HumanoidRootPart local RootJoint1 = ROOT:FindFirstChild("RootJoint") local Neck1 = TORSO:FindFirstChild("Neck") local RightShoulder1 = TORSO:FindFirstChild("Right Shoulder") local LeftShoulder1 = TORSO:FindFirstChild("Left Shoulder") local RightHip1 = TORSO:FindFirstChild("Right Hip") local LeftHip1 = TORSO:FindFirstChild("Left Hip") if ROOT and RootJoint1 then local VELOCITY = (ROOT.Velocity * VT(1, 0, 1)).magnitude if VELOCITY < 1 then RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-5 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 RightHip1.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)) LeftHip1.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)) elseif VELOCITY > 1 then RootJoint1.C0 = ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(2.5 * SIN(SINE / 12))) Neck1.C0 = NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD( - 2.5 * SIN(SINE / 12))) RightShoulder1.C0 = CF(1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 1.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0 LeftShoulder1.C0 = CF(-1.5, 0.5 + 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 1.5 * SIN(SINE / 12))) * LEFTSHOULDERC0 RightHip1.C0 = CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)) LeftHip1.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)) end end local Human = Thing.Humanoid if Human then Human.HipHeight = 0.3 for _, c in pairs(Thing:GetChildren()) do if c.ClassName == "Part" and c.Transparency < 1 then c.Color = C3(0,0,0) c.Transparency = 0.65 + 0.15 * COS(SINE / 25) elseif c.ClassName == "Accessory" or c.ClassName == "Hat" or c.ClassName == "CharacterMesh" or c.ClassName == "Shirt" or c.ClassName == "Pants" then c:remove() end end if Human then local IDLEANIMATION = Human:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() end local list = game.Workspace:children() local torso = nil local dist = 50 local temp = nil local human = nil local temp2 = nil local OwnerInDanger = false for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") human = temp2:findFirstChildOfClass("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - Torso.Position).magnitude < 15 then OwnerInDanger = true newdist = (temp.Position - TORSO.Position).magnitude dist = (Torso.Position - temp.Position).magnitude Human:MoveTo(temp.Position) torso = temp if newdist < 7 then torso.CFrame = CF(torso.Position,TORSO.Position)*CF(0,0,5) CreateSound(814168787, temp, 1, 2, false) ApplyDamage(human,MRANDOM(15,35),temp) WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = torso.CFrame*CF(0,-4*torso.Size.Y/2,0), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) end end end end end if OwnerInDanger == false then for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= Character) and (temp2 ~= Thing) then temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") human = temp2:findFirstChildOfClass("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - Torso.Position).magnitude < dist then newdist = (temp.Position - TORSO.Position).magnitude Human:MoveTo(temp.Position) torso = temp if newdist < 15 then if MRANDOM(1,35) == 1 then CreateSound(438665935, temp, 1, 3, false) ApplyDamage(human,MRANDOM(2,20),temp) WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(1,1,1), Size2 = VT(3,1,3), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position,torso.Position)*CF(0,0,-2) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5}) end end end end end end end if torso == nil then Human.WalkSpeed = Speed -0.2 if (Torso.Position - TORSO.Position).magnitude < 12 and (Torso.Position - TORSO.Position).magnitude >= 11 then Human:MoveTo(TORSO.Position) elseif (Torso.Position - TORSO.Position).magnitude > 15 then Human:MoveTo(Torso.Position) elseif (Torso.Position - TORSO.Position).magnitude < 11 then Human:MoveTo(CF(Torso.Position,TORSO.Position)*CF(0,0,-5).p) end else if OwnerInDanger == false then Human.WalkSpeed = Speed*1.2 else Human.WalkSpeed = Speed*5 end end if Human.Health == 0 then Thing:remove() table.remove(GHOSTS,e) else Human.Health = Human.Health + 0.5 end else Thing:remove() table.remove(GHOSTS,e) end else Thing:remove() table.remove(GHOSTS,e) end end end end end refit() end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//-- end) TextButton_9.Parent = Frame TextButton_9.BackgroundColor3 = Color3.new(0.192157, 0.517647, 0.0196078) TextButton_9.Position = UDim2.new(0, 347, 0, 127) TextButton_9.Size = UDim2.new(0, 92, 0, 23) TextButton_9.Font = Enum.Font.Code TextButton_9.Text = "Pharoah" TextButton_9.TextSize = 14 TextButton_9.MouseButton1Down:connect(function() ---------------------------------------------------------- --------- CREATED BY CKBACKUP ---------------------------- ---------------------------------------------------------- --------- PHARAON AGAIN DRUNKED XD ----------------------- ---------------------------------------------------------- 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"] Player:ClearCharacterAppearance() 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 --//=================================\\ --|| USEFUL VALUES --\\=================================// Animation_Speed = 3 Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 10 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" local ATANIM = IT("Animation") ATANIM.Name = "Attack Animation" ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663" --ROBLOXIDLEANIMATION.Parent = Humanoid local WEAPONGUI = IT("ScreenGui", PlayerGui) WEAPONGUI.Name = "Weapon GUI" local Weapon = IT("Model") Weapon.Name = "Adds" local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character.Animate local UNANCHOR = true local PLAYANIMS = true script.Parent = WEAPONGUI Character.Archivable = true local CLONE = Character:Clone() CLONE.Parent = nil Character.Archivable = false local sick = Instance.new("Sound",Torso) sick.SoundId = "rbxassetid://1551788627" sick.Looped = true sick.Pitch = 1 sick.Volume = 3 sick:Play() local SIT = IT("BoolValue",Torso) SIT.Name = "IsThePharaohSitting?" --//=================================\\ --\\=================================// --//=================================\\ --|| SAZERENOS' ARTIFICIAL HEARTBEAT --\\=================================// ArtificialHB = Instance.new("BindableEvent", script) ArtificialHB.Name = "ArtificialHB" script:WaitForChild("ArtificialHB") frame = Frame_Speed tf = 0 allowframeloss = false tossremainder = false lastframe = tick() script.ArtificialHB:Fire() game:GetService("RunService").Heartbeat:connect(function(s, p) tf = tf + s if tf >= frame then if allowframeloss then script.ArtificialHB:Fire() lastframe = tick() else for i = 1, math.floor(tf / frame) do script.ArtificialHB:Fire() end lastframe = tick() end if tossremainder then tf = 0 else tf = tf - frame * math.floor(tf / frame) end end end) --//=================================\\ --\\=================================// --//=================================\\ --|| SOME FUNCTIONS --\\=================================// function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS) return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS) end function PositiveAngle(NUMBER) if NUMBER >= 0 then NUMBER = 0 end return NUMBER end function NegativeAngle(NUMBER) if NUMBER <= 0 then NUMBER = 0 end return NUMBER end function Swait(NUMBER) if NUMBER == 0 or NUMBER == nil then ArtificialHB.Event:wait() else for i = 1, NUMBER do ArtificialHB.Event:wait() end end end function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET) local NEWMESH = IT(MESH) if MESH == "SpecialMesh" then NEWMESH.MeshType = MESHTYPE if MESHID ~= "nil" and MESHID ~= "" then NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID end if TEXTUREID ~= "nil" and TEXTUREID ~= "" then NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID end end NEWMESH.Offset = OFFSET or VT(0, 0, 0) NEWMESH.Scale = SCALE NEWMESH.Parent = PARENT return NEWMESH end function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR) local NEWPART = IT("Part") NEWPART.formFactor = FORMFACTOR NEWPART.Reflectance = REFLECTANCE NEWPART.Transparency = TRANSPARENCY NEWPART.CanCollide = false NEWPART.Locked = true NEWPART.Anchored = true if ANCHOR == false then NEWPART.Anchored = false end NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR)) NEWPART.Name = NAME NEWPART.Size = SIZE NEWPART.Position = Torso.Position NEWPART.Material = MATERIAL NEWPART:BreakJoints() NEWPART.Parent = PARENT return NEWPART end local function weldBetween(a, b) local weldd = Instance.new("ManualWeld") weldd.Part0 = a weldd.Part1 = b weldd.C0 = CFrame.new() weldd.C1 = b.CFrame:inverse() * a.CFrame weldd.Parent = a return weldd end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5 / s return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00 - m11 - m22 + 1) local recip = 0.5 / s return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip elseif i == 1 then local s = math.sqrt(m11 - m22 - m00 + 1) local recip = 0.5 / s return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip elseif i == 2 then local s = math.sqrt(m22 - m00 - m11 + 1) local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip end end end function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w * xs, w * ys, w * zs local xx = x * xs local xy = x * ys local xz = x * zs local yy = y * ys local yz = y * zs local zz = z * zs return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy)) end function QuaternionSlerp(a, b, t) local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = ACOS(cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((1 - t) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end else if (1 + cosTheta) > 0.0001 then local theta = ACOS(-cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((t - 1) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = t - 1 finishInterp = t end end return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp end function Clerp(a, b, t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1 - t return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) end function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) local frame = IT("Frame") frame.BackgroundTransparency = TRANSPARENCY frame.BorderSizePixel = BORDERSIZEPIXEL frame.Position = POSITION frame.Size = SIZE frame.BackgroundColor3 = COLOR frame.BorderColor3 = BORDERCOLOR frame.Name = NAME frame.Parent = PARENT return frame end function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) local label = IT("TextLabel") label.BackgroundTransparency = 1 label.Size = UD2(1, 0, 1, 0) label.Position = UD2(0, 0, 0, 0) label.TextColor3 = TEXTCOLOR label.TextStrokeTransparency = STROKETRANSPARENCY label.TextTransparency = TRANSPARENCY label.FontSize = TEXTFONTSIZE label.Font = TEXTFONT label.BorderSizePixel = BORDERSIZEPIXEL label.TextScaled = false label.Text = TEXT label.Name = NAME label.Parent = PARENT return label end function NoOutlines(PART) PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 end function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) local NEWWELD = IT(TYPE) NEWWELD.Part0 = PART0 NEWWELD.Part1 = PART1 NEWWELD.C0 = C0 NEWWELD.C1 = C1 NEWWELD.Parent = PARENT return NEWWELD end local S = IT("Sound") function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = S:Clone() NEWSOUND.Parent = PARENT NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID NEWSOUND:play() if DOESLOOP == true then NEWSOUND.Looped = true else repeat wait(1) until NEWSOUND.Playing == false NEWSOUND:remove() end end)) return NEWSOUND end function CFrameFromTopBack(at, top, back) local right = top:Cross(back) return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) end --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) function WACKYEFFECT(Table) local TYPE = (Table.EffectType or "Sphere") local SIZE = (Table.Size or VT(1,1,1)) local ENDSIZE = (Table.Size2 or VT(0,0,0)) local TRANSPARENCY = (Table.Transparency or 0) local ENDTRANSPARENCY = (Table.Transparency2 or 1) local CFRAME = (Table.CFrame or Torso.CFrame) local MOVEDIRECTION = (Table.MoveToPos or nil) local ROTATION1 = (Table.RotationX or 0) local ROTATION2 = (Table.RotationY or 0) local ROTATION3 = (Table.RotationZ or 0) local MATERIAL = (Table.Material or "Neon") local COLOR = (Table.Color or C3(1,1,1)) local TIME = (Table.Time or 45) local SOUNDID = (Table.SoundID or nil) local SOUNDPITCH = (Table.SoundPitch or nil) local SOUNDVOLUME = (Table.SoundVolume or nil) coroutine.resume(coroutine.create(function() local PLAYSSOUND = false local SOUND = nil local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true) if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then PLAYSSOUND = true SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false) end EFFECT.Color = COLOR local MSH = nil if TYPE == "Sphere" then MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0)) elseif TYPE == "Block" then MSH = IT("BlockMesh",EFFECT) MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X) elseif TYPE == "Wave" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8)) elseif TYPE == "Ring" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0)) elseif TYPE == "Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Round Slash" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0)) elseif TYPE == "Swirl" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0)) elseif TYPE == "Skull" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0)) elseif TYPE == "Crystal" then MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0)) end if MSH ~= nil then local MOVESPEED = nil if MOVEDIRECTION ~= nil then MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME end local GROWTH = SIZE - ENDSIZE local TRANS = TRANSPARENCY - ENDTRANSPARENCY if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = CFRAME end for LOOP = 1, TIME+1 do Swait() MSH.Scale = MSH.Scale - GROWTH/TIME if TYPE == "Wave" then MSH.Offset = VT(0,0,-MSH.Scale.X/8) end EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME if TYPE == "Block" then EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))) else EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3)) end if MOVEDIRECTION ~= nil then local ORI = EFFECT.Orientation EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED) EFFECT.Orientation = ORI end end EFFECT.Transparency = 1 if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end else if PLAYSSOUND == false then EFFECT:remove() else repeat Swait() until SOUND.Playing == false EFFECT:remove() end end end)) end function MakeForm(PART,TYPE) if TYPE == "Cyl" then local MSH = IT("CylinderMesh",PART) elseif TYPE == "Ball" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Sphere" elseif TYPE == "Wedge" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Wedge" end end Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, DIRECTION * Distance), Ignore) end local FIRECOLOR = C3(1,85/255,0) local Particle = IT("ParticleEmitter",nil) Particle.Enabled = false Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.6),NumberSequenceKeypoint.new(1,1)}) Particle.LightEmission = 0.5 Particle.Rate = 500 Particle.Rotation = NumberRange.new(-180, 180) Particle.RotSpeed = NumberRange.new(-180, 180) Particle.Texture = "http://www.roblox.com/asset/?id=1460745664" Particle.Color = ColorSequence.new(FIRECOLOR) --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 Accel = Table.Accel 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 = Accel if Enabled == false then PRTCL:Emit(Emit) Debris:AddItem(PRTCL,Lifetime2) else PRTCL.Enabled = true end return PRTCL end function Pheonix(Size) local PHEONIX = IT("Model",nil) PHEONIX.Name = "PHEONIX" local BASEPART = CreatePart(3, PHEONIX, "Neon", 0, 0.5, "Deep orange", "Wyvern Base",VT(0,0,0),false) CreateWeldOrSnapOrMotor("Weld", RootPart, RootPart, BASEPART, CF(0 , 4*Size, 3*Size), CF(0, 0, 0)) CreateMesh("SpecialMesh", BASEPART, "FileMesh", "90615474", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0)) local RWING = CreatePart(3, PHEONIX, "Neon", 0, 0.5, "Deep orange", "Right Wing", VT(0,0,0),false) local RWELD = CreateWeldOrSnapOrMotor("Weld", BASEPART, BASEPART, RWING, CF(2*Size , 2*Size, 0.75*Size), CF(-2*Size, 0, 0)) local LWING = CreatePart(3, PHEONIX, "Neon", 0, 0.5, "Deep orange", "Left Wing", VT(0,0,0),false) local LWELD = CreateWeldOrSnapOrMotor("Weld", BASEPART, BASEPART, LWING, CF(-2*Size , 2*Size, 0.75*Size), CF(2*Size, 0, 0)) CreateMesh("SpecialMesh", RWING, "FileMesh", "90615661", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0)) CreateMesh("SpecialMesh", LWING, "FileMesh", "90615581", "", VT(1.5,1.5,1.5)*Size, VT(0,0,0)) for _, c in pairs(PHEONIX:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) c.Color = FIRECOLOR end end PHEONIX.Parent = Weapon return PHEONIX,BASEPART,RWING,LWING,RWELD,LWELD 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 function AddChildrenToTable(FROM,PARENT,DIST,TABLE) for _, c in pairs(PARENT:GetDescendants()) 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 (TORSO.Position - FROM).Magnitude < DIST then table.insert(TABLE,c) end end end end end --//=================================\\ --|| WEAPON CREATION --\\=================================// Humanoid.DisplayDistanceType = "None" local naeeym2 = IT("BillboardGui",Character) naeeym2.AlwaysOnTop = true naeeym2.Size = UDim2.new(2,35,1,15) naeeym2.StudsOffset = Vector3.new(0,1.5,0) naeeym2.MaxDistance = 75 naeeym2.Adornee = Character.Head naeeym2.Name = "Name" naeeym2.PlayerToHideFrom = Player local tecks2 = IT("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.TextScaled = true tecks2.BorderSizePixel = 0 tecks2.Text = "The Pharaoh" tecks2.Font = "Bodoni" tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = C3(0,0,0) tecks2.TextStrokeColor3 = C3(188/255, 155/255, 93/255) tecks2.Size = UDim2.new(1,0,0.5,0) tecks2.Parent = naeeym2 local top = Instance.new("Shirt") top.ShirtTemplate = "rbxassetid://182802864" top.Parent = Character top.Name = "Cloth" local bottom = Instance.new("Pants") bottom.PantsTemplate = "rbxassetid://182802941" bottom.Parent = Character bottom.Name = "Cloth" --Head.Transparency = 1 local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false) PRT.Color = C3(0,0,0) CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.1,0.05), CF(0, 0, 0)) CreateMesh("SpecialMesh", PRT, "FileMesh", "10661327", "10661334", VT(1,1,1)*1.1, VT(0,0,0)) CreateMesh("SpecialMesh", Head, "FileMesh", "16150909", "16150889", VT(1,1,1), VT(0,0,0)) local Handle = CreatePart(3, Weapon, "Concrete", 0, 0, "Cork", "Staff", VT(0,6,0),false) MakeForm(Handle,"Cyl") local Grasp = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Handle, CF(0,-1,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Concrete", 0, 0, "Cork", "Staff", VT(0.1,1,0.1),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,Handle.Size.Y/2,0), CF(0, 0, 0)) local Part = CreatePart(3, Weapon, "Concrete", 0, 0, "Cork", "Staff", VT(0.1,1,0.1),false) MakeForm(Part,"Cyl") CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0,-Handle.Size.Y/2-1.3,0) * ANGLES(RAD(0), RAD(150), RAD(0)), CF(0, 0, 0)) CreateMesh("SpecialMesh", Part, "FileMesh", "19106648", "19106633", VT(1,1,1)*1.1, VT(0,0,0)) local Eye = CreatePart(3, Weapon, "Concrete", 0, 1, "Cork", "Eye", VT(0,0,0),false) CreateWeldOrSnapOrMotor("Weld", Handle, Part, Eye, CF(0,Part.Size.Y/2+0.17,-0.05), CF(0, 0, 0)) for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end local SKILLTEXTCOLOR = C3(188/255, 155/255, 93/255) local SKILLFONT = "Bodoni" local SKILLTEXTSIZE = 6 Weapon.Parent = Character Humanoid.Died:connect(function() ATTACK = true end) local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame") local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame") local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame") local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame") local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame") local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Summon", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1") local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Warp", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2") local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Pheonix Glare", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3") local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Shade Zone", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4") local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pharaoh's Throne", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5") --//=================================\\ --|| DAMAGING --\\=================================// function ApplyDamage(Humanoid,Damage,TorsoPart) local defence = Instance.new("BoolValue",Humanoid.Parent) defence.Name = ("HitBy"..Player.Name) game:GetService("Debris"):AddItem(defence, 0.001) Damage = Damage * DAMAGEMULTIPLIER if Humanoid.Health ~= 0 then local CritChance = MRANDOM(1,100) if Damage > Humanoid.Health then Damage = math.ceil(Humanoid.Health) if Damage == 0 then Damage = 0.1 end end Humanoid.Health = Humanoid.Health - Damage end end function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL) local CHILDREN = workspace:GetDescendants() for index, CHILD in pairs(CHILDREN) do if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then local HUM = CHILD:FindFirstChildOfClass("Humanoid") if HUM then local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso") if TORSO then if (TORSO.Position - POSITION).Magnitude <= RANGE then if INSTAKILL == true then CHILD:BreakJoints() else local DMG = MRANDOM(MINDMG,MAXDMG) ApplyDamage(HUM,DMG,TORSO) end if FLING > 0 then for _, c in pairs(CHILD:GetChildren()) do if c:IsA("BasePart") then local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING bv.Parent = c Debris:AddItem(bv,0.05) end end end end end end end end end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function Raise() PLAYANIMS = false for i=0, 0.3, 0.1 / Animation_Speed do Swait() Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 1 / Animation_Speed) 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, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end Rooted = true WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*4, Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(Eye.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 743521450, SoundPitch = 1, SoundVolume = 2.5}) WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,1,1)*7, Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(Eye.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(3,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eye.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) for i=0, 1, 0.1 / Animation_Speed do Swait() Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 1 / Animation_Speed) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) end Rooted = false PLAYANIMS = true end function Attack() ATTACK = true Raise() coroutine.resume(coroutine.create(function() end)) ATTACK = false end function Summon() ATTACK = true Raise() coroutine.resume(coroutine.create(function() local MINIONS = {} local HEADMESHES = {{Mesh = 36869983, Texture = 36869975},{Mesh = 63638055, Texture = 63638307}} local RIGHTARMS = {{Mesh = 63637701, Texture = 63637809},{Mesh = 36780156, Texture = 36780292}} local LEFTARMS = {{Mesh = 63637682, Texture = 63637809},{Mesh = 36780032, Texture = 36780292}} local RIGHTLEGS = {{Mesh = 63637711, Texture = 63637809},{Mesh = 36780195, Texture = 36780292}} local LEFTLEGS = {{Mesh = 63637691, Texture = 63637809},{Mesh = 36780079, Texture = 36780292}} local TORSOS = {{Mesh = 63637732, Texture = 63637809},{Mesh = 36780113, Texture = 36780292}} for i = 1, 3 do Swait() local MINION = CLONE:Clone() ANIMATE:Clone().Parent = MINION MINION.Name = "Mummy" MINION.Parent = Effects MINION.Head:ClearAllChildren() MINION.HumanoidRootPart.Anchored = true MINION.HumanoidRootPart.CFrame = RootPart.CFrame*CF(MRANDOM(-15,15),-10,MRANDOM(-15,15)) local HITFLOOR = Raycast(MINION.HumanoidRootPart.Position+VT(0,10,0), (CF(MINION.HumanoidRootPart.Position, MINION.HumanoidRootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) if HITFLOOR then MINION.HumanoidRootPart.Color = HITFLOOR.Color WACKYEFFECT({Time = 25, EffectType = "Crystal", Size = VT(1,0,1), Size2 = VT(0,100,0), Transparency = 1, Transparency2 = 0, CFrame = CF(MINION.HumanoidRootPart.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 743521450, SoundPitch = 1.5, SoundVolume = 2}) local HEDMESH = HEADMESHES[MRANDOM(1,#HEADMESHES)] CreateMesh("SpecialMesh", MINION.Head, "FileMesh", HEDMESH.Mesh, HEDMESH.Texture, VT(1,1,1), VT(0,0,0)) --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "RightArm" local PACKAGESTUFF = RIGHTARMS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "LeftArm" local PACKAGESTUFF = LEFTARMS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "RightLeg" local PACKAGESTUFF = RIGHTLEGS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "LeftLeg" local PACKAGESTUFF = LEFTLEGS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "Torso" local PACKAGESTUFF = TORSOS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- table.insert(MINIONS,MINION) else MINION:remove() end end for e = 1, 100 do Swait() for i = 1, #MINIONS do if MINIONS[i] ~= nil then WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(1,2,1), Size2 = VT(8,0,8), Transparency = 0.5, Transparency2 = 1, CFrame = MINIONS[i].HumanoidRootPart.CFrame*CF(0,7.5-(e*0.1),0) * ANGLES(RAD(0), RAD(i*2), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = MINIONS[i].HumanoidRootPart.Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) MINIONS[i].HumanoidRootPart.CFrame = MINIONS[i].HumanoidRootPart.CFrame * CF(0,0.1,0) end end end for i = 1, #MINIONS do if MINIONS[i] ~= nil then MINIONS[i].HumanoidRootPart.Anchored = false end end for i = 1, #MINIONS do coroutine.resume(coroutine.create(function() local SHOUTS = {1158091961,1158091668,1158092150} local TORSO = MINIONS[i].Torso local MUMMY = MINIONS[i] local HUMAN = MINIONS[i].Humanoid HUMAN.MaxHealth = MRANDOM(20,65) HUMAN.Health = HUMAN.MaxHealth HUMAN.Died:connect(function() CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) end) local findNearestTorso = function(POS) local list = game.Workspace:GetDescendants() local torso = nil local dist = 10000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - POS).magnitude < dist then torso = temp dist = (temp.Position - POS).magnitude end end end end return torso, dist end for i = 1, 60 do if HUMAN.Health == 0 then break end wait(1) local target,dist= findNearestTorso(TORSO.Position) if target then HUMAN:MoveTo(target.Position) if dist < 5 then local ANIM = HUMAN:LoadAnimation(ATANIM) ANIM:Play() CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) ApplyAoE(TORSO.CFrame*CF(0,0,-1.2).p,3,5,25,3,false) end end end TORSO.Parent:BreakJoints() Debris:AddItem(MUMMY,4) end)) end end)) ATTACK = false end function Warp(Pos) ATTACK = true Raise() PLAYANIMS = false local SPOT = Pos if Pos == "Mouse" then SPOT = Mouse.Hit.p end local PLAYPOS = RootPart.Position Rooted = true coroutine.resume(coroutine.create(function() repeat Swait() Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 1 / Animation_Speed) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) until ATTACK == false PLAYANIMS = true end)) for i = 1, 10 do for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.Transparency = c.Transparency + 1/10 end end for _, c in pairs(Character:GetChildren()) do if c.ClassName == "Part" and c ~= RootPart then c.Transparency = c.Transparency + 1/10 end end tecks2.TextTransparency = tecks2.TextTransparency + 1/10 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 1/10 WACKYEFFECT({Time = 25, EffectType = "Swirl", Size = VT(1,1,1)*25, Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 743521450, SoundPitch = 1.5, SoundVolume = 2}) wait(0.1) end CreateSound(743521450, Torso, 5, 0.5, false) RootPart.CFrame = CF(SPOT+VT(0,15,0),PLAYPOS) UNANCHOR = false RootPart.Anchored = true for i = 1, 10 do wait(0.04) WACKYEFFECT({Time = 25, EffectType = "Swirl", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 1.5, SoundVolume = 2}) for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.Transparency = c.Transparency - 1/10 end end for _, c in pairs(Character:GetChildren()) do if c.ClassName == "Part" and c ~= RootPart then c.Transparency = c.Transparency - 1/10 end end tecks2.TextTransparency = tecks2.TextTransparency - 1/10 tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency - 1/10 end UNANCHOR = true RootPart.Anchored = false Rooted = false ATTACK = false end function PheonixGlare() ATTACK = true Rooted = true local BURNINGBODIES = {} local SIZE = 2 if Humanoid.Sit == false then Raise() else PLAYANIMS = false SIZE = 9 for i=0, 0.3, 0.1 / Animation_Speed do Swait() Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) end WACKYEFFECT({Time = 25, EffectType = "Block", Size = VT(1,1,1)*4, Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(Eye.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 743521450, SoundPitch = 1, SoundVolume = 2.5}) WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(1,1,1)*7, Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0, CFrame = CF(Eye.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 25, EffectType = "Ring", Size = VT(0,0,0), Size2 = VT(3,3,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Eye.Position) * ANGLES(RAD(90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) for i=0, 1, 0.1 / Animation_Speed do Swait() Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(45), RAD(0), RAD(45)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-10 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.45, 0) * ANGLES(RAD(150), RAD(7.5), RAD(45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) end PLAYANIMS = true end Rooted = true local PHEONIX,WBODY,WRWING,WLWING,RWELD2,LWELD2 = Pheonix(SIZE) for i=1, 20 do Swait() RWELD2.C0 = Clerp(RWELD2.C0, CF(2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(-25), RAD(65), RAD(0)), 0.1 / Animation_Speed) LWELD2.C0 = Clerp(LWELD2.C0, CF(-2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(-25), RAD(-65), RAD(0)), 0.1 / Animation_Speed) end for i=1, 65 do Swait() RWELD2.C0 = Clerp(RWELD2.C0, CF(2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)), 0.1 / Animation_Speed) LWELD2.C0 = Clerp(LWELD2.C0, CF(-2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(25), RAD(-65), RAD(0)), 0.1 / Animation_Speed) end for i = 1, 5 do WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*(SIZE/2), Transparency = 0, Transparency2 = 1, CFrame = CF(WBODY.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,35*(SIZE/2)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0.1,0.1,0.1), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(45,45,45)*(SIZE/2), Transparency = 0, Transparency2 = 1, CFrame = CF(WBODY.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))*CF(0,0,35*(SIZE/2)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = FIRECOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(200,200,200)*(SIZE/2), Transparency = 0, Transparency2 = 1, CFrame = CF(WBODY.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = FIRECOLOR, SoundID = 462676772, SoundPitch = 1.2, SoundVolume = 10}) AddChildrenToTable(WBODY.Position,workspace,50*(SIZE/2),BURNINGBODIES) ApplyAoE(WBODY.Position,50*(SIZE/2),0,0,130,false) for i=1, 15 do Swait() RWELD2.C0 = Clerp(RWELD2.C0, CF(2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(25), RAD(-65), RAD(0)), 1 / Animation_Speed) LWELD2.C0 = Clerp(LWELD2.C0, CF(-2*(SIZE/2),3*(SIZE/2),0.75*SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)), 1 / Animation_Speed) end coroutine.resume(coroutine.create(function() wait(1) for i = 1, 150 do for i = 1, #BURNINGBODIES do if BURNINGBODIES[i] ~= nil then if BURNINGBODIES[i].Name ~= "Mummy" then local HUM = BURNINGBODIES[i]:FindFirstChildOfClass("Humanoid") if HUM then if HUM.Health > 0 then for _, c in pairs(BURNINGBODIES[i]:GetChildren()) do if c:IsA("BasePart") and c.Transparency < 1 then ParticleEmitter({Accel = VT(0,25,0), Speed = 2, Drag = 0, Size1 = 0.3, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.5, Parent = c, Emit = 4, Offset = 360, Enabled = false}) end end HUM.Health = HUM.Health - 0.5 else table.remove(BURNINGBODIES,i) end else table.remove(BURNINGBODIES,i) end else for _, c in pairs(BURNINGBODIES[i]:GetChildren()) do if c:IsA("BasePart") and c.Transparency < 1 then c.Velocity = VT(MRANDOM(-5,5),MRANDOM(-5,5),MRANDOM(-5,5))*5 ParticleEmitter({Accel = VT(0,25,0), Speed = 2, Drag = 0, Size1 = 0.5, Size2 = 0, Lifetime1 = 1, Lifetime2 = 1.5, Parent = c, Emit = 45, Offset = 360, Enabled = true}) end end BURNINGBODIES[i]:BreakJoints() table.remove(BURNINGBODIES,i) end else table.remove(BURNINGBODIES,i) end end wait() end end)) coroutine.resume(coroutine.create(function() for i = 1, 50 do Swait() WBODY.Transparency = WBODY.Transparency + 0.5/50 WRWING.Transparency = WBODY.Transparency WLWING.Transparency = WBODY.Transparency end PHEONIX:remove() end)) Rooted = false ATTACK = false end function ShadeZone() local HEADMESHES = {{Mesh = 36869983, Texture = 36869975},{Mesh = 63638055, Texture = 63638307}} local RIGHTARMS = {{Mesh = 63637701, Texture = 63637809},{Mesh = 36780156, Texture = 36780292}} local LEFTARMS = {{Mesh = 63637682, Texture = 63637809},{Mesh = 36780032, Texture = 36780292}} local RIGHTLEGS = {{Mesh = 63637711, Texture = 63637809},{Mesh = 36780195, Texture = 36780292}} local LEFTLEGS = {{Mesh = 63637691, Texture = 63637809},{Mesh = 36780079, Texture = 36780292}} local TORSOS = {{Mesh = 63637732, Texture = 63637809},{Mesh = 36780113, Texture = 36780292}} local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character) if HITFLOOR and Effects:FindFirstChild("Shade Zone") == nil then ATTACK = true local BODIES = {} Raise() coroutine.resume(coroutine.create(function() local ZONE = CreatePart(3, Effects, "Neon", 0, 1, C3(0,0,0), "Shade Zone", VT(45,0,45)) ZONE.Color = C3(0,0,0) MakeForm(ZONE,"Cyl") ZONE.CFrame = CF(HITPOS) local AURA = CreateSound(1393698948, ZONE, 0, 0.5, true) for i =1, 45 do Swait() AURA.Volume = AURA.Volume + 10/45 ZONE.Transparency = ZONE.Transparency - 1/45 ZONE.Size = ZONE.Size + VT(2,0,2) end local SIZE = ZONE.Size for i =1, 400 do Swait() AddChildrenToTable(ZONE.Position,workspace,ZONE.Size.X/2,BODIES) if MRANDOM(1,5) == 1 then WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(5,0,5), Size2 = VT(0,135,0), Transparency = 0, Transparency2 = 1, CFrame = CF(ZONE.Position) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(0,math.ceil(ZONE.Size.X/2.1))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end ZONE.Size = SIZE + VT(2 * COS(i / 12),0,2 * COS(i / 12)) end for i =1, 45 do Swait() AURA.Volume = AURA.Volume - 10/45 ZONE.Transparency = ZONE.Transparency + 1/45 ZONE.Size = ZONE.Size - VT(2,0,2) end ZONE:remove() for e = 1, #BODIES do Swait() if BODIES[e] ~= nil then local BOD = BODIES[e] for i = 1, 10 do for i = 1, #BODIES do if (BODIES[i] == BOD and i ~= e) then table.remove(BODIES,i) end end end coroutine.resume(coroutine.create(function() local BODY = BODIES[e] local TORSO = BODIES[e]:FindFirstChild("Torso") or BODIES[e]:FindFirstChild("UpperTorso") local HUM = BODIES[e]:FindFirstChildOfClass("Humanoid") if TORSO and HUM then TORSO.Anchored = true for i = 1, 15 do if HUM.Health > 0 then wait(0.1) WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(0,0,0), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 182765513, SoundPitch = MRANDOM(6,8)/10, SoundVolume = 2.5}) TORSO.CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))) HUM.Health = HUM.Health - 1.5 if HUM.Health == 0 then local MINION = CLONE:Clone() ANIMATE:Clone().Parent = MINION MINION.Name = "Mummy" MINION.Parent = Effects MINION.Head:ClearAllChildren() MINION.Torso.CFrame = TORSO.CFrame BODY:remove() local HEDMESH = HEADMESHES[MRANDOM(1,#HEADMESHES)] CreateMesh("SpecialMesh", MINION.Head, "FileMesh", HEDMESH.Mesh, HEDMESH.Texture, VT(1,1,1), VT(0,0,0)) --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "RightArm" local PACKAGESTUFF = RIGHTARMS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "LeftArm" local PACKAGESTUFF = LEFTARMS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "RightLeg" local PACKAGESTUFF = RIGHTLEGS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "LeftLeg" local PACKAGESTUFF = LEFTLEGS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- local PACKAGE = IT("CharacterMesh",MINION) PACKAGE.BodyPart = "Torso" local PACKAGESTUFF = TORSOS[MRANDOM(1,2)] PACKAGE.MeshId = PACKAGESTUFF.Mesh PACKAGE.OverlayTextureId = PACKAGESTUFF.Texture --------- coroutine.resume(coroutine.create(function() local SHOUTS = {1158091961,1158091668,1158092150} local TORSO = MINION.Torso local MUMMY = MINION local HUMAN = MINION.Humanoid HUMAN.MaxHealth = MRANDOM(20,65) HUMAN.Health = HUMAN.MaxHealth HUMAN.Died:connect(function() CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false) end) local findNearestTorso = function(POS) local list = game.Workspace:GetDescendants() local torso = nil local dist = 10000 local temp = nil local human = nil local temp2 = nil for x = 1, #list do temp2 = list[x] if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso") human = temp2:findFirstChild("Humanoid") if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then if (temp.Position - POS).magnitude < dist then torso = temp dist = (temp.Position - POS).magnitude end end end end return torso, dist end for i = 1, 30 do if HUMAN.Health == 0 then break end wait(1) local target,dist= findNearestTorso(TORSO.Position) if target then HUMAN:MoveTo(target.Position) if dist < 5 then local ANIM = HUMAN:LoadAnimation(ATANIM) ANIM:Play() CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false) ApplyAoE(TORSO.CFrame*CF(0,0,-1.2).p,3,5,25,3,false) end end end TORSO.Parent:BreakJoints() Debris:AddItem(MUMMY,4) end)) break end end end if TORSO then TORSO.Anchored = false end end end)) end end end)) ATTACK = false end end function PharaohsThrone() local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character) if HITFLOOR then ATTACK = true Raise() coroutine.resume(coroutine.create(function() local PYRAMID = IT("Model") PYRAMID.Name = "Pyramid" local BASEPART = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(100,1,100)) local FIREPART = CreatePart(3, Effects, "Neon", 0, 1, "Wheat", "Pyramid", VT(110,1,110)) FIREPART.Touched:Connect(function(hit) if FIREPART.Transparency ~= 1 then if hit.Parent:FindFirstChildOfClass("Humanoid") then if hit.Parent.Name == "Mummy" then hit.Parent:BreakJoints() else hit.Parent:FindFirstChildOfClass("Humanoid").Health = hit.Parent:FindFirstChildOfClass("Humanoid").Health - 25 end end end end) ------ local PILLAR = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5)) MakeForm(PILLAR,"Cyl") PILLAR.CFrame = BASEPART.CFrame*CF(25,25,25) local PILLARTOP = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6)) MakeForm(PILLARTOP,"Cyl") PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0) local COAL = CreatePart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2)) COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0) local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true}) FIRE.LockedToPart = true ------ local PILLAR = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5)) MakeForm(PILLAR,"Cyl") PILLAR.CFrame = BASEPART.CFrame*CF(-25,25,25) local PILLARTOP = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6)) MakeForm(PILLARTOP,"Cyl") PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0) local COAL = CreatePart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2)) COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0) local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true}) FIRE.LockedToPart = true ------ local PILLAR = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5)) MakeForm(PILLAR,"Cyl") PILLAR.CFrame = BASEPART.CFrame*CF(25,25,-25) local PILLARTOP = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6)) MakeForm(PILLARTOP,"Cyl") PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0) local COAL = CreatePart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2)) COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0) local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true}) FIRE.LockedToPart = true ------ local PILLAR = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(5,25,5)) MakeForm(PILLAR,"Cyl") PILLAR.CFrame = BASEPART.CFrame*CF(-25,25,-25) local PILLARTOP = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(6,4,6)) MakeForm(PILLARTOP,"Cyl") PILLARTOP.CFrame = PILLAR.CFrame*CF(0,12.5,0) local COAL = CreatePart(3, PYRAMID, "Pebble", 0, 0, "Black", "Pyramid", VT(2,2,2)) COAL.CFrame = PILLARTOP.CFrame*CF(0,PILLARTOP.Size.Y/2,0) local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = COAL, Emit = 45, Offset = 360, Enabled = true}) FIRE.LockedToPart = true ------ FIREPART.Color = FIRECOLOR FIREPART.CFrame = RootPart.CFrame*CF(0,-3.3,65) local FIRE = ParticleEmitter({Accel = VT(0,15,0), Speed = 3, Drag = 0, Size1 = 2, Size2 = 0, Lifetime1 = 1, Lifetime2 = 2, Parent = FIREPART, Emit = 45, Offset = 360, Enabled = true}) local LASTPART = nil for i = 1, 35 do local PART = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Wheat", "Pyramid", VT(100-i*2,1,100-i*2)) PART.CFrame = BASEPART.CFrame*CF(0,i,0) LASTPART = PART local PART = CreatePart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(5,1.1,100.1-i*2)) PART.CFrame = BASEPART.CFrame*CF(0,i,0) local PART = CreatePart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(100.1-i*2,1.1,5)) PART.CFrame = BASEPART.CFrame*CF(0,i,0) local PART = CreatePart(3, PYRAMID, "Granite", 0, 0, "Cork", "Pyramid", VT(7,1.05,100.05-i*2)) PART.CFrame = BASEPART.CFrame*CF(0,i,0) local PART = CreatePart(3, PYRAMID, "Granite", 0, 0, "Cork", "Pyramid", VT(100.05-i*2,1.05,7)) PART.CFrame = BASEPART.CFrame*CF(0,i,0) end local PART = CreatePart(3, PYRAMID, "Marble", 0, 0, "Cork", "Pyramid", VT(20,0.1,20)) PART.CFrame = LASTPART.CFrame*CF(0,LASTPART.Size.Y/2,0) FIRE.Rate = 999 local CHAIR1 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Dark stone grey", "Throne", VT(7,1,7)) CHAIR1.CFrame = BASEPART.CFrame*CF(0,36,0) local CHAIR2 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Dark stone grey", "Throne", VT(5,1,5)) CHAIR2.CFrame = CHAIR1.CFrame*CF(0,1,0) local CHAIR3 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(3,1,3)) CHAIR3.CFrame = CHAIR2.CFrame*CF(0,1,0) local SEAT = IT("Seat",PYRAMID) SEAT.Size = VT(2,0.2,2) SEAT.Material = "Concrete" SEAT.Anchored = true SEAT.BrickColor = BRICKC"Dark orange" SEAT.CFrame = CHAIR3.CFrame*CF(0,0.55,-0.5) local CHAIR4 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(3,5,1)) CHAIR4.CFrame = CHAIR3.CFrame*CF(0,3,1) local CHAIR5 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Dark orange", "Throne", VT(2,4.7,1)) CHAIR5.CFrame = CHAIR4.CFrame*CF(0,0,-0.1) local CHAIR6 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(0.5,2,2)) CHAIR6.CFrame = CHAIR3.CFrame*CF(1.5,0.75,0) local CHAIR7 = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Mid gray", "Throne", VT(0.5,2,2)) CHAIR7.CFrame = CHAIR3.CFrame*CF(-1.5,0.75,0) PYRAMID.PrimaryPart = BASEPART PYRAMID:SetPrimaryPartCFrame(RootPart.CFrame*CF(0,-50,65)) PYRAMID.Parent = Weapon for i = 1, 25 do Swait() FIREPART.Transparency = FIREPART.Transparency - 1/25 end for _, c in pairs(PYRAMID:GetChildren()) do if c:IsA("BasePart") then c.CanCollide = true end end local RESET = PYRAMID.Changed:Connect(function() PYRAMID.Parent = workspace end) CreateSound(130972023, BASEPART, 10, 0.8, false) for i = 1, 46*4 do Swait() PYRAMID:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,0.25,0)) end for i = 1, 25 do Swait() FIREPART.Transparency = FIREPART.Transparency + 1/25 end FIRE.Enabled = false local SINKING = false SIT.Changed:Connect(function() if SIT.Value == false and SINKING == false then SINKING = true local PRT = CreatePart(3, PYRAMID, "Concrete", 0, 0, "Dark orange", "Throne", VT(2,0.2,2)) PRT.CFrame = SEAT.CFrame SEAT:remove() wait(1) FIRE.Enabled = true for i = 1, 25 do Swait() FIREPART.Transparency = FIREPART.Transparency - 1/25 end for i = 1, 46*4 do Swait() FIREPART.Size = FIREPART.Size - VT(0.003*i,0,0.003*i) PYRAMID:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,-0.25,0)) end for i = 1, 25 do Swait() FIREPART.Size = FIREPART.Size - VT((0.003*i)*45,0,(0.003*i)*45) FIREPART.Transparency = FIREPART.Transparency + 1/25 end FIRE.Enabled = false Debris:AddItem(FIREPART,5) RESET:disconnect() PYRAMID:remove() end end) end)) ATTACK = false end end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// function MouseDown(Mouse) if ATTACK == false then end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Humanoid.Sit == false then if Key == "z" and ATTACK == false then Summon() end if Key == "b" and ATTACK == false then if Weapon:FindFirstChild("Pyramid") == nil then Warp("Mouse") else if Weapon.Pyramid:FindFirstChild("Seat") then Warp(Weapon.Pyramid.Seat.Position+VT(0,5,0)) end end end if Key == "v" and ATTACK == false then ShadeZone() end if Key == "x" and ATTACK == false then if Weapon:FindFirstChild("Pyramid") == nil then PharaohsThrone() else SIT.Value = true end end end if Key == "c" and ATTACK == false then PheonixGlare() 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 RootPart.Anchored = false end g = Character:GetChildren() for i = 1, #g do if g[i].ClassName == "Part" and g[i] ~= RootPart then g[i].Anchored = false end end g = Weapon:GetChildren() for i = 1, #g do if g[i].ClassName == "Part" then g[i].Anchored = false 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) while true do Swait() script.Parent = WEAPONGUI ANIMATE.Parent = nil if Humanoid then local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION) IDLEANIMATION:Play() end SINE = SINE + CHANGE local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude local TORSOVERTICALVELOCITY = RootPart.Velocity.y Ignore = {Torso,RootPart,RightLeg,LeftLeg,RightLeg,Head,RightArm,LeftArm,PRT} local Ignore = ((type(Ignore) == "table" and Ignore) or {Ignore}) local HITFLOOR,HITPOS = CastProperRay(RootPart.Position, RootPart.Position-VT(0,15,0), 4, Ignore) local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16) 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) / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.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) / Animation_Speed) 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) / Animation_Speed) 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 / Animation_Speed) Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed) end if Humanoid.Sit == false then SIT.Value = false if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then ANIM = "Jump" if PLAYANIMS == true then Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) 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(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / 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 PLAYANIMS == true then Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) 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(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / 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 PLAYANIMS == true then Grasp.C1 = Clerp(Grasp.C1,CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) 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(-8 - 4 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 - 0.25 * COS(SINE / 12), 0.45 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(7.5 * COS(SINE / 12)), RAD(45 - 7.5 * COS(SINE / 12))) * RIGHTSHOULDERC0, 0.15 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(15), RAD(-12 - 6 * COS(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(75), 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(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" if PLAYANIMS == true then Grasp.C1 = Clerp(Grasp.C1,CF(0, 0+0.35 * COS(SINE / WALKSPEEDVALUE), 0) * ANGLES(RAD(0), RAD(0), RAD(-20 * COS(SINE / WALKSPEEDVALUE / 2))), 0.5 / Animation_Speed) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65-0.35 * COS(SINE / WALKSPEEDVALUE), 0) * ANGLES(RAD(90-20 * COS(SINE / WALKSPEEDVALUE)), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.35 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60 * COS(SINE / WALKSPEEDVALUE)), RAD(15), RAD(-5)) * LEFTSHOULDERC0, 0.35 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1, 0) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed) end end else SIT.Value = true if PLAYANIMS == true then Grasp.C1 = Clerp(Grasp.C1,CF(0, 0.85, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed) RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-3 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 2 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 - 0.05 * COS(SINE / 12), 0) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 2 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 - 0.05 * COS(SINE / 12), 0.3) * ANGLES(RAD(90), RAD(0), RAD(5)) * LEFTSHOULDERC0, 2 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.35 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.35 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(25), RAD(-65), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed) end end unanchor() Humanoid.MaxHealth = "inf" Humanoid.Health = "inf" if Rooted == false then Disable_Jump = false Humanoid.WalkSpeed = Speed elseif Rooted == true then Disable_Jump = true Humanoid.WalkSpeed = 0 end for _, c in pairs(Character:GetChildren()) do if c.ClassName == "Part" and c.Name ~= "Eye" then c.Material = "Neon" if c:FindFirstChildOfClass("ParticleEmitter") then c:FindFirstChildOfClass("ParticleEmitter"):remove() end c.Color = C3(0,0,0) if c == Head then if c:FindFirstChild("face") then c.face:remove() end end elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then c:remove() elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then c:remove() end end sick.SoundId = "rbxassetid://1551788627" sick.Looped = true sick.Pitch = 1 sick.Volume = 3 sick.Parent = Torso sick:Resume() Humanoid.Name = "Pharaoh" end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//-- end) --END OF GUI