Advertisement
Guest User

Untitled

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