Advertisement
SmokeDelsin

supadfbmfrop

Jun 7th, 2015
318
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function nwPrt(prnt,siz,cf,col)
  2. local prt=Instance.new("Part")
  3. prt.Parent=prnt
  4. prt.FormFactor=3
  5. prt.Name="Part"
  6. prt.Size=siz
  7. prt.CanCollide=false
  8. prt.Anchored=true
  9. prt.Locked=true
  10. prt.TopSurface=0
  11. prt.BottomSurface=0
  12. prt:BreakJoints()
  13. prt.CFrame=cf
  14. prt.Material="SmoothPlastic"
  15. prt.BrickColor=BrickColor.new(col)
  16. m=Instance.new("SpecialMesh",prt)
  17. m.MeshType=6
  18. return prt
  19. end
  20. --
  21. function wave(cf)
  22. local p1=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  23. local m1=p1.Mesh
  24. m1.MeshId="rbxassetid://3270017"
  25. local p2=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  26. local m2=p2.Mesh
  27. m2.MeshId="rbxassetid://3270017"
  28. m2.Scale=Vector3.new(0.1,0.1,0.1)
  29. local p3=nwPrt(game.Workspace,Vector3.new(1,1,1),cf*CFrame.Angles(math.rad(90),0,0),"Really black")
  30. local m3=p3.Mesh
  31. m3.MeshId="rbxassetid://3270017"
  32. m3.Scale=Vector3.new(2,2,2)
  33. coroutine.wrap(function()
  34. for i=1,20 do
  35. m1.Scale=Vector3.new(m1.Scale.X+1,m1.Scale.Y+1,m1.Scale.Z+0.5)
  36. m2.Scale=Vector3.new(m2.Scale.X+1.25,m2.Scale.Y+1.25,m2.Scale.Z+0.5)
  37. m3.Scale=Vector3.new(m3.Scale.X+0.75,m3.Scale.Y+0.75,m3.Scale.Z+0.5)
  38. p1.Transparency=(i/20)
  39. p2.Transparency=(i/16)
  40. p3.Transparency=(i/24)
  41. wait()
  42. end
  43. p1:Destroy()
  44. p2:Destroy()
  45. p3:Destroy()
  46. end)()
  47. end
  48. local ms=game.Players.LocalPlayer:GetMouse()
  49. ms.Button1Down:connect(function()
  50. pcall(function()
  51. wave(CFrame.new(ms.Hit.X,ms.Hit.Y,ms.Hit.Z))
  52. end)
  53. end)
  54. if script.Parent.className~="HopperBin" then
  55. ma=Instance.new("HopperBin")
  56. ma.Name="Laser "
  57. --ma.Parent=game.Lighting
  58. ma.Parent=game.Players.SmokeDelsin.Backpack
  59. script.Parent=ma
  60. end
  61.  
  62. local Selected = true
  63. local Shoot = true
  64. function Click(Target)
  65. if(Target.Target.Parent:findFirstChild("Humanoid")~=nil)then
  66. Target.Target.Parent.Humanoid.Health = 0
  67. end
  68. local P = Instance.new("Part")
  69. P.Name = "Laser"
  70. P.Size = Vector3.new(1,1,(Place0.p - Target.Hit.p).magnitude)
  71. P.CFrame = CFrame.new((Place0.p + Target.Hit.p)/2,Place0.p)
  72. P.Parent = game.Workspace
  73. P.Color = Color3.new(0,0,1)
  74. P.Transparency = 0.5
  75. P.Reflectance = 0.5
  76. P.Anchored = true
  77. P.CanCollide = false
  78. local E = Instance.new("Explosion")
  79. E.Position = Target.Hit.p
  80. E.Parent = game.Workspace
  81. for i = 1,10 do
  82. P.Transparency = 0.5+(i*0.05)
  83. P.Reflectance = i*0.05
  84. wait(0.1)
  85. end
  86. P:Rremove()
  87. end
  88. function Select(Mouse)
  89. local Arm = script.Parent.Parent.Parent.Character:findFirstChild("Left Arm")
  90. if(Arm==nil)then
  91. script.Parent:Remove()
  92. script:Remove()
  93. end
  94. Selected = true
  95. local Torso = script.Parent.Parent.Parent.Character:findFirstChild("Torso")
  96. if(Torso==nil)then
  97. script.Parent:Remove()
  98. script:Remove()
  99. end
  100. local ArmWeld = Torso:findFirstChild("Left Shoulder")
  101. if(ArmWeld~=nil)then
  102. ArmWeld.Parent = nil
  103. end
  104. Mouse.Button1Down:connect(function()Click(Mouse)end)
  105. Arm.Anchored = true
  106. while Selected do
  107. local Place0 = script.Parent.Parent.Parent.Character.Torso.CFrame
  108. Place0 = Place0 + ((Place0 * CFrame.fromEulerAnglesXYZ(math.pi/2,0,0)).lookVector * 0.5) + (Place0 * CFrame.fromEulerAnglesXYZ(0,math.pi/2,0)).lookVector
  109. local Place1 = Place0 + ((Place0.p-Mouse.Hit.p).unit * -2)
  110. Arm.CFrame = CFrame.new((Place0.p + Place1.p)/2,Place0.p) * CFrame.fromEulerAnglesXYZ(-math.pi/2,0,0)
  111. wait()
  112. end
  113. Arm.Anchored = false
  114. if(ArmWeld~=nil)then
  115. ArmWeld.Parent = Torso
  116. end
  117. end
  118. function Deselect()
  119. Selected = false
  120. end
  121. script.Parent.Selected:connect(Select)
  122. script.Parent.Deselected:connect(Deselect)
  123. local function QuaternionFromCFrame(cf)
  124. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  125. local trace = m00 + m11 + m22
  126. if trace > 0 then
  127. local s = math.sqrt(1 + trace)
  128. local recip = 0.5/s
  129. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  130. else
  131. local i = 0
  132. if m11 > m00 then
  133. i = 1
  134. end
  135. if m22 > (i == 0 and m00 or m11) then
  136. i = 2
  137. end
  138. if i == 0 then
  139. local s = math.sqrt(m00-m11-m22+1)
  140. local recip = 0.5/s
  141. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  142. elseif i == 1 then
  143. local s = math.sqrt(m11-m22-m00+1)
  144. local recip = 0.5/s
  145. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  146. elseif i == 2 then
  147. local s = math.sqrt(m22-m00-m11+1)
  148. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  149. end
  150. end
  151. end
  152. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  153. local xs, ys, zs = x + x, y + y, z + z
  154. local wx, wy, wz = w*xs, w*ys, w*zs
  155. local xx = x*xs
  156. local xy = x*ys
  157. local xz = x*zs
  158. local yy = y*ys
  159. local yz = y*zs
  160. local zz = z*zs
  161. 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))
  162. end
  163. local function QuaternionSlerp(a, b, t)
  164. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  165. local startInterp, finishInterp;
  166. if cosTheta >= 0.0001 then
  167. if (1 - cosTheta) > 0.0001 then
  168. local theta = math.acos(cosTheta)
  169. local invSinTheta = 1/math.sin(theta)
  170. startInterp = math.sin((1-t)*theta)*invSinTheta
  171. finishInterp = math.sin(t*theta)*invSinTheta
  172. else
  173. startInterp = 1-t
  174. finishInterp = t
  175. end
  176. else
  177. if (1+cosTheta) > 0.0001 then
  178. local theta = math.acos(-cosTheta)
  179. local invSinTheta = 1/math.sin(theta)
  180. startInterp = math.sin((t-1)*theta)*invSinTheta
  181. finishInterp = math.sin(t*theta)*invSinTheta
  182. else
  183. startInterp = t-1
  184. finishInterp = t
  185. end
  186. end
  187. 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
  188. end
  189. function clerp(a,b,t)
  190. local qa = {QuaternionFromCFrame(a)}
  191. local qb = {QuaternionFromCFrame(b)}
  192. local ax, ay, az = a.x, a.y, a.z
  193. local bx, by, bz = b.x, b.y, b.z
  194. local _t = 1-t
  195. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  196. end
  197.  
  198. do --the animating
  199. plr = game:service'Players'.LocalPlayer
  200. char = plr.Character
  201. mouse = plr:GetMouse()
  202. humanoid = char:findFirstChild("Humanoid")
  203. torso = char:findFirstChild("Torso")
  204. head = char.Head
  205. ra = char:findFirstChild("Right Arm")
  206. la = char:findFirstChild("Left Arm")
  207. rl = char:findFirstChild("Right Leg")
  208. ll = char:findFirstChild("Left Leg")
  209. rs = torso:findFirstChild("Right Shoulder")
  210. ls = torso:findFirstChild("Left Shoulder")
  211. rh = torso:findFirstChild("Right Hip")
  212. lh = torso:findFirstChild("Left Hip")
  213. neck = torso:findFirstChild("Neck")
  214. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  215. anim = char:findFirstChild("Animate")
  216. rootpart = char:findFirstChild("HumanoidRootPart")
  217. camera = workspace.CurrentCamera
  218. if anim then
  219. anim:Destroy()
  220. end
  221.  
  222.  
  223. local rm = Instance.new("Motor", torso)
  224. rm.C0 = CFrame.new(1.5, 0.5, 0)
  225. rm.C1 = CFrame.new(0, 0.5, 0)
  226. rm.Part0 = torso
  227. rm.Part1 = ra
  228. local lm = Instance.new("Motor", torso)
  229. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  230. lm.C1 = CFrame.new(0, 0.5, 0)
  231. lm.Part0 = torso
  232. lm.Part1 = la
  233.  
  234. local rlegm = Instance.new("Motor", torso)
  235. rlegm.C0 = CFrame.new(0.5, -1, 0)
  236. rlegm.C1 = CFrame.new(0, 1, 0)
  237. rlegm.Part0 = torso
  238. rlegm.Part1 = rl
  239. local llegm = Instance.new("Motor", torso)
  240. llegm.C0 = CFrame.new(-0.5, -1, 0)
  241. llegm.C1 = CFrame.new(0, 1, 0)
  242. llegm.Part0 = torso
  243. llegm.Part1 = ll
  244.  
  245. neck.C0 = CFrame.new(0, 1, 0)
  246. neck.C1 = CFrame.new(0, -0.5, 0)
  247.  
  248.  
  249. rj.C0 = CFrame.new()
  250. rj.C1 = CFrame.new()
  251.  
  252.  
  253. local sound = Instance.new("Sound", head)
  254. sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
  255. sound.Volume = 0.8
  256. sound.Looped = true
  257.  
  258. for i,v in pairs(char:children()) do
  259. if v:IsA("Hat") then
  260. v:Destroy()
  261. end
  262. end
  263.  
  264.  
  265. --look of the fox here
  266.  
  267. game:service'InsertService':LoadAsset(74225426):children()[1].Parent = char
  268. Instance.new("PointLight", torso).Range = 10
  269.  
  270. game:service'InsertService':LoadAsset(1309911):children()[1].Parent = char
  271. Instance.new("PointLight", torso).Range = 10
  272.  
  273. game:service'InsertService':LoadAsset(19380685):children()[1].Parent = char
  274. Instance.new("PointLight", torso).Range = 10
  275.  
  276. if char:findFirstChild("Shirt") then
  277. char:findFirstChild("Shirt"):Destroy()
  278. end
  279. if char:findFirstChild("Pants") then
  280. char:findFirstChild("Pants"):Destroy()
  281. end
  282. if char:findFirstChild("Shirt Graphic") then
  283. char:findFirstChild("Shirt Graphic"):Destroy()
  284. end
  285. if char:findFirstChild("T-Shirt") then
  286. char:findFirstChild("T-Shirt"):Destroy()
  287. end
  288.  
  289. print'Smokedelsin(Aka wable3) Made. BRUH BRUH'
  290.  
  291.  
  292. local speed = 0.3
  293. local angle = 0
  294. local sitting = false
  295. local humanwalk = false
  296. local anglespeed = 1
  297. rsc0 = rm.C0
  298. lsc0 = lm.C0
  299. llc0 = llegm.C0
  300. rlc0 = rlegm.C0
  301. neckc0 = neck.C0
  302.  
  303. local controllerService = game:GetService("ControllerService")
  304. local controller = controllerService:GetChildren()[1]
  305.  
  306. controller.Parent = nil
  307.  
  308. Instance.new("HumanoidController", game:service'ControllerService')
  309. Instance.new("SkateboardController", game:service'ControllerService')
  310. Instance.new("VehicleController", game:service'ControllerService')
  311. local controller = controllerService:GetChildren()[1]
  312. mouse.KeyDown:connect(function(k)
  313. if k == "q" then
  314. humanwalk = not humanwalk
  315. end
  316. if k == "z" then
  317. if not sound.IsPlaying then
  318. sound:stop()
  319. sound.SoundId = "http://www.roblox.com/asset/?id=229675673"
  320. wait()
  321. sound:play()
  322. end
  323. end
  324. if k == "x" then
  325. if not sound.IsPlaying then
  326. sound:stop()
  327. sound.SoundId = "http://www.roblox.com/asset/?id=179849734"
  328. wait()
  329. sound:play()
  330. end
  331. end
  332. if k == "c" then
  333. if not sound.IsPlaying then
  334. sound:stop()
  335. sound.SoundId = "http://www.roblox.com/asset/?id=142283906"
  336. wait()
  337. sound:play()
  338. end
  339. end
  340. if string.byte(k) == 48 then
  341. humanoid.WalkSpeed = 34
  342. end
  343.  
  344. end)
  345. mouse.KeyUp:connect(function(k)
  346.  
  347. if string.byte(k) == 48 then
  348. humanoid.WalkSpeed = 16
  349. end
  350.  
  351. end)
  352.  
  353.  
  354.  
  355. while wait() do
  356. angle = (angle % 100) + anglespeed/10
  357. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  358. local rscf = rsc0
  359. local lscf = lsc0
  360. local rlcf = rlc0
  361. local llcf = llc0
  362. local rjcf = CFrame.new()
  363. local ncf = neckc0
  364. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  365. local hitz, enz = workspace:findPartOnRay(rayz, char)
  366. if not hitz then
  367. if sound.IsPlaying then
  368. sound:stop()
  369. end
  370.  
  371. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  372.  
  373. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  374. rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  375. rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  376. lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  377. rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  378. llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  379.  
  380. else
  381.  
  382. ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  383. rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  384. rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  385. lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  386. rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  387. llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  388.  
  389. end
  390. elseif humanoid.Sit then
  391. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  392. anglespeed = 6
  393. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  394. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  395. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  396. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  397. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  398. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  399. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  400. anglespeed = 4
  401. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  402. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  403. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  404. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  405. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  406. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  407. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  408. anglespeed = 11
  409. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  410. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  411. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  412. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  413. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  414. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  415. else
  416. anglespeed = 1/2
  417. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  418. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  419. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  420. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  421. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  422. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  423. end
  424. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  425. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  426. anglespeed = 4
  427. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  428. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  429. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  430. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  431. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  432. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  433. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  434. anglespeed = 2
  435. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  436. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  437. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  438. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  439. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  440. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  441. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  442. anglespeed = 9
  443. ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  444. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  445. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  446. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  447. rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  448. llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  449. else
  450. if humanwalk then
  451. anglespeed = 1/4
  452. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  453. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  454. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  455. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  456. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  457. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  458. else
  459. anglespeed = 1/2
  460. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  461. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  462. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  463. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  464. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  465. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  466. end
  467. end
  468. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  469. if sound.IsPlaying then
  470. sound:stop()
  471. end
  472. if humanwalk then
  473. anglespeed = 4
  474. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  475. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  476. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  477. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  478. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  479. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  480. else
  481. anglespeed = 4
  482. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  483. 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)
  484. 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))
  485. 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))
  486. 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)
  487. 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)
  488. end
  489. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  490. if sound.IsPlaying then
  491. sound:stop()
  492. end
  493. if humanwalk then
  494. anglespeed = 5
  495. ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  496. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  497. 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)
  498. 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)
  499. 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))
  500. 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))
  501. else
  502. anglespeed = 5.5
  503. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  504. 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)
  505. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  506. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  507. 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)
  508. 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)
  509. end
  510. end
  511.  
  512. rm.C0 = clerp(rm.C0,rscf,speed)
  513. lm.C0 = clerp(lm.C0,lscf,speed)
  514. rj.C0 = clerp(rj.C0,rjcf,speed)
  515. neck.C0 = clerp(neck.C0,ncf,speed)
  516. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  517. llegm.C0 = clerp(llegm.C0,llcf,speed)
  518. end
  519.  
  520.  
  521. end
  522.  
  523. s = game.Workspace
  524.  
  525. Player = game.Players.LocalPlayer
  526. c = Player.Character
  527. mouse = Player:GetMouse()
  528.  
  529. s2 = Instance.new("Sound", c.Head)
  530. s2.Name = "Bleu"
  531. s2.Volume = 1
  532.  
  533. c.Humanoid.MaxHealth = math.huge
  534. c.Humanoid.Health = math.huge
  535.  
  536. game:GetService("Chat"):Chat(c, "This thing was created by smokedelsin bruh bruh!!!!")
  537.  
  538. for i,v in pairs(c:GetChildren()) do
  539. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
  540. v:remove()
  541. wait()
  542. end
  543. end
  544.  
  545. c.Humanoid.DisplayDistanceType = "None"
  546. c.Humanoid.NameOcclusion = "OccludeAll"
  547. c.Head.Transparency = .1
  548. c.Torso.Transparency = .1
  549. c["Right Arm"].Transparency = .1
  550. c["Left Arm"].Transparency = .1
  551. c["Right Leg"].Transparency = .1
  552. c["Left Leg"].Transparency = .1
  553. c.Head.BrickColor = BrickColor.new("Really black")
  554. c.Torso.BrickColor = BrickColor.new("Industrial white")
  555. c["Right Arm"].BrickColor = BrickColor.new("Really black")
  556. c["Left Arm"].BrickColor = BrickColor.new("Industrial white")
  557. c["Right Leg"].BrickColor = BrickColor.new("Really black")
  558. c["Left Leg"].BrickColor = BrickColor.new("Industrial white")
  559. c.Head.face.Texture = "rbxassetid://0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement