Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --ok--
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
- do
- script.Parent = owner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
- local function NewFakeEvent()
- local Bind = Instance.new("BindableEvent")
- local Fake;Fake = {Connections = {},
- fakeEvent=true;
- Connect=function(self,Func)
- Bind.Event:connect(Func)
- self.Connections[Bind] = true
- return setmetatable({Connected = true},{
- __index = function (self,Index)
- if Index:lower() == "disconnect" then
- return function() Fake.Connections[Bind] = false;self.Connected = false end
- end
- return Fake[Index]
- end;
- __tostring = function() return "Connection" end;
- })
- end}
- Fake.connect = Fake.Connect;return Fake;
- end
- local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
- local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- local function TriggerEvent(self,Event,...)
- local Trigger = Mouse[Event]
- if Trigger and Trigger.fakeEvent and Trigger.Connections then
- for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
- end
- end
- Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy.Name ~= owner.Name then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
- UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],owner.Character)
- end
- RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- local Sandbox = function (Thing)
- if Thing:IsA("Player") then
- local RealPlayer = Thing
- return setmetatable({},{
- __index = function (self,Index)
- local Type = type(RealPlayer[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return RealPlayer[Index](RealPlayer,...) end
- end
- return RealPlayer[Index]
- end;
- __tostring = function(self) return RealPlayer.Name end
- })
- end
- end
- if RealGame[Index] then
- local Type = type(RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return Sandbox(owner) end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return RealGame:GetService(Service).Name end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = RealGame:GetService(Service)
- local Type2 = type(Index2)
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return RealGame:GetService(Service)
- end
- end
- return function (self,...) return RealGame[Index](RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return RealGame[Index]
- end
- end
- return nil
- end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
- --darkheart script--
- --ok--
- plr = owner
- mouse = plr:GetMouse()
- char = plr.Character
- Character = char
- anim = char.Animate
- anim:Destroy()
- torso = char.Torso
- lefta = char["Left Arm"]
- righta = char["Right Arm"]
- leftl = char["Left Leg"]
- rightl = char["Right Leg"]
- Root=Character["HumanoidRootPart"]
- position = nil
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- walking = false
- jumping = false
- attacking = false
- firsttime = false
- tauntdebounce = false
- position = nil
- MseGuide = true
- running = false
- settime = 0
- sine = 0
- t = 0
- ws = 14
- change = 1
- combo1 = true
- dancing = false
- equip = false
- dgs = 75
- combo2 = false
- switch1 = true
- switch2 = false
- firsttime2 = false
- combo3 = false
- RunSrv = game:GetService("RunService")
- removeuseless = game:GetService("Debris")
- --character--
- spawn(function()
- while wait() do
- Head.BrickColor = BrickColor.new("Really black")
- RightArm.BrickColor = BrickColor.new("Really black")
- LeftArm.BrickColor = BrickColor.new("Really black")
- Torso.BrickColor = BrickColor.new("Really black")
- RightLeg.BrickColor = BrickColor.new("Really black")
- LeftLeg.BrickColor = BrickColor.new("Really black")
- end
- end)
- for i,v in pairs(Character:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Accessory") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Hair") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Pants") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("Graphic Shirt") then
- v:Destroy()
- end
- end
- for i,v in pairs(Character:children()) do
- if v:IsA("GraphicShirt") then
- v:Destroy()
- end
- end
- for _,v in pairs(Character:children()) do
- if v:IsA("Shirt") then
- v.ShirtTemplate = "rbxassetid://0"
- elseif v:IsA("Pants") then
- v.PantsTemplate = "rbxassetid://0"
- elseif v:IsA("ShirtGraphic") then
- v:Remove()
- wait(.1)
- Torso.roblox:Remove()
- elseif v:IsA("Accessory") then
- v:Remove()
- end
- end
- Head.face.Texture = "http://www.roblox.com/asset/?id=2994872693"
- --smooth--
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- function ray(pos, dir, rang, ignoredesc)
- return workspace:FindPartOnRay(Ray.new(pos, dir.unit * rang), ignoredesc)
- end
- function swait(num)
- if num == 0 or num == nil then
- game:service("RunService").Stepped:wait(0)
- else
- for i = 0, num do
- game:service("RunService").Stepped:wait(0)
- end
- end
- end
- hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
- --attack--
- mouse.Button1Down:connect(function()
- if attacking == false then
- attacking = true
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0 + 0.2) * CFrame.Angles(-90,0,math.rad(0)),.6 + .2)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -3 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(31)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(10 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(10 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
- function DMG(hit)
- hah = hit.Parent
- hahtorso = hah.Torso
- hahhead = hah.Head
- haharm1 = hah["Left Arm"]
- haharm2 = hah["Right Arm"]
- hahleg1 = hah["Left Leg"]
- hahleg2 = hah["Right Leg"]
- hahtorso.Anchored = true
- wait(0.5)
- hahtorso.Transparency = 0.2
- hahhead.Transparency = 0.2
- haharm1.Transparency = 0.2
- haharm2.Transparency = 0.2
- hahleg1.Transparency = 0.2
- hahleg2.Transparency = 0.2
- wait(0.05)
- hahtorso.Transparency = 0.5
- hahhead.Transparency = 0.5
- haharm1.Transparency = 0.5
- haharm2.Transparency = 0.5
- hahleg1.Transparency = 0.5
- hahleg2.Transparency = 0.5
- wait(0.05)
- hahtorso.Transparency = 0.7
- hahhead.Transparency = 0.7
- haharm1.Transparency = 0.7
- haharm2.Transparency = 0.7
- hahleg1.Transparency = 0.7
- hahleg2.Transparency = 0.7
- wait(0.05)
- hahtorso.Transparency = 1
- hahhead.Transparency = 1
- haharm1.Transparency = 1
- haharm2.Transparency = 1
- hahleg1.Transparency = 1
- hahleg2.Transparency = 1
- hahtorso:Destroy()
- end
- lemon = Instance.new("Part")
- lemon.Parent = RightArm
- lemon.Name = "TPOSELEMONTXT"
- lemon.Anchored = false
- lemon.CanCollide = false
- lemon.Size = Vector3.new(2.5, 2.5, 2.5)
- lemon.BrickColor = BrickColor.new("Bright red")
- lemon.Material = "Neon"
- lemon.Transparency = 0.7
- lemon.Touched:connect(function(hit)
- hah = hit.Parent
- hahtorso = hah.Torso
- hahhead = hah.Head
- haharm1 = hah["Left Arm"]
- haharm2 = hah["Right Arm"]
- hahleg1 = hah["Left Leg"]
- hahleg2 = hah["Right Leg"]
- hahtorso.Anchored = true
- wait(0.5)
- hahtorso.Transparency = 0.2
- hahhead.Transparency = 0.2
- haharm1.Transparency = 0.2
- haharm2.Transparency = 0.2
- hahleg1.Transparency = 0.2
- hahleg2.Transparency = 0.2
- wait(0.05)
- hahtorso.Transparency = 0.5
- hahhead.Transparency = 0.5
- haharm1.Transparency = 0.5
- haharm2.Transparency = 0.5
- hahleg1.Transparency = 0.5
- hahleg2.Transparency = 0.5
- wait(0.05)
- hahtorso.Transparency = 0.7
- hahhead.Transparency = 0.7
- haharm1.Transparency = 0.7
- haharm2.Transparency = 0.7
- hahleg1.Transparency = 0.7
- hahleg2.Transparency = 0.7
- wait(0.05)
- hahtorso.Transparency = 1
- hahhead.Transparency = 1
- haharm1.Transparency = 1
- haharm2.Transparency = 1
- hahleg1.Transparency = 1
- hahleg2.Transparency = 1
- hahtorso:Destroy()
- end)
- wlemon = Instance.new("Weld")
- wlemon.Parent = lemon
- wlemon.Part0 = lemon
- wlemon.Part1 = RightArm
- wlemon.C0 = CFrame.new(0, 0.85, 0)
- mlemon = Instance.new("SpecialMesh")
- mlemon.MeshType = "Sphere"
- wait(0.125)
- lemon.Transparency = 0.5
- wait(0.125)
- lemon.Transparency = 0.2
- wait(0.3)
- attacking = false
- wlemon:Destroy()
- mlemon:Destroy()
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3 + 0.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
- lemon.Transparency = 0.5
- wait(0.001)
- lemon.Transparency = 0.7
- wait(0.001)
- lemon:Destroy()
- swait()
- end
- end)
- --idk--
- coil = Instance.new("Part")
- coil.Parent = torso
- coil.Transparency = 1
- coil.Position = torso.Position
- coil.CanCollide = false
- coil.BrickColor = BrickColor.new("Royal Purple")
- mcoil = Instance.new("SpecialMesh")
- mcoil.Parent = coil
- mcoil.MeshId = "rbxassetid://16606212"
- mcoil.Scale = Vector3.new(5, 5, 0.4)
- wcoil = Instance.new("Weld")
- wcoil.Parent = coil
- wcoil.Part0 = coil
- wcoil.Part1 = torso
- wcoil.C0 = CFrame.new(0, 0, 1.5)
- wcoil.C1 = CFrame.Angles(520, 0, 0)
- --anim--
- checks1 = coroutine.wrap(function() -------Checks
- while true do
- hf = ray(Root.Position,(CFrame.new(Root.Position,Root.Position+Vector3.new(0,-1,0))).lookVector,3*3,Character)
- if Root.Velocity.y > 1 then
- position = "Jump"
- elseif Root.Velocity.y < -1 then
- position = "Falling"
- elseif Root.Velocity.Magnitude < 2 then
- position = "Idle"
- elseif Root.Velocity.Magnitude > 2 then
- position = "Walking"
- elseif Root.Velocity.Magnitude > 20 then
- position = "Running"
- else
- end
- wait()
- end
- end)
- checks1()
- local anims = coroutine.wrap(function()
- while true do
- settime = 0.05
- sine = sine + change
- if position == "Jump" and attacking == false then
- change = 1
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.1)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.1)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3 + 0.1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.4,.1,-.2) * CFrame.Angles(math.rad(20),math.rad(-3),math.rad(-4)), 0.2)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.0, .9) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)
- elseif position == "Falling" and attacking == false then
- change = 1
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3 + 0.1, 0) * CFrame.Angles(math.rad(15), math.rad(0), math.rad(0)), 0.15)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(4), math.rad(0)), 0.2)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(8), math.rad(-4), math.rad(0)), 0.2)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(45)), 0.2)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.5,.94 + .02 * math.sin(sine/12),-0) * CFrame.Angles(math.rad(28 + 5 * math.sin(sine/12)),math.rad(0),math.rad(-45)), 0.2)
- elseif position == "Walking" and attacking == false and running == false then
- change = 1.2
- walking = true
- spin = false
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-90)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(90)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3 + 0.1 * 0.6*-math.sin(sine/5.5), 0) * CFrame.Angles(math.rad(0), math.rad(0* -math.sin(sine/11)), math.rad(0) + Root.RotVelocity.Y / 30, math.cos(0 * math.cos(sine/0))), 0.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(70 * -math.sin(sine/5000)), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(70 * -math.sin(sine/5000)), math.rad(0), math.rad(10)), 0.1)
- elseif position == "Idle" and attacking == false and running == false then
- change = .5
- spin = true
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 3 + 0.1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)),math.rad(0),math.rad(0)),.3)
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-.5,1.98,0) * CFrame.Angles(0,0,math.rad(-75)),.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.5,1.98,0) * CFrame.Angles(0,0,math.rad(75)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.3, 2 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(-10)), 0.1)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.3, 2.0 - .1 * math.sin(sine/12), 0) * CFrame.Angles(math.rad(6 * -math.sin(sine/12)), math.rad(0), math.rad(10)), 0.1)
- elseif position == "Running" and attacking == false then
- change = 1
- for i,v in pairs(Torso:GetChildren()) do if v:IsA("Sound") then v:Remove() end end
- RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(0, .5, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.3)
- LEFTARMLERP.C1 = LEFTARMLERP.C1:lerp(CFrame.new(-1.24+.6*math.sin(sine/4)/1.4, 0.54, 0-0.8*math.sin(sine/4))*CFrame.Angles(math.rad(6+140*math.sin(sine/4)/1.2), math.rad(0), math.rad(20+70*math.sin(sine/4))), 0.3)
- LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0,.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),.3)
- ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, -.2, 0) * CFrame.Angles(math.rad(-20 - 0 * math.sin(sine/4)), math.rad(0 + 6 * math.sin(sine/4)), math.rad(0) + Root.RotVelocity.Y / 30, math.sin(10 * math.sin(sine/4))), 0.3)
- RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*-math.sin(sine/4)),.3)
- RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.5, 1.6+0.1*math.sin(sine/4),.7*-math.sin(sine/4)) * CFrame.Angles(math.rad(15+ -50 * math.sin(sine/4)),0,0),.3)
- LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,-.2 + .5*math.sin(sine/4)),.3)
- LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.5, 1.6-0.1*math.sin(sine/4),.7*math.sin(sine/4)) * CFrame.Angles(math.rad(15 + 50 * math.sin(sine/4)),0,0),.3)
- end
- swait()
- end
- end)
- anims()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement