local Player = game:GetService("Players").TheNoobster312--<=== Replace With Your Name local Mouse,mouse,UserInputService,ContextActionService do script.Parent = Player.Character local CAS = {Actions={}} local Event = Instance.new("RemoteEvent") Event.Name = "UserInput_Event" Event.Parent = Player.Character local fakeEvent = function() local t = {_fakeEvent=true} t.Connect = function(self,f)self.Function=f end t.connect = t.Connect return t end local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} function CAS:BindAction(name,fun,touch,...) CAS.Actions[name] = {Name=name,Function=fun,Keys={...}} end function CAS:UnbindAction(name) CAS.Actions[name] = nil end local function te(self,ev,...) local t = m[ev] if t and t._fakeEvent and t.Function then t.Function(...) end end m.TrigEvent = te UIS.TrigEvent = te Event.OnServerEvent:Connect(function(plr,io) if plr~=Player then return end if io.isMouse then m.Target = io.Target m.Hit = io.Hit elseif io.UserInputType == Enum.UserInputType.MouseButton1 then if io.UserInputState == Enum.UserInputState.Begin then m:TrigEvent("Button1Down") else m:TrigEvent("Button1Up") end else for n,t in pairs(CAS.Actions) do for _,k in pairs(t.Keys) do if k==io.KeyCode then t.Function(t.Name,io.UserInputState,io) end end end if io.UserInputState == Enum.UserInputState.Begin then m:TrigEvent("KeyDown",io.KeyCode.Name:lower()) UIS:TrigEvent("InputBegan",io,false) else m:TrigEvent("KeyUp",io.KeyCode.Name:lower()) UIS:TrigEvent("InputEnded",io,false) end end end) Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS end --//====================================================\\-- --|| CREATED BY IGNORANTROJO --\\====================================================//-- --ATP SOLDIER --Script: 0000019 --How many scripts did i make? --damn. --[[ TODO: --Blood when hit (idea by nebu)-- --forcefield-- --make it so you can actually get damaged lollll-- --more guns-- goggle color modes --]] --[[UPDATE LOG (LAST VERSION): --ADDED MORE MODES ON THE NUCLEAR SIDE --ADDED CHAT FUNCTIONS --ADDED CHAT FUNCTION GUI --]] wait(0.2) Player = game:GetService("Players").TheNoobster312 Cam = workspace.CurrentCamera Backpack = Player.Backpack Character = Player.Character Humanoid = Character.Humanoid 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"] RW, LW=Instance.new("Weld"), Instance.new("Weld") RW.Name="Right Shoulder" LW.Name="Left Shoulder" LH=Torso["Left Hip"] RH=Torso["Right Hip"] local TIME = 0 local sick = Instance.new("Sound",RootPart) plr = game:GetService("Players").TheNoobster312 char = plr.Character ch = plr.Character hum = char.Humanoid local cam = game.Workspace.CurrentCamera Camera = cam local CamInterrupt = false local TwoD = false local TargetInfo = {nil, nil} cam.CameraType = "Custom" t = char.Torso h = char.Head ra = char["Right Arm"] la = char["Left Arm"] rl = char["Right Leg"] ll = char["Left Leg"] tors = char.Torso lleg = char["Left Leg"] root = char.HumanoidRootPart hed = char.Head rleg = char["Right Leg"] rarm = char["Right Arm"] larm = char["Left Arm"] radian = math.rad random = math.random Vec3 = Vector3.new Inst = Instance.new cFrame = CFrame.new Euler = CFrame.fromEulerAnglesXYZ vt = Vector3.new bc = BrickColor.new br = BrickColor.random it = Instance.new cf = CFrame.new 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 RSH=ch.Torso["Right Shoulder"] LSH=ch.Torso["Left Shoulder"] vt=Vector3.new cf=CFrame.new euler=CFrame.fromEulerAnglesXYZ angles=CFrame.Angles cloaked=false RootCF=euler(-1.57,0,3.14) necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0) LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0) RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0) RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0) -- RSH.Parent=nil LSH.Parent=nil -- RW.Name="Right Shoulder" RW.Part0=ch.Torso RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5) RW.C1=cf(0, 0.5, 0) RW.Part1=ch["Right Arm"] RW.Parent=ch.Torso -- LW.Name="Left Shoulder" LW.Part0=ch.Torso LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) LW.C1=cf(0, 0.5, 0) LW.Part1=ch["Left Arm"] LW.Parent=ch.Torso CF = CFrame.new angles = CFrame.Angles attack = false Euler = CFrame.fromEulerAnglesXYZ Rad = math.rad IT = Instance.new BrickC = BrickColor.new Cos = math.cos Acos = math.acos Sin = math.sin Asin = math.asin Abs = math.abs Mrandom = math.random Floor = math.floor local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0) local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0) Humanoid.MaxHealth = "3700" Humanoid.Health = "3700" --//=================================\\ --|| USEFUL VALUES --\\=================================// local change = 1 local SONG = 1175569393 local sine = 0 local Nuclear = false local flying = false Animation_Speed = 3 local FORCERESET = false Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60) local Speed = 16 local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) local DAMAGEMULTIPLIER = 1 local ANIM = "Idle" local ATTACK = false local EQUIPPED = false local HOLD = false local COMBO = 1 local Rooted = false local SINE = 0 local KEYHOLD = false local CHANGE = 2 / Animation_Speed local WALKINGANIM = false local VALUE1 = false local VALUE2 = false local ROBLOXIDLEANIMATION = IT("Animation") ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation" ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571" --ROBLOXIDLEANIMATION.Parent = Humanoid local kek = IT("Model") kek.Name = "Adds" local Weapon = IT("Model") Weapon.Name = "Adds" local Gun = IT("Model") Gun.Name = "Adds" local SMG = IT("Model") SMG.Name = "Adds" local SMG2 = IT("Model") SMG2.Name = "Adds" local SMG3 = IT("Model") SMG3.Name = "Adds" local Shotgun = IT("Model") Shotgun.Name = "Adds" local A47 = IT("Model") A47.Name = "Adds" local Supressor = IT("Model") Supressor.Name = "Adds" local knif = IT("Model") knif.Name = "Adds" local DE = IT("Model") DE.Name = "Adds" local AUG = IT("Model") AUG.Name = "Adds" local AWP = IT("Model") AWP.Name = "Adds" local R8RA = IT("Model") R8RA.Name = "Adds" local AR = IT("Model") AR.Name = "Adds" local Effects = IT("Folder", Weapon) Effects.Name = "Effects" local ANIMATOR = Humanoid.Animator local ANIMATE = Character:FindFirstChild("Animate") local UNANCHOR = true local TOBANISH = {} local CLOCKTARGET = nil local CLOCKSPEED = 2.5 local CLOCKLOOP = 0 local SIZE = 1 local Mode = "Normal" --//=================================\\ --\\=================================// --//=================================\\ --|| 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 clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if 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 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 local Create = LoadLibrary("RbxUtility").Create CFuncs = { ["Part"] = { Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size) local Part = Create("Part"){ Parent = Parent, Reflectance = Reflectance, Transparency = Transparency, CanCollide = false, Locked = true, BrickColor = BrickColor.new(tostring(BColor)), Name = Name, Size = Size, Material = Material, } RemoveOutlines(Part) return Part end; }; ["Mesh"] = { Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh){ Parent = Part, Offset = OffSet, Scale = Scale, } if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end; }; ["Mesh"] = { Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale) local Msh = Create(Mesh){ Parent = Part, Offset = OffSet, Scale = Scale, } if Mesh == "SpecialMesh" then Msh.MeshType = MeshType Msh.MeshId = MeshId end return Msh end; }; ["Weld"] = { Create = function(Parent, Part0, Part1, C0, C1) local Weld = Create("Weld"){ Parent = Parent, Part0 = Part0, Part1 = Part1, C0 = C0, C1 = C1, } return Weld end; }; ["Sound"] = { Create = function(id, par, vol, pit) coroutine.resume(coroutine.create(function() local S = Create("Sound"){ Volume = vol, Name = "EffectSoundo", Pitch = pit or 1, SoundId = id, Parent = par or workspace, } wait() S:play() game:GetService("Debris"):AddItem(S, 10) end)) end; }; ["TimeSound"] = { Create = function(id, par, vol, pit, timepos) coroutine.resume(coroutine.create(function() local S = Create("Sound"){ Volume = vol, Name = "EffectSoundo", Pitch = pit or 1, SoundId = id, TimePosition = timepos, Parent = par or workspace, } wait() S:play() game:GetService("Debris"):AddItem(S, 10) end)) end; }; ["EchoSound"] = { Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl) coroutine.resume(coroutine.create(function() local Sas = Create("Sound"){ Volume = vol, Name = "EffectSoundo", Pitch = pit or 1, SoundId = id, TimePosition = timepos, Parent = par or workspace, } local E = Create("EchoSoundEffect"){ Delay = echodelay, Name = "Echo", Feedback = fedb, DryLevel = dryl, Parent = Sas, } wait() Sas:play() game:GetService("Debris"):AddItem(Sas, delays) end)) end; }; ["LongSound"] = { Create = function(id, par, vol, pit) coroutine.resume(coroutine.create(function() local S = Create("Sound"){ Volume = vol, Pitch = pit or 1, SoundId = id, Parent = par or workspace, } wait() S:play() game:GetService("Debris"):AddItem(S, 60) end)) end; }; ["ParticleEmitter"] = { Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread) local fp = Create("ParticleEmitter"){ Parent = Parent, Color = ColorSequence.new(Color1, Color2), LightEmission = LightEmission, Size = Size, Texture = Texture, Transparency = Transparency, ZOffset = ZOffset, Acceleration = Accel, Drag = Drag, LockedToPart = LockedToPart, VelocityInheritance = VelocityInheritance, EmissionDirection = EmissionDirection, Enabled = Enabled, Lifetime = LifeTime, Rate = Rate, Rotation = Rotation, RotSpeed = RotSpeed, Speed = Speed, VelocitySpread = VelocitySpread, } return fp end; }; CreateTemplate = { }; } 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 swait(num) if num==0 or num==nil then game:service'RunService'.Stepped:wait(0) else for i=0,num do game:service'RunService'.Stepped:wait(0) end end end function QuaternionSlerp(a, b, t) local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = ACOS(cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((1 - t) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = 1 - t finishInterp = t end else if (1 + cosTheta) > 0.0001 then local theta = ACOS(-cosTheta) local invSinTheta = 1 / SIN(theta) startInterp = SIN((t - 1) * theta) * invSinTheta finishInterp = SIN(t * theta) * invSinTheta else startInterp = t - 1 finishInterp = t end end return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp end function Clerp(a, b, t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1 - t return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t)) end function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME) local frame = IT("Frame") frame.BackgroundTransparency = TRANSPARENCY frame.BorderSizePixel = BORDERSIZEPIXEL frame.Position = POSITION frame.Size = SIZE frame.BackgroundColor3 = COLOR frame.BorderColor3 = BORDERCOLOR frame.Name = NAME frame.Parent = PARENT return frame end function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME) local label = IT("TextLabel") label.BackgroundTransparency = 1 label.Size = UD2(1, 0, 1, 0) label.Position = UD2(0, 0, 0, 0) label.TextColor3 = TEXTCOLOR label.TextStrokeTransparency = STROKETRANSPARENCY label.TextTransparency = TRANSPARENCY label.FontSize = TEXTFONTSIZE label.Font = TEXTFONT label.BorderSizePixel = BORDERSIZEPIXEL label.TextScaled = false label.Text = TEXT label.Name = NAME label.Parent = PARENT return label end function NoOutlines(PART) PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10 end function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1) local NEWWELD = IT(TYPE) NEWWELD.Part0 = PART0 NEWWELD.Part1 = PART1 NEWWELD.C0 = C0 NEWWELD.C1 = C1 NEWWELD.Parent = PARENT return NEWWELD end local S = IT("Sound") function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP) local NEWSOUND = nil coroutine.resume(coroutine.create(function() NEWSOUND = S:Clone() NEWSOUND.Parent = PARENT NEWSOUND.Volume = VOLUME NEWSOUND.Pitch = PITCH NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID NEWSOUND:play() if DOESLOOP == true then NEWSOUND.Looped = true else repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT NEWSOUND:remove() end end)) return NEWSOUND end function CFrameFromTopBack(at, top, back) local right = top:Cross(back) return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z) end --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 CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT) coroutine.resume(coroutine.create(function() local FADE = IT("Model",Effects) if PARENT ~= nil then FADE.Parent = PARENT end FADE.Name = "FadingEffect" for _, c in pairs(Character:GetChildren()) do if c.ClassName == "Part" then c.CanCollide = false local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Pearl"), c.Name, c.Size, true) FADER.CFrame = c.CFrame FADER.Color = COLOR if FADER.Name == "Head" then Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER elseif FADER.Name == "HumanoidRootPart" then FADE.PrimaryPart = FADER FADER.Transparency = 1 end end end local TRANS = 0.25/TIMER local DIST = nil if MOVEDIRECTION ~= nil then DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude end for i = 1, TIMER do Swait() for _, c in pairs(FADE:GetChildren()) do if c.ClassName == "Part" then c.Transparency = c.Transparency + TRANS end end if MOVEDIRECTION ~= nil then local ORI = FADE.PrimaryPart.Orientation FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z))) end end FADE:remove() end)) end function R_RANDOM(CFRAME,DIST) return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST) end function MakeForm(PART,TYPE) if TYPE == "Cyl" then local MSH = IT("CylinderMesh",PART) elseif TYPE == "Ball" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Sphere" elseif TYPE == "Wedge" then local MSH = IT("SpecialMesh",PART) MSH.MeshType = "Wedge" end end function SpawnTrail(FROM,TO,BIG) local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0)) MakeForm(TRAIL,"Cyl") local DIST = (FROM - TO).Magnitude if BIG == true then TRAIL.Size = VT(0.5,DIST,0.5) else TRAIL.Size = VT(0.25,DIST,0.25) end TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0)) coroutine.resume(coroutine.create(function() for i = 1, 5 do Swait() TRAIL.Transparency = TRAIL.Transparency + 0.1 end TRAIL:remove() end)) end Debris = game:GetService("Debris") function CastProperRay(StartPos, EndPos, Distance, Ignore) local DIRECTION = CF(StartPos,EndPos).lookVector return Raycast(StartPos, DIRECTION, Distance, Ignore) end function turnto(position) RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0) end --//=================================\\ --|| WEAPONS/MISC CREATION --\\=================================// title = [[ // C H A T L I S T \\ AAAA I CANT BELIEVE YOUVE DONE THIS DS HEX TOPHAT NOHATS I CAN DO ANYTHING ah yes SIT NOSIT /e time (timeposition) /e play (id) thats how mafia works curb GET REKT FOOL [E] Open/Close CHAT GUI GUI made by @Kyutatsuki#9221 ]] backgroundcolortitle = C3(0.1,0.1,0) bordercolortitle = C3(1,1,0) GUI = Instance.new("ScreenGui", Player.PlayerGui) GUI.Name = "BlackHoleKyutatsukiGui" textlabel = Instance.new("TextLabel",GUI) textlabel.AnchorPoint = Vector2.new(1,1) textlabel.Position = UDim2.new(1,500+5,1,-5) textlabel.Size = UDim2.new(0,500,0,400) textlabel.BorderSizePixel = 5 textlabel.BorderColor3 = bordercolortitle textlabel.BackgroundColor3 = backgroundcolortitle textlabel.BackgroundTransparency = 0.1 textlabel.TextTransparency = 0.1 textlabel.TextColor3 = C3(1,1,0) textlabel.TextScaled = true textlabel.TextYAlignment = Enum.TextYAlignment.Center textlabel.Font = Enum.Font.SciFi textlabel.Text = title guiopen = false debouncebutton = false function openhelp() if debouncebutton == false then if guiopen == false then debouncebutton = true textlabel:TweenPosition(UDim2.new(1,0-5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2) guiopen = true wait(0.2) else debouncebutton = true textlabel:TweenPosition(UDim2.new(1,500+5,1,-5),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,0.2) guiopen = false wait(0.2) end end debouncebutton = false end openhelp() Mouse.KeyDown:connect(function(key) if key == "e" then openhelp() end end) if Character:FindFirstChild("Shirt") then Character.Shirt:Destroy() end if Character:FindFirstChild("Pants") then Character.Pants:Destroy() end for i,v in pairs(Character:children()) do if v:IsA("Accessory") then v:Destroy() end end Player_Size = 1 --Size of the player. local Shirto = Instance.new("Shirt") Shirto.Name = "S" Shirto.ShirtTemplate = "rbxassetid://787796132" Shirto.Parent = Character local Panto = Instance.new("Pants") Panto.Name = "S" Panto.PantsTemplate = "rbxassetid://844190661" Panto.Parent = Character New = function(Object, Parent, Name, Data) local Object = Instance.new(Object) for Index, Value in pairs(Data or {}) do Object[Index] = Value end Object.Parent = Parent Object.Name = Name return Object end --[[ tommygun = Instance.new("Part",Character) tommygun.Size = Vector3.new(2,2,2) tommygun.CFrame = RightArm.CFrame tommygun.CanCollide = false tommygunweld = Instance.new("Weld",tommygun) tommygunweld.Part0 = tommygun tommygunweld.Part1 = RightArm tommygunweld.C0 = tommygun.CFrame:inverse() * RightArm.CFrame * CFrame.new(0,-.80,1.25) * CFrame.Angles(math.rad(98),math.rad(0),0) mtommygun = Instance.new("SpecialMesh", tommygun) mtommygun.MeshType = "FileMesh" mtommygun.Scale = Vector3.new(1, 1, 1) mtommygun.MeshId,mtommygun.TextureId = 'http://www.roblox.com/asset/?id=116679805','http://www.roblox.com/asset/?id=116679995' tommygunammo = Instance.new("Part",Character) tommygunammo.Size = Vector3.new(2,2,2) tommygunammo.CFrame = tommygun.CFrame tommygunammo.CanCollide = false tommygunammoweld = Instance.new("Weld",tommygunammo) tommygunammoweld.Part0 = tommygunammo tommygunammoweld.Part1 = tommygun tommygunammoweld.C0 = tommygun.CFrame:inverse() * tommygun.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0) mtommygunammo = Instance.new("SpecialMesh", tommygunammo) mtommygunammo.MeshType = "FileMesh" mtommygunammo.Scale = Vector3.new(1, 1, 1) mtommygunammo.MeshId,mtommygunammo.TextureId = 'http://www.roblox.com/asset/?id=116740155','http://www.roblox.com/asset/?id=116679995' ]]-- local AK = CreatePart(3, A47, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false) CreateMesh("SpecialMesh", AK, "FileMesh", "430309675", "430310377", VT(0.01, 0.01, 0.01), VT(0,0,0)) --CreateMesh("SpecialMesh", AK, "FileMesh", "430054350", "430310377", VT(1, 1, 1), VT(0,0,0)) local AKWELD = CreateWeldOrSnapOrMotor("Weld", AK, RightArm, AK, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0)) local AH = CreatePart(3, A47, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local AHW = CreateWeldOrSnapOrMotor("Weld", AH, RightArm, AH, CF(0 * Player_Size, -5.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) AKMMO2 = Instance.new("Part",A47) AKMMO2.Size = Vector3.new(2,2,2) AKMMO2.CFrame = AK.CFrame AKMMO2.CanCollide = false AKMO = Instance.new("Weld",AKMMO2) AKMO.Part0 = AKMMO2 AKMO.Part1 = AK AKMO.C0 = AK.CFrame:inverse() * AK.CFrame * CFrame.new(0,.4,.25) * CFrame.Angles(math.rad(0),math.rad(0),0) AKMMO = Instance.new("SpecialMesh", AKMMO2) AKMMO.MeshType = "FileMesh" AKMMO.Scale = Vector3.new(0.01, 0.01, 0.01) AKMMO.MeshId,AKMMO.TextureId = 'http://www.roblox.com/asset/?id=430310311','http://www.roblox.com/asset/?id=430310377' --[[ Shotii = New("Model",Character,"Shotii",{}) SHandaru = New("Part",Shotii,"SHandaru",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.4184885, -48.6482887, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Mesh = New("SpecialMesh",SHandaru,"Mesh",{Scale = Vector3.new(0.00200000019, 0.00200000019, 0.00200000019),MeshId = "rbxassetid://450250994",TextureId = "rbxassetid://450251128",MeshType = Enum.MeshType.FileMesh,}) Weld = New("ManualWeld",SHandaru,"Weld",{Part0 = SHandaru,Part1 = RightArm,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(0.292991638, -7.6862278, -0.349998474, 0.984807849, -0.030152997, -0.171009988, 0.173647955, 0.17100893, 0.969846547, 4.55671426e-07, -0.984807968, 0.173646942),}) SShot = New("Part",Shotii,"SShot",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(82.7000122, 8.3150301, -54.4179688, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Weld = New("ManualWeld",SShot,"Weld",{Part0 = SShot,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(5.69999313, 0.900001526, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),}) SSExit = New("Part",Shotii,"SSExit",{Transparency = 1,Transparency = 1,Size = Vector3.new(0.299999952, 0.299999923, 0.299999803),CFrame = CFrame.new(83.0000076, 9.67517471, -46.1282616, 0, 0, 1, -0.173647001, 0.984807968, 0, -0.984807968, -0.173647001, 0),CanCollide = false,BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,}) Weld = New("ManualWeld",SSExit,"Weld",{Part0 = SSExit,Part1 = SHandaru,C0 = CFrame.new(0, 0, 0, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),C1 = CFrame.new(-2.69996262, 0.799999237, 0.299995422, 0, -0.173647001, -0.984807968, 0, 0.984807968, -0.173647001, 1, 0, 0),}) SHandaru.Transparency = 1]]-- local AWH = CreatePart(3, AWP, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false) CreateMesh("SpecialMesh", AWH, "FileMesh", "504829483", "504829510", VT(0.01, 0.01, 0.01), VT(0,0,0)) local AWW = CreateWeldOrSnapOrMotor("Weld", AWH, RightArm, AWH, CFrame.new(0,-1.8,-0.1) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0)) --[[ local part = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.375,0.375,0.385),false) local weld = CreateWeldOrSnapOrMotor("Weld", part, Head, part, CF(-0.21,0.25,-0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) local CLOCKWORK = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Eye", Vector3.new(0.25,0.25,0.26),false) local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK, Head, CLOCKWORK, CF(-0.21,0.25,-0.5785) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) ]]-- local assault = CreatePart(3, AR, "Neon", 0, 0, "Really black", "assault", VT(1, 0.8, 3),false) CreateMesh("SpecialMesh", assault, "FileMesh", "537039121", "537039226", VT(0.3, 0.3, 0.3), VT(0,0,0)) local rifweld = CreateWeldOrSnapOrMotor("Weld", assault, RightArm, assault, CFrame.new(0,-1.8,-.05) * CFrame.Angles(math.rad(270),math.rad(0),0), CF(0, 0, 0)) local EAE = CreatePart(3, AR, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local EAES = CreateWeldOrSnapOrMotor("Weld", EAE, RightArm, EAE, CF(0 * Player_Size, -5.15* Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) --[[ local GunModel = Instance.new("Part", Character)--Shotgun) GunModel.Name = "Pistol" GunModel.Shape = Enum.PartType.Ball GunModel.CanCollide = false GunModel.BrickColor = BrickColor.new("Medium stone grey") GunModel.Transparency = 1 GunModel.Material = "Grass" GunModel.Size = Vector3.new(0.01, 0.01, 0.01) GunModel.TopSurface = Enum.SurfaceType.Smooth GunModel.BottomSurface = Enum.SurfaceType.Smooth local Weld = Instance.new("Weld", GunModel) Weld.Part0 = RightArm Weld.Part1 = GunModel Weld.C1 = CFrame.new(0, -0.3, -1.4) * CFrame.fromEulerAnglesXYZ(math.rad(90), math.rad(0), math.rad(180)) GunModelMesh = Instance.new("FileMesh", GunModel) GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994" GunModelMesh.TextureId = "http://www.roblox.com/asset/?id=450251128" GunModelMesh.Scale = Vector3.new(0.035, 0.02, 0.02) ]]-- local UGB = CreatePart(3, AUG, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false) CreateMesh("SpecialMesh", UGB, "FileMesh", "431717702", "431717780", VT(0.08, 0.08, 0.08), VT(0,0,0)) local UGW = CreateWeldOrSnapOrMotor("Weld", UGB, RightArm, UGB, CFrame.new(0,-1.8,0.25) * CFrame.Angles(math.rad(270),math.rad(180),0), CF(0, 0, 0)) local SGUN = CreatePart(3, Shotgun, "Neon", 0, 0, "Really black", "Gun", VT(1, 0.8, 3),false) CreateMesh("SpecialMesh", SGUN, "FileMesh", "450250994", "450251128", VT(0.002, 0.002, 0.002), VT(0,0,0)) local GUNWELD = CreateWeldOrSnapOrMotor("Weld", SGUN, RightArm, SGUN, CF(-0.45,-1.4,0.1) * ANGLES(RAD(-90), RAD(110), RAD(0)), CF(0, 0, 0)) local Barrel = CreatePart(3, Shotgun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local BarrelWeld = CreateWeldOrSnapOrMotor("Weld", Barrel, RightArm, Barrel, CF(0 * Player_Size, -4.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local OUTSIDE = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(0.395,0.485,0.405),false) local weld = CreateWeldOrSnapOrMotor("Weld", OUTSIDE, Head, OUTSIDE, CF(0.18,0.05,-0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) local CLOCKWORK2 = CreatePart(3, Character, "Neon", 0, 0, "Bright yellow", "Eye", Vector3.new(0.29,0.37,0.30),false) local weld = CreateWeldOrSnapOrMotor("Weld", CLOCKWORK2, Head, CLOCKWORK2, CF(0.18,0.05,-0.5785) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0)) MakeForm(OUTSIDE,"Cyl") MakeForm(CLOCKWORK2,"Cyl") local BELT = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Eye", Vector3.new(1.3,0.225,1.3),false) local weld = CreateWeldOrSnapOrMotor("Weld", BELT, Head, BELT, CF(0,0.05,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0)) MakeForm(BELT,"Cyl") local BC = char["Body Colors"] BC.HeadColor = BrickColor.new("Light stone grey") BC.LeftArmColor = BrickColor.new("Light stone grey") BC.LeftLegColor = BrickColor.new("Light stone grey") BC.RightArmColor = BrickColor.new("Light stone grey") BC.RightLegColor = BrickColor.new("Light stone grey") BC.TorsoColor = BrickColor.new("Light stone grey") local kek9= CreatePart(3, kek, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local kek9M = CreateMesh("SpecialMesh", kek9, "FileMesh", "742046473", "742046691", VT(0.002, 0.002, 0.002), VT(0,0, 0)) local kek9W = CreateWeldOrSnapOrMotor("Weld", kek9, RightArm, kek9, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local kepoint = CreatePart(3, kek, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local kepointweld = CreateWeldOrSnapOrMotor("Weld", kepoint, RightArm, kepoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local Gun = CreatePart(3, Gun, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) --local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "72012879", "72012859", VT(2,2,2), VT(0,0, 0)) local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "430348960", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0)) --local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0)) local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local GunPoint = CreatePart(3, Gun, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local HandleWeld = CreateWeldOrSnapOrMotor("Weld", GunPoint, RightArm, GunPoint, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local S2S = CreatePart(3, Supressor, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local HandleMesh = CreateMesh("SpecialMesh", S2S, "FileMesh", "430884744", "430888952", VT(0.002, 0.002, 0.002), VT(0,0, 0)) local Weld = CreateWeldOrSnapOrMotor("Weld", S2S, Gun, S2S, CF(0 * Player_Size, 0.45 * Player_Size, 1.725 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0" local SSDE = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local HandleMesh = CreateMesh("SpecialMesh", SSDE, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0)) local Weld = CreateWeldOrSnapOrMotor("Weld", SSDE, RightArm, SSDE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local Flare = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local HandleWeld = CreateWeldOrSnapOrMotor("Weld", Flare, RightArm, Flare, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local SSDE2 = CreatePart(3, SMG, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local HandleMesh2 = CreateMesh("SpecialMesh", SSDE2, "FileMesh", "453175434", "453175461", VT(0.02, 0.02, 0.02), VT(0,0, 0)) local Weld2 = CreateWeldOrSnapOrMotor("Weld", SSDE2, LeftArm, SSDE2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local Flare2 = CreatePart(3, SMG, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local Handle2 = CreateWeldOrSnapOrMotor("Weld", Flare2, LeftArm, Flare2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local KL2 = CreatePart(3, knif, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local KLM = CreateMesh("SpecialMesh", KL2, "FileMesh", "437420170", "437420120", VT(0.3, 0.3, 0.3), VT(0,0, 0)) local KLW = CreateWeldOrSnapOrMotor("Weld", KL2, RightArm, KL2, CF(0 * Player_Size, -1 * Player_Size, -1 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local R8A = CreatePart(3, R8RA, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local R8M = CreateMesh("SpecialMesh", R8A, "FileMesh", "541863381", "541863491", VT(0.3, 0.3, 0.3), VT(0,0, 0)) --local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0)) local R8W = CreateWeldOrSnapOrMotor("Weld", R8A, RightArm, R8A, CF(0.2 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(-90), RAD(-20), RAD(0)), CF(0, 0, 0)) local REVOLV = CreatePart(3, R8RA, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local HOLEWELD = CreateWeldOrSnapOrMotor("Weld", REVOLV, RightArm, REVOLV, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local DEAGLE = CreatePart(3, DE, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local DEAGLEMESH = CreateMesh("SpecialMesh", DEAGLE, "FileMesh", "441587064", "441587082", VT(0.03, 0.03, 0.03), VT(0,0, 0)) local DEAGLEWeld = CreateWeldOrSnapOrMotor("Weld", DEAGLE, RightArm, DEAGLE, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local JUAND = CreatePart(3, DE, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local JUANDW = CreateWeldOrSnapOrMotor("Weld", JUAND, RightArm, JUAND, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local SOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local SOLM = CreateMesh("SpecialMesh", SOL, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0)) local SOLW = CreateWeldOrSnapOrMotor("Weld", SOL, RightArm, SOL, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0)) local VOL = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local HENDLE = CreateWeldOrSnapOrMotor("Weld", VOL, RightArm, VOL, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local SOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local SOLM2 = CreateMesh("SpecialMesh", SOL2, "FileMesh", "540384540", "540384666", VT(0.2, 0.2, 0.2), VT(0,0, 0)) local SOLW2 = CreateWeldOrSnapOrMotor("Weld", SOL2, LeftArm, SOL2, CF(0 * Player_Size, -1.6 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(0), RAD(0)), CF(0, 0, 0)) local VOL2 = CreatePart(3, SMG2, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local HENDLE2 = CreateWeldOrSnapOrMotor("Weld", VOL2, LeftArm, VOL2, CF(0 * Player_Size, -2.6 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local MAC = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local MAC2M = CreateMesh("SpecialMesh", MAC, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0)) local MACW = CreateWeldOrSnapOrMotor("Weld", MAC, RightArm, MAC, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local BOI = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local BAEDF = CreateWeldOrSnapOrMotor("Weld", BOI, RightArm, BOI, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) local MAC2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 0, "Really black", "Handle", VT(0, 0, 0),false) local MAC2M = CreateMesh("SpecialMesh", MAC2, "FileMesh", "431951963", "431951966", VT(0.1, 0.1, 0.1), VT(0,0, 0)) local MAC2W = CreateWeldOrSnapOrMotor("Weld", MAC2, LeftArm, MAC2, CF(0 * Player_Size, -1 * Player_Size, -0.2 * Player_Size) * ANGLES(RAD(270), RAD(180), RAD(0)), CF(0, 0, 0)) local BOI2 = CreatePart(3, SMG3, "SmoothPlastic", 0, 1, "Really black", "Handle", VT(0, 0, 0),false) local BAEDF2 = CreateWeldOrSnapOrMotor("Weld", BOI2, LeftArm, BOI2, CF(0 * Player_Size, -2 * Player_Size, -0.6 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(135)), CF(0, 0, 0)) DE.Parent = nil for _, c in pairs(DE:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end AWP.Parent = nil for _, c in pairs(AWP:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end Gun.Parent = nil for _, c in pairs(Gun:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end Supressor.Parent = nil for _, c in pairs(Supressor:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end AR.Parent = nil for _, c in pairs(AR:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end SMG.Parent = nil for _, c in pairs(SMG:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end SMG3.Parent = nil for _, c in pairs(SMG3:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end SMG2.Parent = nil for _, c in pairs(SMG2:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end Weapon.Parent = Character for _, c in pairs(Weapon:GetChildren()) do if c.ClassName == "Part" then c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0) end end local SKILLTEXTCOLOR = C3(1,1,0) local SKILLFONT = "SciFi" local SKILLTEXTSIZE = 7 --HEALTH FUNCTIONS Humanoid.Died:connect(function() for i = 1, 23 do SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, MRANDOM(12,17)) end Character:FindFirstChildOfClass("Humanoid").PlatformStand = true if Character:findFirstChild("Torso") then Character.Torso.Velocity = Character.Torso.CFrame.lookVector * 10 for i,v in pairs(Character.Torso:GetChildren()) do if v.ClassName == "Motor6D" then if v.Name == "Neck" then else v:destroy() end end end end if Character:findFirstChild("Right Arm") then local attachment = Instance.new("Attachment", Character.Torso) attachment.Position = Vector3.new(1, 1, 0) local ball = Instance.new("BallSocketConstraint", Character) ball.Attachment0 = Character["Right Arm"].RightShoulderAttachment ball.Attachment1 = attachment local collidepartofleftleg = Instance.new("Part", Character.Torso) collidepartofleftleg.Name = "Bone" collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) collidepartofleftleg.Transparency = 1 collidepartofleftleg:BreakJoints() local weeld = Instance.new("Weld", collidepartofleftleg) weeld.Part0 = Character["Right Arm"] weeld.Part1 = collidepartofleftleg weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) end if Character:findFirstChild("Left Arm") then local attachment = Instance.new("Attachment", Character.Torso) attachment.Position = Vector3.new(-1, 1, 0) local ball = Instance.new("BallSocketConstraint", Character) ball.Attachment0 = attachment ball.Attachment1 = Character["Left Arm"].LeftShoulderAttachment local collidepartofleftleg = Instance.new("Part", Character.Torso) collidepartofleftleg.Name = "Bone" collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) collidepartofleftleg.Transparency = 1 collidepartofleftleg:BreakJoints() local weeld = Instance.new("Weld", collidepartofleftleg) weeld.Part0 = Character["Left Arm"] weeld.Part1 = collidepartofleftleg weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) end if Character:findFirstChild("Right Leg") then local attachment = Instance.new("Attachment", Character.Torso) attachment.Position = Vector3.new(0.5, -1, 0) local ball = Instance.new("BallSocketConstraint", Character) ball.Attachment0 = Character["Right Leg"].RightFootAttachment ball.Attachment1 = attachment Character["Right Leg"].RightFootAttachment.Position = Vector3.new(0, 1, 0) local collidepartofleftleg = Instance.new("Part", Character.Torso) collidepartofleftleg.Name = "Bone" collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) collidepartofleftleg.Transparency = 1 collidepartofleftleg:BreakJoints() local weeld = Instance.new("Weld", collidepartofleftleg) weeld.Part0 = Character["Right Leg"] weeld.Part1 = collidepartofleftleg weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) end if Character:findFirstChild("Left Leg") then local attachment = Instance.new("Attachment", Character.Torso) attachment.Position = Vector3.new(-0.5, -1, 0) local ball = Instance.new("BallSocketConstraint", Character) ball.Attachment0 = Character["Left Leg"].LeftFootAttachment ball.Attachment1 = attachment Character["Left Leg"].LeftFootAttachment.Position = Vector3.new(0, 1, 0) local collidepartofleftleg = Instance.new("Part", Character.Torso) collidepartofleftleg.Name = "Bone" collidepartofleftleg.Size = Vector3.new(0.8,1.4,0.8) collidepartofleftleg.Transparency = 1 collidepartofleftleg:BreakJoints() local weeld = Instance.new("Weld", collidepartofleftleg) weeld.Part0 = Character["Left Leg"] weeld.Part1 = collidepartofleftleg weeld.C0 = weeld.C0 * CFrame.new(0,-0.3,0) end if Character:findFirstChild("Head") then local attachment = Instance.new("Attachment", Character.Head) attachment.Position = Vector3.new(0, -0.5, 0) attachment.Name = "lol" attachment.Visible = false Character.Torso.NeckAttachment.Visible = false Character.Torso.NeckAttachment.Position = Character.Torso.NeckAttachment.Position + Vector3.new(0,0,0) local ball = Instance.new("BallSocketConstraint", Character) ball.Attachment0 = Character.Torso.NeckAttachment ball.Attachment1 = attachment ball.LimitsEnabled = true ball.TwistLimitsEnabled = true ball.UpperAngle = 90 ball.Restitution = 0.5 ball.TwistUpperAngle = 180 ball.TwistLowerAngle = -180 local collidepartofleftleg = Instance.new("Part", Character.Torso) collidepartofleftleg.Name = "Bone" collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7) collidepartofleftleg.Transparency = 1 collidepartofleftleg:BreakJoints() local weeld = Instance.new("Weld", collidepartofleftleg) weeld.Part0 = collidepartofleftleg weeld.Part1 = Character["Head"] if Character.Torso:findFirstChild("Neck") then Character.Torso.Neck:destroy() end end Character:FindFirstChildOfClass("Humanoid"):SetStateEnabled(Enum.HumanoidStateType.Dead, false) Character:FindFirstChildOfClass("Humanoid").Health = 0.1 Character:FindFirstChildOfClass("Humanoid").WalkSpeed = 0 Character:FindFirstChildOfClass("Humanoid").JumpPower = 0 end) function PuddleOfBlood(Position, MaxDrop, Model, MaxSize) local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model) if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then if HITFLOOR.Name == "BloodPuddle" then local DIST = (Position - HITFLOOR.Position).Magnitude if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1) end elseif HITFLOOR.Anchored == true then do local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(2, 0, 2)) BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)) MakeForm(BLOOD, "Cyl") coroutine.resume(coroutine.create(function() Swait(75) while true do Swait() BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02) if BLOOD.Size.Z < 0.051 then BLOOD:remove() break end end end)) end end end end function SprayBlood(POSITION, DIRECTION, BloodSize) local BLOOD = CreatePart(3, Effects, "SmoothPlastic", 0, 0, "New Yeller", "BloodPuddle", VT(1, 1, 1), false) BLOOD.CFrame = CF(POSITION) MakeForm(BLOOD, "Ball") local bv = Instance.new("BodyVelocity", BLOOD) bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25 bv.Name = "MOVE" Debris:AddItem(bv, 0.05) coroutine.resume(coroutine.create(function() local HASTOUCHEDGROUND = false local HIT = BLOOD.Touched:Connect(function(hit) if hit.Anchored == true then HASTOUCHEDGROUND = true PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize) end end) wait(5) if HASTOUCHEDGROUND == false then BLOOD:remove() end end)) end local lastHp=Humanoid.Health --Thanks nebby ;3 Humanoid:GetPropertyChangedSignal("Health"):connect(function() local hp = Humanoid.Health if(hp 370 then for i = 1, lost/32 do SprayBlood(Torso.CFrame * CF(0, Torso.Size.Y / 2, 0).p, Torso.CFrame * CF(MRANDOM(-55, 55), MRANDOM(-25, 25), MRANDOM(-55, 55)).p, lost/15) end end --blood depending on the lost amount of HP end lastHp=hp end) --//=================================\\ --|| DAMAGING --\\=================================// function sphere(bonuspeed,type,pos,scale,value,color) local type = type local rng = Instance.new("Part", char) rng.Anchored = true if ModeOfGlitch ~= 9 then rng.BrickColor = color elseif ModeOfGlitch == 9 then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) end rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Sphere" rngm.Scale = scale if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if ModeOfGlitch == 9 then coroutine.resume(coroutine.create(function() while true do swait() if rng.Parent ~= nil then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) else break end end end)) end local scaler2 = 1 if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) end rng:Destroy() end)) end function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color) local type = type local rng = Instance.new("Part", char) rng.Anchored = true if ModeOfGlitch ~= 9 then rng.BrickColor = color elseif ModeOfGlitch == 9 then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) end rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Sphere" rngm.Scale = scale local scaler2 = 1 local scaler2b = 1 local scaler2c = 1 if type == "Add" then scaler2 = 1*value scaler2b = 1*value2 scaler2c = 1*value3 elseif type == "Divide" then scaler2 = 1/value scaler2b = 1/value2 scaler2c = 1/value3 end if ModeOfGlitch == 9 then coroutine.resume(coroutine.create(function() while true do swait() if rng.Parent ~= nil then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) else break end end end)) end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed scaler2b = scaler2b - 0.01*value/bonuspeed scaler2c = scaler2c - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed scaler2b = scaler2b - 0.01/value*bonuspeed scaler2c = scaler2c - 0.01/value*bonuspeed end rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed) end rng:Destroy() end)) end function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Brick" rngm.Scale = vt(x1,y1,z1) if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end local scaler2 = 1 local speeder = FastSpeed/10 if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end speeder = speeder - 0.01*FastSpeed*bonuspeed/10 rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed --rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) end rng:Destroy() end)) end function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Brick" rngm.Scale = vt(x1,y1,z1) if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end local scaler2 = 1 local speeder = FastSpeed/10 if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end speeder = speeder - 0.01*FastSpeed*bonuspeed/10 rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) end rng:Destroy() end)) end function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Brick" rngm.Scale = vt(x1,y1,z1) if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end local scaler2 = 0 local speeder = FastSpeed/10 if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end speeder = speeder + 0.01*FastSpeed*bonuspeed/10 rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed --rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed) end rng:Destroy() end)) end function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true if ModeOfGlitch ~= 9 then rng.BrickColor = color elseif ModeOfGlitch == 9 then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) end rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Sphere" rngm.Scale = vt(x1,y1,z1) if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if ModeOfGlitch == 9 then coroutine.resume(coroutine.create(function() while true do swait() if rng.Parent ~= nil then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) else break end end end)) end local scaler2 = 1 local speeder = FastSpeed if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end speeder = speeder - 0.01*FastSpeed*bonuspeed rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed rng.Transparency = rng.Transparency + 0.01*bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) end rng:Destroy() end)) end function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos) local type = type local rng = Instance.new("Part", char) rng.Anchored = true if ModeOfGlitch ~= 9 then rng.BrickColor = color elseif ModeOfGlitch == 9 then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) end rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 1 rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "Sphere" rngm.Scale = vt(x1,y1,z1) if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if ModeOfGlitch == 9 then coroutine.resume(coroutine.create(function() while true do swait() if rng.Parent ~= nil then rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000) else break end end end)) end local scaler2 = 1 local speeder = FastSpeed if type == "Add" then scaler2 = 1*value elseif type == "Divide" then scaler2 = 1/value end coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if rainbowmode == true then rng.Color = Color3.new(r/255,g/255,b/255) end if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed end if chaosmode == true then rng.BrickColor = BrickColor.random() end speeder = speeder - 0.01*FastSpeed*bonuspeed rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed rng.Transparency = rng.Transparency - 0.01*bonuspeed rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0) end rng:Destroy() end)) end --//=================================\\ --|| ATTACK FUNCTIONS AND STUFF --\\=================================// function chatfunc(text,color,typet,font,timeex) 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,3,0) naeeym2.Adornee = Character.Head naeeym2.Name = "TalkingBillBoard" local tecks2 = Instance.new("TextLabel",naeeym2) tecks2.BackgroundTransparency = 1 tecks2.BorderSizePixel = 0 tecks2.Text = "" tecks2.Font = font tecks2.TextSize = 30 tecks2.TextStrokeTransparency = 0 tecks2.TextColor3 = color tecks2.TextStrokeColor3 = Color3.new(0,0,0) tecks2.Size = UDim2.new(1,0,0.5,0) local tecks3 = Instance.new("TextLabel",naeeym2) tecks3.BackgroundTransparency = 1 tecks3.BorderSizePixel = 0 tecks3.Text = "" tecks3.Font = font tecks3.TextSize = 30 tecks3.TextStrokeTransparency = 0 if typet == "Inverted" then tecks3.TextColor3 = Color3.new(0,0,0) tecks3.TextStrokeColor3 = color elseif typet == "Normal" then tecks3.TextColor3 = color tecks3.TextStrokeColor3 = Color3.new(0,0,0) end tecks3.Size = UDim2.new(1,0,0.5,0) coroutine.resume(coroutine.create(function() while true do swait(1) end end)) for i = 0, 74*timeex do swait() tecks2.Text = text tecks3.Text = text end local randomrot = math.random(1,2) if randomrot == 1 then for i = 1, 50 do swait() tecks2.Text = text tecks3.Text = text tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks2.TextTransparency = tecks2.TextTransparency + .04 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks3.TextTransparency = tecks2.TextTransparency + .04 end elseif randomrot == 2 then for i = 1, 50 do swait() tecks2.Text = text tecks3.Text = text tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks2.TextTransparency = tecks2.TextTransparency + .04 tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04 tecks3.TextTransparency = tecks2.TextTransparency + .04 end end naeeym2:Destroy() end) chat() end function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color) local type = type local rotenable = rotatingop local rng = Instance.new("Part", char) rng.Anchored = true rng.BrickColor = color rng.CanCollide = false rng.FormFactor = 3 rng.Name = "Ring" rng.Material = "Neon" rng.Size = Vector3.new(1, 1, 1) rng.Transparency = 0 if typeoftrans == "In" then rng.Transparency = 1 end rng.TopSurface = 0 rng.BottomSurface = 0 rng.CFrame = pos local rngm = Instance.new("SpecialMesh", rng) rngm.MeshType = "FileMesh" if typeofshape == "Normal" then rngm.MeshId = "rbxassetid://662586858" elseif typeofshape == "Round" then rngm.MeshId = "rbxassetid://662585058" end rngm.Scale = scale local scaler2 = 1/10 if type == "Add" then scaler2 = 1*value/10 elseif type == "Divide" then scaler2 = 1/value/10 end local randomrot = math.random(1,2) coroutine.resume(coroutine.create(function() for i = 0,10/bonuspeed,0.1 do swait() if type == "Add" then scaler2 = scaler2 - 0.01*value/bonuspeed/10 elseif type == "Divide" then scaler2 = scaler2 - 0.01/value*bonuspeed/10 end if rotenable == true then if randomrot == 1 then rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0) elseif randomrot == 2 then rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0) end end if typeoftrans == "Out" then rng.Transparency = rng.Transparency + 0.01*bonuspeed elseif typeoftrans == "In" then rng.Transparency = rng.Transparency - 0.01*bonuspeed end rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10) end rng:Destroy() end)) end local MAINRUINCOLOR = BrickColor.new("New Yeller") NEWS4 = Instance.new("Sound", tors) --O NO NEWS4.SoundId = "http://www.roblox.com/asset/?id=374091819" NEWS4.Volume = 100 NEWS4.Pitch = 1 NEWS4.Looped = false NEWS4.TimePosition = 1 function die() ATTACK = true Humanoid.WalkSpeed = 0 NEWS4:Play() repeat NEWS4.Parent = Torso Swait() RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size + 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)), 1 / Animation_Speed) RW.C0 = Clerp(RW.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed) LW.C0 = Clerp(LW.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(math.random(-360,360)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size - 0 * 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 * Player_Size, -0.01 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed) until NEWS4.Playing == false ATTACK = false Humanoid.WalkSpeed = 75 ATTACK = false Humanoid.WalkSpeed = 75 end --[[ local dancing = false Mouse.KeyDown:connect(function(Press) Press=Press:lower() if Press=='h' then if dancing then dancing = false else dancing = true Speed = 0 change = .5 ATTACK = true jellyfishjam = Instance.new("Sound",Torso) jellyfishjam.SoundId = "rbxassetid://840189092" jellyfishjam.Volume = 8 jellyfishjam.Looped = true jellyfishjam.TimePosition = 14.8 jellyfishjam:Play() coroutine.wrap(function() while dancing do for i = 1, 15 do if not dancing then break end RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(20)),.25) RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3) LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3) RH.C0 = RH.C0:lerp(CFrame.new(0.25, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-35)), 0.25) LH.C0 = LH.C0:lerp(CFrame.new(0.31, 2.05,-0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(14)), 0.25) swait() end for i = 1, 15 do if not dancing then break end RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(0,-.1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25) RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3) LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3) RH.C0 = RH.C0:lerp(CFrame.new(-0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(25), math.rad(-2)), 0.25) LH.C0 = LH.C0:lerp(CFrame.new(0.3, 2.0, 0) * CFrame.Angles(0, math.rad(0), math.rad(10)), 0.25) swait() end for i = 1, 15 do if not dancing then break end RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.4 + .1 * math.sin(sine/4),0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(-20)),.25) RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3) LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3) RH.C0 = RH.C0:lerp(CFrame.new(-0.3, 2 , 0) * CFrame.Angles(0, math.rad(0), math.rad(-10)), 0.25) LH.C0 = LH.C0:lerp(CFrame.new(-0.25, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(35)), 0.25) swait() end for i = 1, 15 do if not dancing then break end RootJoint.C0 = RootJoint.C0:Lerp(CFrame.new(-.5,-.1,0) * CFrame.Angles(math.rad(0),math.rad(20 * math.sin(sine/8)),math.rad(0)),.25) RW.C0 = RW.C0:lerp(CFrame.new(-.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(50 + 3 * math.sin(sine/12)),math.rad(3 - 1 * math.sin(sine/12))),.3) LW.C0 = LW.C0:lerp(CFrame.new(.9,.65 + .4 * math.sin(sine/12),1.2) * CFrame.Angles(math.rad(-35 - 15 * math.sin(sine/12)),math.rad(-50 - 3 * math.sin(sine/12)),math.rad(-3 + 1 * math.sin(sine/12))), .3) RH.C0 = RH.C0:lerp(CFrame.new(-0.31, 2.05,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-14)), 0.3) LH.C0 = LH.C0:lerp(CFrame.new(0.25, .7,1.5) * CFrame.Angles(math.rad(72), math.rad(-25), math.rad(-2)), 0.25) swait() end swait() end Speed = 26 jellyfishjam:Remove() ATTACK = false end)() end end end) --]] thonks = Instance.new("Sound", tors) --wat? thonks.SoundId = "http://www.roblox.com/asset/?id=1532157598" thonks.Volume = 10 thonks.Pitch = 1 thonks.Looped = false thonks.TimePosition = 0 function thonki() ATTACK = true Character.Head.face.Texture = "rbxassetid://1528105298" thonks:Play() repeat for i = 0,8.3,0.1 do swait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1) * angles(Rad(0), Rad(0), Rad(90)), 0.7) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-30), Rad(0), Rad(0)), 0.7) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 , 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.7) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-.6), Rad(0)), 0.7) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-45), Rad(-.6), Rad(136 - 4.5 * Sin(sine / 20))), 0.7) end until thonks.Playing == false thonks:Stop() ATTACK = false hum.WalkSpeed = 40 end so = function(id,par,vol,pit) coroutine.resume(coroutine.create(function() local sou = Instance.new("Sound",par or workspace) sou.Volume=vol sou.Pitch=pit or 1 sou.SoundId=id swait() sou:play() game:GetService("Debris"):AddItem(sou,6) end)) end Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock) if hit.Parent==nil then return end h=hit.Parent:FindFirstChild("Humanoid") for _,v in pairs(hit.Parent:children()) do if v:IsA("Humanoid") then h=v end end if hit.Parent.Parent:FindFirstChild("Torso")~=nil then h=hit.Parent.Parent:FindFirstChild("Humanoid") end if hit.Parent.className=="Hat" then hit=hit.Parent.Parent:findFirstChild("Head") end if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then return end]] -- hs(hit,1.2) c=Instance.new("ObjectValue") c.Name="creator" c.Value=Player c.Parent=h game:GetService("Debris"):AddItem(c,.5) Damage=math.random(minim,maxim) -- h:TakeDamage(Damage) blocked=false block=hit.Parent:findFirstChild("Block") if block~=nil then print(block.className) if block.className=="NumberValue" then if block.Value>0 then blocked=true if decreaseblock==nil then block.Value=block.Value-1 end end end if block.className=="IntValue" then if block.Value>0 then blocked=true if decreaseblock~=nil then block.Value=block.Value-1 end end end end if blocked==false then -- h:TakeDamage(Damage) h.Health=h.Health-Damage --showDamage(hit.Parent,Damage,.5,BrickColor.new("Really red")) else h.Health=h.Health-(Damage/2) -- showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue")) end if Type=="Knockdown" then hum=hit.Parent.Humanoid hum.PlatformStand=true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand=false end),hum) local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0) local bodvol=Instance.new("BodyVelocity") bodvol.velocity=angle*knockback bodvol.P=5000 bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) bodvol.Parent=hit rl=Instance.new("BodyAngularVelocity") rl.P=3000 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) rl.Parent=hit game:GetService("Debris"):AddItem(bodvol,.5) game:GetService("Debris"):AddItem(rl,.5) elseif Type=="Normal" then vp=Instance.new("BodyVelocity") vp.P=500 vp.maxForce=Vector3.new(math.huge,0,math.huge) -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback if KnockbackType==1 then vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05 elseif KnockbackType==2 then vp.velocity=Property.CFrame.lookVector*knockback end if knockback>0 then vp.Parent=hit.Parent.Torso end game:GetService("Debris"):AddItem(vp,.5) elseif Type=="Up" then local bodyVelocity=Instance.new("BodyVelocity") bodyVelocity.velocity=vt(0,60,0) bodyVelocity.P=5000 bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003) bodyVelocity.Parent=hit game:GetService("Debris"):AddItem(bodyVelocity,1) rl=Instance.new("BodyAngularVelocity") rl.P=3000 rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000 rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30)) rl.Parent=hit game:GetService("Debris"):AddItem(rl,.5) elseif Type=="Snare" then bp=Instance.new("BodyPosition") bp.P=2000 bp.D=100 bp.maxForce=Vector3.new(math.huge,math.huge,math.huge) bp.position=hit.Parent.Torso.Position bp.Parent=hit.Parent.Torso game:GetService("Debris"):AddItem(bp,1) elseif Type=="Target" then if Targetting==false then ZTarget=hit.Parent.Torso coroutine.resume(coroutine.create(function(Part) so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) swait(5) so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5) end),ZTarget) TargHum=ZTarget.Parent:findFirstChild("Humanoid") targetgui=Instance.new("BillboardGui") targetgui.Parent=ZTarget targetgui.Size=UDim2.new(10,100,10,100) targ=Instance.new("ImageLabel") targ.Parent=targetgui targ.BackgroundTransparency=1 targ.Image="rbxassetid://4834067" targ.Size=UDim2.new(1,0,1,0) cam.CameraType="Scriptable" cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) Targetting=true RocketTarget=ZTarget for i=1,Property do --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then swait() end --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100) cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position) dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z) cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0) end Targetting=false RocketTarget=nil targetgui.Parent=nil cam.CameraType="Custom" end end debounce=Instance.new("BoolValue") debounce.Name="DebounceHit" debounce.Parent=hit.Parent debounce.Value=true game:GetService("Debris"):AddItem(debounce,Delay) c=Instance.new("ObjectValue") c.Name="creator" c.Value=Player c.Parent=h game:GetService("Debris"):AddItem(c,.5) CRIT=false hitDeb=true AttackPos=6 end end function shoot() ATTACK = true for i = 0,2,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end so("http://roblox.com/asset/?id=231897565",GunPoint,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = GunPoint.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" for i = 0, 1 do slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) end -- + root.CFrame.lookVector*12 sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = GunPoint.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb game:GetService("Debris"):AddItem(lb, 19) lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,2,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end ATTACK = false b:Destroy() wait(10) lb:Destroy() end function shoots() ATTACK = true for i = 0,1.2,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end so("http://roblox.com/asset/?id=235099882",GunPoint,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = GunPoint.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = GunPoint.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb game:GetService("Debris"):AddItem(lb, 19) lb.Touched:connect(function(hit) Damagefunc(hit,27,67,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,1.65,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end ATTACK = false b:Destroy() wait(10) lb:Destroy() end function deag() ATTACK = true for i = 0,0.9,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(90 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end so("http://roblox.com/asset/?id=131205975",JUAND,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = JUAND.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" for i = 0, 1 do slash(10,5,true,"Round","Add","Out",JUAND.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) end -- + root.CFrame.lookVector*12 sphere2(10,"Add",JUAND.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = JUAND.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb game:GetService("Debris"):AddItem(lb, 19) lb.Touched:connect(function(hit) Damagefunc(hit,450,740,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,1.15,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(65)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-65)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(35 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(120 + 4 * math.cos(sine / 22))),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-25)), 0.3) end ATTACK = false b:Destroy() wait(10) lb:Destroy() end local animationspeed = 2 --local SwordThing = false --local change = 2 / animationspeed it = Instance.new vt = Vector3.new cf = CFrame.new rad = math.rad euler = CFrame.fromEulerAnglesXYZ angles = CFrame.Angles --[[ necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0) RootCF = angles(rad(-90), 0, rad(180)) ]]-- local PlayerSize = 1 local RWC0 = cf(-0.5, 0, 0) * angles(rad(0), rad(90), rad(0)) local LWC0 = cf(0.5, 0, 0) * angles(rad(0), rad(-90), rad(0)) bestmatess = Instance.new("Sound", Torso) bestmatess.Volume = 14 bestmatess.TimePosition = 0 bestmatess.Pitch = 1 bestmatess.SoundId = "rbxassetid://780906273" bestmatess.Looped = true clerp2 = function(a, b, t) return a:lerp(b, t) end -- local sine = 0 local bestmate = false function bestmatesA() if bestmate == false then ATTACK = true bestmate = true --Humanoid.WalkSpeed = 3 --Humanoid.JumpPower = 10 bestmatess:Play() while bestmate == true do change = 0.8 Swait() RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(SINE/8)),math.rad(0),math.rad(0)),.1) end elseif bestmate == true then ATTACK = false bestmate = false change = 1 --Humanoid.WalkSpeed = 5 --Humanoid.JumpPower = 60 bestmatess:Stop() end end cheeki = Instance.new("Sound", Torso) cheeki.Volume = 24 cheeki.TimePosition = 0 cheeki.Pitch = 1 cheeki.SoundId = "rbxassetid://800064337" cheeki.Looped = true function cheekibreeki() if bestmate == false then ATTACK = true bestmate = true cheeki:Play() while bestmate == true do change = 0.8 Swait() RootJoint.C0 = clerp2(RootJoint.C0, RootCF * cf(0 * PlayerSize, 0 * PlayerSize, -0.25 - 0.125 * math.cos((sine) / 4) * PlayerSize) * angles(rad(0), rad(5 * math.cos((sine) / 8)), rad(0)), 1 / animationspeed) Neck.C0 = clerp2(Neck.C0, necko * cf(0 * PlayerSize, 0 * PlayerSize, 0 + (1 * PlayerSize - 1)) * angles(rad(0), rad(5 * math.sin((sine) / 8)), rad(0)), 1 / animationspeed) RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-36*SIN(sine/8)),math.rad(0),math.rad(0)),.1) RightHip.C0 = clerp2(RightHip.C0, cf(1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 - 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(87.5), rad(0)) * angles(rad(-5 + 10 * math.cos((sine) / 8)), rad(0), rad(30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) LeftHip.C0 = clerp2(LeftHip.C0, cf(-1 * PlayerSize, -0.75 - 0.125 * math.cos((sine) / 4) * PlayerSize, -0.25 + 0.125 * math.sin((sine) / 8) * PlayerSize) * angles(rad(0), rad(-87.5), rad(0)) * angles(rad(-5 - 10 * math.cos((sine) / 8)), rad(0), rad(-30 - 50 * math.cos((sine) / 8))), 1 / animationspeed) end elseif bestmate == true then ATTACK = false change = 1 bestmate = false cheeki:Stop() end end crab = Instance.new("Sound", Torso) crab.Volume = 14 crab.TimePosition = 0 crab.Pitch = 1 crab.SoundId = "rbxassetid://2410799757" crab.Looped = true function bestmatesB() if bestmate == false then ATTACK = true bestmate = true --Humanoid.WalkSpeed = 3 --Humanoid.JumpPower = 10 crab.TimePosition = 0 crab:Play() while bestmate == true do change = 0.8 Swait() RH.C0=clerp(RH.C0,cf(1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 2.2 * math.cos(sine / 8),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 2.2 * math.cos(sine / 8))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90-66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.05 * math.cos(sine / 8),0)*angles(math.rad(90+66*SIN(SINE/6)),math.rad(0),math.rad(0)),.1) end elseif bestmate == true then ATTACK = false bestmate = false change = 1 --Humanoid.WalkSpeed = 5 --Humanoid.JumpPower = 60 crab:Stop() end end function SmgTest3() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.05,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end so("http://roblox.com/asset/?id=188904253",BOI,60,1) so("http://roblox.com/asset/?id=188904253",BOI2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = BOI.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = BOI.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = BOI2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = BOI2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2 lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.1,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function SmgTest2() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.1,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end so("http://roblox.com/asset/?id=2484694762",VOL,60,1) so("http://roblox.com/asset/?id=2484694762",VOL2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = VOL.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = VOL.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = VOL2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = VOL2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2 lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.15,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end --[[ wat = Instance.new("Sound", Torso) wat.Volume = 14 wat.TimePosition = 0 wat.Pitch = 1 wat.SoundId = "rbxassetid://2095995144" wat.Looped = false function watde() ATTACK = true wat:Play() chatfunc("wat.",C3(1,1,0),"Normal","SciFi",2) wait(2) ATTACK = false end]]-- function SmgTest() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.3,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end so("http://roblox.com/asset/?id=2484694762",Flare,60,1) so("http://roblox.com/asset/?id=2484694762",Flare2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = Flare.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = Flare.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = Flare2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = Flare2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2 lb.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.4,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(0)),.1) LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function AUGShoot() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.15,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end so("http://roblox.com/asset/?id=297606774",UGB,60,1) --so("http://roblox.com/asset/?id=165946560",Flare2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = UGB.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.45,1,0.45) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = UGB.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb --[[ local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = Flare2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = Flare2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2]]-- lb.Touched:connect(function(hit) Damagefunc(hit,12,43,math.random(10,20),"Normal",RootPart,.2,1) end) --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.2,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) --game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) --game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() --b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function AEA() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.45,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end so("http://roblox.com/asset/?id=2550005685",EAE,60,1) --so("http://roblox.com/asset/?id=165946560",Flare2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = EAE.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.45,1,0.45) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = EAE.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb --[[ local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = Flare2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = Flare2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2]]-- lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end) --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.525,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) --game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) --game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() --b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function AKS() ATTACK = true --Rooted = false for i=0, 0.25, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.15,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end so("http://roblox.com/asset/?id=168436671",AH,60,1) --so("http://roblox.com/asset/?id=165946560",Flare2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = AH.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.45,1,0.45) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = AH.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb --[[ local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = Flare2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = Flare2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2]]-- lb.Touched:connect(function(hit) Damagefunc(hit,12,75,math.random(10,20),"Normal",RootPart,.2,1) end) --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,0.2,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, 0.2) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.15) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end game:GetService("Debris"):AddItem(lb, 19) --game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) --game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() --b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function nearTorso(pos, dis) local temp local distance=dis for i, v in pairs(workspace:children()) do if v:isA("Model") then temp=v:findFirstChild("Torso") local humanoid=v:findFirstChild("Humanoid") if temp and humanoid and v~=char and (temp.CFrame.p-pos).magnitude 0 then blocked = true block.Value = block.Value - 1 print(block.Value) end if blocked == false then HitHealth = h.Health h.MaxHealth = 100 h.Health = h.Health - Damage local nTorso=nearTorso(Torso.CFrame.p, 3) if nTorso then local offSet=nTorso.CFrame:toObjectSpace(Torso.CFrame) if offSet.z>0 then h.Health = h.Health - Damage*MRANDOM(180,560) end end if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then print("gained kill") -- dmg(h.Parent) end else h.Health = h.Health - Damage / 2 end if Type == "Knockdown" then local hum = hit.Parent.Humanoid hum.PlatformStand = true coroutine.resume(coroutine.create(function(HHumanoid) swait(1) HHumanoid.PlatformStand = false end), hum) local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit local bodvol = Create("BodyVelocity")({ velocity = angle * knockback, P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit }) local rl = Create("BodyAngularVelocity")({ P = 3000, maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000, angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)), Parent = hit }) game:GetService("Debris"):AddItem(bodvol, 0.5) game:GetService("Debris"):AddItem(rl, 0.5) elseif Type == "Normal" then local vp = Create("BodyVelocity")({ P = 500, maxForce = Vector3.new(math.huge, 0, math.huge), velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05 }) if knockback > 0 then vp.Parent = hit.Parent.Head end game:GetService("Debris"):AddItem(vp, 0.5) elseif Type == "Up" then local bodyVelocity = Create("BodyVelocity")({ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit }) game:GetService("Debris"):AddItem(bodyVelocity, 0.5) local bodyVelocity = Create("BodyVelocity")({ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit }) game:GetService("Debris"):AddItem(bodyVelocity, 1) elseif Type == "Leech" then local hum = hit.Parent.Humanoid if hum ~= nil then for i = 0, 2 do Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) end Humanoid.Health = Humanoid.Health + 10 end elseif Type == "UpKnock" then local hum = hit.Parent.Humanoid hum.PlatformStand = true if hum ~= nil then hitr = true end coroutine.resume(coroutine.create(function(HHumanoid) swait(5) HHumanoid.PlatformStand = false hitr = false end), hum) local bodyVelocity = Create("BodyVelocity")({ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit }) game:GetService("Debris"):AddItem(bodyVelocity, 0.5) local bodyVelocity = Create("BodyVelocity")({ velocity = Vector3.new(0, 20, 0), P = 5000, maxForce = Vector3.new(8000, 8000, 8000), Parent = hit }) game:GetService("Debris"):AddItem(bodyVelocity, 1) elseif Type == "Snare" then local bp = Create("BodyPosition")({ P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso }) game:GetService("Debris"):AddItem(bp, 1) elseif Type == "Slashnare" then Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07) for i = 1, math.random(4, 5) do Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02) end local bp = Create("BodyPosition")({ P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso }) game:GetService("Debris"):AddItem(bp, 1) elseif Type == "Spike" then --CreateBigIceSword(hit.Parent.Torso.CFrame) local bp = Create("BodyPosition")({ P = 2000, D = 100, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso }) game:GetService("Debris"):AddItem(bp, 1) elseif Type == "Freeze" then local BodPos = Create("BodyPosition")({ P = 50000, D = 1000, maxForce = Vector3.new(math.huge, math.huge, math.huge), position = hit.Parent.Torso.Position, Parent = hit.Parent.Torso }) local BodGy = Create("BodyGyro")({ maxTorque = Vector3.new(400000, 400000, 400000) * math.huge, P = 20000, Parent = hit.Parent.Torso, cframe = hit.Parent.Torso.CFrame }) hit.Parent.Torso.Anchored = true coroutine.resume(coroutine.create(function(Part) swait(1.5) Part.Anchored = false end), hit.Parent.Torso) game:GetService("Debris"):AddItem(BodPos, 3) game:GetService("Debris"):AddItem(BodGy, 3) end local debounce = Create("BoolValue")({ Name = "DebounceHit", Parent = hit.Parent, Value = true }) game:GetService("Debris"):AddItem(debounce, Delay) c = Instance.new("ObjectValue") c.Name = "creator" c.Value = Player c.Parent = h game:GetService("Debris"):AddItem(c, 0.5) end end function ShowDamage(Pos, Text, Time, Color) local Rate = 0.03333333333333333 local Pos = Pos or Vector3.new(0, 0, 0) local Text = Text or "" local Time = Time or 2 local Color = Color or Color3.new(1, 0, 1) local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0)) EffectPart.Anchored = true local BillboardGui = Create("BillboardGui")({ Size = UDim2.new(3, 0, 3, 0), Adornee = EffectPart, Parent = EffectPart }) local TextLabel = Create("TextLabel")({ BackgroundTransparency = 1, Size = UDim2.new(1, 0, 1, 0), Text = Text, TextColor3 = Color, TextScaled = true, Font = Enum.Font.ArialBold, Parent = BillboardGui }) game.Debris:AddItem(EffectPart, Time + 0.1) EffectPart.Parent = game:GetService("Workspace") delay(0, function() local Frames = Time / Rate for Frame = 1, Frames do wait(Rate) local Percent = Frame / Frames EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0) TextLabel.TextTransparency = Percent end if EffectPart and EffectPart.Parent then EffectPart:Destroy() end end) end function MagniDamage(Part, magni, mindam, maxdam, knock, Type) for _, c in pairs(workspace:children()) do local hum = c:findFirstChildOfClass("Humanoid") if hum ~= nil then local head = c:findFirstChild("Head") if head ~= nil then local targ = head.Position - Part.Position local mag = targ.magnitude if magni >= mag and c.Name ~= Player.Name then Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) end end end end end function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type) for _, c in pairs(workspace:children()) do local hum = c:findFirstChild("Humanoid") if hum ~= nil then local head = c:findFirstChild("Torso") if head ~= nil then local targ = head.Position - Part.Position local mag = targ.magnitude if magni >= mag and c.Name ~= Player.Name then --MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05) Damagefunc2(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1) end end end end end function attackone() ATTACK = true CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) for i = 0,1,0.25 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),1) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),1) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(100)),1) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-60)),1) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(120),math.rad(0)),1) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(0),math.rad(0)),1) end local hitb = Instance.new("Part", char) hitb.Anchored = true hitb.CanCollide = false hitb.FormFactor = 3 hitb.Name = "Ring" hitb.Material = "Neon" hitb.Size = Vector3.new(1, 1, 1) hitb.Transparency = 1 hitb.TopSurface = 0 hitb.BottomSurface = 0 hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 MagniDamage(hitb, 3, 12,32, 0, "Normal") hitb:Destroy() for i = 0,1,0.5 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.5) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-80)),0.5) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(50),math.rad(0)),0.5) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),0.5) end ATTACK = false end function attacktwo() ATTACK = true CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1) for i=0,1,.25 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.5) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(-10),math.rad(-90)),0.5) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(120), math.rad(90)),0.5) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)),0.5) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(40),math.rad(0)),0.4) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-140),math.rad(-10)),0.5) end local hitb = Instance.new("Part", char) hitb.Anchored = true hitb.CanCollide = false hitb.FormFactor = 3 hitb.Name = "Ring" hitb.Material = "Neon" hitb.Size = Vector3.new(1, 1, 1) hitb.Transparency = 1 hitb.TopSurface = 0 hitb.BottomSurface = 0 hitb.CFrame = root.CFrame + root.CFrame.lookVector*2 MagniDamage(hitb, 3, 10,32, 0, "Normal") hitb:Destroy() for i = 0,1,0.5 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-90)),0.5) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(90)),0.5) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(10), math.rad(90)),0.5) LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)),0.5) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(140),math.rad(0)),0.5) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-40),math.rad(-10)),0.5) end ATTACK = false end local attacktype = 1 local COMBO = false function stab() if attacktype==1 and ATTACK==false and COMBO == false then attacktype=2 COMBO = true attackone() COMBO = false elseif attacktype==2 and ATTACK==false and COMBO == false then attacktype=1 COMBO = true attacktwo() COMBO = false end end Ne = Torso.Neck local Ammo = 1000 local Depleted = false function rayCast(Pos, Dir, Max, Ignore) return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) end function DamageASD(hit, damage, cooldown, Color1, Color2, HSound, HPitch) for i, v in pairs(hit:GetChildren()) do if v:IsA("Humanoid") and hit.Name ~= Character.Name then local find = v:FindFirstChild("Hitz") if not find then if v.Parent:findFirstChild("Head") then local BillG = Create("BillboardGui"){ Parent = v.Parent.Head, Size = UDim2.new(1, 0, 1, 0), Adornee = v.Parent.Head, StudsOffset = Vector3.new(math.random(-3, 3), math.random(3, 5), math.random(-3, 3)), } local TL = Create("TextLabel"){ Parent = BillG, Size = UDim2.new(3, 3, 3, 3), BackgroundTransparency = 1, Text = tostring(damage).."-", TextColor3 = Color1.Color, TextStrokeColor3 = Color2.Color, TextStrokeTransparency = 0, TextXAlignment = Enum.TextXAlignment.Center, TextYAlignment = Enum.TextYAlignment.Center, FontSize = Enum.FontSize.Size18, Font = "SciFi", } coroutine.resume(coroutine.create(function() wait(1) for i = 0, 1, .1 do wait(.1) BillG.StudsOffset = BillG.StudsOffset + Vector3.new(0, .1, 0) end BillG:Destroy() end)) end v.Health = v.Health - damage local bool = Create("BoolValue"){ Parent = v, Name = 'Hitz', } if HSound ~= nil and HPitch ~= nil then CreateSound(HSound, hit, 1, HPitch) end game:GetService("Debris"):AddItem(bool, cooldown) end end end end function MagnitudeDamageB(Part, magni, mindam, maxdam, Color1, Color2, HitSound) for _, c in pairs(workspace:children()) do local hum = c:findFirstChild("Humanoid") if hum ~= nil then local head = c:findFirstChild("Torso") if head ~= nil then local targ = head.Position - Part.Position local mag = targ.magnitude if mag <= magni and c.Name ~= Player.Name then DamageASD(head.Parent, math.random(mindam, maxdam), 0, Color1, Color2, HitSound, 1) end end end end end Effects2 = { } function CylinderEffect(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay) local prt = CreatePart(3, workspace, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.2, 0.2, 0.2)) prt.Anchored = true prt.CFrame = cframe local msh = CreateMesh("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1)) game:GetService("Debris"):AddItem(prt, 2) Effects2[#Effects2 + 1] = { prt, "Cylinder", delay, x3, y3, z3 } end function Shoot(asd, spread1, spread2) local MainPos = asd.Position local MainPos2 = Mouse.Hit.p local spread = Vector3.new((math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2, (math.random(-spread1, 0) + math.random()) * spread2) * (asd.Position - Mouse.Hit.p).magnitude / 100 local MouseLook = CFrame.new((MainPos + MainPos2) / 2, MainPos2 + spread) num = 30 Ammo = Ammo - 1 print(Ammo) if Ammo == 0 then Depleted = true end coroutine.resume(coroutine.create(function(Spreaded) repeat wait() local hit, pos = rayCast(MainPos, MouseLook.lookVector, 50, Character.HumanoidRootPart.Parent) local TheHit = Mouse.Hit.p local mag = (MainPos - pos).magnitude CylinderEffect(BrickColor.new("New Yeller"), CFrame.new((MainPos + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0), 3, mag * 5, 3, .5, 1, .5, 0.2) MainPos = MainPos + (MouseLook.lookVector * 50) num = num - 1 if hit ~= nil then num = 0 local ref = CreatePart(3, workspace, "Neon", 0, 1, BrickColor.new("Dark stone grey"), "Reference", Vector3.new()) ref.Anchored = true ref.CFrame = CFrame.new(pos) MagnitudeDamageB(ref, 5, 999999999, 999999999, BrickColor.new("Maroon"), BrickColor.new("Really red") , "rbxassetid://199149297") game:GetService("Debris"):AddItem(ref, 1) end until num <= 0 end)) end function CreateSound2(id, par, vol, pit) coroutine.resume(coroutine.create(function() local sou = Create("Sound"){ Parent = par or workspace, Volume = vol, Pitch = pit or 1, SoundId = id, } wait() sou:play() end)) end function Fire() ATTACK = true CreateSound2("rbxassetid://132572951", AWH, 10, .9) CreateSound2("rbxassetid://130767489", AWH, 70.7, 1.2) Shoot(AWH, 0, 0) for i = 0, 1, 0.2 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(-10), math.rad(90)), .3) RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(-20), math.rad(-90)), .5) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.7, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(140)), .5) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end for i = 0, 1, 0.1 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .3) RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .3) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .3) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end for i = 0, 1, 0.1 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3) RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .3) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end CreateSound2("rbxassetid://146740582", AWH, 70.7, 1) for i = 0, 1, 0.1 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3) RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end for i = 0, 1, 0.1 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(80)), .3) RW.C0 = clerp(RW.C0, CFrame.new(.5, 0.5, -.6) * CFrame.Angles(math.rad(80), math.rad(-30), math.rad(-90)), .5) LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.3, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(70)), .3) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end for i = 0, 1, 0.3 do wait() RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), .4) Ne.C0 = clerp(Ne.C0, NECKC0 * CFrame.Angles(math.rad(5), math.rad(0), math.rad(90)), .4) RW.C0 = clerp(RW.C0, CFrame.new(.51, 0.51, -.6) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(-90)), .4) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.51, 0) * CFrame.Angles(math.rad(0), math.rad(160), math.rad(90)), .4) RH.C0 = clerp(RH.C0, CFrame.new(1, -1, 0) * RHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) LH.C0 = clerp(LH.C0, CFrame.new(-1, -1, 0) * LHCF * CFrame.Angles(math.rad(-5), math.rad(0), math.rad(0)), .4) end ATTACK = false end function R8AS() ATTACK = true --Rooted = false for i=0, 0.5, 0.1 / Animation_Speed do Swait() turnto(Mouse.Hit.p) --[[RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed) RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed) LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed) --]] end repeat for i = 0,0.76,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.75)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.75)*angles(math.rad(90),math.rad(0),math.rad(30)),.1) end for i = 0,1.98,0.1 do swait() turnto(Mouse.Hit.p) RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1) end so("http://roblox.com/asset/?id=360648134",REVOLV,60,1) --so("http://roblox.com/asset/?id=165946560",Flare2,60,1) local lb = Instance.new("Part") lb.Parent = char lb.Material = "Neon" lb.Color = BrickColor.new("New Yeller").Color lb.CanCollide = false lb.Shape = "Ball" lb.CFrame = REVOLV.CFrame lb.Anchored = true lb.Transparency = 0 lb.Size = vt(0.45,1,0.45) local thing = Instance.new("SpecialMesh",lb) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b = Instance.new("Part") b.Parent = char b.Material = "Neon" b.Color = BrickColor.new("New Yeller").Color b.CanCollide = false b.Shape = "Ball" b.CFrame = REVOLV.CFrame b.Anchored = true b.Transparency = 0 b.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b) z.MeshType = "Sphere" local hitted = false lb.Anchored = false local bv = Instance.new("BodyVelocity") bv.maxForce = Vector3.new(1e9, 1e9, 1e9) bv.velocity = Mouse.Hit.lookVector *150 bv.Parent = lb --[[ local lb2 = Instance.new("Part") lb2.Parent = char lb2.Material = "Neon" lb2.Color = BrickColor.new("New Yeller").Color lb2.CanCollide = false lb2.Shape = "Ball" lb2.CFrame = Flare2.CFrame lb2.Anchored = true lb2.Transparency = 0 lb2.Size = vt(0.6,0.6,0.6) local thing = Instance.new("SpecialMesh",lb2) thing.MeshType = "Sphere" --for i = 0, 1 do --slash(10,5,true,"Round","Add","Out",GunPoint.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.002,0.01),math.random(5,25)/250,BrickColor.new("White")) --end -- + root.CFrame.lookVector*12 --sphere2(10,"Add",GunPoint.CFrame,vt(0.125,0.125,0.125),0.1,0.1,0.1,BrickColor.new("New Yeller"),Color3.new(1,1,0)) -- + root.CFrame.lookVector*12 local b2 = Instance.new("Part") b2.Parent = char b2.Material = "Neon" b2.Color = BrickColor.new("New Yeller").Color b2.CanCollide = false b2.Shape = "Ball" b2.CFrame = Flare2.CFrame b2.Anchored = true b2.Transparency = 0 b2.Size = vt(1,1,1) local z = Instance.new("SpecialMesh",b2) z.MeshType = "Sphere" --local hitted = false lb2.Anchored = false local bv2 = Instance.new("BodyVelocity") bv2.maxForce = Vector3.new(1e9, 1e9, 1e9) bv2.velocity = Mouse.Hit.lookVector *150 bv2.Parent = lb2]]-- lb.Touched:connect(function(hit) Damagefunc(hit,64,250,math.random(10,20),"Normal",RootPart,.2,1) end) --lb2.Touched:connect(function(hit) Damagefunc(hit,33,74,math.random(10,20),"Normal",RootPart,.2,1) end) for i = 0,1.7,0.1 do swait() turnto(Mouse.Hit.p) z.Scale = z.Scale + vt(0.1,0.1,0.1) b.Transparency = b.Transparency + 0.05 RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3) RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(120),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(120),math.rad(0),math.rad(30)),.1) end game:GetService("Debris"):AddItem(lb, 19) --game:GetService("Debris"):AddItem(lb2, 19) game:GetService("Debris"):AddItem(bv, 20) --game:GetService("Debris"):AddItem(bv2, 20) b:Destroy() --b2:Destroy() --wait(10) --lb:Destroy() --lb2:Destroy() until HOLD == false ATTACK = false --Rooted = false end function nooutline(part) part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10 end function partB(formfactor,parent,material,reflectance,transparency,brickcolor,name,size) local fp=it("Part") fp.formFactor=formfactor fp.Parent=parent fp.Reflectance=reflectance fp.Transparency=transparency fp.CanCollide=false fp.Locked=true fp.BrickColor=BrickColor.new(tostring(brickcolor)) fp.Name=name fp.Size=size fp.Position=Character.Torso.Position nooutline(fp) fp.Material=material fp:BreakJoints() return fp end function partB(formfactor,parent,reflectance,transparency,brickcolor,name,size) local fp = it("Part") fp.formFactor = formfactor fp.Parent = parent fp.Reflectance = reflectance fp.Transparency = transparency fp.CanCollide = false fp.Locked=true fp.BrickColor = brickcolor fp.Name = name fp.Size = size fp.Position = Torso.Position nooutline(fp) fp.Material="Neon" fp:BreakJoints() return fp end function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2)) prt.Anchored=true prt.CFrame=cframe msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1)) game:GetService("Debris"):AddItem(prt,2) coroutine.resume(coroutine.create(function(Part,Mesh) for i=0,1,delay do swait() Part.CFrame=Part.CFrame Part.Transparency=i Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) end Part.Parent=nil end),prt,msh) end function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay) local prt=partB(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5)) prt.Anchored=true prt.CFrame=cframe msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1)) game:GetService("Debris"):AddItem(prt,2) coroutine.resume(coroutine.create(function(Part,Mesh) for i=0,1,delay do swait() Part.CFrame=Part.CFrame Part.Transparency=i Mesh.Scale=Mesh.Scale+vt(x3,y3,z3) end Part.Parent=nil end),prt,msh) end function mesh(Mesh,part,meshtype,meshid,offset,scale) local mesh=it(Mesh) mesh.Parent=part if Mesh=="SpecialMesh" then mesh.MeshType=meshtype mesh.MeshId=meshid end mesh.Offset=offset mesh.Scale=scale return mesh end function LaserBarrage(Prt,Parent) attack=true --so("BeamLockon",Prt,1,1) local efprt=partB(3,Parent,0,0.5,BrickColor.new("New Yeller"),"Effect",vt(0.2,0.2,0.2)) efprt.Anchored=true local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1)) spread=vt((math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7,(math.random(-1,0)+math.random())*7)*(Prt.Position-Mouse.Hit.p).magnitude/100 --spread=vt(0,0,0) coroutine.resume(coroutine.create(function(Part,Mesh,Spreaded) game:GetService("Debris"):AddItem(Part,6) local TheHit=Mouse.Hit.p local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+Spreaded) local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent) so("Elec",Prt,0.2,1) local tefprt=partB(3,workspace,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2)) tefprt.CFrame=cf(pos) MagicCircle(BrickColor.new("New Yeller"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04) so("Elec",tefprt,0.3,1) game:GetService("Debris"):AddItem(tefprt,3) Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0) if(hit.Parent:findFirstChild("Humanoid")~= nil)then if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then hit.Parent.Humanoid:TakeDamage(MRANDOM(36,87)) end end local mag=(Prt.Position-pos).magnitude MagicCylinder(BrickColor.new("New Yeller"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05) Part.Parent=nil end),efprt,efmsh,spread) end function FireAAAA() ATTACK=true so("http://www.roblox.com/asset/?id=138083993",Barrel,1,1) for i=0,3,0.3 do LaserBarrage(Barrel,Shotgun) end for i=0,3,0.3 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.5, 0.2) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(140), math.rad(0), math.rad(40)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3) end for i=0,3,0.3 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.3, 0.5, 0.2) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.5, 0.5, -1.2) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-10)),.3) end for i=0,3,0.3 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3) end so("http://www.roblox.com/asset/?id=131072992",Barrel,1,.8) for i=0,3,0.3 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-20)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(20)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3) end for i=0,3,0.3 do swait() RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3) Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-5),math.rad(0),math.rad(0)),.3) RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(-10)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-1.3, 0.5, -1) * angles(math.rad(120), math.rad(0), math.rad(-20)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3) LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-0)),.3) end ATTACK=false end function bosschatfunc(text,watval) for i,v in pairs(game:GetService("Players"):GetPlayers()) do coroutine.resume(coroutine.create(function() if v.PlayerGui:FindFirstChild("Dialog")~= nil then v.PlayerGui:FindFirstChild("Dialog"):destroy() end local scrg = Instance.new("ScreenGui",v.PlayerGui) CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1) scrg.Name = "Dialog" --gui below --text below local txtlb = Instance.new("TextLabel",scrg) txtlb.Text = "" txtlb.Font = "Cartoon" txtlb.TextColor3 = Color3.new(1,1,1) txtlb.TextStrokeTransparency = 0 txtlb.BackgroundTransparency = 1 txtlb.BackgroundColor3 = Color3.new(0,0,0) txtlb.TextStrokeColor3 = C3(0,0,0) txtlb.TextScaled = true txtlb.Size = UDim2.new(1,0,0.25,0) txtlb.TextXAlignment = "Center" txtlb.Position = UDim2.new(0,0,0.75 + 1,0) coroutine.resume(coroutine.create(function() while true do swait() end end)) local fvalen = 0.55 local fval = -0.49 coroutine.resume(coroutine.create(function() while true do swait() if scrg.Parent ~= nil then fvalen = fvalen - 0.0001 elseif scrg.Parent == nil then break end end end)) local flol = 1.75 local flil = 1.6 coroutine.resume(coroutine.create(function() for i = 0, 9 do swait() fval = fval + 0.05 flol = flol - 0.1 flil = flil - 0.1 txtlb.Text = "" txtlb.Position = UDim2.new(0,0,flol,0) end txtlb.Text = text wait(watval) local valinc = 0 for i = 0, 99 do swait() valinc = valinc + 0.0001 flol = flol + valinc flil = flil + valinc txtlb.Rotation = txtlb.Rotation + valinc*20 txtlb.Position = UDim2.new(0,0,flol,0) txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01 txtlb.TextTransparency = txtlb.TextTransparency + 0.01 txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025 end scrg:Destroy() end)) end)) end end function mafia() ATTACK = true CreateSound2("rbxassetid://2731402002", Character, 100, 1) bosschatfunc("thats how mafia works",7) for i = 0,38,0.1 do swait() RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 10))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 10),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 10))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 10),0 + 0.1 * math.cos(sine / 10))*angles(math.rad(1 - 2 * math.cos(sine / 10)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(5 + 4 * math.cos(sine / 32))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-140 - 2 * math.cos(sine / 25))),.1) end ATTACK = false end function FUCKYOU() ATTACK = true CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25) for i = 0,6,0.1 do swait() sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,BRICKC'Really red',100) RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2) RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2) LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2) end CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1) CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1) CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1) CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75) CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1) CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1) CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1) sick.TimePosition = 5 SONG = 565439926 Mode = "INSANE-H" for i = 0,2,0.1 do swait() RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5) RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5) LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5) end ATTACK = false end --//=================================\\ --|| ASSIGN THINGS TO KEYS --\\=================================// local AddInstance = function(Object, ...) local Obj = Instance.new(Object) for i,v in next,(...) do Obj[i] = v end return Obj end local TopHat = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false) TopHat.Color = C3(0,0,0) local HatWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, TopHat, CF(0,0.7,0), CF(0, 0, 0)) CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0)) local Jevil = false local SITTING = false plr.Chatted:connect(function(message) if message:sub(1,8) == "/e play " then SONG = message:sub(9) end if message:sub(1,6) == "NOHATS" then if Head:FindFirstChild("Jevil") then Head.Jevil:Remove() end CreateMesh("SpecialMesh", TopHat, "FileMesh", "", "", VT(1,1,1)*1.05, VT(0,0,0)) end if message:sub(1,6) == "TOPHAT" then if Mode ~= "Nuclear" then CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "46542901", VT(1,1,1)*1.05, VT(0,0,0)) else CreateMesh("SpecialMesh", TopHat, "FileMesh", "1028713", "1563327", VT(1,1,1)*1.05, VT(0,0,0)) end end if message:sub(1,17) == "I CAN DO ANYTHING" then SONG = 2597271983 if Jevil == false then Jevil = true local sound = Instance.new("Sound") sound.SoundId = "rbxassetid://2544975373" sound.Volume = 10 sound.Parent = Head sound:Play() local Reaper = AddInstance("Part",{ Parent = hed, CFrame = hed.CFrame, Name = "Jevil", formFactor = "Symmetric", Size = Vector3.new(1, 1, 1), CanCollide = false, TopSurface = "Smooth", BottomSurface = "Smooth", Locked = true, }) local Weld = AddInstance("Weld",{ Parent = Reaper, Part0 = hed, C0 = CFrame.new(0, 0.8, 0.4)*CFrame.Angles(0, 0, 0), Part1 = Reaper, }) local Mesh = AddInstance("SpecialMesh",{ Parent = Reaper, MeshId = "rbxassetid://193760002", TextureId = "rbxassetid://89867215", Scale = Vector3.new(1.1, 1.1, 1.1), VertexColor = Vector3.new(0.5, 0.5, 0.5), }) end end if message:sub(1,13) == "GET REKT FOOL" then CreateSound2("rbxassetid://1292661979", Character, 100, 1) end if message:sub(1,3) == "HEX" then SONG = 1143128932 end if message:sub(1,2) == "DS" then SONG = 1751171913 end if message:sub(1,21) == "thats how mafia works" then mafia() end if message:sub(1,3) == "SIT" then SITTING = true end if message:sub(1,5) == "NOSIT" then SITTING = false end if message:sub(1,6) == "ah yes" then SONG = 243199198 end if message:sub(1,30) == "I CANT BELIEVE YOUVE DONE THIS" then CreateSound2("rbxassetid://527749592", Character, 100, 1) end if message:sub(1,4) == "AAAA" then CreateSound2("rbxassetid://547868092", Character, 100, 1) end if message:sub(1,4) == "curb" then SONG = 434976383 sick.TimePosition = 0 end if message:sub(1,8) == "/e time " then sick.TimePosition = message:sub(9) end end) function MouseDown(Mouse) HOLD = true if ATTACK == false then if Mode == "Gun" then shoot() elseif Mode == "Gun-S" then shoots() elseif Mode == "Shotty" then FireAAAA() elseif Mode == "SMG" then SmgTest() elseif Mode == "SMG2" then SmgTest2() elseif Mode == "SMG3" then SmgTest3() elseif Mode == "DE" then deag() elseif Mode == "AK" then AKS() elseif Mode == "AR" then AEA() elseif Mode == "knif" then stab() elseif Mode == "AGB" then AUGShoot() elseif Mode == "AWP" then Fire() elseif Mode == "R8R" then R8AS() end end end function MouseUp(Mouse) HOLD = false end function KeyDown(Key) KEYHOLD = true if Key == "p" then bestmatesA() end if Key == "y" then bestmatesB() end if Key == "u" then cheekibreeki() end if Key == "m" and ATTACK == false then if Mode == "Nuclear" then -- Nuclear = true Mode = "Chronos" SONG = 432493949 elseif Mode == "Chronos" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "n" and ATTACK == false then if Mode == "Nuclear" then FUCKYOU() elseif Mode == "INSANE-H" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "b" and ATTACK == false then if Mode == "Nuclear" then sick.TimePosition = 0 SONG = 2598224585 Mode = "MARENOL" elseif Mode == "MARENOL" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "v" and ATTACK == false then if Mode == "Nuclear" then SONG = 2297862957 Mode = "Mutilated" elseif Mode == "Mutilated" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "l" and ATTACK == false then if Mode == "Nuclear" then SONG = 776030196 Mode = "S" elseif Mode == "S" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "k" and ATTACK == false then if Mode == "Nuclear" then SONG = 1669069269 Mode = "PIXEL" sick.TimePosition = 0 elseif Mode == "PIXEL" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end if Key == "j" and ATTACK == false then if Mode == "Nuclear" then SONG = 1041867225 Mode = "G" elseif Mode == "G" then --Nuclear = false Mode = "Nuclear" SONG = 566809627 end end --[[ if Key == "m" and ATTACK == false then if Key == "c" and ATTACK == false then if Mode == "Nuclear" then Mode = "Chronos" sick.TimePosition = 0 SONG = 432493949 elseif Mode == "Chronos" then Mode = "Nuclear" SONG = 566809627 end end ]]-- if Key == "q" and ATTACK == false then if Nuclear == false and Mode == "Normal" then Nuclear = true Mode = "Nuclear" CLOCKWORK2.BrickColor = BRICKC'Lime green' --SONG = 566809627 SONG = 1812212957 elseif Nuclear == true and Mode == "Nuclear" then Nuclear = false Mode = "Normal" CLOCKWORK2.BrickColor = BRICKC'Bright yellow' SONG = 1175569393 end end if Key == "t" then Humanoid.Health = Humanoid.Health - MRANDOM(78,560) end if Key == "f" and ATTACK == false then if Mode == "Normal" then Gun.Parent = Character Mode = "Gun" SONG = 1632083717 elseif Mode == "Gun" then Gun.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "g" and ATTACK == false then if Mode == "Gun" then Mode = "Gun-S" Supressor.Parent = Character SONG = 742414504 elseif Mode == "Gun-S" then Supressor.Parent = nil Mode = "Gun" SONG = 1632083717 end end if Key == "g" and ATTACK == false then if Mode == "Normal" then Mode = "Shotty" -- SHandaru.Transparency = 0 Shotgun.Parent = Character --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=450250994" SONG = 1242541615 elseif Mode == "Shotty" then Shotgun.Parent = nil --SHandaru.Transparency = 1 --GunModelMesh.MeshId = "http://www.roblox.com/asset/?id=0" Mode = "Normal" SONG = 1175569393 end end if Key == "h" and ATTACK == false then if Mode == "Normal" then Mode = "SMG" SMG.Parent = Character SONG = 1684339203 elseif Mode == "SMG" then SMG.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "g" and ATTACK == false then if Mode == "SMG" then Mode = "SMG2" SMG2.Parent = Character SMG.Parent = nil SONG = 1846938217 elseif Mode == "SMG2" then SMG2.Parent = nil Mode = "SMG" SMG.Parent = Character SONG = 1684339203 end end if Key == "j" and ATTACK == false then if Mode == "SMG" then Mode = "SMG3" SMG3.Parent = Character SMG.Parent = nil SONG = 856927010 elseif Mode == "SMG3" then SMG3.Parent = nil Mode = "SMG" SMG.Parent = Character SONG = 1684339203 end end if Key == "k" and ATTACK == false then if Mode == "Normal" then Mode = "AK" A47.Parent = Character SONG = 468448329 elseif Mode == "AK" then A47.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "j" and ATTACK == false then if Mode == "Normal" then Mode = "DE" DE.Parent = Character SONG = 1473065092 elseif Mode == "DE" then DE.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "l" and ATTACK == false then if Mode == "Normal" then Mode = "knif" knif.Parent = Character SONG = 1583110657 elseif Mode == "knif" then knif.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "m" and ATTACK == false then if Mode == "Normal" then Mode = "AGB" AUG.Parent = Character SONG = 1317272392 elseif Mode == "AGB" then AUG.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "n" and ATTACK == false then if Mode == "Normal" then Mode = "AWP" AWP.Parent = Character SONG = 2191904606 elseif Mode == "AWP" then AWP.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "b" and ATTACK == false then if Mode == "Normal" then Mode = "R8R" R8RA.Parent = Character SONG = 729622879 elseif Mode == "R8R" then R8RA.Parent = nil Mode = "Normal" SONG = 1175569393 end end if Key == "v" and ATTACK == false then if Mode == "Normal" then Mode = "INSANITY" SONG = 943961217 elseif Mode == "INSANITY" then Mode = "Normal" SONG = 1175569393 end end if Key == "c" and ATTACK == false then if Mode == "Normal" then Mode = "AR" AR.Parent = Character SONG = 1537357758 elseif Mode == "AR" then Mode = "Normal" AR.Parent = nil SONG = 1175569393 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) local CONNECT = nil Instance.new("ForceField",char).Visible = false while true do Swait() ANIMATE.Parent = nil if Character:FindFirstChildOfClass("Humanoid") == nil then Humanoid = IT("Humanoid",Character) end for _,v in next, Humanoid:GetPlayingAnimationTracks() do v:Stop(); end SINE = SINE + CHANGE 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 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) RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1) LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1) 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) RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1) LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1) 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 Mode == "Gun" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "Normal" then if not SITTING then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) else RW.C0 = clerp(RW.C0, CF(1.5, .5, 0) * angles(math.rad(45), math.rad(-3), math.rad(-10)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(5), math.rad(20)), 0.1) LH.C0 = clerp(LH.C0, CF(-0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(-10)), 0.1) RH.C0 = clerp(RH.C0, CF(0.3, -1.5, 0) * angles(math.rad(100), math.rad(0), math.rad(10)), 0.1) RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.6) * angles(math.rad(10 - 1.8 * math.cos(sine / 32)), math.rad(0), math.rad(0)), 0.1) Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(30 - 2.5 * math.cos(sine / 20)), math.rad(0 - 5 * math.cos(sine / 32)), math.rad(0 - 5 * math.cos(sine / 32))), 0.1) end elseif Mode == "SMG" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "SMG2" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "SMG3" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(150 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "PIXEL" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1) RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) elseif Mode == "Gun-S" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(170 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "DE" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "knif" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(30 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1) LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1) elseif Mode == "AGB" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) elseif Mode == "Shotty" then RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(-10),math.rad(13 - 3 * math.cos(sine / 67))),.1) elseif Mode == "AK" then RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1) elseif Mode == "AWP" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(-40),math.rad(0)),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8 - 0.05 * math.cos(sine / 28), 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5 - 0.05 * math.cos(sine / 28), -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) elseif Mode == "R8R" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1) RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1) elseif Mode == "AR" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1) RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) elseif Mode == "INSANITY" then if MRANDOM(1,14) == 1 then RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1) RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) end RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) elseif Mode == "S" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(17 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 43) - 2 * math.cos(sine / 0.25)),math.rad(6 - 2 * math.cos(sine / 56))),.1) RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 40),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.85,0.49 + 0.05 * math.cos(sine / 40),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 58)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 40))),.1) elseif Mode == "Nuclear" then if MRANDOM(1,23) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-35,35) - 4 * COS(SINE / 12)), RAD(MRANDOM(-35,35)), RAD(0)), 1.5 / Animation_Speed) end RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 - 0.15 * COS(SINE / 12)) * ANGLES(RAD(0 - 2 * COS(sine / 32)),RAD(0),RAD(0)), 0.15 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0*ANGLES(RAD(19 - 2 * COS(sine / 37)),RAD(0 + 5 * math.cos(sine / 55)),math.rad(0)), 0.15 / Animation_Speed) WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) WACKYEFFECT({EffectType = "Block", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) RW.C0 = Clerp(RW.C0, CF(1.5, 0.5 - 0.15 * COS(SINE / 12), 0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 52))), 0.15 / Animation_Speed) LW.C0 = Clerp(LW.C0, CF(-1.5,0.5 - 0.15 * COS(SINE / 12),0)*ANGLES(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(-18 + 6 * math.cos(sine / 57)),math.rad(-17 - 1 * math.cos(sine / 52))), 0.15 / Animation_Speed) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * 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.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.55,0.55,0.55), Size2 = VT(0.5,3.6,0.5), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10}) elseif Mode == "MARENOL" then if MRANDOM(1,33) == 1 then CharacterFade(C3(1,0,0),65,R_RANDOM(Torso.CFrame,0.5).p) end if MRANDOM(1,23) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-75,75) - 4 * COS(SINE / 12)), RAD(MRANDOM(-75,75)), RAD(0)), 1.5 / Animation_Speed) end RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 + 6 * math.cos(sine / 72) + MRANDOM(-20,20)),math.rad(3 - 2 * math.cos(sine / 58) + MRANDOM(-20,20)),math.rad(-38 + 2 * math.cos(sine / 45) + MRANDOM(-20,20))),.1) LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(130 - 7 * math.cos(sine / 66) + MRANDOM(-20,20)),math.rad(4 - 3 * math.cos(sine / 59) + MRANDOM(-20,20)),math.rad(33 - 4 * math.cos(sine / 45) + MRANDOM(-20,20))),.1) RootJoint.C0 = clerp2(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -1.6 + 0.1 * Player_Size * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(0)), 0.1) Neck.C0 = clerp2(Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(30 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.1) RightHip.C0 = clerp2(RightHip.C0, CF(1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(75)), 0.1) LeftHip.C0 = clerp2(LeftHip.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(35), Rad(-85), Rad(0)) * angles(Rad(-5), Rad(0), Rad(-75)), 0.1) elseif Mode == "Mutilated" then if MRANDOM(1,7) == 1 then Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-55,55) - 4 * COS(SINE / 12)), RAD(MRANDOM(-55,55)), RAD(0)), 1.5 / Animation_Speed) end RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1) RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(79 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-87 + 2 * math.cos(sine / 45))),.1) LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(79 - 4 * math.cos(sine / 45))),.1) elseif Mode == "G" then RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1) LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1) RW.C0=clerp(RW.C0,cf(0.75,0.5 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-84 + 3 * math.cos(sine / 45))),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(12 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(87 - 3 * math.cos(sine / 45))),.1) elseif Mode == "INSANE-H" then local snap = math.random(1,75) if snap == 1 then Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-60,60)),math.rad(math.random(-60,60)),math.rad(math.random(-60,60))),0.6) RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-60,60)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-60,60))),.6) LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-60,60)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-60,60)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-60,60))),.6) end RH.C0=clerp(RH.C0,cf(0,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1) RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1) Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1) RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(-90 + math.random(-9,9)),math.rad(15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.123) + math.random(-9,9)),math.rad(5 + 2.5 * math.cos(sine / 0.6) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25 + math.random(-9,9))),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1) LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180 + math.random(-9,9)),math.rad(90 + math.random(-9,9)),math.rad(-15 + math.random(-9,9)))*angles(math.rad(-35 + math.random(-9,9)),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568) + math.random(-9,9)),math.rad(0 + 2.5 * math.cos(sine / 0.664) + math.random(-9,9)),math.rad(-5 + 2.5 * math.cos(sine / 0.23) + math.random(-9,9)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25) + math.random(-9,9)),math.rad(0 - 15 * math.cos(sine / 0.465) + math.random(-9,9))),.1) elseif Mode == "Chronos" then RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.15 * COS(SINE / 8)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(1 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed) RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1) LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1) RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / 8), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed) end end elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then ANIM = "Walk" if ATTACK == false then if Mode ~= "SMG" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-1), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.15) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 15 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 15 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) if Mode ~= "R8R" and Mode ~= "Shotty" then RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)), Rad(6) - ra.RotVelocity.Y / 75), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-56) * Cos(sine / 7) , Rad(10 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1) --RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1) --LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1) elseif Mode == "R8R" then RW.C0=clerp(RW.C0,cf(0.8,0.5 + 0.1 * math.cos(sine / 28),-.65)*angles(math.rad(90),math.rad(0),math.rad(-30)),.1) LW.C0=clerp(LW.C0,cf(-0.8,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(90),math.rad(0),math.rad(30)),.1) elseif Mode == "Shotty" then RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.8, 0.7) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3) LW.C0 = clerp(LW.C0, CFrame.new(-0.15, 0.5, -0.65) * angles(math.rad(90), math.rad(12), math.rad(50)), 0.3) end else if Mode ~= "INSANITY" then RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(20 - 2.5 * Cos(sine / 3.5)), Rad(0), Rad(0)), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20), Rad(0), Rad(0)), 0.3) RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3) RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(25)), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(-65), Rad(0), Rad(-25)), 0.1) else if MRANDOM(1,12) == 1 then RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(MRANDOM(-34,25), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180)), Rad(Mrandom(-180,180))), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(MRANDOM(-34,34), MRANDOM(-25,25), MRANDOM(-25,25)) * angles(Rad(Mrandom(-25,25)), Rad(Mrandom(-165,165)), Rad(Mrandom(-155,155))), 1) RW.C0 = clerp(RW.C0, CF(MRANDOM(-34,34), MRANDOM(-34,35), MRANDOM(-31,33)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) LW.C0 = clerp(LW.C0, CF(MRANDOM(-34,38), MRANDOM(-31,33), MRANDOM(-32,30)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) RH.C0 = clerp(RH.C0, CF(MRANDOM(-24,24), MRANDOM(-26,23), MRANDOM(-23,20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) LH.C0 = clerp(LH.C0, CF(MRANDOM(-24,24), MRANDOM(-27,23), MRANDOM(-23,23)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) end RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) tors.Neck.C0 = clerp(tors.Neck.C0, necko * CF(0, 0, 0 + ((1) - 1)) * angles(Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65)), Rad(Mrandom(-65,65))), 1) RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.1) RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(Mrandom(-90,90)), Rad(0), Rad(Mrandom(-90,90))), 0.15) end end end end if Mode == "Nuclear" or Mode == "Chronos" then CLOCKWORK2.BrickColor = BRICKC'Lime green' elseif Mode == "INSANE-H" or Mode == "MARENOL" then CLOCKWORK2.Color = C3(MRANDOM(-255,255),0,0) elseif Mode == "PIXEL" then CLOCKWORK2.BrickColor = BRICKC'Steel blue' elseif Mode == "S" then CLOCKWORK2.BrickColor = BRICKC'Toothpaste' elseif Mode == "G" then CLOCKWORK2.BrickColor = BRICKC'Institutional hite' elseif Mode == "Mutilated" then CLOCKWORK2.BrickColor = BrickColor.random() elseif Mode ~= "Nuclear" or Mode ~= "Chronos" or Mode ~= "INSANE-H" or Mode ~= "MARENOL" or Mode ~= "S" or Mode ~= "PIXEL" or Mode ~= "Mutilated" or Mode ~= "G" then CLOCKWORK2.BrickColor = BRICKC'Bright yellow' end if Mode ~= "G" then CLOCKWORK2.Transparency = 0 OUTSIDE.Transparency = 0 BELT.Transparency = 0 char.Head.Transparency = 0 char["Left Arm"].Transparency = 0 char["Left Leg"].Transparency = 0 char["Right Arm"].Transparency = 0 char["Right Leg"].Transparency = 0 char.Torso.Transparency = 0 else CLOCKWORK2.Transparency = 0.65 OUTSIDE.Transparency = 0.65 BELT.Transparency = 0.65 char.Head.Transparency = 0.5 char["Left Arm"].Transparency = 0.65 char["Left Leg"].Transparency = 0.65 char["Right Arm"].Transparency = 0.65 char["Right Leg"].Transparency = 0.65 char.Torso.Transparency = 0.65 end --If your looking in the code, good job, I'll tell you some hints while your there. --[[ Theres a hidden thing i HAVENT finished yet that has been a trend in glitchers and it starts with an N Second hint is. If your gonna look at the attacks i didnt use, This was a edit out of the clockworker script i did. --]] if Head:FindFirstChild("face") then Head.face.Texture = "rbxassetid://2276263" --187019542 end if Mode == "Nuclear" then if ANIM == "Walk" then WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(5,0.75,5), Size2 = VT(16,0.75,16), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end if MRANDOM(1,7) == 1 then WACKYEFFECT({Time = 120, EffectType = "Sphere", Size = VT(0,0.75,0), Size2 = VT(15.5,0.75,15.5), Transparency = 0, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-3,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil}) end end --unanchor() Humanoid.MaxHealth = "3700" --Humanoid.Health = "3700" if Mode ~= "SMG" and Mode ~= "DE" and Mode ~= "knif" and Mode ~= "INSANITY" and Mode ~= "SMG2" and Mode ~= "SMG3" then Speed = 17 elseif Mode == "SMG" then Speed = 56 elseif Mode == "SMG2" then Speed = 65 elseif Mode == "SMG3" then Speed = 69 elseif Mode == "DE" then Speed = 26 elseif Mode == "INSANITY" then Speed = 36 elseif Mode == "knif" then Speed = 46 end if Rooted == false then Disable_Jump = false Humanoid.WalkSpeed = Speed elseif Rooted == true then Disable_Jump = true Humanoid.WalkSpeed = 0 end for i,v in pairs(Character:children()) do if v:IsA("Accessory") then v:Destroy() end end if Character:FindFirstChild("Shirt") then Character.Shirt:Destroy() end if Character:FindFirstChild("Pants") then Character.Pants:Destroy() end sick.Playing = true if sick.Parent ~= RootPart then sick = IT("Sound",RootPart) end sick.Volume = 3.25 sick.Pitch = 1 sick.Looped = true sick.SoundId = "rbxassetid://"..SONG sick.Name = "hailfireBITCHES" end --//=================================\\ --\\=================================// --//====================================================\\-- --|| END OF SCRIPT --\\====================================================//--