Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function lerp(weld,beglerp,endlerp,speed)
- weld.C0 = beglerp:lerp(endlerp,speed)
- return weld.C0
- end
- math.randomseed(tick())
- local speed = 0.15
- local angle = 0
- local anglespeed = 1.5
- local armspeed = 0.15
- local armangle = 0
- local armanglespeed = 1.5
- local legspeed = 0.15
- local legangle = 0
- local leganglespeed = 1.5
- ignore = {}
- idle = 0
- damen = true
- enabled = true
- fightstitans = false
- grabbing = false
- combo = 1
- Player = game.Players.LocalPlayer
- mouse = Player:GetMouse()
- Char = Player.Character
- if Char.Name ~= "Starmangamer05" then
- Instance.new("Message",workspace).Text = "Nigga, you tryna steal my script?"
- wait(0.3)
- while true do
- print("bye o/")
- end
- end
- for i,v in pairs(Char:GetChildren()) do
- if v.ClassName == "Hat" then
- v:Destroy()
- end
- end
- Human = Char.Humanoid
- Human.WalkSpeed = 6
- Sounds = {"rbxassetid://234365549","rbxassetid://234365573","rbxassetid://244578827","rbxassetid://138271815","rbxassetid://200632211","rbxassetid://132373574","rbxassetid://191345948","rbxassetid://429400881","rbxassetid://375692739"}
- Head = Char.Head
- Head:WaitForChild("face"):Destroy()
- Instance.new("Decal",Head).Texture = "http://www.roblox.com/asset/?id=449278124"
- LA = Char:findFirstChild("Left Arm")
- RA = Char:findFirstChild("Right Arm")
- LL = Char:findFirstChild("Left Leg")
- RL = Char:findFirstChild("Right Leg")
- T = Char:findFirstChild("Torso")
- LS = T:findFirstChild("Left Shoulder")
- RS = T:findFirstChild("Right Shoulder")
- LH = T:findFirstChild("Left Hip")
- RH = T:findFirstChild("Right Hip")
- Neck = T:findFirstChild("Neck")
- HM = Char:findFirstChild("HumanoidRootPart")
- RJ = Char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
- LA.Size = LA.Size *1.5
- RA.Size = RA.Size *1.5
- LL.Size = LL.Size *1.5
- RL.Size = RL.Size *1.5
- T.Size = T.Size *1.5
- HM.Size = HM.Size *1.5
- Head.Size = Head.Size *1.5
- WLS = Instance.new("Weld", T)
- WLS.C0 = CFrame.new(-1.5*1.5, 0.5*1.5, 0)
- WLS.C1 = CFrame.new(0, 0.5*1.5, 0)
- WLS.Part0 = T
- WLS.Part1 = LA
- WRS = Instance.new("Weld", T)
- WRS.Part0 = T
- WRS.Part1 = RA
- WRS.C0 = CFrame.new(1.5*1.5, 0.5*1.5, 0)
- WRS.C1 = CFrame.new(0*1.5, 0.5*1.5, 0)
- WLH = Instance.new("Weld", T)
- WLH.Part0 = T
- WLH.Part1 = LL
- WLH.C0 = CFrame.new(-0.5*1.5, -1*1.5, 0)
- WLH.C1 = CFrame.new(0, 1*1.5, 0)
- WRH = Instance.new("Weld", T)
- WRH.Part0 = T
- WRH.Part1 = RL
- WRH.C0 = CFrame.new(0.5*1.5, -1*1.5, 0)
- WRH.C1 = CFrame.new(0, 1*1.5, 0)
- LSC0 = WLS.C0
- RSC0 = WRS.C0
- LHC0 = WLH.C0
- RHC0 = WRH.C0
- WRJ = Instance.new("Weld", T)
- WRJ.Part0 = HM
- WRJ.Part1 = T
- RJC0 = RJ.C0
- RJC1 = RJ.C1
- WRJ.C0 = RJC0
- WRJ.C1 = RJC1
- N = Instance.new("Weld", T)
- N.Part0 = T
- N.Part1 = Head
- NC0 = CFrame.new(0, 1*1.75, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- N.C0 = NC0
- N.C1 = NC1
- Run = game:GetService("RunService")
- physicalprop = PhysicalProperties.new(0,0,0,0,0)
- Club = Instance.new("Part",Char)
- Club.CanCollide = false
- Club.Locked = true
- Club.TopSurface = 0
- Club.BottomSurface = 0
- Club.FormFactor = 3
- Club.Size = Vector3.new(2,1.6,8)
- Club.CustomPhysicalProperties = physicalprop
- ClubMesh = Instance.new("SpecialMesh",Club)
- ClubMesh.MeshId = "http://www.roblox.com/asset/?id=12215504"
- ClubMesh.TextureId = "http://www.roblox.com/asset/?id=12215477"
- ClubMesh.Scale = Vector3.new(2,2,2)
- ClubWeld = Instance.new("Weld",Club)
- ClubWeld.Part0 = RA
- ClubWeld.Part1 = Club
- ClubWeld.C0 = CFrame.new(-0.35,-1.8,-2.5) *CFrame.Angles(math.pi,0,math.pi/2)
- ClubWeld.C1 = CFrame.new(0,0.5,0)
- CC0 = ClubWeld.C0
- Meshes={
- Blast="20329976",
- Crown="1323306",
- Ring="3270017",
- Claw="10681506",
- Crystal="9756362",
- Coil="9753878",
- Cloud="1095708",
- Skull="4770583",
- }
- Human.MaxHealth = 15000
- wait(0.1)
- Human.Health = Human.MaxHealth
- function nooutlines(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- function getmesh(mesh)
- return "rbxassetid://"..mesh
- end
- function effect(part,brickcolor,size,cframe,trans,transincrement,scaleby,loopwait,meshid,meshtype)
- local p = Instance.new("Part", part or workspace)
- p.Anchored = true
- p.CanCollide = false
- p.FormFactor = Enum.FormFactor.Custom
- p.Material = "SmoothPlastic"
- p.CFrame = cframe
- p.BrickColor = brickcolor
- p.Size = Vector3.new(1,1,1)
- p.Transparency = trans
- nooutlines(p)
- local m = Instance.new("SpecialMesh",p)
- if meshtype ~= nil and meshid == nil then
- m.MeshType = meshtype
- end
- if meshtype == nil and meshid ~= nil then
- m.MeshId = getmesh(meshid)
- end
- m.Scale = size
- coroutine.wrap(function()
- for i = 0,loopwait,0.1 do
- p.CFrame = p.CFrame
- p.Transparency = p.Transparency +transincrement
- m.Scale = m.Scale + scaleby
- wait(1/60)
- end
- p:Destroy()
- end)()
- return p
- end
- PlaySound = function(part,volume,pitch,id,looped)
- local Sound = Instance.new("Sound", part)
- Sound.SoundId = id
- Sound.Pitch = pitch
- Sound.Volume = volume
- coroutine.wrap(function()
- wait()
- Sound:Play()
- if looped == nil then
- game.Debris:AddItem(Sound,10)
- end
- end)()
- if looped == true then
- Sound.Looped = true
- ThisSound = Sound
- end
- end
- function GetDistance(Obj,Mag)
- local Bodies = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v:FindFirstChild('Humanoid') and v:FindFirstChild('Torso') and v ~= Char then
- local Mag2 = (v.Torso.Position - Obj.Position).magnitude
- if Mag2 < Mag then
- Bodies[#Bodies + 1] = v
- end
- end
- end
- return Bodies
- end
- ArtificialHB = Instance.new("BindableEvent", script)
- ArtificialHB.Name = "Heartbeat"
- script:WaitForChild("Heartbeat")
- frame = 1 / 60
- tf = 0
- allowframeloss = false
- tossremainder = false
- lastframe = tick()
- script.Heartbeat:Fire()
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- if allowframeloss then
- script.Heartbeat:Fire()
- lastframe = tick()
- else
- for i = 1, math.floor(tf / frame) do
- script.Heartbeat:Fire()
- end
- lastframe = tick()
- end
- if tossremainder then
- tf = 0
- else
- tf = tf - frame * math.floor(tf / frame)
- end
- end
- end)
- local function Rwait(num)
- if num == 0 or num == nil then
- ArtificialHB.Event:wait()
- else
- for i = 0, num do
- ArtificialHB.Event:wait()
- end
- end
- end
- ShowDmg = function(totake)
- local modl = Instance.new("Model", workspace)
- modl.Name = tostring(totake)
- local prt = Instance.new("Part", modl)
- prt.CanCollide = false
- prt.BrickColor = BrickColor.Red()
- prt.Name = "Head"
- prt.CFrame = HM.CFrame *CFrame.new(0, 1.5, 0)
- prt.TopSurface = 0
- prt.BottomSurface = 0
- prt.FormFactor = 3
- prt.Size = Vector3.new(1, 0.2, 1)
- local bm = Instance.new("BlockMesh", prt)
- local hum = Instance.new("Humanoid", modl)
- hum.Health = 0
- hum.MaxHealth = 0
- hum.WalkSpeed = 0
- bodypos = Instance.new("BodyPosition", prt)
- bodypos.position = Head.Position +Vector3.new(0, 1, 0)
- bodypos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- game.Debris:AddItem(modl, 1)
- spawn(function()
- for i = 1, 3 do
- bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
- Rwait()
- end
- end)
- end
- function Damage(hit,mm,knockback)
- if hit ~= nil and hit.Parent ~= nil and damen == true and hit.Parent ~= Char and hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Parent:FindFirstChild("Humanoid").Health > 0 then
- if fightstitans == true then
- mm = mm*100
- hit.Parent.Humanoid:TakeDamage(mm)
- else
- hit.Parent.Humanoid:TakeDamage(mm)
- end
- if knockback ~= nil and knockback ~= 0 then
- local v = Instance.new("BodyVelocity",hit.Parent.Torso)
- v.maxForce = Vector3.new(2e4,0,2e4)
- v.P = 1e20
- v.velocity = HM.CFrame.lookVector *knockback
- game.Debris:AddItem(v,0.5)
- end
- spawn(function()
- ShowDmg(mm)
- end)
- damen = false
- end
- end
- --GetDistance and MagDamage was originally made by W8X, but fixed by samfun123.
- function MagDamage(magnitude,part,damg,knockback,ignoretime)
- if ignoretime == nil then
- ignoretime = 0.5
- end
- local Bodies = GetDistance(part,magnitude)
- for _, Body in pairs(Bodies) do
- if Body ~= nil and damen == true and Body.Humanoid and Body ~= Char and not ignore[Body] then
- ignore[Body] = true
- if fightstitans == true then
- damg = damg*100
- Body.Humanoid:TakeDamage(damg)
- else
- Body.Humanoid:TakeDamage(damg)
- end
- spawn(function()
- ShowDmg(damg)
- end)
- if knockback ~= nil and knockback >= 0 then
- local v = Instance.new("BodyVelocity",Body.Torso)
- v.maxForce = Vector3.new(1e4,0,1e4)
- v.P = 1e15
- v.velocity = Body.Torso.CFrame.lookVector *-knockback
- spawn(function()
- game.Debris:AddItem(v,0.3)
- end)
- end
- spawn(function()
- wait(ignoretime)
- ignore[Body] = false
- end)
- end
- end
- end
- function Slash1()
- for i = 1,30 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/1.2,-math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,-1) *CFrame.Angles(math.pi/7,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,math.pi/5),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- local BV = Instance.new("BodyVelocity",HM)
- BV.maxForce = Vector3.new(2e4,0,2e4)
- BV.velocity = HM.CFrame.lookVector *50
- game.Debris:AddItem(BV,0.2)
- PlaySound(Club,1,0.6,Sounds[1])
- damen = true
- for i = 1,30 do
- spawn(function()
- MagDamage(3,Club,math.random(18,25),50,1)
- end)
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-1) *CFrame.Angles(0,-math.pi/5,-math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,-1) *CFrame.Angles(math.pi/7,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/7,0,math.pi/5),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,-math.pi/5) *CFrame.Angles(math.pi/12,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damen = false
- end
- function Slash2()
- for i = 1,3 do
- damen = true
- PlaySound(Club,1,0.65,Sounds[2])
- for i = 0,1,0.05 do
- spawn(function()
- MagDamage(3,Club,math.random(20,25),30,1)
- end)
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/1.2,-math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/10),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi*i*2),speed)
- lerp(N,N.C0,NC0,speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damen = false
- end
- end
- function Slash3()
- for i = 1,20 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.5) *CFrame.Angles(math.pi/1.2,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(-math.pi/10,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/9,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damen = true
- PlaySound(Club,1,0.5,Sounds[1])
- local Ignore = {}
- for I_shall,ignore_this in pairs(workspace:GetChildren()) do
- if ignore_this:IsA("Model") then
- if ignore_this:FindFirstChild("Humanoid") then
- Ignore[#Ignore +1] = ignore_this
- end
- end
- end
- local hashit = false
- for i = 1,30 do
- if i >= 12 then
- local Ray = Ray.new(Club.Position + Vector3.new(0,1,0),Vector3.new(0,-3,0))
- local Hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
- if Hit ~= nil and hashit == false then
- hashit = true
- spawn(function()
- effect(HM,Hit.BrickColor,Vector3.new(),CFrame.new(pos),0,0.1,Vector3.new(2,2,2),1,Meshes.Blast,nil)
- end)
- spawn(function()
- MagDamage(10,Club,math.random(18,25),50,0.1)
- end)
- PlaySound(Head,0.2,0.3,Sounds[9])
- end
- end
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/5,0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/2,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,2.25,-1.5),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-2.25),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/6,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.Angles(0,math.pi/4,0) *CFrame.new(1.8,0,1.2),0.6)
- Rwait()
- end
- damen = false
- end
- function Kick()
- for i = 1,18 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/5,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/6,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- Rwait()
- end
- PlaySound(Head,1,1.3,Sounds[5])
- damen = true
- local damg = RL.Touched:connect(function(hit) Damage(hit,math.random(14,18),100) end)
- for i = 1,25 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/5,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1,-0.25) *CFrame.Angles(-math.pi/5,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/10,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- Rwait()
- end
- damen = false
- damg:disconnect()
- end
- function Knee()
- local BV = Instance.new("BodyVelocity",HM)
- BV.maxForce = Vector3.new(5e6,0,5e6)
- BV.velocity = HM.CFrame.lookVector *75
- game.Debris:AddItem(BV,0.2)
- PlaySound(Head,1,0.7,Sounds[5])
- damen = true
- local damg = RL.Touched:connect(function(hit) Damage(hit,math.random(14,18),100) end)
- for i = 1,25 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/6,0,-math.pi/16),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.25,-2) *CFrame.Angles(-math.pi/3,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.25) *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/10,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- Rwait()
- end
- damg:disconnect()
- end
- function Charge()
- local BV = Instance.new("BodyVelocity",HM)
- BV.maxForce = Vector3.new(5e6,0,5e6)
- BV.velocity = HM.CFrame.lookVector *75
- game.Debris:AddItem(BV,0.2)
- spawn(function()
- effect(HM,BrickColor.new("Institutional white"),Vector3.new(1,1,1),HM.CFrame *CFrame.Angles(math.pi/2,0,0),0,0.1,Vector3.new(0.5,0.5,0.5),1,Meshes.Blast,nil)
- end)
- PlaySound(Head,1,1.2,Sounds[6])
- damen = true
- for i = 1,50 do
- spawn(function()
- MagDamage(3,HM,math.random(20,30),80,0.5)
- end)
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/4,0,-math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/4,0,math.pi/4),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damen = false
- end
- function Roar()
- Human.WalkSpeed = 0
- for i = 0,1,0.1 do
- Club.Transparency = i
- Rwait()
- end
- if fightstitans == false then
- PlaySound(Head,1,1.7,Sounds[3])
- for i = 1,125 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.3) *CFrame.Angles(math.pi/1.6,0,math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.3) *CFrame.Angles(math.pi/1.6,0,-math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,1,-0.9),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,1,-0.9),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,1),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- spawn(function()
- Rwait(5)
- effect(HM,BrickColor.new("Really black"),Vector3.new(),HM.CFrame *CFrame.new(0,-3.5,0),0,0.1,Vector3.new(2,0.5,2),0.25,Meshes.Blast,nil)
- effect(HM,BrickColor.new("Really black"),Vector3.new(20,20,20),HM.CFrame,1,-0.2,Vector3.new(-5.5,-5.5,-5.5),0.25,nil,"Sphere")
- end)
- Rwait()
- end
- PlaySound(Head,1,0.7,Sounds[4])
- for i = 1,100 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.rad(math.random(30,60)),0,-math.rad(math.random(10,80))),armspeed*2)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.rad(math.random(30,60)),0,math.rad(math.random(10,80))),armspeed*2)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.rad(math.random(5,40))),legspeed*2)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(0,0,math.rad(math.random(5,40))),legspeed*2)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,1),speed*2)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.rad(math.random(20,40)),0,0),speed*2)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- spawn(function()
- Rwait(5)
- effect(HM,BrickColor.new("Really red"),Vector3.new(),HM.CFrame *CFrame.new(0,-3.5,0),0,0.1,Vector3.new(3,0.5,3),0.25,Meshes.Blast,nil)
- effect(HM,BrickColor.new("Really red"),Vector3.new(),HM.CFrame,0.7,0.05,Vector3.new(7,7,7),0.25,nil,"Sphere")
- end)
- Rwait()
- end
- fightstitans = true
- ClubMesh.VertexColor = Vector3.new(1,0,0)
- elseif fightstitans == true then
- PlaySound(Head,1,1.2,Sounds[7])
- for i = 1,40 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.3) *CFrame.Angles(math.pi/1.6,0,math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.3) *CFrame.Angles(math.pi/1.6,0,-math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,1,-0.9),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,1,-0.9),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,1),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- spawn(function()
- Rwait(5)
- spawn(function()
- effect(HM,BrickColor.new("Really red"),Vector3.new(),HM.CFrame *CFrame.new(0,-3.5,0),0,0.1,Vector3.new(4,4,4),0.25,Meshes.Blast,nil)
- effect(HM,BrickColor.new("Really red"),Vector3.new(22,22,22),HM.CFrame,1,-0.2,Vector3.new(-4,-4,-4),0.25,nil,"Sphere")
- end)
- end)
- Rwait()
- end
- fightstitans = false
- ClubMesh.VertexColor = Vector3.new(1,1,1)
- end
- for i = 1,0,-0.1 do
- Club.Transparency = i
- Rwait()
- end
- Human.WalkSpeed = 6
- end
- function Skydive()
- local BV = Instance.new("BodyVelocity",HM)
- BV.maxForce = Vector3.new(0,5e6,0)
- BV.velocity = Vector3.new(0,100,0)
- game.Debris:AddItem(BV,1)
- for i = 1,120 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.5) *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.5) *CFrame.Angles(math.pi/2,0,-math.pi/4),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/5,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.2) *CFrame.Angles(-math.pi/5,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/6,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- Rwait()
- end
- local hashit = false
- for i = 1,120 do
- if i >= 1 then
- local Ignore = {}
- for I_shall,ignore_this in pairs(workspace:GetChildren()) do
- if ignore_this:IsA("Model") then
- if ignore_this:FindFirstChild("Humanoid") then
- Ignore[#Ignore +1] = ignore_this
- end
- end
- end
- local Ray = Ray.new(Club.Position + Vector3.new(0,1,0),Vector3.new(0,-3,0))
- print(Club.Position)
- local Hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
- if Hit ~= nil and hashit == false then
- hashit = true
- spawn(function()
- effect(HM,Hit.BrickColor,Vector3.new(),CFrame.new(pos),0,0.1,Vector3.new(8,8,8),1,Meshes.Blast,nil)
- MagDamage(80,Club,math.random(40,50),50,0.6)
- end)
- PlaySound(Head,0.2,0.3,Sounds[9])
- end
- end
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-0.5) *CFrame.Angles(math.pi/8,0,math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-0.5) *CFrame.Angles(math.pi/8,0,-math.pi/4),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/3,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/3,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-1) *CFrame.Angles(math.pi/3,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/6,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- Rwait()
- end
- end
- function Grab()
- local dmgbx = LA.Touched:connect(function(hit) if grabbing == false and hit.Parent ~= nil and hit.Parent:FindFirstChild("Humanoid").Health >= 0 and hit.Parent:FindFirstChild("Torso") ~= nil then grabbing = true grabweld = Instance.new("Weld",T) grabweld.Part0 = LA grabweld.Part1 = hit.Parent.Torso grabweld.C0 = CFrame.new(0,-1.5,0) grabweld.C0 = grabweld.C0 *CFrame.Angles(-math.pi/2,math.pi,0) end end)
- for i = 1,30 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,math.pi/8),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/2,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/2,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/2,0,0) *CFrame.new(0,-1.5,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- if i == 29 then
- dmgbx:disconnect()
- end
- Rwait()
- end
- end
- function Throw()
- if grabweld.Part1 == nil then grabbing = false return end
- if grabweld == nil then grabbing = false return end
- for i = 1,12 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,-math.pi/4,-math.pi/2),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/8,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/2),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,math.pi/2),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- for i = 1,12 do
- if i == 6 then
- grabweld.Part1.Parent.Humanoid.PlatformStand = false
- grabbing = false
- end
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(0,0,-math.pi/2),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/8,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/2),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,math.pi/2),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- for i = 1,10 do
- if i == 8 then
- local BV = Instance.new("BodyVelocity",grabweld.Part1.Parent.Torso)
- BV.maxForce = Vector3.new(5e6,0,5e6)
- BV.velocity = HM.CFrame.lookVector *75
- game.Debris:AddItem(BV,0.2)
- grabweld:Destroy()
- end
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2.1,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(N,N.C0,NC0,speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- end
- function Devour()
- for i = 1,30 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.4,-math.pi/4,math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/10,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- if i == 28 then
- PlaySound(Head,1,1,Sounds[8])
- grabweld.Parent = nil
- if grabweld.Part1.Parent:FindFirstChild("Head") ~= nil then
- grabweld.Part1.Parent.Head:Destroy()
- end
- end
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- grabbing = false
- grabweld:Destroy()
- end
- function GroundSlam()
- damen = true
- for i = 0,1,0.1 do
- Club.Transparency = i
- Rwait()
- end
- for i = 1,30 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0,-1) *CFrame.Angles(math.pi/1.4,0,math.pi/8),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0,-1) *CFrame.Angles(math.pi/1.4,0,-math.pi/8),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,1,5) *CFrame.Angles(-math.pi/7,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- for i = 1,30 do
- if i == 15 then
- PlaySound(Head,1,0.7,Sounds[6])
- spawn(function()
- effect(HM,BrickColor.new("Institutional white"),Vector3.new(),HM.CFrame *CFrame.new(0,-3.5,0),0,0.1,Vector3.new(2,2,2),1,Meshes.Blast,nil)
- end)
- end
- if i > 15 then
- spawn(function()
- MagDamage(20,HM,math.random(20,40),1)
- end)
- end
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.5,0.5,-1) *CFrame.Angles(math.pi/1.1,0,math.pi/8),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(-0.5,0.5,-1) *CFrame.Angles(math.pi/1.1,0,-math.pi/8),armspeed)
- lerp(WLH,WLH.C0,LHC0,legspeed)
- lerp(WRH,WRH.C0,RHC0,legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-4) *CFrame.Angles(math.pi/2,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- for i = 1,0,-0.1 do
- Club.Transparency = i
- Rwait()
- end
- damen = false
- end
- function PunchFrenzy()
- for i = 0,1,0.1 do
- Club.Transparency = i
- Rwait()
- end
- for i = 1,5 do
- damen = true
- local damg = LA.Touched:connect(function(hit) spawn(function() Damage(hit,math.random(14,18),5) end) end)
- PlaySound(Head,1,0.65,Sounds[5])
- for i = 1,10 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0,0,-1) *CFrame.Angles(math.pi/2,0,0),armspeed*2)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,-math.pi/3),armspeed*2)
- lerp(WLH,WLH.C0,LHC0,legspeed*2)
- lerp(WRH,WRH.C0,RHC0,legspeed*2)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,-math.pi/5),speed*2)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,math.pi/4),speed*2)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),speed*2)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damg:disconnect()
- damen = true
- local damg = RA.Touched:connect(function(hit) spawn(function() Damage(hit,math.random(14,18),5) end) end)
- PlaySound(Head,1,0.6,Sounds[5])
- for i = 1,10 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed*2)
- lerp(WRS,WRS.C0,RSC0 *CFrame.new(0,0,-1) *CFrame.Angles(math.pi/2,0,0),armspeed*2)
- lerp(WLH,WLH.C0,LHC0,legspeed*2)
- lerp(WRH,WRH.C0,RHC0,legspeed*2)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(0,0,math.pi/4),speed*2)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,-math.pi/5),speed*2)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),speed*2)
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude >= 2 then
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- end
- Rwait()
- end
- damg:disconnect()
- end
- for i = 1,0,-0.1 do
- Club.Transparency = i
- Rwait()
- end
- end
- function Stompwave()
- for i = 0,1,0.1 do
- Club.Transparency = i
- Rwait()
- end
- for i = 1,30 do
- lerp(WLS,WLS.C0,LSC0,armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,-math.pi/6),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,-math.pi/4),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(1.5,1,0) *CFrame.Angles(0,0,-math.pi/8),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.1) *CFrame.Angles(-math.pi/4,0,math.pi/2),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- local hashit = false
- local Ignore = {}
- for I_shall,ignore_this in pairs(workspace:GetChildren()) do
- if ignore_this:IsA("Model") then
- if ignore_this:FindFirstChild("Humanoid") then
- Ignore[#Ignore +1] = ignore_this
- end
- end
- end
- for i = 1,20 do
- if i >= 1 then
- spawn(function()
- local Ray = Ray.new(RL.Position + Vector3.new(0,-1,0),Vector3.new(0,-0.5,0))
- local Hit,pos = workspace:FindPartOnRayWithIgnoreList(Ray, Ignore)
- if Hit ~= nil and hashit == false then
- hashit = true
- spawn(function()
- effect(HM,Hit.BrickColor,Vector3.new(),CFrame.new(pos),0,0.1,Vector3.new(1,1,1),1,Meshes.Blast,nil)
- for i = 0,50,5 do
- p = Instance.new("Part",Char)
- p.Anchored = true
- p.TopSurface = 10
- p.BottomSurface = 10
- p.LeftSurface = 10
- p.RightSurface = 10
- p.FrontSurface = 10
- p.BackSurface = 10
- p.BrickColor = Hit.BrickColor
- p.Material = Hit.Material
- p.FormFactor = 3
- p.Size = Vector3.new(3,3,3)
- p.CFrame = CFrame.new(pos) +HM.CFrame.lookVector *i *CFrame.new(-2,0,0)
- p.CFrame = p.CFrame *CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
- game.Debris:AddItem(p,0.5)
- p2 = Instance.new("Part",Char)
- p2.Anchored = true
- p2.TopSurface = 10
- p2.BottomSurface = 10
- p2.LeftSurface = 10
- p2.RightSurface = 10
- p2.FrontSurface = 10
- p2.BackSurface = 10
- p2.BrickColor = Hit.BrickColor
- p2.Material = Hit.Material
- p2.FormFactor = 3
- p2.Size = Vector3.new(3,3,3)
- p2.Transparency = 1
- --p2.CFrame = CFrame.new(pos) +HM.CFrame.lookVector *i *CFrame.Angles(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
- game.Debris:AddItem(p2,0.5)
- effect(HM,Hit.BrickColor,Vector3.new(),p.CFrame *CFrame.new(2,0,0),0,0.1,Vector3.new(0.1,1,0.1),1,nil,"Sphere")
- end
- end)
- spawn(function()
- MagDamage(10,LL,math.random(7,12),10,0.1)
- end)
- PlaySound(Head,0.2,0.3,Sounds[9])
- end
- end)
- end
- lerp(WLS,WLS.C0,LSC0,armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,0,math.pi/2),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(0,0,math.pi/10),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0.8,0.25,0) *CFrame.Angles(0,0,math.pi/5),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.3) *CFrame.Angles(math.pi/10,0,math.pi/2),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(0,0,-math.pi/2),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- for i = 1,0,-0.1 do
- Club.Transparency = i
- Rwait()
- end
- end
- click = mouse.Button1Down:connect(function()
- if enabled == false then return end
- if combo == 1 and enabled == true then
- enabled = false
- Slash1()
- enabled = true
- combo = 2
- spawn(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)
- elseif combo == 2 and enabled == true then
- enabled = false
- Slash2()
- enabled = true
- combo = 3
- spawn(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)
- elseif combo == 3 and enabled == true then
- enabled = false
- Slash3()
- enabled = true
- combo = 1
- spawn(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)
- end
- end)
- keys = mouse.KeyDown:connect(function(key)
- key = key:lower()
- if enabled == false then return end
- if key == string.char(50) then
- Human.WalkSpeed = 32
- action = "Run"
- end
- if key == "e" and enabled == true then
- idle = 1
- end
- if key == "z" and enabled == true then
- enabled = false
- if fightstitans == false then
- Kick()
- else
- Knee()
- end
- enabled = true
- end
- if key == "x" and enabled == true then
- enabled = false
- if fightstitans == false then
- Charge()
- else
- Skydive()
- end
- enabled = true
- end
- if key == "c" and enabled == true then
- enabled = false
- if fightstitans == false then
- GroundSlam()
- else
- PunchFrenzy()
- end
- enabled = true
- end
- if key == "v" and enabled == true then
- enabled = false
- if fightstitans == false then
- Stompwave()
- --else
- --Shockwave()
- end
- enabled = true
- end
- if key == "b" and enabled == true then
- enabled = false
- Roar()
- enabled = true
- end
- if key == "n" and enabled == true then
- if grabbing == false then
- enabled = false
- Grab()
- enabled = true
- elseif grabbing == true then
- enabled = false
- Throw()
- enabled = true
- end
- end
- if key == "m" and enabled == true and grabbing == true then
- enabled = false
- Devour()
- enabled = true
- end
- end)
- keyup = mouse.KeyUp:connect(function(key)
- key = key:lower()
- if enabled == false then return end
- if key == string.char(50) then
- Human.WalkSpeed = 6
- end
- end)
- function Cast(Pos,Dir,Amp,IgnoreList)
- return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
- end
- while true do
- if grabbing == true and grabweld.Part1 ~= nil and grabweld.Part1.Parent ~= nil then
- grabweld.Part1.Parent.Humanoid.PlatformStand = true
- grabweld.Part1.Parent.Humanoid:ChangeState(1)
- end
- if action ~= "Idle" then
- idle = 0
- end
- surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,8,Char)
- angle = (angle % 100) +anglespeed/10
- armangle = (armangle % 100) +armanglespeed/10
- legangle = (legangle % 100) +leganglespeed/10
- if action == "Idle" and enabled == true and surface ~= nil then
- if idle < 1 and grabbing == false then
- idle = idle +0.001
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/6+math.cos(armangle*0.25)*0.3,0,-math.pi/16),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.25+math.cos(legangle*0.25)*0.3,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.25+math.cos(legangle*0.25)*0.3,-0.3) *CFrame.Angles(math.pi/15,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.25-math.cos(angle*0.25)*0.3) *CFrame.Angles(math.pi/15,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.cos(angle*0.25)*0.3,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- elseif idle >= 1 and grabbing == false then
- idle = 1
- lerp(WLS,WLS.C0,LSC0 *CFrame.new(0.25,0,-0.5) *CFrame.Angles(math.pi/2,0,math.pi/4),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/5,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,2.25,-1.5),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/2,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-2.25),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/12+math.sin(angle*0.25)*0.1,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- elseif idle >= 1 and grabbing == true then
- idle = 1
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(0,-math.pi/5,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,2.25,-1.5),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(-math.pi/2,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-2.25),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.pi/12+math.sin(angle*0.25)*0.1,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0,0.6)
- elseif idle <= 1 and grabbing == true then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/3),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.25+math.cos(legangle*0.25)*0.3,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.25+math.cos(legangle*0.25)*0.3,-0.3) *CFrame.Angles(math.pi/15,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,-0.25-math.cos(angle*0.25)*0.3) *CFrame.Angles(math.pi/15,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(math.cos(angle*0.25)*0.3,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- end
- end
- if action == "Walk" and enabled == true and surface ~= nil then
- if grabbing == false then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.sin(armangle*0.5),math.cos(armangle*0.5)*0.5,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.05+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.05-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,math.cos(angle)*0.25) *CFrame.Angles(math.pi/10+math.cos(angle)*0.05,0,0),speed)
- lerp(N,N.C0,NC0,speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- elseif grabbing == true then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2,0,-math.pi/6),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25+math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10-math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle*0.5)*0.5,-0.25-math.sin(legangle*0.5)*0.5) *CFrame.Angles(-math.pi/10+math.sin(legangle*0.5)*0.5,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,0,math.cos(angle)*0.25) *CFrame.Angles(math.pi/10+math.cos(angle)*0.05,0,0),speed)
- lerp(N,N.C0,NC0,speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- end
- end
- if action == "Run" and enabled == true and surface ~= nil then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/3,0,-math.pi/8),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.pi/3,0,math.pi/8),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,-0.1*math.cos(legangle)*0.5,-0.25) *CFrame.Angles(-math.pi/10-math.sin(legangle*1.25),0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.1*math.cos(legangle)*0.5,-0.25) *CFrame.Angles(-math.pi/10+math.sin(legangle*1.25),0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/10+math.cos(angle*1.25)*0.025,0,0),speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/10+math.cos(angle*1.25)*0.025,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(3,0,-2.5) *CFrame.Angles(0,math.pi/2,0),0.6)
- end
- if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
- action = "Jump"
- idle = 0
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.5,-0.5) *CFrame.Angles(-math.pi/8,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0,speed)
- lerp(N,N.C0,NC0 *CFrame.Angles(-math.pi/8,0,0),speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- if HM.Velocity.Y <= -5 and enabled == true and surface == nil then
- action = "Fall"
- idle = 0
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(-math.pi/3,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2,0,math.pi/3),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/10,0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/4,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(math.pi/8,0,0),speed)
- lerp(N,N.C0,NC0,speed)
- lerp(ClubWeld,ClubWeld.C0,CC0 *CFrame.new(-2.8,0,-0.8) *CFrame.Angles(0,-math.pi/2.5,0),0.6)
- Rwait()
- end
- if Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 2 then
- action = "Idle"
- elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude <= 20 then
- action = "Walk"
- elseif Vector3.new(HM.Velocity.X,0,HM.Velocity.Z).magnitude > 20 then
- action = "Run"
- end
- Rwait()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement