Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
do local function QuaternionFromCFrame(cf) local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components() local trace = m00 + m11 + m22 if trace > 0 then local s = math.sqrt(1 + trace) local recip = 0.5/s return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5 else local i = 0 if m11 > m00 then i = 1 end if m22 > (i == 0 and m00 or m11) then i = 2 end if i == 0 then local s = math.sqrt(m00-m11-m22+1) local recip = 0.5/s return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip elseif i == 1 then local s = math.sqrt(m11-m22-m00+1) local recip = 0.5/s return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip elseif i == 2 then local s = math.sqrt(m22-m00-m11+1) local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip end end end local function QuaternionToCFrame(px, py, pz, x, y, z, w) local xs, ys, zs = x + x, y + y, z + z local wx, wy, wz = w*xs, w*ys, w*zs local xx = x*xs local xy = x*ys local xz = x*zs local yy = y*ys local yz = y*zs local zz = z*zs return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy)) end local function QuaternionSlerp(a, b, t) local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4] local startInterp, finishInterp; if cosTheta >= 0.0001 then if (1 - cosTheta) > 0.0001 then local theta = math.acos(cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((1-t)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = 1-t finishInterp = t end else if (1+cosTheta) > 0.0001 then local theta = math.acos(-cosTheta) local invSinTheta = 1/math.sin(theta) startInterp = math.sin((t-1)*theta)*invSinTheta finishInterp = math.sin(t*theta)*invSinTheta else startInterp = t-1 finishInterp = t end end return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp end function clerp(a,b,t) local qa = {QuaternionFromCFrame(a)} local qb = {QuaternionFromCFrame(b)} local ax, ay, az = a.x, a.y, a.z local bx, by, bz = b.x, b.y, b.z local _t = 1-t return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t)) end end do plr = game:service'Players'.LocalPlayer char = plr.Character mouse = plr:GetMouse() humanoid = char:findFirstChild("Humanoid") torso = char:findFirstChild("Torso") head = char.Head ra = char:findFirstChild("Right Arm") la = char:findFirstChild("Left Arm") rl = char:findFirstChild("Right Leg") ll = char:findFirstChild("Left Leg") rs = torso:findFirstChild("Right Shoulder") ls = torso:findFirstChild("Left Shoulder") rh = torso:findFirstChild("Right Hip") lh = torso:findFirstChild("Left Hip") neck = torso:findFirstChild("Neck") rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint") anim = char:findFirstChild("Animate") rootpart = char:findFirstChild("HumanoidRootPart") camera = workspace.CurrentCamera if anim then anim:Destroy() end local rm = Instance.new("Motor", torso) rm.C0 = CFrame.new(1, -1, 1) rm.C1 = CFrame.new(0, 0.5, 0) rm.Part0 = torso rm.Part1 = ra local lm = Instance.new("Motor", torso) lm.C0 = CFrame.new(-2, 2, 1.4) lm.C1 = CFrame.new(0, 3, 0) lm.Part0 = torso lm.Part1 = la local rlegm = Instance.new("Motor", torso) rlegm.C0 = CFrame.new(0.5, -1, 0) rlegm.C1 = CFrame.new(3, 1.5) rlegm.Part0 = torso rlegm.Part1 = rl local llegm = Instance.new("Motor", torso) llegm.C0 = CFrame.new(-0.5, -1, 0) llegm.C1 = CFrame.new(0, 1, 0) llegm.Part0 = torso llegm.Part1 = ll neck.C0 = CFrame.new(0, 1, 0) neck.C1 = CFrame.new(0, -0.5, 0) rj.C0 = CFrame.new() rj.C1 = CFrame.new() local sound = Instance.new("Sound", head) sound.SoundId = "http://www.roblox.com/asset/?id=130797915" sound.Volume = 0.8 sound.Looped = true for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end for _,v in pairs(head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end cup = Instance.new("PointLight", head) cup.Range = 100 cup.Color = Color3.new(255,0,0) local speed = 3 local angle = 2.4 local humanwalk = true local anglespeed = 4 rsc0 = rm.C0 lsc0 = lm.C0 llc0 = llegm.C0 rlc0 = rlegm.C0 neckc0 = neck.C0 local controllerService = game:GetService("ControllerService") local controller = controllerService:GetChildren()[1] controller.Parent = nil Instance.new("HumanoidController", game:service'ControllerService') Instance.new("SkateboardController", game:service'ControllerService') Instance.new("VehicleController", game:service'ControllerService') local controller = controllerService:GetChildren()[1] print("Made by jarredbcv, but credit goes to madiik for clerp") mouse.KeyDown:connect(function(k) if k == "q" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(64446449):children()[1].Parent = char sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=151444073" wait() sound:play() end end if k == "e" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(160709891):children()[1].Parent = char game:service'InsertService':LoadAsset(150182466):children()[1].Parent = head sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=142300879" wait() sound:play() end end if k == "r" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(161212509):children()[1].Parent = char game:service'InsertService':LoadAsset(158066137):children()[1].Parent = char game:service'InsertService':LoadAsset(16131017):children()[1].Parent = char game:service'InsertService':LoadAsset(150182466):children()[1].Parent = head sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=130758889" wait() sound:play() end end if k == "t" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(5161514):children()[1].Parent = char game:service'InsertService':LoadAsset(1235488):children()[1].Parent = char sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=139167869" wait() sound:play() end end if k == "y" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(128218044):children()[1].Parent = char game:service'InsertService':LoadAsset(46352929):children()[1].Parent = char game:service'InsertService':LoadAsset(7074944):children()[1].Parent = head sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=142486515" wait() sound:play() end end if k == "u" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(163491934):children()[1].Parent = char game:service'InsertService':LoadAsset(100982122):children()[1].Parent = char game:service'InsertService':LoadAsset(110288809):children()[1].Parent = head sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=146560757" wait() sound:play() end end if k == "p" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(16101765):children()[1].Parent = head h = Instance.new("Hat") p = Instance.new("Part") m = Instance.new("SpecialMesh") m.Scale = Vector3.new(1.07, 1.07, 1.07) m.MeshType = "FileMesh" m.MeshId = "http://www.roblox.com/asset/?id=19367193" m.Scale = Vector3.new(1.07, 1.07, 1.07) m.TextureId = "http://www.roblox.com/asset/?id=115999029" p.Parent = h p.Name = "Handle" p.formFactor = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.TopSurface = 0 p.Locked = true m.Parent = p h.AttachmentForward = Vector3.new (-0, -0, -1) h.AttachmentPos = Vector3.new(0, 0.3, 0.05) h.AttachmentRight = Vector3.new (1, 0, 0) h.AttachmentUp = Vector3.new (0, 1, 0) h.Parent = char sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=157518993" wait() sound:play() end end if k == "m" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(16101765):children()[1].Parent = head h = Instance.new("Hat") p = Instance.new("Part") m = Instance.new("SpecialMesh") m.Scale = Vector3.new(1.07, 1.07, 1.07) m.MeshType = "FileMesh" m.MeshId = "http://www.roblox.com/asset/?id=19367193" m.Scale = Vector3.new(1.07, 1.07, 1.07) m.TextureId = "http://www.roblox.com/asset/?id=72393530" p.Parent = h p.Name = "Handle" p.formFactor = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.TopSurface = 0 p.Locked = true m.Parent = p h.AttachmentForward = Vector3.new (-0, -0, -1) h.AttachmentPos = Vector3.new(0, 0.3, 0.05) h.AttachmentRight = Vector3.new (1, 0, 0) h.AttachmentUp = Vector3.new (0, 1, 0) h.Parent = char sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=149917859" wait() sound:play() end end if k == "n" then if not sound.IsPlaying then game:service'InsertService':LoadAsset(16101765):children()[1].Parent = head h = Instance.new("Hat") p = Instance.new("Part") m = Instance.new("SpecialMesh") m.Scale = Vector3.new(1.07, 1.07, 1.07) m.MeshType = "FileMesh" m.MeshId = "http://www.roblox.com/asset/?id=19367193" m.Scale = Vector3.new(1.07, 1.07, 1.07) m.TextureId = "http://www.roblox.com/asset/?id=118244522" p.Parent = h p.Name = "Handle" p.formFactor = 0 p.Size = Vector3.new(1, 1, 1) p.BottomSurface = 0 p.TopSurface = 0 p.Locked = true m.Parent = p h.AttachmentForward = Vector3.new (-0, -0, -1) h.AttachmentPos = Vector3.new(0, 0.3, 0.05) h.AttachmentRight = Vector3.new (1, 0, 0) h.AttachmentUp = Vector3.new (0, 1, 0) h.Parent = char sound:stop() sound.SoundId = "http://www.roblox.com/asset/?id=147384299" wait() sound:play() end end if string.byte(k) == 48 then humanoid.WalkSpeed = 34 end end) mouse.KeyUp:connect(function(k) if string.byte(k) == 48 then humanoid.WalkSpeed = 16 end end) while wait() do angle = (angle % 100) + anglespeed/10 -- i don't see any function getting called here mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10)) local rscf = rsc0 local lscf = lsc0 local rlcf = rlc0 local llcf = llc0 local rjcf = CFrame.new() local ncf = neckc0 local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0)) local hitz, enz = workspace:findPartOnRay(rayz, char) if not hitz then if sound.IsPlaying then sound:stop() end elseif humanoid.Sit then if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=151444073" then anglespeed = 2 ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142300879" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130758889" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=139167869" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142486515" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146560757" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157518993" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149917859" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=147384299" then anglespeed = 6 ncf = neckc0 * CFrame.Angles(math.pi/5-math.sin(angle)*0.1, 0, 0) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) else anglespeed = 1/2 ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) end elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=151444073" then anglespeed = 3 ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0) rscf = rsc0 * CFrame.Angles(-math.sin(angle)*.2, 0, math.sin(angle)*.2) lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0) rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5)) llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142300879" then anglespeed = 2 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0) rscf = rsc0 * CFrame.Angles(0, 0, math.pi/2+math.abs(math.sin(angle)*1)) lscf = lsc0 * CFrame.Angles(0, 0, -math.pi/2-math.abs(math.sin(angle)*1)) rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5)) llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=130758889" then anglespeed = 2 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(math.sin(angle)*2, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*.5, 0) rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), math.pi/20, -math.pi/20) lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*.5), -math.pi/20, math.pi/20) rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle)*0.2, math.sin(angle)*0.08, math.rad(2.5)) llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle)*0.2, -math.sin(angle)*0.08, -math.rad(2.5)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=139167869" then anglespeed = 1 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(math.sin(angle)*3, -1, 0) * CFrame.Angles(-math.pi/2, math.sin(angle)*-2, 0) rscf = rsc0 * CFrame.Angles(math.pi/1+math.sin(angle)*1.5, 0, 0) lscf = lsc0 * CFrame.Angles(math.pi/1-math.sin(angle)*1.5, 0, 0) rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle)*1.5, 0, 0) llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle)*1.5, 0, 0) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142486515" then anglespeed = 2 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.5,0, 0) rjcf = CFrame.new(0, 0, math.sin(angle)*3) * CFrame.Angles(0, math.sin(angle)*0.1, 0) rscf = rsc0 * CFrame.Angles(0, 0, -math.pi/20+math.sin(angle)*.75) lscf = lsc0 * CFrame.Angles(0, 0, math.pi/20+math.sin(angle)*.75) rlcf = rlc0 * CFrame.Angles(math.pi/20+math.sin(angle)*.75, 0, 0) llcf = llc0 * CFrame.Angles(math.pi/20-math.sin(angle)*.75, 0, 0) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=146560757" then anglespeed = 2 ncf = neckc0 * CFrame.Angles(0,0, 0) rjcf = CFrame.new(0, -math.abs(math.sin(angle))*1.5, 0) * CFrame.Angles(math.sin(angle)*2, 0, 0) rscf = rsc0 * CFrame.Angles(0, 0, 0) lscf = lsc0 * CFrame.Angles(0, 0, 0) rlcf = rlc0 * CFrame.Angles(0, 0, 0) llcf = llc0 * CFrame.Angles(0, 0, 0) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=157518993" then anglespeed = 7 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0) rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20, -math.pi/20) lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20, math.pi/20) rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.1, math.rad(2.5)) llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*1, -math.rad(2.5)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=149917859" then anglespeed = 7 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0) rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20, -math.pi/20) lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20, math.pi/20) rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.1, math.rad(2.5)) llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*1, -math.rad(2.5)) elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=147384299" then anglespeed = 7 ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3,0, 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*.5, 0) rscf = rsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), math.pi/20, -math.pi/20) lscf = lsc0 * CFrame.Angles(math.pi/3+math.abs(math.sin(angle)*1), -math.pi/20, math.pi/20) rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.1, math.rad(2.5)) llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*1, -math.rad(2.5)) else if humanwalk then anglespeed = 1/4 ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0) rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0) rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0) lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0) rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5)) llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5)) else anglespeed = 1/2 ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08) rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15)) lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15)) rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20)) llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20)) end end elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then if sound.IsPlaying then sound:stop() for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end for _,v in pairs(head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end end if humanwalk then anglespeed = 34 ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0) rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(math.pi/24, -mvmnt*.02, 0) rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02) lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02) rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5)) llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5)) else anglespeed = 4 ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0) rjcf = CFrame.new(0, -1.5+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9, math.sin(mvmnt/2)*0.05, 0) rscf = rsc0 * CFrame.new(-.45, 0.2, -.4+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(angle)*0.7, 0, math.rad(5)) lscf = lsc0 * CFrame.new(.45, 0.2, .1-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2+math.sin(-angle)*0.7, 0, -math.rad(5)) rlcf = rlc0 * CFrame.new(0, 13, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*10.5) llcf = llc0 * CFrame.new(0, 0, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(angle)*.6, 0, -math.abs(mvmnt)*0.025) end elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then if sound.IsPlaying then sound:stop() for _,v in pairs(char:GetChildren()) do if v.ClassName=="Hat" then v:remove() end end for _,v in pairs(head:GetChildren()) do if v.ClassName=="Decal" then v:remove() end end end if humanwalk then anglespeed = 5 ncf = neckc1 * CFrame.Angles(-math.pi/19, math.sin(angle)*.04, 0) rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(0, -math.sin(angle)*.08, 0) rscf = rsc0 * CFrame.new(0, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/18+math.sin(angle)*1.5, 0, -math.abs(mvmnt)*0.02) lscf = lsc0 * CFrame.new(1.2, -1, .3-math.abs(mvmnt)*1.125) * CFrame.Angles(math.pi/18+math.sin(-angle)*1.5, 0, math.abs(mvmnt)*0.02) rlcf = rlc0 * CFrame.new(0, 0, -.6+math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(-angle)*1.3, 0, math.rad(.5)) llcf = llc0 * CFrame.new(0, 0, -math.abs(mvmnt)*0.125) * CFrame.Angles(-math.pi/18+math.sin(angle)*1.3, 0, -math.rad(.5)) else anglespeed = 5.5 ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0) rjcf = CFrame.new(0, -1.3+math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/1.9+math.abs(mvmnt/2)*0.1, 0, 0) rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5)) lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5)) rlcf = rlc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, math.abs(mvmnt)*0.025) llcf = llc0 * CFrame.new(0, .3-math.abs(mvmnt)*0.125, .3-math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*1.4, 0, -math.abs(mvmnt)*0.025) end end rm.C0 = clerp(rm.C0,rscf,speed) lm.C0 = clerp(lm.C0,lscf,speed) rj.C0 = clerp(rj.C0,rjcf,speed) neck.C0 = clerp(neck.C0,ncf,speed) rlegm.C0 = clerp(rlegm.C0,rlcf,speed) llegm.C0 = clerp(llegm.C0,llcf,speed) end end
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
π¨ QUICK $1,500 IN 2 HOURS β π―
JavaScript | 1 min ago | 0.67 KB
π₯π₯ FREE 2,000$ FROM SWAPZONE π₯π₯
JavaScript | 2 min ago | 0.67 KB
β QUICK $1,500 IN 2 HOURS β
JavaScript | 6 min ago | 0.67 KB
ββ Free Crypto Method β ββ
JavaScript | 6 min ago | 0.67 KB
ββ FREE BTC GUIDE β Working ββ
JavaScript | 10 min ago | 0.67 KB
π―π― +50,000$ in 1 monthβ π―π―
JavaScript | 12 min ago | 0.67 KB
ββ INSTANT MONEY EXPLOIT ββ β
JavaScript | 15 min ago | 0.67 KB
β‘ Earn 8,000$ Monthly Leaked Guide π―β
JavaScript | 17 min ago | 0.67 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!