Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
Player = game.Players.monsterjam12clone -- username Character = Player.Character PlayerGui = Player.PlayerGui Backpack = Player.Backpack Torso = Character.Torso Head = Character.Head LeftArm = Character["Left Arm"] LeftLeg = Character["Left Leg"] RightArm = Character["Right Arm"] RightLeg = Character["Right Leg"] LS = Torso["Left Shoulder"] LH = Torso["Left Hip"] RS = Torso["Right Shoulder"] RH = Torso["Right Hip"] ModelName = "Weapon" attack = false attacktype = 1 Hitdeb = 0 Neck = Torso.Neck local neckcf0 = Neck.C0 MMouse = nil local bonusdmg = 0 ---------------------------- --Customize mindamage = 120 maxdamage = 120 crtmaxdamage = 120 omindamage = mindamage omaxdamage = maxdamage ocrtmaxdamage = crtmaxdamage crtrate = 12 handlecolor = BrickColor.new("White") bcolor = BrickColor.new("Really black") gemcolor = BrickColor.new("White") ToolName = "Spear" --------------------------------------------------------------------------------------------------------------------------------------- if Character:findFirstChild("EquippedVal",true) ~= nil then Character:findFirstChild("EquippedVal",true).Parent = nil end ev = Instance.new("BoolValue",Character) ev.Name = "EquippedVal" ev.Value = false --player player = nil --welds RW, LW , RWL, LWL = Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld"), Instance.new("Weld") --what anim anim = "none" --other var player = Player ch = Character --save shoulders AoETrue = {} RSH, LSH , RHL, LHL = ch.Torso["Right Shoulder"], ch.Torso["Left Shoulder"] , ch.Torso["Right Hip"] , ch.Torso["Left Hip"] function RWFunc() RW.Part1 = ch["Right Arm"] RSH.Part1 = nil end function LWFunc() LW.Part1 = ch["Left Arm"] LSH.Part1 = nil end function RWLFunc() RWL.Part1 = ch["Right Leg"] RHL.Part1 = nil ch["Right Leg"].Name = "RightLeg" RightLeg.CanCollide = false end function LWLFunc() LWL.Part1 = ch["Left Leg"] LHL.Part1 = nil ch["Left Leg"].Name = "LeftLeg" LeftLeg.CanCollide = true end function RWLRem() RightLeg.Name = "Right Leg" RWL.Part1 = nil RHL.Part1 = ch["Right Leg"] RightLeg.CanCollide = false end function LWLRem() LeftLeg.Name = "Left Leg" LWL.Part1 = nil LHL.Part1 = ch["Left Leg"] LeftLeg.CanCollide = false end function RWRem() RW.Part1 = nil RSH.Part1 = ch["Right Arm"] end function LWRem() LW.Part1 = nil LSH.Part1 = ch["Left Arm"] end if Character:findFirstChild(ModelName,true) ~= nil then Character:findFirstChild(ModelName,true).Parent = nil RHL.Part1 = ch["Right Leg"] LHL.Part1 = ch["Left Leg"] RSH.Part1 = ch["Right Arm"] LSH.Part1 = ch["Left Arm"] end local swordholder = Instance.new("Model") swordholder.Name = ModelName swordholder.Parent = Character --derp RW.Part0 = ch.Torso RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0) RW.Parent = swordholder -- LW.Part0 = ch.Torso LW.C0 = CFrame.new(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8) LW.C1 = CFrame.new(0, 0.5, 0) LW.Parent = swordholder -- RWL.Part0 = ch.Torso RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0) RWL.C1 = CFrame.new(0.5, 1, 0) RWL.Parent = swordholder -- LWL.Part0 = ch.Torso LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0) LWL.C1 = CFrame.new(-0.5, 1, 0) LWL.Parent = swordholder local msh1 = Instance.new("CylinderMesh") msh1.Scale = Vector3.new(1,1,1) local msh2 = Instance.new("CylinderMesh") msh2.Scale = Vector3.new(1.1,1,1.1) local msh3 = Instance.new("CylinderMesh") msh3.Scale = Vector3.new(0.5,1.075,0.5) local msh4 = Instance.new("SpecialMesh") msh4.Scale = Vector3.new(0.35,0.85,0.35) msh4.MeshId = "http://www.roblox.com/Asset/?id=9756362" local msh5 = Instance.new("SpecialMesh") msh5.Scale = Vector3.new(0.35,0.85,0.35) msh5.MeshId = "http://www.roblox.com/Asset/?id=9756362" local msh6 = Instance.new("SpecialMesh") msh6.Scale = Vector3.new(0.35,1.5,0.35) msh6.MeshId = "http://www.roblox.com/asset/?id=1051557" local msh7 = Instance.new("SpecialMesh") msh7.Scale = Vector3.new(0.35,1.5,0.35) msh7.MeshId = "http://www.roblox.com/asset/?id=1051557" local msh8 = Instance.new("SpecialMesh") msh8.Scale = Vector3.new(0.2,0.3,0.2) msh8.MeshId = "http://www.roblox.com/asset/?id=20329976" local msh9 = Instance.new("SpecialMesh") msh9.Scale = Vector3.new(0.2,0.3,0.2) msh9.MeshId = "http://www.roblox.com/asset/?id=20329976" local msh10 = Instance.new("CylinderMesh") msh10.Scale = Vector3.new(1,0.1,1) local msh11 = Instance.new("CylinderMesh") msh11.Scale = Vector3.new(1,0.1,1) local prt1 = Instance.new("Part") prt1.formFactor = 3 prt1.CanCollide = false prt1.Name = "Handle" prt1.Locked = true prt1.Size = Vector3.new(0.2,6.5,0.2) prt1.Parent = swordholder msh1.Parent = prt1 prt1.BrickColor = handlecolor local prt2 = Instance.new("Part") prt2.formFactor = 3 prt2.CanCollide = false prt2.Name = "Handle2" prt2.Locked = true prt2.Size = Vector3.new(0.2,1,0.2) prt2.Parent = swordholder msh2.Parent = prt2 prt2.BrickColor = bcolor local prt3 = Instance.new("Part") prt3.formFactor = 3 prt3.CanCollide = false prt3.Name = "HandleDesign1" prt3.Locked = true prt3.Size = Vector3.new(0.2,0.2,0.2) prt3.Parent = swordholder msh3.Parent = prt3 prt3.BrickColor = handlecolor local prt3a = prt3:clone() prt3a.Parent = swordholder local prt4 = Instance.new("Part") prt4.formFactor = 3 prt4.CanCollide = false prt4.Name = "Tip1" prt4.Locked = true prt4.Size = Vector3.new(0.2,msh4.Scale.Y,0.2) prt4.Parent = swordholder prt4.Reflectance = 0.25 msh4.Parent = prt4 prt4.BrickColor = handlecolor local prt5 = Instance.new("Part") prt5.formFactor = 3 prt5.CanCollide = false prt5.Name = "Tip2" prt5.Locked = true prt5.Size = Vector3.new(0.2,msh5.Scale.Y,0.2) prt5.Parent = swordholder prt5.Reflectance = 0.25 msh5.Parent = prt5 prt5.BrickColor = handlecolor local prt6 = Instance.new("Part") prt6.formFactor = 3 prt6.CanCollide = false prt6.Name = "TipDesign1" prt6.Locked = true prt6.Size = Vector3.new(0.2,0.2,0.2) prt6.Parent = swordholder prt6.Transparency = 0.2 msh6.Parent = prt6 prt6.BrickColor = bcolor local prt7 = Instance.new("Part") prt7.formFactor = 3 prt7.CanCollide = false prt7.Name = "TipDesign2" prt7.Locked = true prt7.Size = Vector3.new(0.2,0.2,0.2) prt7.Parent = swordholder prt7.Transparency = 0.2 msh7.Parent = prt7 prt7.BrickColor = bcolor local prt8 = Instance.new("Part") prt8.formFactor = 3 prt8.CanCollide = false prt8.Name = "TipDesign3" prt8.Locked = true prt8.Size = Vector3.new(0.2,0.2,0.2) prt8.Parent = swordholder msh8.Parent = prt8 prt8.BrickColor = gemcolor local prt9 = Instance.new("Part") prt9.formFactor = 3 prt9.CanCollide = false prt9.Name = "TipDesign4" prt9.Locked = true prt9.Size = Vector3.new(0.2,0.2,0.2) prt9.Parent = swordholder msh9.Parent = prt9 prt9.BrickColor = gemcolor local prt10 = Instance.new("Part") prt10.formFactor = 3 prt10.CanCollide = false prt10.Name = "TipDesign5" prt10.Locked = true prt10.Size = Vector3.new(0.3,0.2,0.3) prt10.Parent = swordholder msh10.Parent = prt10 prt10.BrickColor = gemcolor local prt11 = Instance.new("Part") prt11.formFactor = 3 prt11.CanCollide = false prt11.Name = "TipDesign6" prt11.Locked = true prt11.Size = Vector3.new(0.3,0.2,0.3) prt11.Parent = swordholder msh11.Parent = prt11 prt11.BrickColor = gemcolor local w1 = Instance.new("Weld") w1.Parent = prt1 w1.Part0 = prt1 local w2 = Instance.new("Weld") w2.Parent = prt2 w2.Part0 = prt2 w2.Part1 = prt1 w2.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w2.C0 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) local w3 = Instance.new("Weld") w3.Parent = prt3 w3.Part0 = prt3 w3.Part1 = prt1 w3.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w3.C0 = CFrame.new(0, 0,0) * CFrame.Angles(math.rad(90), 0, 0) local w3a = Instance.new("Weld") w3a.Parent = prt3a w3a.Part0 = prt3a w3a.Part1 = prt1 w3a.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w3a.C0 = CFrame.new(0, 0,0) * CFrame.Angles(math.rad(90), math.rad(90), 0) local w4 = Instance.new("Weld") w4.Parent = prt4 w4.Part0 = prt4 w4.Part1 = prt1 w4.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w4.C0 = CFrame.new(0, 3.25,0) * CFrame.Angles(0, 0, 0) local w5 = Instance.new("Weld") w5.Parent = prt5 w5.Part0 = prt5 w5.Part1 = prt1 w5.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w5.C0 = CFrame.new(0, -3.25,0) * CFrame.Angles(0, 0, 0) local w6 = Instance.new("Weld") w6.Parent = prt6 w6.Part0 = prt6 w6.Part1 = prt1 w6.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w6.C0 = CFrame.new(0, 2.3 ,0) * CFrame.Angles(0, 0, 0) local w7 = Instance.new("Weld") w7.Parent = prt7 w7.Part0 = prt7 w7.Part1 = prt1 w7.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w7.C0 = CFrame.new(0, 2.3 ,0) * CFrame.Angles(math.rad(180), 0, 0) local w8 = Instance.new("Weld") w8.Parent = prt8 w8.Part0 = prt8 w8.Part1 = prt1 w8.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w8.C0 = CFrame.new(0, 2.8 ,0) * CFrame.Angles(0, 0, 0) local w9 = Instance.new("Weld") w9.Parent = prt9 w9.Part0 = prt9 w9.Part1 = prt1 w9.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w9.C0 = CFrame.new(0, 2.8 ,0) * CFrame.Angles(math.rad(180), 0, 0) local w10 = Instance.new("Weld") w10.Parent = prt10 w10.Part0 = prt10 w10.Part1 = prt1 w10.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w10.C0 = CFrame.new(0, 2.95 ,0) * CFrame.Angles(0, 0, 0) local w11 = Instance.new("Weld") w11.Parent = prt11 w11.Part0 = prt11 w11.Part1 = prt1 w11.C1 = CFrame.new(0, 0,0) * CFrame.Angles(0, 0, 0) w11.C0 = CFrame.new(0, -2.95 ,0) * CFrame.Angles(0, 0, 0) local RAP = Instance.new("Part") RAP.formFactor = 0 RAP.CanCollide = false RAP.Name = "RAPart" RAP.Locked = true RAP.Size = Vector3.new(1,1,1) RAP.Parent = swordholder RAP.Transparency = 1 local w = Instance.new("Weld") w.Parent = RAP w.Part0 = RAP w.Part1 = RightArm w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0) function unequipweld() w1.Part1 = Torso w1.C1 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(0, 0,0) w1.C0 = CFrame.fromEulerAnglesXYZ(0,0,0) * CFrame.new(-0.5, -0.5, -0.6) end unequipweld() function equipweld() w1.Part1 = RAP w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0,0) w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0) end function ss(parent,p,v) --Slash local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function uss(parent,p,v) --unsheath local SlashSound = Instance.new("Sound") SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function cs(parent,p,v) --Magic Charge local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function ls(parent,p,v) --Lazer Sound local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function ts(parent,p,v) --Thunder sound local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222030" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function fs(parent,p,v) --Fire Sound local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) end function srfs(parent,p,v) local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222132" SlashSound.Parent = parent SlashSound.Volume = (v or .7) SlashSound.Pitch = p SlashSound.PlayOnRemove = true coroutine.resume(coroutine.create(function() wait(0.1) SlashSound.Parent = nil end)) end -- function returndmg() mindamage = omindamage maxdamage = omaxdamage crtmaxdamage = ocrtmaxdamage end function subdmg(sub) mindamage = omindamage - sub maxdamage = omaxdamage - sub crtmaxdamage = ocrtmaxdamage - sub end function prcntdmg(sub) mindamage = math.floor(omindamage - (omindamage*(sub/100))) maxdamage = math.floor(omaxdamage - (omaxdamage*(sub/100))) crtmaxdamage = math.floor(ocrtmaxdamage - (ocrtmaxdamage*(sub/100))) end function tagHumanoid(humanoid, player) local creator_tag = Instance.new("ObjectValue") creator_tag.Value = player creator_tag.Name = "creator" creator_tag.Parent = humanoid end function untagHumanoid(humanoid) if humanoid ~= nil then local tag = humanoid:findFirstChild("creator") if tag ~= nil then tag.Parent = nil end end end local function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , Ignore Descendants return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore) end function hideanim() attack = true for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1+0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90+90*i), 0, math.rad(-45+90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1+0.5*i, 0.5, -0.5-0.5*i) * CFrame.Angles(math.rad(45+90*i), 0, math.rad(45+35*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45-45*i), math.rad(0), math.rad(0)) end for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(180+90*i), 0, math.rad(45-80*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-0.5+0.5*i, 0.5, -1) * CFrame.Angles(math.rad(135), 0, math.rad(85)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45*i), 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end unequipweld() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(270-270*i), 0, math.rad(-35+35*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(135-135*i), 0, math.rad(85-85*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45+45*i), 0, 0) end LWRem() RWRem() attack = false end function equipanim() attack = true RWFunc() LWFunc() uss(Head,1,0.5) for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90*i), 0, math.rad(-45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) end equipweld() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90+180*i), 0, math.rad(-45+90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90+180*i), 0, math.rad(90)) end for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90+90*i), 0, math.rad(45-45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(90+180*i), 0, math.rad(90)) end for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(180-90*i), 0, math.rad(-45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(45*i), 0, math.rad(45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90+45*i), math.rad(0), math.rad(90-90*i)) end attack = false end if (script.Parent.className ~= "HopperBin") then Tool = Instance.new("HopperBin") Tool.Parent = Backpack Tool.Name = ToolName script.Parent = Tool end Bin = script.Parent function damagesplat(dmg,hit) local mo = Instance.new("Model") mo.Name = dmg local pa = Instance.new("Part",mo) pa.formFactor = 3 pa.Size = Vector3.new(0.8,0.3,0.8) pa.BrickColor = BrickColor.new("Bright red") pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0) pa.Name = "Head" local hah = Instance.new("Humanoid") hah.Parent = mo hah.MaxHealth = 0 hah.Health = 0 local bp = Instance.new("BodyPosition") bp.P = 14000 bp.maxForce = Vector3.new(math.huge, math.huge, math.huge) bp.position = hit.Position + Vector3.new(0, 5, 0) coroutine.resume(coroutine.create(function() wait() mo.Parent = workspace bp.Parent = pa wait(1.4) mo:remove() end)) end function damage(hum,dmg,critornot) damagesplat(dmg,hum.Torso,critornot) hum:TakeDamage(dmg) coroutine.resume(coroutine.create(function() tagHumanoid(hum,Player) wait(1) untagHumanoid(hum) end)) end function OT(hit) --Normal Damage if Hitdeb == 1 then return end if hit.Parent == nil then return end local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then local critrandomizer = math.random(crtrate) if critrandomizer ~= 1 then local rndmdamage = math.random(mindamage,maxdamage) + bonusdmg damage(hum,rndmdamage,false) elseif critrandomizer == 1 then local rndmdamage = math.random(maxdamage,crtmaxdamage) + bonusdmg damage(hum,rndmdamage,true) end Hitdeb = 1 end end function OT2(hit) --Flip Damage if Hitdeb == 1 then return end if hit.Parent == nil then return end local hum = hit.Parent:findFirstChild("Humanoid") if hum ~= nil and hum ~= Character.Humanoid then local critrandomizer = math.random(crtrate) if critrandomizer ~= 1 then local rndmdamage = math.random(mindamage,maxdamage) + bonusdmg damage(hum,rndmdamage,false) hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.Angles(-0.5*math.random(),0,0) elseif critrandomizer == 1 then local rndmdamage = math.random(maxdamage,crtmaxdamage) + bonusdmg damage(hum,rndmdamage,true) hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.Angles(-0.5*math.random(),0,0) end Hitdeb = 1 end end function AoE(p,magnitude) local c = game.Workspace:GetChildren(); for i = 1, #c do local hum = c[i]:findFirstChild("Humanoid") if hum ~= nil and hum.Health ~= 0 then local head = c[i]:findFirstChild("Head"); if head ~= nil then local mag = (head.Position - p).magnitude; if mag <= magnitude and c[i].Name ~= Character.Name then local foundd = false for ii = 1 , #AoETrue do if AoETrue[ii] == c[i].Name then foundd = true end end if foundd then end -- if not foundd then local critrandomizer = math.random(crtrate) if critrandomizer ~= 1 then local rndmdamage = math.random(mindamage,maxdamage) + bonusdmg damage(hum,rndmdamage,false) elseif critrandomizer == 1 then local rndmdamage = math.random(maxdamage,crtmaxdamage) + bonusdmg damage(hum,rndmdamage,true) end table.insert(AoETrue,c[i].Name) end end end end end for ii = 1 , #AoETrue do table.remove(AoETrue,#AoETrue) end end -- -- LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/2,0) function effect(Color,Ref,LP,P1,returnn) local effectsmsh = Instance.new("BlockMesh") effectsmsh.Scale = Vector3.new(1,1,1) effectsmsh.Name = "Mesh" local effectsg = Instance.new("Part") effectsg.formFactor = 3 effectsg.CanCollide = false effectsg.Name = "Eff" effectsg.Locked = true effectsg.Anchored = true effectsg.Size = Vector3.new(0.2,1,0.2) effectsg.Parent = swordholder effectsmsh.Parent = effectsg effectsg.BrickColor = BrickColor.new(Color) effectsg.Reflectance = Ref local point1 = P1 local mg = (LP.p - point1.p).magnitude effectsg.Size = Vector3.new(0.2,mg,0.2) effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) if returnn then return effectsg end coroutine.resume(coroutine.create(function() if not returnn then for i = 0 , 1 , 0.1 do wait() effectsg.Transparency = 1*i effectsmsh.Scale = Vector3.new(1-1*i,1,1-1*i) end wait() effectsg.Parent = nil end end)) end -- con = nil function dmgcnnct() if con ~= nil then con:disconnect() Hitdeb = 0 end con = prt1.Touched:connect(OT) end function dmgflipcnnct() if con ~= nil then con:disconnect() Hitdeb = 0 end con = prt1.Touched:connect(OT2) end function dmgdc() if con ~= nil then con:disconnect() Hitdeb = 0 end end function rptddmg(value,des,inc) coroutine.resume(coroutine.create(function() repeat wait(inc) Hitdeb = 0 until value == des end)) end function atktype(s,e) coroutine.resume(coroutine.create(function () attacktype = e wait(0.5) attacktype = s end)) end function Slash1() attack = true local LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local LastPoint2 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/2,0) for i = 0 , 1 , 0.2 do wait() local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local Point2 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/2,0) effect("Really red",0.5,LastPoint,Point) effect("Really red",0.5,LastPoint2,Point2) LastPoint = Point LastPoint2 = Point2 RW.C0 = CFrame.new(1, 0.5+1*i, -0.5) * CFrame.Angles(math.rad(90+90*i), 0, math.rad(-45)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5+1*i, -0.5) * CFrame.Angles(math.rad(45+135*i), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45-45*i), math.rad(0), math.rad(135*i)) end local TorsPos = Torso.Position local bp = Instance.new("BodyPosition",Torso) bp.maxForce = Vector3.new(0, math.huge,0) bp.P = 14000 bp.position = TorsPos + Vector3.new(0,2,0) local mesh = Instance.new("CylinderMesh") mesh.Scale = Vector3.new(5.1,0.1,5.1) local shell = Instance.new("Part") mesh.Parent = shell shell.Anchored = true shell.formFactor = 3 shell.Size = Vector3.new(1,0.5,1) shell.CFrame = CFrame.new() + prt1.Position shell.Parent = swordholder shell.Transparency = 0.5 shell.BrickColor = BrickColor.new("Really red") shell.CanCollide = false local mesh2 = Instance.new("SpecialMesh") mesh2.Scale = Vector3.new(5.5,1,5.5) mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557" local shell2 = Instance.new("Part") shell2.Anchored = true mesh2.Parent = shell2 shell2.formFactor = 3 shell2.Size = Vector3.new(0.2,0.2,0.2) shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180),0,0) shell2.Parent = swordholder shell2.Transparency = 0.5 shell2.BrickColor = BrickColor.new("Really red") shell2.CanCollide = false local derp = false coroutine.resume(coroutine.create(function() for i = 0 , 1 , 0.2 do wait() shell.Transparency = 1-0.5*i shell2.Transparency = 1-0.5*i end end)) coroutine.resume(coroutine.create(function() local ii = 0 local yy = 1 repeat wait() ii = ii + 50 yy = yy + 0.25 shell.CFrame = CFrame.Angles(0,math.rad(ii),0) + prt1.Position shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180),0,0) mesh2.Scale = Vector3.new(5.5,yy,5.5) until derp for i = 0 , 1 , 0.1 do wait() yy = yy + 0.5 shell.Transparency = 0.5+0.5*i shell2.Transparency = 0.5+0.5*i mesh2.Scale = Vector3.new(5.5-2*i,yy,5.5-2*i) end shell.Parent = nil shell2.Parent = nil end)) dmgcnnct() prcntdmg(50) rptddmg(derp,true,0.75) for rep = 1 , 2 do ss(Head,1,0.5) for i = 0 , 1 , 0.2 do wait() local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local Point2 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/2,0) effect("Really red",0.5,LastPoint,Point) effect("Really red",0.5,LastPoint2,Point2) LastPoint = Point LastPoint2 = Point2 w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180*i), math.rad(135)) end ss(Head,1,0.5) for i = 0 , 1 , 0.2 do wait() local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local Point2 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/2,0) effect("Really red",0.5,LastPoint,Point) effect("Really red",0.5,LastPoint2,Point2) LastPoint = Point LastPoint2 = Point2 w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180+180*i), math.rad(135)) end end returndmg() dmgdc() derp = true local done = false local hit,pos = nil,nil for i = 0 , 1 , 0.2 do wait() local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point RW.C0 = CFrame.new(1+0.5*i, 1.5-1*i, -0.5+0.5*i) * CFrame.Angles(math.rad(180-45*i), 0, math.rad(-45+90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 1.5-1*i, -0.5+0.5*i) * CFrame.Angles(math.rad(180-45*i), 0, math.rad(45-90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90+45*i), math.rad(0), math.rad(135-135*i)) w1.C1 = CFrame.new(0,0,0) if i > 0.5 and not done then hit,pos = rayCast(Torso.Position, (Torso.CFrame * CFrame.Angles(math.rad(-90),0,0)).lookVector, 100, Character) bp.position = pos + Vector3.new(0,1,0) bp.P = 5000 done = true end end dmgcnnct() local p1 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1.5-1*i, 0.5, -1*i) * CFrame.Angles(math.rad(135-90*i), 0, math.rad(45-90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(135-180*i), 0, math.rad(-45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) w1.C1 = CFrame.new(0,0,0) end bp.Parent = nil ss(Head,1.5,1) for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45-10*i), 0, math.rad(-45-10*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-45), 0, math.rad(-45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) w1.C1 = CFrame.new(0,0,0) end local effectsmsh = Instance.new("SpecialMesh") effectsmsh.Scale = Vector3.new(0.5,1,0.5) effectsmsh.MeshId = "http://www.roblox.com/asset/?id=13425802" local effectsg = Instance.new("Part") effectsg.formFactor = 3 effectsg.CanCollide = false effectsg.Name = "Eff" effectsg.Locked = true effectsg.Anchored = true effectsg.Size = Vector3.new(0.2,0.2,0.2) effectsg.Parent = swordholder effectsmsh.Parent = effectsg effectsg.BrickColor = bcolor effectsg.Reflectance = 0.25 local point1 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local LP = p1 local mg = (LP.p - point1.p).magnitude effectsmsh.Scale = Vector3.new(mg/3,1,0.2) effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,math.rad(-90)) coroutine.resume(coroutine.create(function() for i = 0 , 1 , 0.1 do wait() effectsg.Transparency = 1*i end wait() effectsg.Parent = nil end)) wait(0.2) dmgdc() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(0.5+0.5*i, 0.5, -1+0.5*i) * CFrame.Angles(math.rad(35+55*i), 0, math.rad(-55+10*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(-45+90*i), 0, math.rad(-45+90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) end attack = false end function RoundSlash() attack = true ss(Head,1,0.5) local TorsCF = Torso.CFrame local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.P = bg.p * 25 bg.cframe = TorsCF for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1+0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90+45*i), 0, math.rad(-45+90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(45+25*i), 0, math.rad(45-90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) end dmgcnnct() LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1.5-1*i, 0.5, -1*i) * CFrame.Angles(math.rad(135-90*i), 0, math.rad(45-90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(70-90*i), 0, math.rad(-45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45*i)) w1.C1 = CFrame.Angles(math.rad(-25*i),0,0) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(180*i),0) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end Hitdeb=0 RWLFunc() LWLFunc() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45), 0, math.rad(-45-25*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) RWL.C0 = CFrame.new(1, -1+1*i, -1*i) * CFrame.Angles(0, 0, 0) RWL.C1 = CFrame.new(0.5, 1, 0) LWL.C0 = CFrame.new(-1, -1-0.5*i, -0.5*i) * CFrame.Angles(math.rad(-90*i), 0, 0) LWL.C1 = CFrame.new(-0.5, 1, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45)) w1.C1 = CFrame.Angles(math.rad(-25),0,0) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(180+180*i),0) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end dmgdc() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(0.5+0.5*i, 0.5, -1+0.5*i) * CFrame.Angles(math.rad(45+45*i), 0, math.rad(-70+25*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(-20+65*i), 0, math.rad(-45+90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) RWL.C0 = CFrame.new(1, -1*i, -1+1*i) * CFrame.Angles(0, 0, 0) RWL.C1 = CFrame.new(0.5, 1, 0) LWL.C0 = CFrame.new(-1, -1.5+0.5*i, -0.5+0.5*i) * CFrame.Angles(math.rad(-90+90*i), 0, 0) LWL.C1 = CFrame.new(-0.5, 1, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45-45*i)) w1.C1 = CFrame.Angles(math.rad(-25+25*i),0,0) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(360*i),0) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end RWLRem() LWLRem() wait(0.1) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point bg.Parent = nil wait(0.1) attack = false end function Combo1() attack = true ss(Head,1,0.5) ss(Head,2,0.5) LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) dmgcnnct() for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1+0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90+90*i),math.rad(-45*i), math.rad(-45+90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1+1*i, 0.5, -0.5-0.5*i) * CFrame.Angles(math.rad(45+90*i), 0, math.rad(45+45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45-270*i), math.rad(0), math.rad(0)) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point if i > 0.2 then ss(Head,2,0.5) end end Hitdeb=0 for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1.5-0.8*i, 0.5, -1*i) * CFrame.Angles(math.rad(180-145*i),math.rad(-45), math.rad(45-90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1*i, 0.5, -1+0.5*i) * CFrame.Angles(math.rad(135-45*i), 0, math.rad(90-80*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0)) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end dmgdc() atktype(1,2) attack = false for i = 0 , 1 , 0.1 do if attack then return end wait() RW.C0 = CFrame.new(0.7-0.2*i, 0.5, -1) * CFrame.Angles(math.rad(35-20*i),math.rad(-45), math.rad(-45-20*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(10)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0)) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end for i = 0 , 1 , 0.1 do if attack then return end wait() RW.C0 = CFrame.new(0.5+0.5*i, 0.5, -1+0.5*i) * CFrame.Angles(math.rad(15+75*i),math.rad(-45+45*i), math.rad(-65+20*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(10+35*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-315-90*i), math.rad(0), math.rad(0)) end end function Combo2() attack = true ss(Head,1,0.5) for i = 0 , 1 ,0.1 do wait() RW.C0 = CFrame.new(0.7, 0.5, -1) * CFrame.Angles(math.rad(35+55*i),math.rad(-45+135*i), math.rad(-45+45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60*i), 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90), 0, math.rad(10)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-315-90*i), math.rad(0), math.rad(0)) end dmgflipcnnct() LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) for i = 0 , 1 ,0.2 do wait() RW.C0 = CFrame.new(0.7-0.8*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90),math.rad(90), math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60+195*i), 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -1*i) * CFrame.Angles(math.rad(90), 0, math.rad(10+80*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end dmgdc() local TorsCF = Torso.CFrame local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.P = 100000 bg.cframe = TorsCF ss(Head,1,0.5) dmgflipcnnct() for i = 0 , 1 ,0.15 do wait() RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(90),math.rad(90), math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135-180*i), 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 0.5, -1+1*i) * CFrame.Angles(math.rad(90), 0, math.rad(90-180*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(-90*i),0) end LastPoint = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) for i = 0 , 1 ,0.1 do wait() RW.C0 = CFrame.new(1+0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90),math.rad(90), math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45+180*i), 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(-90-270*i),0) local Point = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) effect("Really red",0.5,LastPoint,Point) LastPoint = Point end dmgdc() bg.Parent = nil attack = false atktype(1,3) for i = 0 , 1 ,0.2 do if attack then break end wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90),math.rad(90), math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135+20*i), 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) end for i = 0 , 1 ,0.1 do if attack then break end wait() RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(90),math.rad(90-90*i), math.rad(-45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(155-155*i), 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(-90+135*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) end end function Combo3() attack=true wait(0.1) local TorsCF = Torso.CFrame local bg = Instance.new("BodyGyro",Torso) bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge) bg.P = 100000 bg.cframe = TorsCF for i = 0 , 1 ,0.1 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90),math.rad(90-90*i), math.rad(90*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135-90*i), 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) Neck.C0 = neckcf0 * CFrame.Angles(0,0,math.rad(-90*i)) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(90*i),0) end local P1 = prt1.CFrame * CFrame.new(0,prt1.Size.Y/-2,0) local hitt = nil local TorsPos = P1.p local bp = Instance.new("BodyPosition") bp.maxForce = Vector3.new(math.huge, math.huge,math.huge) bp.P = 14000 bp.position = TorsPos+Vector3.new(0,5,0) local connection = prt1.Touched:connect(function(hit) if hitt ~= nil then if hit.Parent:findFirstChild("Humanoid") ~= nil then hitt = hit.Parent.Torso bp.Parent=hitt wait(2) bp.Parent = nil end end end) subdmg(-10) dmgflipcnnct() for i = 0 , 1 ,0.2 do wait() RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90),math.rad(0), math.rad(90)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(45-135*i), 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) Neck.C0 = neckcf0 * CFrame.Angles(0,0,math.rad(-90)) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(90),0) end srfs(Head,1,0.5) ss(Head,1,0.5) returndmg() dmgdc() local P2 = CFrame.new(P1.p) * CFrame.new(0,15,0) * CFrame.Angles(math.rad(-10),0,0) local effectsmsh = Instance.new("SpecialMesh") effectsmsh.MeshType = "Sphere" local effectsg = Instance.new("Part") effectsg.formFactor = 3 effectsg.CanCollide = false effectsg.Name = "Eff" effectsg.Locked = true effectsg.Anchored = true effectsg.Size = Vector3.new(1,1,1) effectsg.Parent = swordholder effectsmsh.Parent = effectsg effectsg.BrickColor = bcolor effectsg.Reflectance = 0.25 local point1 = P2 local LP = P1 local mg = (LP.p - point1.p).magnitude effectsmsh.Scale = Vector3.new(mg/5,mg*2,mg/5) effectsg.CFrame = CFrame.new((LP.p+point1.p)/2,point1.p) * CFrame.Angles(math.rad(90),0,0) + Vector3.new(0,-mg,0) coroutine.resume(coroutine.create(function() for i = 0 , 1 , 0.1 do wait() effectsg.Transparency = 1*i end wait() effectsg.Parent = nil end)) connection:disconnect() for i = 0 , 1 ,0.2 do wait() RW.C0 = CFrame.new(1.5-0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(90),math.rad(0), math.rad(90-135*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-90+90*i), 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(-90+135*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) Neck.C0 = neckcf0 * CFrame.Angles(0,0,math.rad(-90+90*i)) bg.cframe = TorsCF * CFrame.Angles(0,math.rad(90-90*i),0) end Neck.C0 = neckcf0 bg.Parent = nil attack=false end local helm = Instance.new("Part") helm.formFactor = 3 helm.CanCollide = false helm.Name = "LancerHelm" helm.Locked = true helm.Size = Vector3.new(0.2,0.2,0.2) helm.BrickColor = bcolor local helmm = Instance.new("SpecialMesh") helmm.MeshId = "http://www.roblox.com/asset/?id=27719952" helmm.Parent = helm local helmw = Instance.new("Weld") local LancerM = false function LancerMode() attack=true if not LancerM then for i = 0,1,0.2 do wait() RW.C0 = CFrame.new(1+0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(90), 0, math.rad(-45+135*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 0.5, -0.5+0.5*i) * CFrame.Angles(math.rad(45-45*i), 0, math.rad(45-45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45-45*i), math.rad(0), math.rad(0)) end for i = 0,1,0.1 do wait() RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(90), 0, math.rad(90)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, 0) * CFrame.Angles(math.rad(-45*i), 0, math.rad(45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end helm.Parent = swordholder helmw.Parent = helm helmw.Part0 = helm helmw.Part1 = LeftArm helmw.C0 = CFrame.Angles(math.rad(90),0,math.rad(90)) helmw.C1 = CFrame.new(0,-1.5,0) bonusdmg = 10 LancerM = true wait() for i = 0,1,0.1 do wait() RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(90), 0, math.rad(90)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0 , 0) LW.C0 = CFrame.new(-1-0.5*i, 0.5, 0) * CFrame.Angles(math.rad(-45+90*i), 0, math.rad(45-90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end for i = 0,1,0.1 do wait() RW.C0 = CFrame.new(1.5,0.5,0) * CFrame.Angles(math.rad(90), 0, math.rad(90)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0 , 0) LW.C0 = CFrame.new(-1.5-0.5*i, 0.5+1*i, 0) * CFrame.Angles(math.rad(45+45*i), 0, math.rad(-45+135*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end helmw.Part1 = Head helmw.C0 = CFrame.new(0,-0.25,0) helmw.C1 = CFrame.new() coroutine.resume(coroutine.create(function() local meshb = Instance.new("SpecialMesh") meshb.Scale = Vector3.new(0,0,0) meshb.MeshType = "Sphere" local shellb = Instance.new("Part") meshb.Parent = shellb shellb.Anchored = true shellb.formFactor = 3 shellb.Size = Vector3.new(1,1,1) shellb.CFrame = Torso.CFrame shellb.Parent = swordholder shellb.Transparency = 0 shellb.BrickColor = bcolor shellb.CanCollide = false coroutine.resume(coroutine.create(function() for i = 0 ,1,0.05 do wait() shellb.Transparency = 1*i meshb.Scale = Vector3.new(20*i,20*i,20*i) end shellb.Parent = nil end)) local spinval = 0 local SlashSound = Instance.new("Sound") SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137" SlashSound.Parent = Head SlashSound.Volume = 0.25 SlashSound.Pitch = 0.1 SlashSound.PlayOnRemove = true SlashSound.Looped = true coroutine.resume(coroutine.create(function() wait() SlashSound.Parent = nil end)) local SlashSound2 = Instance.new("Sound") SlashSound2.SoundId = "http://www.roblox.com/asset?id=1369158" SlashSound2.Parent = Head SlashSound2.Volume = 1 SlashSound2.Pitch = 0.05 SlashSound2.PlayOnRemove = true SlashSound2.Looped = true coroutine.resume(coroutine.create(function() wait() SlashSound2.Parent = nil end)) local ws = Character.Humanoid.WalkSpeed repeat wait(0.05) Character.Humanoid.WalkSpeed = ws * 1.25 spinval = spinval + 0.1 local mesh = Instance.new("SpecialMesh") mesh.Scale = Vector3.new(5.1,5,5.1) mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" local shell = Instance.new("Part") mesh.Parent = shell shell.Anchored = true shell.formFactor = 3 shell.Size = Vector3.new(0.2,0.2,0.2) shell.CFrame = Torso.CFrame * CFrame.Angles(0,spinval,0) + Vector3.new(0,-2.5,0) shell.Parent = swordholder shell.Transparency = 1 shell.BrickColor = handlecolor shell.CanCollide = false local mesh2 = Instance.new("SpecialMesh") mesh2.Scale = Vector3.new(8,8,8) mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557" local shell2 = Instance.new("Part") mesh2.Parent = shell2 shell2.Anchored = true shell2.formFactor = 3 shell2.Size = Vector3.new(0.2,0.2,0.2) shell2.CFrame = Torso.CFrame * CFrame.Angles(0,spinval,0) + Vector3.new(0,-2.5,0) shell2.Parent = swordholder shell2.Transparency = 1 shell2.BrickColor = bcolor shell2.CanCollide = false local mesh3 = Instance.new("BlockMesh") mesh3.Scale = Vector3.new(5,5,5) local shell3 = Instance.new("Part") mesh3.Parent = shell3 shell3.Anchored = true shell3.formFactor = 3 shell3.Size = Vector3.new(1,1,1) shell3.CFrame = Torso.CFrame * CFrame.Angles(math.random(),math.random(),math.random()) shell3.Parent = swordholder shell3.Transparency = 0.5 shell3.BrickColor = bcolor shell3.CanCollide = false coroutine.resume(coroutine.create(function() for i = 0 ,1,0.2 do wait() shell.Transparency = 1-1*i shell2.Transparency = 1-1*i shell3.Transparency = 0.5+0.25*i end for i = 0 ,1,0.2 do wait() shell.Transparency = 1*i shell2.Transparency = 1*i shell3.Transparency = 0.75+0.25*i end shell.Parent = nil shell2.Parent = nil shell3.Parent = nil end)) until not LancerM Character.Humanoid.WalkSpeed = ws SlashSound:Stop() SlashSound2:Stop() end)) for i = 0,1,0.1 do wait() RW.C0 = CFrame.new(1.5-0.5*i,0.5,-0.5*i) * CFrame.Angles(math.rad(90), 0, math.rad(90-135*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0 , 0) LW.C0 = CFrame.new(-1, 1.5-1*i, -0.5*i) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(90-45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90+45*i), math.rad(0), math.rad(0)) end elseif LancerM then LancerM = false local meshb = Instance.new("SpecialMesh") meshb.Scale = Vector3.new(0,0,0) meshb.MeshId = "http://www.roblox.com/asset/?id=1038653" local shellb = Instance.new("Part") meshb.Parent = shellb shellb.Anchored = true shellb.formFactor = 3 shellb.Size = Vector3.new(1,1,1) shellb.CFrame = Torso.CFrame shellb.Parent = swordholder shellb.Transparency = 1 shellb.Reflectance = 0.25 shellb.BrickColor = bcolor shellb.CanCollide = false local meshb2 = Instance.new("SpecialMesh") meshb2.Scale = Vector3.new(0,0,0) meshb2.MeshType = "Sphere" local shellb2 = Instance.new("Part") meshb2.Parent = shellb2 shellb2.Anchored = true shellb2.formFactor = 3 shellb2.Size = Vector3.new(1,1,1) shellb2.CFrame = Torso.CFrame shellb2.Parent = swordholder shellb2.Transparency = 1 shellb2.Reflectance = 0.25 shellb2.BrickColor = bcolor shellb2.CanCollide = false coroutine.resume(coroutine.create(function() for i = 0 ,1,0.05 do wait() shellb.Transparency = 1-1*i meshb.Scale = Vector3.new(30*i,30*i,30*i) shellb2.Transparency = 1-1*i meshb2.Scale = Vector3.new(15*i,100*i,15*i) end for i = 0 ,1,0.05 do wait() shellb.Transparency = 1*i meshb.Scale = Vector3.new(30+50*i,30+50*i,30+50*i) shellb2.Transparency = 1*i meshb2.Scale = Vector3.new(15-15*i,100+100*i,15-15*i) end shellb2.Parent = nil shellb.Parent = nil end)) for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45+45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5+1*i, -0.5+0.5*i) * CFrame.Angles(math.rad(45+45*i), 0, math.rad(45+45*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45-45*i), math.rad(0), math.rad(0)) end helmw.Part1 = LeftArm helmw.C0 = CFrame.Angles(math.rad(90),0,math.rad(90)) helmw.C1 = CFrame.new(0,-1.5,0) for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1-0.5*i, 1.5-1*i, 0) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(90-135*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end for i = 0 , 1 , 0.2 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45-90*i), 0, math.rad(-45+90*i)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0)) end helm.Parent = nil helmw.Parent = nil for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45*i)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1.5+0.5*i, 0.5, -0.5*i) * CFrame.Angles(math.rad(-45+90*i), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-90+45*i), math.rad(0), math.rad(0)) end end attack=false end local recentlyjumped = false function Jump() attack=true local vel = Instance.new("BodyVelocity") vel.maxForce = Vector3.new(0,math.huge,0) vel.P = vel.P * 2 vel.velocity = Vector3.new(0,80,0) vel.Parent = Torso wait(0.1) vel.Parent = nil local floor = false coroutine.resume(coroutine.create(function() repeat wait(0.05) hit,pos = rayCast(Torso.Position, (CFrame.new(Torso.Position,Torso.Position - Vector3.new(0,6,0))).lookVector, 6, Character) if hit ~= nil then floor = true end until floor end)) local spinval = 0 ss(Head,1,0.25) coroutine.resume(coroutine.create(function() for i = 0 , 1 , 0.1 do if floor then return end wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90-45*i), 0, math.rad(-45)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.new(0,-1*i,0) * CFrame.Angles(math.rad(-45-90*i), 0, math.rad(-45*i)) end end)) repeat wait(0.05) spinval = spinval + 0.1 local mesh = Instance.new("SpecialMesh") mesh.Scale = Vector3.new(5.1,5,5.1) mesh.MeshId = "http://www.roblox.com/asset/?id=20329976" local shell = Instance.new("Part") mesh.Parent = shell shell.Anchored = true shell.formFactor = 3 shell.Size = Vector3.new(0.2,0.2,0.2) shell.CFrame = Torso.CFrame * CFrame.Angles(0,spinval,0) + Vector3.new(0,-2.5,0) shell.Parent = swordholder shell.Transparency = 1 shell.BrickColor = handlecolor shell.CanCollide = false local mesh2 = Instance.new("SpecialMesh") mesh2.Scale = Vector3.new(8,8,8) mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557" local shell2 = Instance.new("Part") mesh2.Parent = shell2 shell2.Anchored = true shell2.formFactor = 3 shell2.Size = Vector3.new(0.2,0.2,0.2) shell2.CFrame = Torso.CFrame * CFrame.Angles(0,spinval,0) + Vector3.new(0,-2.5,0) shell2.Parent = swordholder shell2.Transparency = 1 shell2.BrickColor = bcolor shell2.CanCollide = false coroutine.resume(coroutine.create(function() for i = 0 ,1,0.2 do wait() shell.Transparency = 1-1*i shell2.Transparency = 1-1*i end for i = 0 ,1,0.2 do wait() shell.Transparency = 1*i shell2.Transparency = 1*i end shell.Parent = nil shell2.Parent = nil end)) until floor local ps = Instance.new("BodyPosition") ps.Parent = Torso ps.position = Torso.Position ps.maxForce = Vector3.new(1,1,1) * math.huge ps.P = ps.P * 2 coroutine.resume(coroutine.create(function() wait(0.05) ps.Parent = nil end)) for rep = 1,3 do srfs(Head,0.45+0.2*math.random(),0.5) ls(Head,0.15+0.2*math.random(),0.5) cs(Head,0.4+0.2*math.random(),0.5) end local meshb = Instance.new("SpecialMesh") meshb.Scale = Vector3.new(0,0,0) meshb.MeshId = "http://www.roblox.com/asset/?id=1038653" local shellb = Instance.new("Part") meshb.Parent = shellb shellb.Anchored = true shellb.formFactor = 3 shellb.Size = Vector3.new(1,1,1) shellb.CFrame = CFrame.new(Torso.Position) shellb.Parent = swordholder shellb.Transparency = 1 shellb.Reflectance = 0.25 shellb.BrickColor = bcolor shellb.CanCollide = false local meshb2 = Instance.new("SpecialMesh") meshb2.Scale = Vector3.new(0,0,0) meshb2.MeshType = "Sphere" local shellb2 = Instance.new("Part") meshb2.Parent = shellb2 shellb2.Anchored = true shellb2.formFactor = 3 shellb2.Size = Vector3.new(1,1,1) shellb2.CFrame = CFrame.new(Torso.Position) shellb2.Parent = swordholder shellb2.Transparency = 1 shellb2.Reflectance = 0.25 shellb2.BrickColor = bcolor shellb2.CanCollide = false local meshb3 = Instance.new("SpecialMesh") meshb3.Scale = Vector3.new(0,0,0) meshb3.MeshId = "http://www.roblox.com/asset/?id=1051557" local shellb3 = Instance.new("Part") meshb3.Parent = shellb3 shellb3.Anchored = true shellb3.formFactor = 3 shellb3.Size = Vector3.new(1,1,1) shellb3.CFrame = CFrame.new(Torso.Position+Vector3.new(0,10,0)) * CFrame.Angles(math.rad(180),0,0) shellb3.Parent = swordholder shellb3.Transparency = 1 shellb3.Reflectance = 0.25 shellb3.BrickColor = bcolor shellb3.CanCollide = false coroutine.resume(coroutine.create(function() local spinv = 0 for i = 0 ,1,0.05 do wait() spinv = spinv+0.5 shellb.Transparency = 1-1*i meshb.Scale = Vector3.new(25*i,25*i,25*i) shellb2.Transparency = 1-1*i meshb2.Scale = Vector3.new(50*i,5*i,50*i) shellb3.Transparency = 1-1*i meshb3.Scale = Vector3.new(40*i,40,40*i) shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0,spinval,0) end prcntdmg(-50) AoE(Torso.Position,25) for i = 0 ,1,0.05 do wait() spinv = spinv+0.5 shellb.Transparency = 1*i meshb.Scale = Vector3.new(25+25*i,25+25*i,25+25*i) shellb2.Transparency = 1*i meshb2.Scale = Vector3.new(50+25*i,5-5*i,50+25*i) shellb3.Transparency = 1*i meshb3.Scale = Vector3.new(40+40*i,40,40+40*i) shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0,spinval,0) end AoE(Torso.Position,35) returndmg() shellb3.Parent = nil shellb2.Parent = nil shellb.Parent = nil end)) for i = 0 , 1 , 0.1 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(45+45*i), 0, math.rad(-45)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.new(0,-1+1*i,0) * CFrame.Angles(math.rad(-135+90*i), 0, math.rad(-45+45*i)) end attack=false coroutine.resume(coroutine.create(function() recentlyjumped = true wait(5) recentlyjumped = false end)) end function Dash() attack = true for i = 0 , 1 ,0.1 do wait() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) end attack = false end function returnwelds() RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45)) RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45)) LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0) w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0)) RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0) RWL.C1 = CFrame.new(0.5, 1, 0) LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0) LWL.C1 = CFrame.new(-0.5, 1, 0) end function ob1d(mouse) hold = true if attack then return end if attacktype == 1 then Combo1() elseif attacktype == 2 then Combo2() elseif attacktype == 3 then Combo3() end end function ob1u(mouse) end buttonhold = false local last_attack = 0 function key(key) if attack then return end t = game:service("RunService").Stepped:wait() if key == "q" then Slash1() end if key == "e" then RoundSlash() end if key == "f" then LancerMode() end if key == "w" and (t - last_attack < 0.5) then buttonhold = true Dash() end if key == " " and (t - last_attack < 0.5) and (Torso.Velocity.y > -15) and not recentlyjumped then Jump() end last_attack = t end function key2(key) if key == "w" then buttonhold = false end end function s(mouse) repeat wait() until not attack repeat wait() until not ev.Value mouse.Button1Down:connect(function() ob1d(mouse) end) mouse.Button1Up:connect(function() ob1u(mouse) end) mouse.KeyDown:connect(key) mouse.KeyUp:connect(key2) equipanim() MMouse = mouse ev.Value = true end function ds(mouse) repeat wait() until not attack repeat wait() until ev.Value hideanim() wait(0.1) ev.Value = false end Bin.Selected:connect(s) Bin.Deselected:connect(ds)
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Decentralized Moneys
17 min ago | 0.42 KB
120 million in 5 years
1 hour ago | 0.12 KB
December smells like money
1 hour ago | 0.07 KB
Crypto Liquidity Pools
1 hour ago | 0.47 KB
Trustless Finance
1 hour ago | 0.51 KB
The Lunar Kitsune - Yohana Tsukiko
2 hours ago | 21.38 KB
Crypto profits are insane
2 hours ago | 0.12 KB
Decentralized Money
2 hours ago | 0.42 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!