Dark_EccentricYT

Untitled

Sep 7th, 2017
2,996
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 32.97 KB | None | 0 0
  1. --// Made by Cronizete
  2. --// There's some secret functions c;
  3.  
  4. plr = game:GetService("Players").LocalPlayer
  5. char = plr.Character
  6. hum = char:FindFirstChildOfClass'Humanoid'
  7. hum.BodyDepthScale.Value = 1
  8. hum.BodyHeightScale.Value = 1
  9. hum.BodyWidthScale.Value = 1
  10. hum.HeadScale.Value = 1
  11. lclick = false
  12. mouse = plr:GetMouse()
  13. size = 1
  14. rlick = false
  15. human = char.Humanoid
  16. root = char.HumanoidRootPart
  17. head = char.Head
  18. lshold = char["LeftUpperArm"].LeftShoulder
  19. rshold = char["RightUpperArm"].RightShoulder
  20. lelbow = char["LeftLowerArm"].LeftElbow
  21. relbow = char["RightLowerArm"].RightElbow
  22. lelbo = lelbow.C0
  23. relbo = relbow.C0
  24. rsho = rshold.C0
  25. lsho = lshold.C0
  26. jumping = false
  27. chipmesh = ""
  28. rad = math.rad
  29. shield = false
  30. disguise = ""
  31. step = workspace:WaitForChild('Base')
  32. slam = false
  33. ff=Instance.new('ForceField', char)
  34. ff.Visible = false
  35. dis = false
  36. neck = char.Head.Neck
  37. local ang = -5
  38. local ang2 = -5
  39. local sine = 0
  40. local change = 0.5
  41. arm = 0
  42. char:FindFirstChild'Animate':Destroy()
  43. hum.Animator.Parent = nil
  44. nec = neck.C0
  45. punch = false
  46. spikek = false
  47. cooldown = true
  48. random = math.random
  49. mainc = char.Head.BrickColor
  50. chip = false
  51. color = char.Head.BrickColor
  52. mainf = char.Head.face.Texture
  53. wings = false
  54. face = mainf
  55. lleg = char["LeftUpperLeg"].LeftHip
  56. rleg = char["RightUpperLeg"].RightHip
  57. rle = rleg.C0
  58. lle = lleg.C0
  59. torso = char:FindFirstChild('UpperTorso')
  60. butf = false
  61. previ = ""
  62. jir = false
  63. legslam = false
  64. waist = torso.Waist
  65. wais = waist.C0
  66. rtorso = char.LowerTorso.Root
  67. rtors = rtorso.C0
  68. float = false
  69. signs = false
  70. fold = Instance.new('Folder', char)
  71. sat = false
  72. asdasd = false
  73.  
  74. --// Configs
  75.  
  76. vol1 = 6
  77. vol2 = 3
  78. parts = 30
  79. damage = 50
  80. size = Vector3.new(27.67, 0.05, 25.43)
  81.  
  82. --// Sfx
  83.  
  84. local s1 = Instance.new('Sound', lleg.Parent) -- Explosion
  85. s1.SoundId = "rbxassetid://138210320"
  86.  
  87. local s2 = Instance.new('Sound', char.RightUpperArm) -- Punch
  88. s2.SoundId = "rbxassetid://145486953"
  89.  
  90. local s3 = Instance.new('Sound', char.HumanoidRootPart) -- Wings
  91. s3.SoundId = "rbxassetid://999998561"
  92. s3.Looped = true
  93.  
  94. local s4 = Instance.new('Sound', char.Head) -- Crunch
  95. s4.SoundId = "rbxassetid://181027147"
  96. s4.Looped = false
  97.  
  98. local s5 = Instance.new('Sound', char.LeftFoot) -- walk (grass)
  99. s5.Volume = 6
  100. s5.SoundId = "rbxassetid://429617891"
  101. s5.Looped = true
  102.  
  103. local s6 = Instance.new('Sound', char.LeftFoot) -- walk (metals)
  104. s6.Volume = 6
  105. s6.SoundId = "rbxassetid://174216216"
  106. s6.Looped = true
  107.  
  108. local s7 = Instance.new('Sound', char.LeftFoot) -- walk (sand)
  109. s7.Volume = 6
  110. s7.SoundId = "rbxassetid://336575096"
  111. s7.Looped = true
  112.  
  113. local s8 = Instance.new('Sound', char.LeftFoot) -- walk (ice)
  114. s8.Volume = 6
  115. s8.SoundId = "rbxassetid://138214900"
  116. s8.Looped = true
  117.  
  118. local s9 = Instance.new('Sound', char.LeftHand) -- Chips take out
  119. s9.Volume = 6
  120. s9.SoundId = "rbxassetid://873073853"
  121. s9.Looped = false
  122.  
  123. local s10 = Instance.new('Sound', char.LeftHand) -- Jutsu
  124. s10.Volume = 4
  125. s10.SoundId = "rbxassetid://147722098"
  126. s10.Looped = false
  127.  
  128. local s11 = Instance.new('Sound') -- Jutsu
  129. s11.Volume = 4
  130. s11.SoundId = "rbxassetid://158712406"
  131. s11.Looped = false
  132.  
  133. local s12 = Instance.new('Sound', char.LeftFoot) -- walk (metal)
  134. s12.Volume = 6
  135. s12.SoundId = "rbxassetid://549006073"
  136. s12.Looped = true
  137.  
  138. local s13 = Instance.new('Sound', char.LeftFoot) -- walk (bricks and stuff)
  139. s13.Volume = 6
  140. s13.SoundId = "rbxassetid://156659098"
  141. s13.Looped = true
  142.  
  143. local s14 = Instance.new('Sound', char.LeftFoot) -- walk (carpet)
  144. s14.Volume = 9
  145. s14.SoundId = "rbxassetid://133705377"
  146. s14.Looped = true
  147.  
  148. local s15 = Instance.new('Sound', char.HumanoidRootPart) -- smoke
  149. s15.Volume = 3
  150. s15.SoundId = "rbxassetid://722960601"
  151. s15.Looped = false
  152.  
  153. --// Outfit
  154.  
  155. for _, a in pairs(char:children()) do
  156. if a:IsA('Pants') or a:IsA('Shirt') or a:IsA('CharacterMesh') or a:IsA('Accessory') then
  157. a:Destroy()
  158. end
  159. end
  160.  
  161. bc = char:FindFirstChild('Body Colors')
  162. bc.HeadColor = BrickColor.new('Light orange')
  163. bc.LeftArmColor = BrickColor.new('Light orange')
  164. bc.RightArmColor = BrickColor.new('Light orange')
  165. bc.LeftLegColor = BrickColor.new('Light orange')
  166. bc.RightLegColor = BrickColor.new('Light orange')
  167. bc.TorsoColor = BrickColor.new('Light orange')
  168.  
  169. local p1 = Instance.new('Part', char)
  170. p1.Anchored = false
  171. p1.CanCollide = false
  172. p1.BrickColor = BrickColor.new('Rust')
  173. local w = Instance.new('Weld', p1)
  174. w.Part0 = p1
  175. w.Part1 = char:FindFirstChild'Head'
  176. w.C0 = CFrame.new(0,1,-1.3)
  177. local m1 = Instance.new('SpecialMesh', p1)
  178. m1.MeshId = "rbxassetid://560193297"
  179. m1.TextureId = ""
  180. m1.Scale = Vector3.new(6,5,5)
  181.  
  182. local p = Instance.new('Part', char)
  183. p.Anchored = false
  184. p.CanCollide = false
  185. local w = Instance.new('Weld', p)
  186. w.Part0 = p
  187. w.Part1 = char:FindFirstChild'Head'
  188. w.C0 = CFrame.new(0, -0.35, 0)
  189. local m = Instance.new('SpecialMesh', p)
  190. m.MeshId = "http://www.roblox.com/asset/?id=1286425"
  191. m.TextureId = "rbxassetid://999070662"
  192. m.Scale = Vector3.new(1.01, 1.01, 1.01)
  193.  
  194. char.Head:FindFirstChild('face').Texture = "rbxassetid://0"
  195.  
  196. local s = Instance.new('Shirt', char)
  197. s.ShirtTemplate = "rbxassetid://274369116"
  198. local p2 = Instance.new('Pants', char)
  199. p2.PantsTemplate = "rbxassetid://56461131"
  200.  
  201. char.Archivable = true
  202.  
  203. --// Functions
  204.  
  205. function wsfx(a)
  206. coroutine.resume(coroutine.create(function()
  207. s11.Parent = a
  208. s11:Play()
  209. wait(1)
  210. s11:Stop()
  211. end))
  212. end
  213.  
  214. function sit()
  215. hum.WalkSpeed = 0
  216. hum.JumpPower = 0
  217. for i = 0,1,0.1 do
  218. wait()
  219. rtorso.C0 = rtorso.C0:lerp(rtors*CFrame.new(0, -1.143, 0),i)
  220. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-17.303), 0, 0),i)
  221. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(0, 0, math.rad(9.454)),i)
  222. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(-11.001)),i)
  223. lleg.C0 = lleg.C0:lerp(lle *CFrame.new(-0.016, -0.459, 0.002) * CFrame.Angles(math.rad(89.725), math.rad(-2.005), math.rad(-8.881)), i)
  224. rleg.C0 = rleg.C0:lerp(rle * CFrame.new(0.039, -0.426, -0.167) * CFrame.Angles(math.rad(88.236), math.rad(2.177), math.rad(7.219)), i)
  225. end
  226. end
  227.  
  228. function stand()
  229. hum.WalkSpeed = 16
  230. hum.JumpPower = 50
  231. for i = 0,1,0.1 do
  232. wait()
  233. rtorso.C0 = rtorso.C0:lerp(rtors,i)
  234. neck.C0 = neck.C0:lerp(nec,i)
  235. rshold.C0 = rshold.C0:lerp(rsho,i)
  236. lshold.C0 = lshold.C0:lerp(lsho,i)
  237. lleg.C0 = lleg.C0:lerp(lle, i)
  238. rleg.C0 = rleg.C0:lerp(rle, i)
  239. end
  240. end
  241.  
  242. function hands()
  243. local a = 5
  244. local b = 1
  245. local c = 8
  246. for i = 0,1,0.1 do
  247. wait()
  248. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.065, -0.142, -0.077) * CFrame.Angles(math.rad(71.448), 0, math.rad(-26.413)),i)
  249. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.183, -0.23, -0.159) * CFrame.Angles(math.rad(71.448), math.rad(-0.401), math.rad(35.122)),i)
  250. relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-42.284)),i)
  251. lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(42.972)),i)
  252. end
  253. wait(.2)
  254. s10:Play()
  255. wait(.8)
  256. for i = 0,1,0.1 do
  257. wait()
  258. rshold.C0 = rshold.C0:lerp(rsho,i)
  259. lshold.C0 = lshold.C0:lerp(lsho,i)
  260. relbow.C0 = relbow.C0:lerp(relbo,i)
  261. lelbow.C0 = lelbow.C0:lerp(lelbo,i)
  262. end
  263. wait(.05)
  264. for i = 1,20 do
  265. local p = Instance.new('Part', workspace)
  266. previ = p
  267. p.BrickColor = BrickColor.new('Burnt Sienna')
  268. p.Material = 'Concrete'
  269. p.Anchored = true
  270. p.CanCollide = false
  271. p.Size = Vector3.new(2.79, 26.82, 2.88)
  272. p.Position = char.HumanoidRootPart.Position + char.HumanoidRootPart.CFrame.lookVector * a
  273. p.Position = p.Position + Vector3.new(0,-27,0)
  274. a = a + 5
  275. for i = 1,8 do
  276. wait()
  277. p.Position = p.Position + Vector3.new(0,b,0)
  278. b = b + 1
  279. end
  280. b = 1
  281. p.Touched:connect(function(hit)
  282. if hit.Parent and hit.Parent:FindFirstChildOfClass'Humanoid' then
  283. targ = hit.Parent
  284. humtarg = targ:FindFirstChildOfClass'Humanoid'
  285. humtarg:TakeDamage(humtarg.MaxHealth/2/2)
  286. end
  287. end)
  288. end
  289. end
  290.  
  291. function hands2()
  292. for i = 0,1,0.1 do
  293. wait()
  294. rshold.C0 = rshold.C0:lerp(rsho*CFrame.new(-0.065, -0.142, -0.077) * CFrame.Angles(math.rad(71.448), 0, math.rad(-26.413)),i)
  295. lshold.C0 = lshold.C0:lerp(lsho*CFrame.new(0.183, -0.23, -0.159) * CFrame.Angles(math.rad(71.448), math.rad(-0.401), math.rad(35.122)),i)
  296. relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(0, 0, math.rad(-42.284)),i)
  297. lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(42.972)),i)
  298. end
  299. wait(.2)
  300. s10:Play()
  301. wait(.8)
  302. for i = 0,1,0.1 do
  303. wait()
  304. rshold.C0 = rshold.C0:lerp(rsho,i)
  305. lshold.C0 = lshold.C0:lerp(lsho,i)
  306. relbow.C0 = relbow.C0:lerp(relbo,i)
  307. lelbow.C0 = lelbow.C0:lerp(lelbo,i)
  308. end
  309. wait(.05)
  310. local num = 0
  311. local model = Instance.new("Model")
  312. model.Name = "Circle"
  313. model.Parent = char
  314.  
  315. local part = Instance.new('Part')
  316. part.Transparency = 1
  317. part.CanCollide = false
  318. part.Size = Vector3.new(0.2,0.2,0.2)
  319. part.Position = root.Position + root.CFrame.lookVector * 22
  320.  
  321. local position = part.CFrame * CFrame.new(0,-27,0) --Set this to the center of your circle.
  322. local number = 70 --Change 10 to the number of sides you want your circle to have. The more bricks you have, the smoother the circle will be.
  323. local radius = 16 --Change 5 to the radius you want your circle to be.
  324. size = Vector3.new(1, 26, 2) --Set this to the size of each brick in your circle.
  325.  
  326. for i=1, number do
  327. local part = Instance.new("Part")
  328. game.Debris:AddItem(part,30)
  329. part.BrickColor = BrickColor.new("Burnt Sienna")
  330. part.Material = 'Concrete'
  331. part.formFactor = "Symmetric"
  332. part.Anchored = true
  333. part.CanCollide = true
  334. part.Parent = model
  335. part.Size = size
  336. local sine = math.sin((360/number + 360/number*i)/(180/math.pi))
  337. local cosine = math.cos((360/number + 360/number*i)/(180/math.pi))
  338. part.CFrame = position + Vector3.new(radius*sine, 0, radius*cosine)
  339. part.CFrame = part.CFrame*CFrame.fromEulerAnglesXYZ(0, (360/number + 360/number*i)/(180/math.pi), 0)
  340. end
  341. for _, a in pairs(model:children()) do
  342. if a:IsA('Part') then
  343. for i = 1, 27 do
  344. coroutine.resume(coroutine.create(function()
  345. wait()
  346. a.CFrame = a.CFrame:lerp(a.CFrame*CFrame.new(0,12,0),.1)
  347. end))
  348. end
  349. end
  350. end
  351. end
  352.  
  353. function clear(a)
  354. for _, b in pairs(a:children()) do
  355. if b:IsA('Shirt') or b:IsA('Pants') then
  356. b:Destroy()
  357. end
  358. end
  359. end
  360.  
  361. function sp(a,b,c)
  362. local s = Instance.new('Shirt', a)
  363. s.ShirtTemplate = b
  364. local p2 = Instance.new('Pants', a)
  365. p2.PantsTemplate = c
  366. end
  367.  
  368. function unisc()
  369. d = Instance.new('Part', char)
  370. d.Transparency = 1
  371. d.CanCollide = false
  372. d.Anchored = true
  373. d.CFrame = char:FindFirstChild'Ino'.HumanoidRootPart.CFrame
  374. c = d:Clone()
  375. c.Parent = char
  376. c.CFrame = char:FindFirstChild'Shikamaru'.HumanoidRootPart.CFrame
  377. wait(.6)
  378. smoke(d)
  379. smoke(c)
  380. char:FindFirstChild'Shikamaru':Destroy()
  381. char:FindFirstChild'Ino':Destroy()
  382. end
  383.  
  384. function isc()
  385. p1.Transparency = 1
  386. p.Transparency = 1
  387.  
  388. local ino = char:Clone()
  389. local shika = char:Clone()
  390.  
  391. p1.Transparency = 0
  392. p.Transparency = 0
  393.  
  394. ino.Name = "Ino"
  395. shika.Name = "Shikamaru"
  396.  
  397. clear(ino)
  398. clear(shika)
  399.  
  400. sp(ino,"http://www.roblox.com/asset/?id=45739375","http://www.roblox.com/asset/?id=45739424")
  401. sp(shika,"rbxassetid://398113258","rbxassetid://398113725")
  402.  
  403. local p1 = Instance.new('Part', shika)
  404. p1.Anchored = false
  405. p1.CanCollide = false
  406. p1.BrickColor = BrickColor.new('Rust')
  407. local w = Instance.new('Weld', p1)
  408. w.Part0 = p1
  409. w.Part1 = shika:FindFirstChild'Head'
  410. w.C0 = CFrame.new(0,-0.25,0.499) * CFrame.Angles(rad(0),rad(180),rad(0))
  411. local m1 = Instance.new('SpecialMesh', p1)
  412. m1.MeshId = "rbxassetid://524467395"
  413. m1.TextureId = "rbxassetid://524467404"
  414. m1.Scale = Vector3.new(0.065,0.065,0.065)
  415.  
  416. local p1 = Instance.new('Part', ino)
  417. p1.Anchored = false
  418. p1.CanCollide = false
  419. p1.BrickColor = BrickColor.new('Rust')
  420. local w = Instance.new('Weld', p1)
  421. w.Part0 = p1
  422. w.Part1 = ino:FindFirstChild'Head'
  423. w.C0 = CFrame.new(0,1.8,.399) * CFrame.Angles(rad(0),rad(180),rad(0))
  424. local m1 = Instance.new('SpecialMesh', p1)
  425. m1.MeshId = "rbxassetid://521487839"
  426. m1.TextureId = "rbxassetid://521963117"
  427. m1.Scale = Vector3.new(0.075,0.07,0.07)
  428.  
  429. ino.Parent = char
  430. shika.Parent = char
  431.  
  432. ino.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(5,0,0)
  433. shika.HumanoidRootPart.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(-5,0,-0)
  434.  
  435. smoke(ino.HumanoidRootPart)
  436. smoke(shika.HumanoidRootPart)
  437. end
  438.  
  439. function redp()
  440. for i = 0,1,0.1 do
  441. wait()
  442. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(20.512)),i)
  443. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-33.976), math.rad(44.118), math.rad(25.096)),i)
  444. end
  445. local p = Instance.new('Part', lshold.Parent)
  446. game:service'Debris':AddItem(p,3.5)
  447. p.Anchored = false
  448. p.CanCollide = false
  449. p.BrickColor = BrickColor.new('Really red')
  450. p.Size = Vector3.new(0.2,0.2,0.2)
  451. p.Shape = "Ball"
  452. local w = Instance.new('Weld', p)
  453. w.Part0 = p
  454. w.Part1 = char:FindFirstChild('LeftHand')
  455. w.C0 = CFrame.new(-0.6, 0, 0)
  456. end
  457.  
  458. function eat()
  459. redp()
  460. wait(.7)
  461. for i = 0,1,0.1 do
  462. wait()
  463. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(48.128), 0, 0),i)
  464. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20.913), math.rad(27.903), math.rad(10.141)),i)
  465. end
  466. wait(1.5)
  467. for i = 0,1,0.1 do
  468. wait()
  469. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(95.627), math.rad(19.481), math.rad(52.426)),i)
  470. end
  471. wait(.9)
  472. for i = 0,1,0.1 do
  473. wait()
  474. lshold.C0 = lshold.C0:lerp(lsho,i)
  475. neck.C0 = neck.C0:lerp(nec,i)
  476. end
  477. end
  478.  
  479. function unwing()
  480. vol1 = 6
  481. vol2 = 3
  482. parts = 30
  483. damage = 50
  484. size = Vector3.new(27.67, 0.05, 25.43)
  485. hum.WalkSpeed = 16
  486. hum.JumpPower = 50
  487.  
  488. for i = 0,2 do
  489. s3.Volume = s3.Volume - 0.1
  490. wait()
  491. end
  492. s3:Stop()
  493.  
  494. for i = 1,8 do
  495. wait()
  496. for _, a in pairs(char:FindFirstChild'UpperTorso':children()) do
  497. if a.Name == "WingLeft" or a.Name == "WingRight" then
  498. a.Transparency = a.Transparency + 0.05
  499. end
  500. end
  501. end
  502. for _, a in pairs(char:FindFirstChild'UpperTorso':children()) do
  503. if a.Name == "WingLeft" or a.Name == "WingRight" then
  504. a:Destroy()
  505. end
  506. end
  507. end
  508.  
  509. function wing()
  510. vol1 = 10
  511. vol2 = 7
  512. parts = 75
  513. damage = 100
  514. size = Vector3.new(55, 0.05, 55)
  515. hum.WalkSpeed = 45
  516. hum.JumpPower = 100
  517.  
  518. local p1 = Instance.new('Part', char.UpperTorso) -- Left
  519. p1.Anchored = false
  520. p1.Name = "WingLeft"
  521. p1.CanCollide = false
  522. p1.Transparency = 1
  523. local w = Instance.new('Weld', p1)
  524. w.Part0 = p1
  525. w.Part1 = char:FindFirstChild'UpperTorso'
  526. w.C0 = CFrame.new(7, -3, 0) * CFrame.Angles(rad(0),rad(35),rad(0))
  527. local m = Instance.new('SpecialMesh', p1)
  528. m.MeshId = "http://www.roblox.com/asset/?id=92135524"
  529. m.TextureId = "http://www.roblox.com/asset/?id=101072441"
  530. m.Scale = Vector3.new(3, 3, 3)
  531.  
  532. local p = Instance.new('Part', char.UpperTorso) -- Right
  533. p.Anchored = false
  534. p.CanCollide = false
  535. p.Name = "WingRight"
  536. p.Transparency = 1
  537. local w = Instance.new('Weld', p)
  538. w.Part0 = p
  539. w.Part1 = char:FindFirstChild'UpperTorso'
  540. w.C0 = CFrame.new(-7, -3, 0)
  541. local m = Instance.new('SpecialMesh', p)
  542. m.MeshId = "http://www.roblox.com/asset/?id=92135508"
  543. m.TextureId = "http://www.roblox.com/asset/?id=101072441"
  544. m.Scale = Vector3.new(3, 3, 3)
  545.  
  546. s3:Play()
  547. s3.Volume = 0
  548.  
  549. for i = 1,15 do
  550. wait()
  551. s3.Volume = s3.Volume + 0.1
  552. end
  553.  
  554. for i = 1,8 do
  555. wait()
  556. p1.Transparency = p1.Transparency - 0.05
  557. p.Transparency = p.Transparency - 0.05
  558. end
  559. end
  560.  
  561. function debris(a, b, c)
  562. for j = 1, c do
  563. local pr = Instance.new("Part")
  564. pr.Name = ""
  565. pr.Anchored = true
  566. pr.BrickColor = b.BrickColor
  567. pr.CanCollide = true
  568. pr.Material = b.Material
  569. pr.Transparency = b.Transparency
  570. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  571. pr.CFrame = a * CFrame.Angles(0, math.rad(c * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  572. pr.Parent = workspace
  573. game.Debris:AddItem(pr, 15)
  574. end
  575. end
  576.  
  577. function hit(b)
  578. for _,v in pairs(workspace:children()) do
  579. if v:IsA('Model') and v.Name ~= plr.Name and v:FindFirstChild("HumanoidRootPart") and v:FindFirstChildOfClass("Humanoid") then
  580. if (v.HumanoidRootPart.Position-char:FindFirstChild('HumanoidRootPart').Position).magnitude <=b then
  581. v:FindFirstChildOfClass'Humanoid':TakeDamage(v:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
  582. end
  583. end
  584. end
  585. end
  586.  
  587. function punchh()
  588. for i = 0,1,0.2 do
  589. wait()
  590. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(85.142), 0, 0),i)
  591. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(92.876), math.rad(-13.808), math.rad(29.507)),i)
  592. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-11.345), math.rad(-16.215), math.rad(-3.209)),i)
  593. end
  594. wait(.05)
  595. for i = 0,1,0.1 do
  596. wait()
  597. lshold.C0 = lshold.C0:lerp(lsho,i)
  598. lshold.C0 = lshold.C0:lerp(lsho,i)
  599. neck.C0 = neck.C0:lerp(nec,i)
  600. end
  601. end
  602.  
  603. function fx()
  604. local part = Instance.new("Part", workspace)
  605. part.BrickColor = color
  606. part.Transparency = 0.2
  607. part.CFrame = CFrame.new(-66, 12.0000153, 80.3000031, -1, -0, -0, -0, -0, -1, -0, -1, -0)
  608. part.Anchored = true
  609. part.CanCollide = false
  610. part.BrickColor = step.BrickColor
  611. part.Material = step.Material
  612. part.FormFactor = Enum.FormFactor. Symmetric
  613. part.Size = Vector3.new(0.2,0.2,0.2)
  614. part.CFrame = char.HumanoidRootPart.CFrame * CFrame.Angles(math.rad(90),math.rad(180),math.rad(90))
  615. part.BottomSurface = Enum.SurfaceType.Smooth
  616. part.TopSurface = Enum.SurfaceType.Smooth
  617. local pa = part:Clone()
  618. pa.CFrame = char:FindFirstChild'HumanoidRootPart'.CFrame * CFrame.new(0,-2.5,0)
  619. pa.Parent = workspace
  620. pa.Size = size
  621. pa.Transparency = 1
  622. pa.CanCollide = false
  623. game.Debris:AddItem(pa, 20)
  624. local dec = Instance.new('Decal', pa)
  625. dec.Texture = "http://www.roblox.com/asset/?id=483309292"
  626. dec.Face = "Top"
  627. local b1 = Instance.new("SpecialMesh", part)
  628. b1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  629. b1.TextureId = ""
  630. b1.MeshType = Enum.MeshType.FileMesh
  631. b1.Name = "Mesh"
  632. b1.Scale = Vector3.new(0.2, 0.2, 0.2)
  633. s1:Play()
  634. debris(char:FindFirstChild('HumanoidRootPart').CFrame,step,parts)
  635. hit(damage)
  636. for i=0,30,1 do
  637. wait()
  638. b1.Scale = b1.Scale + Vector3.new(size,size,size)
  639. part.Transparency = part.Transparency + 0.05
  640. end
  641. end
  642.  
  643. function smoke(a)
  644. coroutine.resume(coroutine.create(function()
  645. s15:Play()
  646. local pe = Instance.new("ParticleEmitter", a)
  647. pe.Acceleration = Vector3.new(0, 8, 0)
  648. pe.Lifetime = NumberRange.new(1, 1.5)
  649. pe.Rate = 20000
  650. pe.RotSpeed = NumberRange.new(-30, 30)
  651. pe.Rotation = NumberRange.new(0, 360)
  652. pe.Size = NumberSequence.new({
  653. NumberSequenceKeypoint.new(0, 4.38, 0),
  654. NumberSequenceKeypoint.new(0.672, 4.14, 0),
  655. NumberSequenceKeypoint.new(1, 1.48, 0)
  656. })
  657. pe.Texture = "rbxassetid://244221440"
  658. pe.Transparency = NumberSequence.new({
  659. NumberSequenceKeypoint.new(0, 0, 0),
  660. NumberSequenceKeypoint.new(0.529, 0.3, 0),
  661. NumberSequenceKeypoint.new(1, 1, 1)
  662. })
  663. pe.ZOffset = 5
  664. pe.VelocitySpread = 360
  665. pe.Enabled = true
  666. wait(.2)
  667. pe.Enabled = false
  668. end))
  669. end
  670.  
  671. function transform(a)
  672. if a == true then
  673. p1.BrickColor = BrickColor.new('Institutional white')
  674. p.Transparency = 1
  675. p2.PantsTemplate = "http://www.roblox.com/asset/?id=44382868"
  676. s.ShirtTemplate = "http://www.roblox.com/asset/?id=44382849"
  677. smoke(char.HumanoidRootPart)
  678. elseif a == false then
  679. p1.BrickColor = BrickColor.new('Rust')
  680. p.Transparency = 0
  681. p2.PantsTemplate = "rbxassetid://56461131"
  682. s.ShirtTemplate = "rbxassetid://274369116"
  683. smoke(char.HumanoidRootPart)
  684. end
  685. end
  686.  
  687. function chips()
  688. for i = 0,1,0.1 do
  689. wait()
  690. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(0, 0, math.rad(20.512)),i)
  691. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-33.976), math.rad(44.118), math.rad(25.096)),i)
  692. end
  693. wait(1.2)
  694. local p = Instance.new('Part', lshold.Parent)
  695. chipmesh = p
  696. p.Anchored = false
  697. p.CanCollide = false
  698. p.Size = Vector3.new(0.2,0.2,0.2)
  699. local m = Instance.new('SpecialMesh', p)
  700. m.MeshId = "http://www.roblox.com/asset/?id=19106014"
  701. m.TextureId = "http://www.roblox.com/asset/?id=342436716"
  702. local w = Instance.new('Weld', p)
  703. w.Part0 = p
  704. w.Part1 = char:FindFirstChild('LeftHand')
  705. w.C0 = CFrame.new(0,1,0)
  706. s9:Play()
  707. for i = 0,1,0.1 do
  708. wait()
  709. neck.C0 = neck.C0:lerp(nec,i)
  710. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(65.718), math.rad(0.802), math.rad(-33.174)),i)
  711. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(55.978), 0, 0),i)
  712. relbow.C0 = relbow.C0:lerp(relbo*CFrame.Angles(math.rad(7.391), math.rad(-3.266), math.rad(-23.606)),i)
  713. lelbow.C0 = lelbow.C0:lerp(lelbo*CFrame.Angles(0, 0, math.rad(56.322)),i)
  714. end
  715. end
  716.  
  717. function nochips()
  718. chipmesh:FindFirstChildOfClass'Weld':Destroy()
  719. chipmesh.Anchored = false
  720. chipmesh.CanCollide = true
  721. for i = 0,1,0.1 do
  722. wait()
  723. neck.C0 = neck.C0:lerp(nec,i)
  724. rshold.C0 = rshold.C0:lerp(rsho,i)
  725. lshold.C0 = lshold.C0:lerp(lsho,i)
  726. relbow.C0 = relbow.C0:lerp(relbo,i)
  727. lelbow.C0 = lelbow.C0:lerp(lelbo,i)
  728. end
  729. end
  730.  
  731. function spike()
  732. for _, a in pairs(char:children()) do
  733. if a:IsA('BasePart') and a.Name ~= "HumanoidRootPart" then
  734. a.Transparency = 1
  735. end
  736. end
  737. for _, a in pairs(char:children()) do
  738. if a:IsA('Accessory') and a.Name ~= "HumanoidRootPart" then
  739. a.Handle.Transparency = 1
  740. end
  741. end
  742. hum.WalkSpeed = 85
  743. hum.JumpPower = 85
  744. local p = Instance.new('Part', char)
  745. p.Anchored = true
  746. p.Name = "SpikeBall"
  747. p.CanCollide = false
  748. p.Size = Vector3.new(0.05,0.05,0.05)
  749. local w = Instance.new('Weld', p)
  750. w.Part0 = p
  751. w.Part1 = char:FindFirstChild'HumanoidRootPart'
  752. w.C0 = CFrame.new(0, 0, 0)
  753. local m = Instance.new('SpecialMesh', p)
  754. m.MeshId = "http://www.roblox.com/asset/?id=24388358"
  755. m.TextureId = "http://www.roblox.com/asset/?id=31538635"
  756. m.Scale = Vector3.new(17,17,17)
  757. hum.HipHeight = 6
  758. end
  759.  
  760. function leg()
  761. legslam = true
  762. for i = 0,1,0.1 do
  763. wait()
  764. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(rad(12), 0, 0),i)
  765. lleg.C0 = lleg.C0:lerp(lle*CFrame.new(0, 0.57, -0.725) * CFrame.Angles(math.rad(11.23), 0, 0),i)
  766. end
  767. wait(.7)
  768. for i = 0,1,0.1 do
  769. wait()
  770. neck.C0 = neck.C0:lerp(nec*CFrame.Angles(math.rad(-20), 0, 0),i)
  771. lleg.C0 = lleg.C0:lerp(lle*CFrame.new(0, -0.134, -0.71),i)
  772. end
  773. fx()
  774. for i = 0,1,0.1 do
  775. wait()
  776. neck.C0 = neck.C0:lerp(nec,i)
  777. lleg.C0 = lleg.C0:lerp(lle,i)
  778. end
  779. legslam = false
  780. end
  781.  
  782. --// Touched functions
  783.  
  784. char:FindFirstChild('LeftFoot').Touched:connect(function(hit)
  785. if hit:IsA('Part') and hit.Parent.Name ~= plr.Name then
  786. step = hit
  787. end
  788. end)
  789.  
  790. char:FindFirstChild('LeftHand').Touched:connect(function(hit)
  791. if hit.Parent and punch and hit.Parent:FindFirstChildOfClass'Humanoid' then
  792. local targ = hit.Parent
  793. punch = false
  794. s2:Play()
  795. targ:FindFirstChildOfClass'Humanoid':TakeDamage(targ:FindFirstChildOfClass'Humanoid'.MaxHealth/2)
  796. end
  797. end)
  798.  
  799. --// Buttons
  800.  
  801. mouse.KeyDown:connect(function(k)
  802. if sat == false and k == "q" and cooldown then
  803. legslam = true
  804. cooldown = false
  805. leg()
  806. cooldown = true
  807. legslam = false
  808. end
  809. if sat == false and k == "z" and cooldown then
  810. cooldown = false
  811. signs = true
  812. hands2()
  813. signs = false
  814. cooldown = true
  815. end
  816. if sat == false and k == "g" and cooldown then
  817. cooldown = false
  818. signs = true
  819. hands()
  820. signs = false
  821. cooldown = true
  822. end
  823. if sat == false and k == "e" and chip == false and cooldown then
  824. cooldown = false
  825. punch = true
  826. punchh()
  827. cooldown = true
  828. punch = false
  829. end
  830. if sat == false and k == "v" and chip == false and cooldown then
  831. if asdasd == false then
  832. cooldown = false
  833. asdasd = true
  834. isc()
  835. cooldown = true
  836. elseif asdasd == true and cooldown and chip == false and sat == false then
  837. asdasd = false
  838. cooldown = false
  839. unisc()
  840. cooldown = true
  841. end
  842. end
  843. if k == "f" and float == false and cooldown then
  844. if chip == false then
  845. chip = true
  846. cooldown = false
  847. chips()
  848. cooldown = true
  849. elseif chip and cooldown then
  850. cooldown = false
  851. nochips()
  852. chip = false
  853. cooldown = true
  854. end
  855. end
  856. if sat == false and k == "r" and chip == false and cooldown then
  857. if butf == false then
  858. wings = true
  859. cooldown = false
  860. butf = true
  861. eat()
  862. wait(.5)
  863. wing()
  864. float = true
  865. wings = false
  866. cooldown = true
  867. elseif butf == true and cooldown then
  868. cooldown = false
  869. butf = false
  870. unwing()
  871. float = false
  872. cooldown = true
  873. end
  874. end
  875. if k == "c" and chip == false and cooldown then
  876. if sat == false then
  877. cooldown = false
  878. sat = true
  879. sit()
  880. cooldown = true
  881. elseif sat == true and cooldown then
  882. sat = false
  883. cooldown = false
  884. stand()
  885. cooldown = true
  886. end
  887. end
  888. end)
  889.  
  890. --// Left click
  891.  
  892. mouse.Button1Down:connect(function()
  893. if chip and cooldown then
  894. cooldown=false
  895. hum.WalkSpeed = 0
  896. chipmesh:FindFirstChildOfClass'Weld':Destroy()
  897. chipmesh.Anchored = true
  898. chipmesh.CFrame = char:FindFirstChild'LeftHand'.CFrame * CFrame.new(0,-1,0)
  899. local p = Instance.new('Part', lshold.Parent)
  900. p.Anchored = false
  901. p.CanCollide = false
  902. p.BrickColor = BrickColor.new('Cool yellow')
  903. p.Size = Vector3.new(0.2,0.2,0.2)
  904. local m = Instance.new('SpecialMesh', p)
  905. m.MeshId = "http://www.roblox.com/asset/?id=20939848"
  906. m.TextureId = ""
  907. m.Scale = Vector3.new(0.2, 0.2, 0.2)
  908. local w = Instance.new('Weld', p)
  909. w.Part0 = p
  910. w.Part1 = char:FindFirstChild('LeftHand')
  911. w.C0 = CFrame.new(0,.5,0)
  912. for i = 0,1,0.1 do
  913. wait()
  914. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(95.627), math.rad(19.481), math.rad(52.426)),i)
  915. end
  916. wait(.005)
  917. s4:Play()
  918. p:Destroy()
  919. for i = 0,1,0.1 do
  920. wait()
  921. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(55.978), 0, 0),i)
  922. end
  923. local w = Instance.new('Weld', chipmesh)
  924. w.Part0 = chipmesh
  925. w.Part1 = char:FindFirstChild('LeftHand')
  926. w.C0 = CFrame.new(0,1,0)
  927. chipmesh.Anchored = false
  928. if sat == false then
  929. hum.WalkSpeed = 16
  930. elseif sat == true then
  931. hum.WalkSpeed = 0
  932. end
  933. cooldown = true
  934. end
  935. end)
  936.  
  937. --// Anti Laser
  938.  
  939. for _, a in pairs(game:service'Players':players()) do
  940. a.Backpack.ChildAdded:connect(function(p)
  941. if p:IsA('Tool') and p:FindFirstChildOfClass'Part' and p:FindFirstChildOfClass'LocalScript' then
  942. p:Destroy()
  943. end
  944. end)
  945. end
  946.  
  947. --// Loops
  948.  
  949. a = 0
  950. b = 0
  951. c = 30
  952. d = -30
  953.  
  954. game:GetService('RunService').RenderStepped:connect(function()
  955. b = b + 8
  956. hum.PlatformStand = false
  957. if char.UpperTorso:FindFirstChild('WingLeft') then
  958. char.UpperTorso.WingLeft.Weld.C0 = CFrame.new(8, -3, 0) * CFrame.Angles(rad(0),rad(a),rad(0))
  959. char.UpperTorso.WingRight.Weld.C0 = CFrame.new(-8, -3, 0) * CFrame.Angles(rad(0),rad(-a),rad(0))
  960. end
  961. if char:FindFirstChild('SpikeBall') then
  962. char.SpikeBall.CFrame = char.HumanoidRootPart.CFrame
  963. char.SpikeBall.Rotation = Vector3.new(b,b,b)
  964. end
  965. if spikek then
  966. hit(10)
  967. local part = Instance.new('Part', workspace)
  968. part.Name = "ground"
  969. part.BrickColor = step.BrickColor
  970. part.Material = step.Material
  971. part.Anchored = true
  972. part.Size = Vector3.new(7.31, 1, 13.74)
  973. part.CanCollide = false
  974. part.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(0,-6.7,0)
  975. game.Debris:AddItem(part,0.5)
  976. end
  977. end)
  978.  
  979. game:GetService('RunService').RenderStepped:connect(function()
  980. sine = change+sine
  981. ang = ang+0.08
  982. ang2 = ang2+0.01
  983. rad = math.rad
  984. sin = math.sin
  985. arm = arm + 0.06
  986.  
  987. if sat == false and signs == false and chip == false and jumping == false and float == true and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  988. lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-1, 0, 0), 0.1)
  989. rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(-1, 0, 0), 0.1)
  990. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
  991. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
  992. end
  993.  
  994. if sat == false and jumping == false and float == false and punch == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  995. lleg.C0 = lleg.C0:lerp(CFrame.new(-0.53,-0.15+0.1*-math.cos(tick()*4),0.2*math.sin(tick()*4))*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  996. rleg.C0 = rleg.C0:lerp(CFrame.new(0.53,-0.15+0.1*math.cos(tick()*4),0.2*-math.sin(tick()*4))*CFrame.Angles(math.rad(25*math.sin(tick()*8)), rad(10), rad(0)), 1.5) * CFrame.Angles(-0.1, 0, 0)
  997.  
  998. lleg.C0 = lleg.C0:lerp(lle * CFrame.Angles(-0.4, 0, 0), 0.1)
  999. rleg.C0 = rleg.C0:lerp(rle * CFrame.Angles(0.4, 0, 0), 0.1)
  1000.  
  1001. elseif sat == false and jumping == false and float == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1002. lleg.C0 = lleg.C0:lerp(lle,0.1)
  1003. rleg.C0 = rleg.C0:lerp(rle,0.1)
  1004. end
  1005.  
  1006. if sat == false and signs == false and chip == false and jumping == false and float == false and punch == false and legslam == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1007. lshold.C0 = lshold.C0:lerp(lsho*CFrame.Angles(math.rad(-25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
  1008. rshold.C0 = rshold.C0:lerp(rsho*CFrame.Angles(math.rad(25*-math.sin(tick()*8)), rad(-1), rad(0)), 1.5) * CFrame.Angles(0.1, 0, 0)
  1009.  
  1010. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
  1011. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
  1012. end
  1013.  
  1014. if sat == false and signs == false and chip == false and legslam == false and wings == false and punch == false and Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1015. lshold.C0 = lshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1016. rshold.C0 = rshold.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rsho * CFrame.Angles(-0.1, 0, 0), 0.1)
  1017. neck.C0 = neck.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * nec * CFrame.Angles(-0.1, 0, 0), 0.1)
  1018. lleg.C0 = lleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * lle * CFrame.Angles(-0.1, 0, 0), 0.1)
  1019. rleg.C0 = rleg.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * rle * CFrame.Angles(-0.1, 0, 0), 0.1)
  1020. waist.C0 = waist.C0:lerp(CFrame.new(0,-0.001+0.03*math.sin(tick()*5),0) * wais * CFrame.Angles(-0.1, 0, 0), 0.1)
  1021. end
  1022.  
  1023. if hum:GetState() == Enum.HumanoidStateType.Jumping then
  1024. lshold.C0 = lshold.C0:lerp(CFrame.new(0,0,0) * lsho * CFrame.Angles(0, 0, math.rad(-13.579)), 0.1)
  1025. rshold.C0 = rshold.C0:lerp(CFrame.new(0,0,0) * rsho * CFrame.Angles(0, 0, math.rad(15.355)), 0.1)
  1026. end
  1027. end)
  1028.  
  1029. game:GetService('RunService').RenderStepped:connect(function()
  1030. if step.Material == Enum.Material.Grass then
  1031. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1032. s5:Resume()
  1033. else
  1034. s5:Stop()
  1035. end
  1036. end
  1037. end)
  1038.  
  1039. game:GetService('RunService').RenderStepped:connect(function()
  1040. if step.Material == Enum.Material.Wood or step.Material == Enum.Material.WoodPlanks or step.Material == Enum.Material.Neon or step.Material == Enum.Material.Plastic or step.Material == Enum.Material.SmoothPlastic then
  1041. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1042. s6:Resume()
  1043. else
  1044. s6:Stop()
  1045. end
  1046. end
  1047. end)
  1048.  
  1049. game:GetService('RunService').RenderStepped:connect(function()
  1050. if step.Material == Enum.Material.Sand then
  1051. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1052. s7:Resume()
  1053. else
  1054. s7:Stop()
  1055. end
  1056. end
  1057. end)
  1058.  
  1059. game:GetService('RunService').RenderStepped:connect(function()
  1060. if step.Material == Enum.Material.Ice then
  1061. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1062. s8:Resume()
  1063. else
  1064. s8:Stop()
  1065. end
  1066. end
  1067. end)
  1068.  
  1069. game:GetService('RunService').RenderStepped:connect(function()
  1070. if step.Material == Enum.Material.Metal or step.Material == Enum.Material.DiamondPlate then
  1071. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1072. s12:Resume()
  1073. else
  1074. s12:Stop()
  1075. end
  1076. end
  1077. end)
  1078.  
  1079. game:GetService('RunService').RenderStepped:connect(function()
  1080. if step.Material == Enum.Material.Granite or step.Material == Enum.Material.Brick or step.Material == Enum.Material.CorrodedMetal or step.Material == Enum.Material.Concrete or step.Material == Enum.Material.Pebble or step.Material == Enum.Material.Marble or step.Material == Enum.Material.Cobblestone then
  1081. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1082. s13:Resume()
  1083. else
  1084. s13:Stop()
  1085. end
  1086. end
  1087. end)
  1088.  
  1089. game:GetService('RunService').RenderStepped:connect(function()
  1090. if step.Material == Enum.Material.Fabric then
  1091. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude > 2 then
  1092. s14:Resume()
  1093. else
  1094. s14:Stop()
  1095. end
  1096. end
  1097. end)
  1098.  
  1099. game:GetService('RunService').RenderStepped:connect(function()
  1100. if Vector3.new(root.Velocity.X,0,root.Velocity.Z).magnitude < 2 then
  1101. s8:Stop()
  1102. s7:Stop()
  1103. s6:Stop()
  1104. s5:Stop()
  1105. s12:Stop()
  1106. s13:Stop()
  1107. end
  1108. end)
  1109.  
  1110. while wait() do
  1111. s1.Volume = vol1
  1112. s2.Volume = vol2
  1113. for i = 1,12 do
  1114. wait()
  1115. a = a + 2
  1116. end
  1117. for i = 1,12 do
  1118. wait()
  1119. a = a - 2
  1120. end
  1121. end
Add Comment
Please, Sign In to add comment