Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Pink Guy's hood decal 130096499
- local function lerp(weld,beglerp,endlerp,speed)
- weld.C0 = beglerp:lerp(endlerp,speed)
- return weld.C0
- end
- local speed = 0.2
- local angle = 0
- local anglespeed = 2
- local armspeed = 0.2
- local armangle = 0
- local armanglespeed = 2
- local legspeed = 0.2
- local legangle = 0
- local leganglespeed = 2
- local on = true
- local damen = false
- local enabled = true
- local zenabled = 0
- local xenabled = 0
- local cenabled = 0
- local venabled = 0
- local eenabled = 0
- local Debounce = {}
- local TakeDamage = false
- local combo = 1
- local Player = game.Players.LocalPlayer
- local mouse = Player:GetMouse()
- local Char = Player.Character
- if Char:FindFirstChild("Shirt") ~= nil then
- Char.Shirt:Destroy()
- end
- if Char:FindFirstChild("Pants") ~= nil then
- Char.Pants:Destroy()
- end
- if Char:FindFirstChild("Body Colors") ~= nil then
- Char["Body Colors"]:Destroy()
- end
- local Human = Char.Humanoid
- local Sounds = {"rbxassetid://234365549","rbxassetid://200632211","rbxassetid://136007472","rbxassetid://136523485","rbxassetid://163619849","rbxassetid://240517975","rbxassetid://233856154","rbxassetid://401057781","rbxassetid://401057825","rbxassetid://401057895","rbxassetid://199149186","rbxasseid://199149269"}
- local Head = Char.Head
- local LUA = Char:findFirstChild("LeftUpperArm")
- LUA.BrickColor = BrickColor.new("Hot pink")
- local RUA = Char:findFirstChild("RightUpperArm")
- RUA.BrickColor = BrickColor.new("Hot pink")
- local LUL = Char:findFirstChild("LeftUpperLeg")
- LUL.BrickColor = BrickColor.new("Hot pink")
- local RUL = Char:findFirstChild("RightUpperLeg")
- RUL.BrickColor = BrickColor.new("Hot pink")
- local LLA = Char:findFirstChild("LeftLowerArm")
- LLA.BrickColor = BrickColor.new("Hot pink")
- local RLA = Char:findFirstChild("RightLowerArm")
- RLA.BrickColor = BrickColor.new("Hot pink")
- local LLL = Char:findFirstChild("LeftLowerLeg")
- LLL.BrickColor = BrickColor.new("Hot pink")
- local RLL = Char:findFirstChild("RightLowerLeg")
- RLL.BrickColor = BrickColor.new("Hot pink")
- local Neck = Head:findFirstChild("Neck")
- local UM = Char:findFirstChild("UpperTorso")
- UM.BrickColor = BrickColor.new("Hot pink")
- local HM = Char:findFirstChild("LowerTorso")
- HM.BrickColor = BrickColor.new("Hot Pink")
- local R = Char:findFirstChild("LowerTorso"):findFirstChild("Root"):Clone()
- local RJ = R:Clone()
- RJ.Parent = Char:findFirstChild("LowerTorso")
- local WL = Char:findFirstChild("LeftUpperArm"):findFirstChild("LeftShoulder")
- local WLS = WL:Clone()
- WL.Part0 = nil
- WLS.Parent = Char:findFirstChild("LeftUpperArm")
- local WR = Char:findFirstChild("RightUpperArm"):findFirstChild("RightShoulder")
- local WRS = WR:Clone()
- WR.Part0 = nil
- WRS.Parent = Char:findFirstChild("RightUpperArm")
- local WLE = Char:findFirstChild("LeftLowerArm"):findFirstChild("LeftElbow")
- local WLSE = WLE:Clone()
- WLE.Part0 = nil
- WLSE.Parent = Char:findFirstChild("LeftLowerArm")
- local WRE = Char:findFirstChild("RightLowerArm"):findFirstChild("RightElbow")
- WRSE = WRE:Clone()
- WRE.Part0 = nil
- WRSE.Parent = Char:findFirstChild("RightLowerArm")
- local WHL = Char:findFirstChild("LeftUpperLeg"):findFirstChild("LeftHip")
- local WLH = WHL:Clone()
- WHL.Part0 = nil
- WLH.Parent = Char:findFirstChild("LeftUpperLeg")
- local WHR = Char:findFirstChild("RightUpperLeg"):findFirstChild("RightHip")
- local WRH = WHR:Clone()
- WHR.Part0 = nil
- WRH.Parent = Char:findFirstChild("RightUpperLeg")
- local WHLK = Char:findFirstChild("LeftLowerLeg"):findFirstChild("LeftKnee")
- WLHK = WHLK:Clone()
- WHLK.Part0 = nil
- WLHK.Parent = Char:findFirstChild("LeftLowerLeg")
- local WHRK = Char:findFirstChild("RightLowerLeg"):findFirstChild("RightKnee")
- WRHK = WHRK:Clone()
- WHRK.Part0 = nil
- WRHK.Parent = Char:findFirstChild("RightLowerLeg")
- local LSC0 = WL.C0
- local LSC1 = WL.C1
- local RSC0 = WR.C0
- local RSC1 = WR.C1
- local LSEC0 = WLE.C0
- local LSEC1 = WLE.C1
- local RSEC0 = WRE.C0
- local RSEC1 = WRE.C1
- local LHC0 = WHL.C0
- local LHC1 = WHL.C1
- local RHC0 = WHR.C0
- local RHC1 = WHR.C1
- local LHKC0 = WHLK.C0
- local LHKC1 = WHLK.C1
- local RHKC0 = WHRK.C0
- local RHKC1 = WHRK.C1
- local WRJ = RJ
- local RJC0 = RJ.C0
- local RJC1 = RJ.C1
- local NC0 = Neck.C0
- local Run = game:GetService("RunService")
- local noweightprop = PhysicalProperties.new(0,0.3,0.5,0,0) --apply to parts you add by doing part.CustomPhysicalProperties = noweightprop
- Anim = Char:FindFirstChild("Animate")
- if Anim ~= nil then
- Anim:Destroy()
- end
- Animate = Human:FindFirstChild("Animator")
- if Animate ~= nil then
- Animate:Destroy()
- end
- local gui = Instance.new("ScreenGui",Player.PlayerGui)
- local skill1 = Instance.new("TextLabel",gui)
- skill1.Size = UDim2.new(0,150,0,50)
- skill1.Position = UDim2.new(0.75,0,0.75,0)
- skill1.Text = ""
- skill1.TextWrapped = true
- skill1.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- local skill1text = Instance.new("TextLabel",gui)
- skill1text.Size = UDim2.new(0,150,0,50)
- skill1text.Position = UDim2.new(0.75,0,0.75,0)
- skill1text.TextColor3 = Color3.new(1,1,1)
- skill1text.BackgroundTransparency = 1
- skill1text.Text = "[Z] \n Deafen"
- skill1text.TextWrapped = true
- skill1text.TextScaled = true
- skill1text.Font = "Antique"
- skill1text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- skill1img = Instance.new("ImageLabel",skill1)
- skill1img.Size = UDim2.new(0,0,1,0)
- skill1img.Image = "rbxassetid://48965808"
- skill1img.BackgroundColor3 = BrickColor.new("Bright red").Color
- local skill2 = Instance.new("TextLabel",gui)
- skill2.Size = UDim2.new(0,150,0,50)
- skill2.Position = UDim2.new(0.875,0,0.75,0)
- skill2.Text = ""
- skill2.TextWrapped = true
- skill2.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- local skill2text = Instance.new("TextLabel",gui)
- skill2text.Size = UDim2.new(0,150,0,50)
- skill2text.Position = UDim2.new(0.875,0,0.75,0)
- skill2text.TextColor3 = Color3.new(1,1,1)
- skill2text.BackgroundTransparency = 1
- skill2text.Text = "[X] \n Sax Slam"
- skill2text.TextWrapped = true
- skill2text.TextScaled = true
- skill2text.Font = "Antique"
- skill2text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- skill2img = Instance.new("ImageLabel",skill2)
- skill2img.Size = UDim2.new(0,0,1,0)
- skill2img.Image = "rbxassetid://48965808"
- skill2img.BackgroundColor3 = BrickColor.new("Bright red").Color
- local skill3 = Instance.new("TextLabel",gui)
- skill3.Size = UDim2.new(0,150,0,50)
- skill3.Position = UDim2.new(0.75,0,0.85,0)
- skill3.Text = ""
- skill3.TextWrapped = true
- skill3.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- local skill3text = Instance.new("TextLabel",gui)
- skill3text.Size = UDim2.new(0,150,0,50)
- skill3text.Position = UDim2.new(0.75,0,0.85,0)
- skill3text.TextColor3 = Color3.new(1,1,1)
- skill3text.BackgroundTransparency = 1
- skill3text.Text = "[C] \n Summon Memes"
- skill3text.TextWrapped = true
- skill3text.TextScaled = true
- skill3text.Font = "Antique"
- skill3text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- skill3img = Instance.new("ImageLabel",skill3)
- skill3img.Size = UDim2.new(0,0,1,0)
- skill3img.Image = "rbxassetid://48965808"
- skill3img.BackgroundColor3 = BrickColor.new("Bright red").Color
- local skill4 = Instance.new("TextLabel",gui)
- skill4.Size = UDim2.new(0,150,0,50)
- skill4.Position = UDim2.new(0.875,0,0.85,0)
- skill4.Text = ""
- skill4.TextWrapped = true
- skill4.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- local skill4text = Instance.new("TextLabel",gui)
- skill4text.Size = UDim2.new(0,150,0,50)
- skill4text.Position = UDim2.new(0.875,0,0.85,0)
- skill4text.TextColor3 = Color3.new(1,1,1)
- skill4text.BackgroundTransparency = 1
- skill4text.Text = "[V] \n Multi Sax"
- skill4text.TextWrapped = true
- skill4text.TextScaled = true
- skill4text.Font = "Antique"
- skill4text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- skill4img = Instance.new("ImageLabel",skill4)
- skill4img.Size = UDim2.new(0,0,1,0)
- skill4img.Image = "rbxassetid://48965808"
- skill4img.BackgroundColor3 = BrickColor.new("Bright red").Color
- local skill5 = Instance.new("TextLabel",gui)
- skill5.Size = UDim2.new(0,150,0,50)
- skill5.Position = UDim2.new(0.8125,0,0.65,0)
- skill5.Text = ""
- skill5.TextWrapped = true
- skill5.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- local skill5text = Instance.new("TextLabel",gui)
- skill5text.Size = UDim2.new(0,150,0,50)
- skill5text.Position = UDim2.new(0.8125,0,0.65,0)
- skill5text.TextColor3 = Color3.new(1,1,1)
- skill5text.BackgroundTransparency = 1
- skill5text.Text = "[E] \n Endure"
- skill5text.TextWrapped = true
- skill5text.TextScaled = true
- skill5text.Font = "Antique"
- skill5text.BackgroundColor3 = BrickColor.new("Medium stone grey").Color
- skill5img = Instance.new("ImageLabel",skill5)
- skill5img.Size = UDim2.new(0,0,1,0)
- skill5img.Image = "rbxassetid://48965808"
- skill5img.BackgroundColor3 = BrickColor.new("Bright red").Color
- local Meshes={
- Blast="20329976",
- Crown="1323306",
- Ring="3270017",
- Claw="10681506",
- Crystal="9756362",
- Coil="9753878",
- Cloud="1095708",
- Skull="4770583",
- SpinyShell="1080954",
- }
- local function nooutlines(part)
- part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
- end
- local function getmesh(mesh)
- return "rbxassetid://"..mesh
- end
- local 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
- Rwait()
- end
- p:Destroy()
- end)()
- return p
- end
- function Rwait(long)
- if long == 0 or long == nil then
- Run.RenderStepped:wait()
- else
- for i = 0,long do
- Run.RenderStepped:wait()
- end
- end
- end
- local 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
- end
- return Sound
- end
- local 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)
- coroutine.resume(coroutine.create(function()
- for i = 1, 3 do
- bodypos.position = bodypos.position +Vector3.new(0, 0.5, 0)
- Rwait()
- end
- end))
- end
- local function ChargeAt(Strength)
- local BV = Instance.new("BodyVelocity",HM)
- BV.maxForce = Vector3.new(1e5,0,1e5)
- BV.velocity = HM.CFrame.lookVector *Strength
- game.Debris:AddItem(BV,0.1)
- end
- local function Rwait(long)
- if long == 0 or long == nil then
- Run.RenderStepped:wait()
- else
- for i = 0,long do
- Run.RenderStepped:wait()
- end
- end
- end
- local function Damage(hit,mm,knockback,knockbackvelocity)
- if hit ~= nil and damen == true and hit.Parent ~= Char then
- local hum = GetHumanoid(hit.Parent)
- if hum ~= nil then
- if TakeDamage == true then
- hum:TakeDamage(mm)
- spawn(function()
- ShowDmg(mm)
- end)
- elseif TakeDamage == false then
- hum.Health = hum.Health - mm
- spawn(function()
- ShowDmg(mm)
- end)
- end
- PlaySound(hum.Torso,1,1,Sounds[math.random(8,12)])
- if knockback ~= nil and knockback ~= 0 then
- if knockbackvelocity == nil then
- local v = Instance.new("BodyVelocity",hum.Torso)
- v.maxForce = Vector3.new(1e5,1e5,1e5)
- v.P = 1e20
- v.velocity = HM.CFrame.lookVector *knockback
- game.Debris:AddItem(v,0.3)
- else
- local v = Instance.new("BodyVelocity",hum.Torso)
- v.maxForce = Vector3.new(1e5,1e5,1e5)
- v.P = 1e20
- v.velocity = KnockbackVelocity *knockback
- game.Debris:AddItem(v,0.3)
- end
- end
- end
- damen = false
- end
- end
- function GetDistance(Obj,Mag)
- local Bodies = {}
- for _,v in pairs(workspace:GetChildren()) do
- if v ~= Char then
- hum = findhum(v)
- if hum ~= nil and hum.Torso ~= nil then
- local Mag2 = (hum.Torso.Position - Obj.Position).magnitude
- if Mag2 < Mag then
- Bodies[#Bodies + 1] = v
- end
- end
- end
- end
- return Bodies,hum
- end
- --darkus stuff
- function GetHumanoid(Character)
- assert(Character, 'bad argument #1 to Character (Model expected, got nil)')
- local hum
- if Character == Char then return end
- if Character.ClassName == "Hat" or Character.ClassName == "Accessory" then
- for q,e in next, Character.Parent:children() do
- if e:isA'Humanoid' then
- hum = e
- end
- if e:isA'ForceField' then
- return
- end
- end
- else
- for q,e in next, Character:children() do
- if e:isA'Humanoid' then
- hum = e
- end
- if e:isA'ForceField' then
- return
- end
- end
- end
- return hum
- end
- function GetNear(Object, Distance)
- assert(Object, 'bad argument #1 to Object (Model expected, got nil)')
- local Distance = (Distance and Distance or 25)
- local rtn = {}
- for q,e in next, workspace:children() do
- local Hum = e:FindFirstChild'Humanoid'
- if Hum ~= nil then
- Tor = Hum.Torso
- end
- if Tor ~= nil then
- local dist = (Object.Position-Tor.Position).magnitude
- if dist <= Distance then
- rtn[#rtn+1] = e
- end
- end
- end
- return rtn
- end
- function DamageNear(Distance, Part, Damage, Knockback, DebounceTime, KnockbackVelocity)
- if damen == false then return end
- assert(Part, 'bad argument #2 to Part (Part expected, got nil)')
- assert(Part:isA'BasePart', ('bad argument #2 to Part (Part expected, got %s)'):format(Part.ClassName))
- local Distance = (Distance and Distance or 25)
- local Noobs = GetNear(Part, Distance)
- for nild, Character in next, Noobs do
- local Human = GetHumanoid(Character)
- if Human and not Debounce[Character] then
- -- no clue why they were using spawn but ok...
- Debounce[Character] = true
- if TakeDamage then
- if buff == true then
- Human:TakeDamage(Damage*2)
- spawn(function()
- ShowDmg(Damage*2)
- end)
- elseif buff == false then
- Human:TakeDamage(Damage)
- spawn(function()
- ShowDmg(Damage)
- end)
- end
- spawn(function()
- ShowDmg(Damage)
- end)
- else
- if buff == true then
- Human.Health = Human.Health - Damage*2
- spawn(function()
- ShowDmg(Damage*2)
- end)
- elseif buff == false then
- Human.Health = Human.Health - Damage
- spawn(function()
- ShowDmg(Damage)
- end)
- end
- end
- PlaySound(Human.Torso,1,1,Sounds[math.random(8,12)])
- if Knockback then
- if KnockbackVelocity == nil then
- local v = Instance.new("BodyVelocity", Human.Torso)
- v.maxForce = Vector3.new(1e5,1e5,1e5)
- v.P = 1e20
- v.velocity = HM.CFrame.lookVector * Knockback
- spawn(function()
- game:service'Debris':AddItem(v,0.3)
- end)
- else
- local v = Instance.new("BodyVelocity", Human.Torso)
- v.maxForce = Vector3.new(1e5,1e5,1e5)
- v.P = 1e20
- v.velocity = KnockbackVelocity * Knockback
- spawn(function()
- game:service'Debris':AddItem(v,0.3)
- end)
- end
- end
- coroutine.wrap(function()--spawn(function()
- wait(DebounceTime)
- Debounce[Character] = nil
- end)()--end)
- end
- end
- return
- end
- --
- local function Seizure()
- for i = 1,300 do
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),math.rad(math.random(-360,360)/10),math.rad(math.random(-360,0)/4)),armspeed*1.5)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),math.rad(math.random(-360,360)/10),math.rad(math.random(0,360)/4)),armspeed*1.5)
- lerp(WLSE,WLSE.C0,LSEC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),0,0),armspeed*1.5)
- lerp(WRSE,WRSE.C0,RSEC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),0,0),armspeed*1.5)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),math.rad(math.random(-360,360)/10),math.rad(math.random(-360,0)/10)),legspeed*1.5)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.rad(math.random(-360,360)/10),math.rad(math.random(-360,360)/10),math.rad(math.random(0,360)/10)),legspeed*1.5)
- lerp(WLHK,WLHK.C0,LHKC0 *CFrame.Angles(math.rad(math.random(-360,0)/10),0,0),legspeed*1.5)
- lerp(WRHK,WRHK.C0,RHKC0 *CFrame.Angles(math.rad(math.random(-360,0)/10),0,0),legspeed*1.5)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-2,0) *CFrame.Angles(math.pi/2,math.rad(math.random(-360,360)/10),0),speed*1.5)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed*1.5)
- Rwait()
- end
- end
- local click = mouse.Button1Down:connect(function()
- if on == false then return end
- if enabled == false then return end
- if combo == 1 and enabled == true then
- enabled = false
- --Move1()
- enabled = true
- combo = 1
- coroutine.wrap(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)()
- elseif combo == 2 and enabled == true then
- enabled = false
- --Move2()
- enabled = true
- combo = 3
- coroutine.wrap(function()
- Rwait(400)
- if combo ~= 1 and enabled == true then
- combo = 1
- end
- end)()
- elseif combo == 3 and enabled == true then
- enabled = false
- --Move3()
- enabled = true
- combo = 1
- end
- end)
- local keys = mouse.KeyDown:connect(function(key)
- key = key:lower()
- if enabled == false then return end
- if key == "z" and on == true and enabled == true and zenabled == 1 then
- zenabled = 0
- enabled = false
- Seizure()
- enabled = true
- elseif key == "x" and on == true and enabled == true and xenabled == 1 then
- xenabled = 0
- enabled = false
- --Skill2()
- enabled = true
- elseif key == "c" and on == true and enabled == true and cenabled == 1 then
- cenabled = 0
- enabled = false
- --Skill3()
- enabled = true
- elseif key == "v" and on == true and enabled == true and venabled == 1 then
- venabled = 0
- enabled = false
- --Skill4()
- enabled = true
- elseif key == "e" and on == true and enabled == true and eenabled == 1 then
- eenabled = 0
- enabled = false
- --Utility()
- enabled = true
- end
- end)
- local function Cast(Pos,Dir,Amp,IgnoreList)
- return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit*Amp), IgnoreList)
- end
- while true do
- local surface = Cast(HM.Position,(CFrame.new(HM.Position,HM.Position - Vector3.new(0,1,0))).lookVector,4,Char)
- if zenabled < 1 then
- zenabled = zenabled +0.01 *0.25
- else
- zenabled = 1
- end
- if xenabled < 1 then
- xenabled = xenabled +0.01 *0.2
- else
- xenabled = 1
- end
- if cenabled < 1 then
- cenabled = cenabled +0.01 *0.15
- else
- cenabled = 1
- end
- if eenabled < 1 then
- eenabled = eenabled +0.01 *0.1
- else
- eenabled = 1
- end
- if venabled < 1 then
- venabled = venabled +0.01 *0.15
- else
- venabled = 1
- end
- skill1img:TweenSize(UDim2.new(zenabled,0,1,0), "Out","Quad",0.1,false,nil)
- skill2img:TweenSize(UDim2.new(xenabled,0,1,0), "Out","Quad",0.1,false,nil)
- skill3img:TweenSize(UDim2.new(cenabled,0,1,0), "Out","Quad",0.1,false,nil)
- skill4img:TweenSize(UDim2.new(venabled,0,1,0), "Out","Quad",0.1,false,nil)
- skill5img:TweenSize(UDim2.new(eenabled,0,1,0), "Out","Quad",0.1,false,nil)
- if on == true then
- 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
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/2.5,0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/2.5,0,0),armspeed)
- lerp(WLSE,WLSE.C0,LSEC0,armspeed)
- lerp(WRSE,WRSE.C0,RSEC0,armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/2.1,0,-math.pi/20),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/2.1,0,math.pi/20),legspeed)
- lerp(WLHK,WLHK.C0,LHKC0 *CFrame.Angles(-math.pi/2,0,0),legspeed)
- lerp(WRHK,WRHK.C0,RHKC0 *CFrame.Angles(-math.pi/2,0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.new(0,-1.2,0) *CFrame.Angles(-math.pi/2.6,0,0),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/2.6+math.sin(angle)*0.05,0,0),speed)
- end
- if action == "Walk" and enabled == true and surface ~= nil then
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.sin(armangle),0,0),armspeed)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(-math.sin(armangle),0,0),armspeed)
- lerp(WLSE,WLSE.C0,LSEC0 *CFrame.Angles(math.pi/6+math.asin(-math.cos(armangle)*0.8),0,0),armspeed)
- lerp(WRSE,WRSE.C0,RSEC0 *CFrame.Angles(math.pi/6+math.asin(-math.cos(armangle)*0.8),0,0),armspeed)
- lerp(WLH,WLH.C0,LHC0 *CFrame.new(0,-math.sin(legangle)*0.2,0) *CFrame.Angles(math.asin(math.cos(legangle)),0,0),legspeed)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,math.sin(legangle)*0.2,0) *CFrame.Angles(-math.asin(math.cos(legangle)),0,0),legspeed)
- lerp(WLHK,WLHK.C0,LHKC0 *CFrame.Angles(-math.pi/4-math.asin(-math.cos(legangle)*0.4),0,0),legspeed)
- lerp(WRHK,WRHK.C0,RHKC0 *CFrame.Angles(-math.pi/4+math.asin(-math.cos(legangle)*0.4),0,0),legspeed)
- lerp(WRJ,WRJ.C0,RJC0 *CFrame.Angles(-math.pi/9,0,HM.RotVelocity.Y/20),speed)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.sin(angle*0.25)*0.17,0,0),speed)
- end
- if HM.Velocity.Y >= 5 and enabled == true and surface == nil then
- action = "Jump"
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/1.2,0,0),armspeed*1.5)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/1.2,0,0),armspeed*1.5)
- lerp(WLSE,WLSE.C0,LSEC0 *CFrame.Angles(math.pi/4,0,0),armspeed*1.5)
- lerp(WRSE,WRSE.C0,RSEC0 *CFrame.Angles(math.pi/4,0,0),armspeed*1.5)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(math.pi/4,0,-math.pi/6),legspeed*1.5)
- lerp(WRH,WRH.C0,RHC0 *CFrame.Angles(math.pi/4,0,math.pi/6),legspeed*1.5)
- lerp(WLHK,WLHK.C0,LHKC0 *CFrame.Angles(-math.pi/2.5,0,0),legspeed*1.5)
- lerp(WRHK,WRHK.C0,RHKC0 *CFrame.Angles(-math.pi/2.5,0,0),legspeed*1.5)
- lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(math.pi/5,0,0),speed*1.5)
- Rwait()
- elseif HM.Velocity.Y <= -5 and enabled == true and surface == nil then
- action = "Fall"
- lerp(WLS,WLS.C0,LSC0 *CFrame.Angles(math.pi/9,0,0),armspeed*1.5)
- lerp(WRS,WRS.C0,RSC0 *CFrame.Angles(math.pi/9,0,0),armspeed*1.5)
- lerp(WLSE,WLSE.C0,LSEC0,armspeed*1.5)
- lerp(WRSE,WRSE.C0,RSEC0,armspeed*1.5)
- lerp(WLH,WLH.C0,LHC0 *CFrame.Angles(-math.pi/10,0,0),legspeed*1.5)
- lerp(WRH,WRH.C0,RHC0 *CFrame.new(0,0.15,0) *CFrame.Angles(math.pi/8,0,0),legspeed*1.5)
- lerp(WLHK,WLHK.C0,LHKC0 *CFrame.Angles(-math.pi/5,0,0),legspeed*1.5)
- lerp(WRHK,WRHK.C0,RHKC0 *CFrame.Angles(-math.pi/7,0,0),legspeed*1.5)
- lerp(WRJ,WRJ.C0,RJC0,speed*1.5)
- lerp(Neck,Neck.C0,NC0 *CFrame.Angles(-math.pi/5,0,0),speed*1.5)
- 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 >= 2 then
- action = "Walk"
- end
- end
- Rwait()
- end
Add Comment
Please, Sign In to add comment