Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1/5)
- local plr = game.Players.LocalPlayer
- local C = plr.Character
- local H = C.Humanoid
- local DebrisService = game:GetService('Debris')
- local LARM = C:WaitForChild("Left Arm")
- local RARM = C:WaitForChild("Right Arm")
- local LLEG = C:WaitForChild("Left Leg")
- local RLEG = C:WaitForChild("Right Leg")
- local Head = C.Head
- local Torso = C.Torso
- local Neck = Torso.Neck
- local Root = C.HumanoidRootPart
- local RootJ = Root.RootJoint
- local a = 0
- --[[ Base Varibles ]]--
- local cn = CFrame.new
- local aa = CFrame.Angles
- local ud = UDim2.new
- local c3 = Color3.new
- local sin = math.sin
- local sqrt = math.sqrt
- local rad = math.rad
- local cos = math.cos
- local acos = math.acos
- local abs = math.abs
- local asin = math.asin
- local atan = math.atan
- local atan2 = math.atan2
- local turn = true
- local sit = false
- local fist = false
- local running = false
- local emoting = false
- local attack = false
- local valid_blood = false
- local equiping = false
- local valid_hit = true
- local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
- local RootCF = aa(-1.57, 0, 3.14)
- local RHCF = aa(0, 1.6, 0)
- local LHCF = aa(0, -1.6, 0)
- local LH = Torso:WaitForChild("Left Hip")
- local RH = Torso:WaitForChild("Right Hip")
- local RSH = Torso:WaitForChild("Right Shoulder")
- local LSH = Torso:WaitForChild("Left Shoulder")
- RH.Parent = nil
- LH.Parent = nil
- RSH.Parent = nil
- LSH.Parent = nil
- local RL = Instance.new("Weld",Torso)
- RL.Name = "Right Hip"
- RL.Part0 = Torso
- RL.C0 = cn(0, 0, 0)
- RL.C1 = cn(0.5, 1, 0) * aa(0,1.6,0)
- RL.Part1 = RLEG
- local LL = Instance.new("Weld",Torso)
- LL.Name = "Left Hip"
- LL.Part0 = Torso
- LL.C0 = cn(0, 0, 0)
- LL.C1 = cn(-0.5, 1, 0) * aa(0,-1.6,0)
- LL.Part1 = LLEG
- local RA = Instance.new("Weld",Torso)
- RA.Name = "Right Shoulder"
- RA.Part0 = Torso
- RA.C0 = cn(1.5, 0.5, 0)
- RA.C1 = cn(0, 0.5, 0)
- RA.Part1 = RARM
- local LA = Instance.new("Weld",Torso)
- LA.Name = "Left Shoulder"
- LA.Part0 = Torso
- LA.C0 = cn(-1.5, 0.5, 0)
- LA.C1 = cn(0, 0.5, 0)
- LA.Part1 = LARM
- LL.C0 = LHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
- RL.C0 = RHCF * cn(0,-1,1)*aa(rad(0),rad(0),rad(0))
- local swait = function()
- game:GetService('RunService').Heartbeat:wait(0)
- end
- function CreateShake(RepeatedFor,OffsetDebounce)
- spawn(function()
- local Camera = g:GetService('Workspace').CurrentCamera
- for i=1,RepeatedFor do swait()
- Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
- math.random()*OffsetDebounce,
- math.random()*OffsetDebounce)
- end
- end)
- end
- function RayCast(Position, Direction, Range, Ignore)
- local ht = g:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore)
- return ht or nil
- end
- H:WaitForChild('Animator',true):Destroy()
- C:WaitForChild('Animate',true):Destroy() turn = false
- local jupei = true
- local time = 0
- plr.Chatted:Connect(function(message)
- if string.sub((message),1,6) == 'music ' then
- jupeimus.SoundId = 'rbxassetid://'.. string.sub((message),7)
- jupeimus:Play()
- elseif string.sub((message),1,4) == 'vol ' then
- jupeimus.Volume = string.sub((message),5)
- jupeimus:Play()
- elseif string.sub((message),1,4) == 'pos ' then
- time = string.sub((message),5)
- end
- end)
- attack = true
- H.JumpPower = 57
- H.WalkSpeed = 16
- jupeimus = Instance.new("Sound", Torso)
- jupeimus.Volume = 2
- jupeimus.Pitch = 1
- jupeimus.SoundId = "rbxassetid://3540280388"
- jupeimus.TimePosition = 0
- jupeimus.Looped = true
- jupeimus.Name = "Dance"
- spawn(function()
- while true do swait()
- a=a+1
- end
- end)
- jupeimus.TimePosition = time
- jupeimus:Play()
- for i=0,1,0.05 do swait()
- RL.C0 = RL.C0:lerp(RHCF * cn(rad(0 * cos(a/25)),rad(0 * cos(a/25))-0.93,1)*aa(rad(0),rad(0),rad(0)+rad(-0.5*cos(a/25))),.0)
- LL.C0 = LL.C0:lerp(LHCF * cn(rad(1 * cos(a/40)),rad(5 * cos(a/25))-0.93,1)*aa(rad(-20),rad(0)+rad(-1.5*cos(a/25)),rad(0)+rad(0.5*cos(a/25))),.15)
- RA.C0 = RA.C0:lerp(cn(1.49, 0.55 - rad(-2 * cos(a/25)), 0.4) * aa(rad(0),rad(0),rad(0)),.0)
- LA.C0 = LA.C0:lerp(cn(-1.49, 1 - rad(-4 * cos(a/10)), 0) * aa(rad(182.5),rad(5),rad(-50)),.15)
- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(0),rad(0*cos(a/25)),-0.05)* cn(0, 0, rad(2 * cos(a/25))) * aa(rad(0)+rad(1.5 * cos(a/25)), rad(0), rad(0)), .0)
- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(0)+rad(-5 * sin(a/25)), rad(0), rad(0)), .0)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement