Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function nwPrt(prnt,siz,cf,col)
- local prt=Instance.new("Part")
- prt.Parent=prnt
- prt.FormFactor=3
- prt.Name="Part"
- prt.Size=siz
- prt.CanCollide=false
- prt.Anchored=true
- prt.Locked=true
- prt.TopSurface=0
- prt.BottomSurface=0
- prt:BreakJoints()
- prt.CFrame=cf
- prt.Material="SmoothPlastic"
- prt.BrickColor=BrickColor.new(col)
- m=Instance.new("SpecialMesh",prt)
- m.MeshType=6
- return prt
- end
- --
- function wave(cf)
- local p1=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
- local m1=p1.Mesh
- m1.MeshId="rbxassetid://3270017"
- local p2=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
- local m2=p2.Mesh
- m2.MeshId="rbxassetid://3270017"
- m2.Scale=Vector3.new(0.1,0.1,0.1)
- local p3=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
- local m3=p3.Mesh
- m3.MeshId="rbxassetid://3270017"
- m3.Scale=Vector3.new(2,2,2)
- coroutine.wrap(function()
- for i=1,20 do
- m1.Scale=Vector3.new(m1.Scale.X+1,m1.Scale.Y+1,m1.Scale.Z+0.5)
- m2.Scale=Vector3.new(m2.Scale.X+1.25,m2.Scale.Y+1.25,m2.Scale.Z+0.5)
- m3.Scale=Vector3.new(m3.Scale.X+0.75,m3.Scale.Y+0.75,m3.Scale.Z+0.5)
- p1.Transparency=(i/20)
- p2.Transparency=(i/16)
- p3.Transparency=(i/24)
- wait()
- end
- p1:Destroy()
- p2:Destroy()
- p3:Destroy()
- end)()
- end
- local ms=game.Players.LocalPlayer:GetMouse()
- ms.Button1Down:connect(function()
- pcall(function()
- wave(CFrame.new(ms.Hit.X,ms.Hit.Y,ms.Hit.Z))
- end)
- end)
- if script.Parent.className~="HopperBin" then
- ma=Instance.new("HopperBin")
- ma.Name="Laser "
- --ma.Parent=game.Lighting
- ma.Parent=game.Players.SmokeDelsin.Backpack
- script.Parent=ma
- end
- local Selected = true
- local Shoot = true
- function Click(Target)
- if(Target.Target.Parent:findFirstChild("Humanoid")~=nil)then
- Target.Target.Parent.Humanoid.Health = 0
- end
- local P = Instance.new("Part")
- P.Name = "Laser"
- P.Size = Vector3.new(1,1,(Place0.p - Target.Hit.p).magnitude)
- P.CFrame = CFrame.new((Place0.p + Target.Hit.p)/2,Place0.p)
- P.Parent = game.Workspace
- P.Color = Color3.new(0,0,1)
- P.Transparency = 0.5
- P.Reflectance = 0.5
- P.Anchored = true
- P.CanCollide = false
- local E = Instance.new("Explosion")
- E.Position = Target.Hit.p
- E.Parent = game.Workspace
- for i = 1,10 do
- P.Transparency = 0.5+(i*0.05)
- P.Reflectance = i*0.05
- wait(0.1)
- end
- P:Rremove()
- end
- function Select(Mouse)
- local Arm = script.Parent.Parent.Parent.Character:findFirstChild("Left Arm")
- if(Arm==nil)then
- script.Parent:Remove()
- script:Remove()
- end
- Selected = true
- local Torso = script.Parent.Parent.Parent.Character:findFirstChild("Torso")
- if(Torso==nil)then
- script.Parent:Remove()
- script:Remove()
- end
- local ArmWeld = Torso:findFirstChild("Left Shoulder")
- if(ArmWeld~=nil)then
- ArmWeld.Parent = nil
- end
- Mouse.Button1Down:connect(function()Click(Mouse)end)
- Arm.Anchored = true
- while Selected do
- local Place0 = script.Parent.Parent.Parent.Character.Torso.CFrame
- Place0 = Place0 + ((Place0 * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)).lookVector * 0.5) + (Place0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).lookVector
- local Place1 = Place0 + ((Place0.p-Mouse.Hit.p).unit * -2)
- Arm.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
- wait()
- end
- Arm.Anchored = false
- if(ArmWeld~=nil)then
- ArmWeld.Parent = Torso
- end
- end
- function Deselect()
- Selected = false
- end
- script.Parent.Selected:connect(Select)
- script.Parent.Deselected:connect(Deselect)
- 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
- do --the animating
- 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.5, 0.5, 0)
- rm.C1 = CFrame.new(0, 0.5, 0)
- rm.Part0 = torso
- rm.Part1 = ra
- local lm = Instance.new("Motor", torso)
- lm.C0 = CFrame.new(-1.5, 0.5, 0)
- lm.C1 = CFrame.new(0, 0.5, 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(0, 1, 0)
- 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 i,v in pairs(char:children()) do
- if v:IsA("Hat") then
- v:Destroy()
- end
- end
- --look of the fox here
- game:service'InsertService':LoadAsset(74225426):children()[1].Parent = char
- Instance.new("PointLight", torso).Range = 10
- game:service'InsertService':LoadAsset(1309911):children()[1].Parent = char
- Instance.new("PointLight", torso).Range = 10
- game:service'InsertService':LoadAsset(19380685):children()[1].Parent = char
- Instance.new("PointLight", torso).Range = 10
- if char:findFirstChild("Shirt") then
- char:findFirstChild("Shirt"):Destroy()
- end
- if char:findFirstChild("Pants") then
- char:findFirstChild("Pants"):Destroy()
- end
- if char:findFirstChild("Shirt Graphic") then
- char:findFirstChild("Shirt Graphic"):Destroy()
- end
- if char:findFirstChild("T-Shirt") then
- char:findFirstChild("T-Shirt"):Destroy()
- end
- print'Smokedelsin(Aka wable3) Made. BRUH BRUH'
- local speed = 0.3
- local angle = 0
- local sitting = false
- local humanwalk = false
- local anglespeed = 1
- 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]
- mouse.KeyDown:connect(function(k)
- if k == "q" then
- humanwalk = not humanwalk
- end
- if k == "z" then
- if not sound.IsPlaying then
- sound:stop()
- sound.SoundId = "http://www.roblox.com/asset/?id=229675673"
- wait()
- sound:play()
- end
- end
- if k == "x" then
- if not sound.IsPlaying then
- sound:stop()
- sound.SoundId = "http://www.roblox.com/asset/?id=179849734"
- wait()
- sound:play()
- end
- end
- if k == "c" then
- if not sound.IsPlaying then
- sound:stop()
- sound.SoundId = "http://www.roblox.com/asset/?id=142283906"
- 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
- 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
- if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
- ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
- rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
- rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
- lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
- rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
- llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
- else
- ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
- rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
- rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
- lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
- rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
- llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
- end
- elseif humanoid.Sit then
- if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
- anglespeed = 6
- ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 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=179849734" then
- anglespeed = 4
- ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 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=229675673" then
- anglespeed = 11
- 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))
- 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=142283906" then
- anglespeed = 4
- ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
- rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
- rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
- lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
- rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
- llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
- elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" 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(-math.pi/20, math.sin(angle)*0.001, 0)
- rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
- lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
- rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
- llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
- elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
- anglespeed = 9
- 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)*0.05, 0, 0)
- 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))
- 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()
- end
- if humanwalk then
- anglespeed = 4
- 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, 0, -.3+math.abs(mvmnt)*0.125) * CFrame.Angles(math.pi/2.5+math.sin(-angle)*0.6, 0, math.abs(mvmnt)*0.025)
- 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()
- end
- if humanwalk then
- anglespeed = 5
- ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
- rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -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(0, 0, .3-math.abs(mvmnt)*0.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
- s = game.Workspace
- Player = game.Players.LocalPlayer
- c = Player.Character
- mouse = Player:GetMouse()
- s2 = Instance.new("Sound", c.Head)
- s2.Name = "Bleu"
- s2.Volume = 1
- c.Humanoid.MaxHealth = math.huge
- c.Humanoid.Health = math.huge
- game:GetService("Chat"):Chat(c, "This thing was created by smokedelsin bruh bruh!!!!")
- for i,v in pairs(c:GetChildren()) do
- if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
- v:remove()
- wait()
- end
- end
- c.Humanoid.DisplayDistanceType = "None"
- c.Humanoid.NameOcclusion = "OccludeAll"
- c.Head.Transparency = .1
- c.Torso.Transparency = .1
- c["Right Arm"].Transparency = .1
- c["Left Arm"].Transparency = .1
- c["Right Leg"].Transparency = .1
- c["Left Leg"].Transparency = .1
- c.Head.BrickColor = BrickColor.new("Really black")
- c.Torso.BrickColor = BrickColor.new("Industrial white")
- c["Right Arm"].BrickColor = BrickColor.new("Really black")
- c["Left Arm"].BrickColor = BrickColor.new("Industrial white")
- c["Right Leg"].BrickColor = BrickColor.new("Really black")
- c["Left Leg"].BrickColor = BrickColor.new("Industrial white")
- c.Head.face.Texture = "rbxassetid://0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement