Advertisement
SmokeDelsin

dat dance doh

Jun 6th, 2015
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local function QuaternionFromCFrame(cf)
  2. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  3. local trace = m00 + m11 + m22
  4. if trace > 0 then
  5. local s = math.sqrt(1 + trace)
  6. local recip = 0.5/s
  7. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  8. else
  9. local i = 0
  10. if m11 > m00 then
  11. i = 1
  12. end
  13. if m22 > (i == 0 and m00 or m11) then
  14. i = 2
  15. end
  16. if i == 0 then
  17. local s = math.sqrt(m00-m11-m22+1)
  18. local recip = 0.5/s
  19. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  20. elseif i == 1 then
  21. local s = math.sqrt(m11-m22-m00+1)
  22. local recip = 0.5/s
  23. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  24. elseif i == 2 then
  25. local s = math.sqrt(m22-m00-m11+1)
  26. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  27. end
  28. end
  29. end
  30. local function QuaternionToCFrame(px, py, pz, x, y, z, w)
  31. local xs, ys, zs = x + x, y + y, z + z
  32. local wx, wy, wz = w*xs, w*ys, w*zs
  33. local xx = x*xs
  34. local xy = x*ys
  35. local xz = x*zs
  36. local yy = y*ys
  37. local yz = y*zs
  38. local zz = z*zs
  39. 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))
  40. end
  41. local function QuaternionSlerp(a, b, t)
  42. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  43. local startInterp, finishInterp;
  44. if cosTheta >= 0.0001 then
  45. if (1 - cosTheta) > 0.0001 then
  46. local theta = math.acos(cosTheta)
  47. local invSinTheta = 1/math.sin(theta)
  48. startInterp = math.sin((1-t)*theta)*invSinTheta
  49. finishInterp = math.sin(t*theta)*invSinTheta
  50. else
  51. startInterp = 1-t
  52. finishInterp = t
  53. end
  54. else
  55. if (1+cosTheta) > 0.0001 then
  56. local theta = math.acos(-cosTheta)
  57. local invSinTheta = 1/math.sin(theta)
  58. startInterp = math.sin((t-1)*theta)*invSinTheta
  59. finishInterp = math.sin(t*theta)*invSinTheta
  60. else
  61. startInterp = t-1
  62. finishInterp = t
  63. end
  64. end
  65. 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
  66. end
  67. function clerp(a,b,t)
  68. local qa = {QuaternionFromCFrame(a)}
  69. local qb = {QuaternionFromCFrame(b)}
  70. local ax, ay, az = a.x, a.y, a.z
  71. local bx, by, bz = b.x, b.y, b.z
  72. local _t = 1-t
  73. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  74. end
  75.  
  76. do --the animating
  77. plr = game:service'Players'.LocalPlayer
  78. char = plr.Character
  79. mouse = plr:GetMouse()
  80. humanoid = char:findFirstChild("Humanoid")
  81. torso = char:findFirstChild("Torso")
  82. head = char.Head
  83. ra = char:findFirstChild("Right Arm")
  84. la = char:findFirstChild("Left Arm")
  85. rl = char:findFirstChild("Right Leg")
  86. ll = char:findFirstChild("Left Leg")
  87. rs = torso:findFirstChild("Right Shoulder")
  88. ls = torso:findFirstChild("Left Shoulder")
  89. rh = torso:findFirstChild("Right Hip")
  90. lh = torso:findFirstChild("Left Hip")
  91. neck = torso:findFirstChild("Neck")
  92. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  93. anim = char:findFirstChild("Animate")
  94. rootpart = char:findFirstChild("HumanoidRootPart")
  95. camera = workspace.CurrentCamera
  96. if anim then
  97. anim:Destroy()
  98. end
  99.  
  100.  
  101. local rm = Instance.new("Motor", torso)
  102. rm.C0 = CFrame.new(1.5, 0.5, 0)
  103. rm.C1 = CFrame.new(0, 0.5, 0)
  104. rm.Part0 = torso
  105. rm.Part1 = ra
  106. local lm = Instance.new("Motor", torso)
  107. lm.C0 = CFrame.new(-1.5, 0.5, 0)
  108. lm.C1 = CFrame.new(0, 0.5, 0)
  109. lm.Part0 = torso
  110. lm.Part1 = la
  111.  
  112. local rlegm = Instance.new("Motor", torso)
  113. rlegm.C0 = CFrame.new(0.5, -1, 0)
  114. rlegm.C1 = CFrame.new(0, 1, 0)
  115. rlegm.Part0 = torso
  116. rlegm.Part1 = rl
  117. local llegm = Instance.new("Motor", torso)
  118. llegm.C0 = CFrame.new(-0.5, -1, 0)
  119. llegm.C1 = CFrame.new(0, 1, 0)
  120. llegm.Part0 = torso
  121. llegm.Part1 = ll
  122.  
  123. neck.C0 = CFrame.new(0, 1, 0)
  124. neck.C1 = CFrame.new(0, -0.5, 0)
  125.  
  126.  
  127. rj.C0 = CFrame.new()
  128. rj.C1 = CFrame.new()
  129.  
  130.  
  131. local sound = Instance.new("Sound", head)
  132. sound.SoundId = "http://www.roblox.com/asset/?id=130797915"
  133. sound.Volume = 0.8
  134. sound.Looped = true
  135.  
  136. for i,v in pairs(char:children()) do
  137. if v:IsA("Hat") then
  138. v:Destroy()
  139. end
  140. end
  141.  
  142.  
  143. --look of the fox here
  144.  
  145. game:service'InsertService':LoadAsset(74225426):children()[1].Parent = char
  146. Instance.new("PointLight", torso).Range = 10
  147.  
  148. game:service'InsertService':LoadAsset(1309911):children()[1].Parent = char
  149. Instance.new("PointLight", torso).Range = 10
  150.  
  151. game:service'InsertService':LoadAsset(19380685):children()[1].Parent = char
  152. Instance.new("PointLight", torso).Range = 10
  153.  
  154. if char:findFirstChild("Shirt") then
  155. char:findFirstChild("Shirt"):Destroy()
  156. end
  157. if char:findFirstChild("Pants") then
  158. char:findFirstChild("Pants"):Destroy()
  159. end
  160. if char:findFirstChild("Shirt Graphic") then
  161. char:findFirstChild("Shirt Graphic"):Destroy()
  162. end
  163. if char:findFirstChild("T-Shirt") then
  164. char:findFirstChild("T-Shirt"):Destroy()
  165. end
  166.  
  167. print'Smokedelsin(Aka wable3) Made. BRUH BRUH'
  168.  
  169.  
  170. local speed = 0.3
  171. local angle = 0
  172. local sitting = false
  173. local humanwalk = false
  174. local anglespeed = 1
  175. rsc0 = rm.C0
  176. lsc0 = lm.C0
  177. llc0 = llegm.C0
  178. rlc0 = rlegm.C0
  179. neckc0 = neck.C0
  180.  
  181. local controllerService = game:GetService("ControllerService")
  182. local controller = controllerService:GetChildren()[1]
  183.  
  184. controller.Parent = nil
  185.  
  186. Instance.new("HumanoidController", game:service'ControllerService')
  187. Instance.new("SkateboardController", game:service'ControllerService')
  188. Instance.new("VehicleController", game:service'ControllerService')
  189. local controller = controllerService:GetChildren()[1]
  190. mouse.KeyDown:connect(function(k)
  191. if k == "q" then
  192. humanwalk = not humanwalk
  193. end
  194. if k == "z" then
  195. if not sound.IsPlaying then
  196. sound:stop()
  197. sound.SoundId = "http://www.roblox.com/asset/?id=229675673"
  198. wait()
  199. sound:play()
  200. end
  201. end
  202. if k == "x" then
  203. if not sound.IsPlaying then
  204. sound:stop()
  205. sound.SoundId = "http://www.roblox.com/asset/?id=179849734"
  206. wait()
  207. sound:play()
  208. end
  209. end
  210. if k == "c" then
  211. if not sound.IsPlaying then
  212. sound:stop()
  213. sound.SoundId = "http://www.roblox.com/asset/?id=142283906"
  214. wait()
  215. sound:play()
  216. end
  217. end
  218. if string.byte(k) == 48 then
  219. humanoid.WalkSpeed = 34
  220. end
  221.  
  222. end)
  223. mouse.KeyUp:connect(function(k)
  224.  
  225. if string.byte(k) == 48 then
  226. humanoid.WalkSpeed = 16
  227. end
  228.  
  229. end)
  230.  
  231.  
  232.  
  233. while wait() do
  234. angle = (angle % 100) + anglespeed/10
  235. mvmnt = math.pi * math.sin(math.pi*2/100*(angle*10))
  236. local rscf = rsc0
  237. local lscf = lsc0
  238. local rlcf = rlc0
  239. local llcf = llc0
  240. local rjcf = CFrame.new()
  241. local ncf = neckc0
  242. local rayz = Ray.new(rootpart.Position, Vector3.new(0, -6, 0))
  243. local hitz, enz = workspace:findPartOnRay(rayz, char)
  244. if not hitz then
  245. if sound.IsPlaying then
  246. sound:stop()
  247. end
  248.  
  249. if Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude > 2 then
  250.  
  251. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, 0)
  252. rjcf = CFrame.new() * CFrame.Angles(-math.pi/5, math.sin(angle)*0.05, 0)
  253. rscf = rsc0 * CFrame.Angles(math.pi/1.7+math.sin(angle)*0.1, 0, 0)
  254. lscf = lsc0 * CFrame.Angles(math.pi/1.7+math.sin(-angle)*0.1, 0, 0)
  255. rlcf = rlc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.3, 0, 0)
  256. llcf = llc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.3, 0, 0)
  257.  
  258. else
  259.  
  260. ncf = neckc0 * CFrame.Angles(math.pi/14, 0, 0)
  261. rjcf = CFrame.new() * CFrame.Angles(-math.pi/18, math.sin(angle)*0.05, 0)
  262. rscf = rsc0 * CFrame.Angles(-math.pi/10+math.sin(angle)*0.2, 0, 0)
  263. lscf = lsc0 * CFrame.Angles(-math.pi/10+math.sin(-angle)*0.2, 0, 0)
  264. rlcf = rlc0 * CFrame.new(0, 0.7, -0.5) CFrame.Angles(-math.pi/14, 0, 0)
  265. llcf = llc0 * CFrame.Angles(-math.pi/20, 0, 0)
  266.  
  267. end
  268. elseif humanoid.Sit then
  269. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  270. anglespeed = 6
  271. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  272. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  273. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  274. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  275. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  276. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  277. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  278. anglespeed = 4
  279. ncf = neckc0 * CFrame.Angles(math.pi/5-math.abs(math.sin(angle))*0.3, 0, 0)
  280. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, 0, 0)
  281. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  282. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  283. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  284. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  285. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  286. anglespeed = 11
  287. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  288. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  289. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  290. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  291. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  292. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  293. else
  294. anglespeed = 1/2
  295. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  296. rjcf = CFrame.new(0, -0.8, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  297. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  298. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  299. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  300. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  301. end
  302. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 2 then
  303. if sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=142283906" then
  304. anglespeed = 4
  305. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  306. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  307. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  308. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  309. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  310. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  311. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=179849734" then
  312. anglespeed = 2
  313. ncf = neckc0 * CFrame.Angles(math.pi/10-math.abs(math.sin(angle))*0.3, 0, 0)
  314. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(-math.pi/20, math.sin(angle)*0.001, 0)
  315. rscf = rsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  316. lscf = lsc0 * CFrame.Angles(math.pi/2+math.abs(math.sin(angle)*1), 0, 0)
  317. rlcf = rlc0 * CFrame.Angles(math.pi/20, math.sin(angle)*0.08, math.rad(2.5))
  318. llcf = llc0 * CFrame.Angles(math.pi/20, -math.sin(angle)*0.08, -math.rad(2.5))
  319. elseif sound.IsPlaying and sound.SoundId == "http://www.roblox.com/asset/?id=229675673" then
  320. anglespeed = 9
  321. ncf = neckc0 * CFrame.Angles(math.sin(angle)*0.07, math.rad(30), 0)
  322. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  323. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.05, 0, 0)
  324. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.05, 0, 0)
  325. rlcf = rlc0 * CFrame.new(0, -0.1 + math.abs(mvmnt)*0.1, -0.1) * CFrame.Angles(0, math.rad(5), math.rad(5))
  326. llcf = llc0 * CFrame.Angles(0, math.rad(2.5), math.rad(1))
  327. else
  328. if humanwalk then
  329. anglespeed = 1/4
  330. ncf = neckc0 * CFrame.Angles(-math.sin(angle)*0.07, 0, 0)
  331. rjcf = CFrame.new(0, 0, 0) * CFrame.Angles(0, math.sin(angle)*0.001, 0)
  332. rscf = rsc0 * CFrame.Angles(math.sin(angle)*0.1, 0, 0)
  333. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*0.1, 0, 0)
  334. rlcf = rlc0 * CFrame.Angles(0, math.sin(angle)*0.08, math.rad(2.5))
  335. llcf = llc0 * CFrame.Angles(0, -math.sin(angle)*0.08, -math.rad(2.5))
  336. else
  337. anglespeed = 1/2
  338. ncf = neckc0 * CFrame.Angles(math.pi/5, 0, math.sin(angle)*0.08)
  339. rjcf = CFrame.new(0, -2, 0) * CFrame.Angles(-math.pi/5, math.sin(angle)*0.01, 0)
  340. rscf = rsc0 * CFrame.new(-.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, -math.rad(15))
  341. lscf = lsc0 * CFrame.new(.45, 0.2, -.3) * CFrame.Angles(math.pi/3, 0, math.rad(15))
  342. rlcf = rlc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, math.rad(20))
  343. llcf = llc0 * CFrame.Angles(math.pi/2+math.pi/5, 0, -math.rad(20))
  344. end
  345. end
  346. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude < 20 then
  347. if sound.IsPlaying then
  348. sound:stop()
  349. end
  350. if humanwalk then
  351. anglespeed = 4
  352. ncf = neckc0 * CFrame.Angles(math.pi/24, mvmnt*.02, 0)
  353. rjcf = CFrame.new(0, math.abs(mvmnt)*0.05, 0) * CFrame.Angles(-math.pi/24, -mvmnt*.02, 0)
  354. rscf = rsc0 * CFrame.Angles(math.sin(angle)*1.25, 0, -math.abs(mvmnt)*0.02)
  355. lscf = lsc0 * CFrame.Angles(math.sin(-angle)*1.25, 0, math.abs(mvmnt)*0.02)
  356. rlcf = rlc0 * CFrame.Angles(math.sin(-angle)*1, 0, math.rad(.5))
  357. llcf = llc0 * CFrame.Angles(math.sin(angle)*1, 0, -math.rad(.5))
  358. else
  359. anglespeed = 4
  360. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9, 0, 0)
  361. 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)
  362. 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))
  363. 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))
  364. 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)
  365. 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)
  366. end
  367. elseif Vector3.new(torso.Velocity.x, 0, torso.Velocity.z).magnitude >= 20 then
  368. if sound.IsPlaying then
  369. sound:stop()
  370. end
  371. if humanwalk then
  372. anglespeed = 5
  373. ncf = neckc0 * CFrame.Angles(math.pi/20, math.sin(angle)*.04, 0)
  374. rjcf = CFrame.new(0, -.4 + math.abs(mvmnt)*0.25, 0) * CFrame.Angles(-math.pi/20, -math.sin(angle)*.08, 0)
  375. 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)
  376. 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)
  377. 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))
  378. 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))
  379. else
  380. anglespeed = 5.5
  381. ncf = neckc0 * CFrame.new(0, 0, .2) * CFrame.Angles(math.pi/1.9+math.sin(mvmnt/2)*0.05, 0, 0)
  382. 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)
  383. rscf = rsc0 * CFrame.new(-1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, math.rad(5))
  384. lscf = lsc0 * CFrame.new(1, 0.2, -.5) * CFrame.Angles(math.pi/2+math.sin(angle)*1.8, 0, -math.rad(5))
  385. 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)
  386. 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)
  387. end
  388. end
  389.  
  390. rm.C0 = clerp(rm.C0,rscf,speed)
  391. lm.C0 = clerp(lm.C0,lscf,speed)
  392. rj.C0 = clerp(rj.C0,rjcf,speed)
  393. neck.C0 = clerp(neck.C0,ncf,speed)
  394. rlegm.C0 = clerp(rlegm.C0,rlcf,speed)
  395. llegm.C0 = clerp(llegm.C0,llcf,speed)
  396. end
  397.  
  398.  
  399. end
  400.  
  401. s = game.Workspace
  402.  
  403. Player = game.Players.LocalPlayer
  404. c = Player.Character
  405. mouse = Player:GetMouse()
  406.  
  407. s2 = Instance.new("Sound", c.Head)
  408. s2.Name = "Bleu"
  409. s2.Volume = 1
  410.  
  411. c.Humanoid.MaxHealth = math.huge
  412. c.Humanoid.Health = math.huge
  413.  
  414. game:GetService("Chat"):Chat(c, "This thing was created by smokedelsin bruh bruh!!!!")
  415.  
  416. for i,v in pairs(c:GetChildren()) do
  417. if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then
  418. v:remove()
  419. wait()
  420. end
  421. end
  422.  
  423. c.Humanoid.DisplayDistanceType = "None"
  424. c.Humanoid.NameOcclusion = "OccludeAll"
  425. c.Head.Transparency = .1
  426. c.Torso.Transparency = .1
  427. c["Right Arm"].Transparency = .1
  428. c["Left Arm"].Transparency = .1
  429. c["Right Leg"].Transparency = .1
  430. c["Left Leg"].Transparency = .1
  431. c.Head.BrickColor = BrickColor.new("Really black")
  432. c.Torso.BrickColor = BrickColor.new("Industrial white")
  433. c["Right Arm"].BrickColor = BrickColor.new("Really black")
  434. c["Left Arm"].BrickColor = BrickColor.new("Industrial white")
  435. c["Right Leg"].BrickColor = BrickColor.new("Really black")
  436. c["Left Leg"].BrickColor = BrickColor.new("Industrial white")
  437. c.Head.face.Texture = "rbxassetid://0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement