Advertisement
num6456

noo8 จะ

Apr 27th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ----Made by tyefoodmania
  2. ----Credits go to moneypro123 aka speedoflightpro123
  3. ----Noobs
  4. local Player = game.Players.localPlayer
  5. local Character = Player.Character
  6. local Humanoid = Character.Humanoid
  7. local Mouse = Player:GetMouse()
  8. local LeftArm = Character["Left Arm"]
  9. local RightArm = Character["Right Arm"]
  10. local LeftLeg = Character["Left Leg"]
  11. local RightLeg = Character["Right Leg"]
  12. local Head = Character.Head
  13. local Torso = Character.Torso
  14. local Camera = game.Workspace.CurrentCamera
  15. local RootPart = Character.HumanoidRootPart
  16. local RootJoint = RootPart.RootJoint
  17. local Pause = false
  18. local attack = false
  19. local LOL = false
  20. local Anim = 'Idle'
  21. local attacktype = 1
  22. local delays = false
  23. local play = true
  24. local targetted = nil
  25. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  26. local velocity = RootPart.Velocity.y
  27. local sine = 0
  28. local change = 1
  29. local doe = 0
  30. local Create = LoadLibrary("RbxUtility").Create
  31. local txt = Instance.new("BillboardGui", Character)
  32. txt.Adornee = Character.Head
  33. txt.Name = "_status"
  34. txt.Size = UDim2.new(2, 0, 1.2, 0)
  35. txt.StudsOffset = Vector3.new(-9, 8, 0)
  36. local text = Instance.new("TextLabel", txt)
  37. text.Size = UDim2.new(10, 0, 7, 0)
  38. text.FontSize = "Size24"
  39. text.TextScaled = true
  40. text.TextTransparency = 0
  41. text.BackgroundTransparency = 1
  42. text.TextTransparency = 0
  43. text.TextStrokeTransparency = 0
  44. text.Font = "Antique"
  45. text.TextStrokeColor3 = Color3.new(100,170,50)
  46. text.Text = "N008"
  47. for i,v in pairs(Character:children()) do
  48. if v:IsA("Hat") then
  49. v:Destroy()
  50. end
  51. end
  52. for i,v in pairs(Character:children()) do
  53. if v:IsA("Accessory") then
  54. v:Destroy()
  55. end
  56. end
  57. for i,v in pairs(Character:children()) do
  58. if v:IsA("Clothing") then
  59. v:Destroy()
  60. end
  61. end
  62. for i,v in pairs(Character:children()) do
  63. if v:IsA("Accoutrement") then
  64. v:Destroy()
  65. end
  66. end
  67. Head.face.Texture = "rbxassetid://459924806"
  68. spawn(function()
  69. while wait() do
  70. Head.BrickColor = BrickColor.new("Bright yellow")
  71. RightArm.BrickColor = BrickColor.new("Bright yellow")
  72. LeftArm.BrickColor = BrickColor.new("Bright yellow")
  73. Torso.BrickColor = BrickColor.new("Bright blue")
  74. RightLeg.BrickColor = BrickColor.new("Br. yellowish green")
  75. LeftLeg.BrickColor = BrickColor.new("Br. yellowish green")
  76. end
  77. end)
  78. local Shirt = Instance.new("Shirt",Character)
  79. local Pants = Instance.new("Pants",Character)
  80. local M = Instance.new("Sound",Torso)
  81. local M = Instance.new("Sound",Torso)
  82. M.SoundId = "rbxassetid://426729010"
  83. M.Looped = true
  84. M.Volume = 0.5
  85. M.Pitch = 1
  86. M:play()
  87. Humanoid.WalkSpeed = 50
  88. Humanoid.Animator.Parent = nil
  89. Character.Animate.Parent = nil
  90.  
  91. local newMotor = function(part0, part1, c0, c1)
  92. local w = Create('Motor'){
  93. Parent = part0,
  94. Part0 = part0,
  95. Part1 = part1,
  96. C0 = c0,
  97. C1 = c1,
  98. }
  99. return w
  100. end
  101. function clerp(a, b, t)
  102. return a:lerp(b, t)
  103. end
  104.  
  105. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  106. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  107.  
  108. local RW = newMotor(Torso, RightArm, CFrame.new(1.5, 0, 0), CFrame.new(0, 0, 0))
  109. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.5, 0, 0), CFrame.new(0, 0, 0))
  110. local RH = newMotor(Torso, RightLeg, CFrame.new(.5, -2, 0), CFrame.new(0, 0, 0))
  111. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.5, -2, 0), CFrame.new(0, 0, 0))
  112. RootJoint.C1 = CFrame.new(0, 0, 0)
  113. RootJoint.C0 = CFrame.new(0, 0, 0)
  114. Torso.Neck.C1 = CFrame.new(0, 0, 0)
  115. Torso.Neck.C0 = CFrame.new(0, 1.5, 0)
  116.  
  117. local rarmc1 = RW.C1
  118. local larmc1 = LW.C1
  119. local rlegc1 = RH.C1
  120. local llegc1 = LH.C1
  121.  
  122. local resetc1 = false
  123.  
  124. function PlayAnimationFromTable(table, speed, bool)
  125. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  126. Torso.Neck.C0 = clerp(Torso.Neck.C0, table[2], speed)
  127. RW.C0 = clerp(RW.C0, table[3], speed)
  128. LW.C0 = clerp(LW.C0, table[4], speed)
  129. RH.C0 = clerp(RH.C0, table[5], speed)
  130. LH.C0 = clerp(LH.C0, table[6], speed)
  131. if bool == true then
  132. if resetc1 == false then
  133. resetc1 = true
  134. RootJoint.C1 = RootJoint.C1
  135. Torso.Neck.C1 = Torso.Neck.C1
  136. RW.C1 = rarmc1
  137. LW.C1 = larmc1
  138. RH.C1 = rlegc1
  139. LH.C1 = llegc1
  140. end
  141. end
  142. end
  143.  
  144. ArtificialHB = Create("BindableEvent", script){
  145. Parent = script,
  146. Name = "Heartbeat",
  147. }
  148.  
  149. script:WaitForChild("Heartbeat")
  150.  
  151. frame = 1 / 30
  152. tf = 0
  153. allowframeloss = false
  154. tossremainder = false
  155. lastframe = tick()
  156. script.Heartbeat:Fire()
  157.  
  158. game:GetService("RunService").Heartbeat:connect(function(s, p)
  159. tf = tf + s
  160. if tf >= frame then
  161. if allowframeloss then
  162. script.Heartbeat:Fire()
  163. lastframe = tick()
  164. else
  165. for i = 1, math.floor(tf / frame) do
  166. script.Heartbeat:Fire()
  167. end
  168. lastframe = tick()
  169. end
  170. if tossremainder then
  171. tf = 0
  172. else
  173. tf = tf - frame * math.floor(tf / frame)
  174. end
  175. end
  176. end)
  177.  
  178. function swait(num)
  179. if num == 0 or num == nil then
  180. ArtificialHB.Event:wait()
  181. else
  182. for i = 0, num do
  183. ArtificialHB.Event:wait()
  184. end
  185. end
  186. end
  187. function Hit1()
  188. if not D then D = true
  189. Pause = true
  190. for i = 0,0.5,0.1 do
  191. swait()
  192. PlayAnimationFromTable({
  193. CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, -0.3, 0),
  194. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  195. CFrame.new(1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,1),
  196. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  197. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  198. CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
  199. }, .5, false)
  200. end
  201. local Grab = Instance.new("Part",RightArm)
  202. Grab.Size = Vector3.new(1,1,1)
  203. Grab.CanCollide = false
  204. Grab.BrickColor = BrickColor.new("")
  205. Grab.Transparency = math.huge
  206. local Grabo = Instance.new("Weld",Grab)
  207. Grabo.Part0 = RightArm
  208. Grabo.Part1 = Grab
  209. Grabo.C0 = CFrame.new(0,-1.1,0)
  210. local RA = Instance.new("Part",RightArm)
  211. RA.Size = Vector3.new(1.1,2.1,1.1)
  212. RA.BrickColor = BrickColor.new("Bright yellow")
  213. RA.Material = "Neon"
  214. RA.Transparency = 0
  215. local RA2 = Instance.new("Weld",RA)
  216. RA2.Part0 = RightArm
  217. RA2.Part1 = RA
  218. RA2.C0 = CFrame.new(0,0,0)
  219. local Sou = Instance.new("Sound",Torso)
  220. Sou.SoundId = "rbxassetid://1474367957"
  221. Sou.Pitch = 1
  222. Sou.Looped = false
  223. Sou.Volume = 1
  224. Sou:play()
  225. coroutine.resume(coroutine.create(function()
  226. for i = 1,2 do
  227. for i = 1,5 do
  228. RA.Transparency = RA.Transparency + 0.1
  229. game:GetService("RunService").RenderStepped:wait()
  230. end
  231. wait(0.1)
  232. for i = 1,5 do
  233. RA.Transparency = RA.Transparency - 0.1
  234. game:GetService("RunService").RenderStepped:wait()
  235. end
  236. game:GetService("RunService").RenderStepped:wait()
  237. end
  238. for i = 1,10 do
  239. RA.Transparency = RA.Transparency + 0.1
  240. game:GetService("RunService").RenderStepped:wait()
  241. end
  242. RA:remove()
  243. end))
  244. local SFXZ = Instance.new("Sound",Torso)
  245. SFXZ.SoundId = "rbxassetid://1474367957"
  246. SFXZ.Volume = 1
  247. SFXZ.Pitch = 1.5
  248. SFXZ.Looped = false
  249. wait(0.01)
  250. SFXZ:Play()
  251. Grab.Touched:connect(function(hit)
  252. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  253. Grab:remove()
  254. hit.Parent.Humanoid:TakeDamage(13)
  255. local SFXZ = Instance.new("Sound",Torso)
  256. SFXZ.SoundId = "rbxassetid://1474367957"
  257. SFXZ.Volume = 1
  258. SFXZ.Pitch = 1
  259. SFXZ.Looped = false
  260. wait(0.01)
  261. SFXZ:Play()
  262. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  263. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  264. Fl.velocity = Torso.CFrame.lookVector*33
  265. wait(0.05)
  266. Fl:remove()
  267. end
  268. end)
  269. for i = 0,1,0.1 do
  270. swait()
  271. PlayAnimationFromTable({
  272. CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, 0.6, 0),
  273. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -0.2, 0),
  274. CFrame.new(1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0.4),
  275. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(1.2, 0, 0),
  276. CFrame.new(0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  277. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,-0.1),
  278. }, .5, false)
  279. end
  280. Grab:remove()
  281. Pause = false
  282. wait(0.2)
  283. D = false
  284. end
  285. end
  286. function Hit2()
  287. if not D then D = true
  288. Pause = true
  289. for i = 0,0.5,0.1 do
  290. swait()
  291. PlayAnimationFromTable({
  292. CFrame.new(0,0,0) * CFrame.new(0, 0, 0.2) * CFrame.Angles(0, 0.3, 0),
  293. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  294. CFrame.new(1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55,0,0),
  295. CFrame.new(-1.9,0.5,0.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -1),
  296. CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  297. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  298. }, .5, false)
  299. end
  300. local Grab = Instance.new("Part",RightArm)
  301. Grab.Size = Vector3.new(1,1,1)
  302. Grab.CanCollide = false
  303. Grab.BrickColor = BrickColor.new("Deep orange")
  304. Grab.Transparency = math.huge
  305. local Grabo = Instance.new("Weld",Grab)
  306. Grabo.Part0 = LeftArm
  307. Grabo.Part1 = Grab
  308. Grabo.C0 = CFrame.new(0,-1.1,0)
  309. local LA = Instance.new("Part",LeftArm)
  310. LA.Size = Vector3.new(1.1,2.1,1.1)
  311. LA.BrickColor = BrickColor.new("New Yeller")
  312. LA.Material = "Neon"
  313. LA.Transparency = 0
  314. local LA2 = Instance.new("Weld",LA)
  315. LA2.Part0 = LeftArm
  316. LA2.Part1 = LA
  317. LA2.C0 = CFrame.new(0,0,0)
  318. local Sou = Instance.new("Sound",Torso)
  319. Sou.SoundId = "rbxassetid://1474367957"
  320. Sou.Pitch = 1
  321. Sou.Looped = false
  322. Sou.Volume = 1
  323. Sou:play()
  324. coroutine.resume(coroutine.create(function()
  325. for i = 1,2 do
  326. for i = 1,5 do
  327. LA.Transparency = LA.Transparency + 0.1
  328. game:GetService("RunService").RenderStepped:wait()
  329. end
  330. wait(0.1)
  331. for i = 1,5 do
  332. LA.Transparency = LA.Transparency - 0.1
  333. game:GetService("RunService").RenderStepped:wait()
  334. end
  335. game:GetService("RunService").RenderStepped:wait()
  336. end
  337. for i = 1,10 do
  338. LA.Transparency = LA.Transparency + 0.1
  339. game:GetService("RunService").RenderStepped:wait()
  340. end
  341. LA:remove()
  342. end))
  343. local SFXZ = Instance.new("Sound",Torso)
  344. SFXZ.SoundId = "rbxassetid://1474367957"
  345. SFXZ.Volume = 1
  346. SFXZ.Pitch = 1.5
  347. SFXZ.Looped = false
  348. wait(0.01)
  349. SFXZ:Play()
  350. Grab.Touched:connect(function(hit)
  351. if hit.Parent:FindFirstChild("Humanoid")and hit.Parent ~= nil and hit.Parent.Name ~= Player.Character.Name then
  352. Grab:remove()
  353. hit.Parent.Humanoid:TakeDamage(13)
  354. local SFXZ = Instance.new("Sound",Torso)
  355. SFXZ.SoundId = "rbxassetid://1474367957"
  356. SFXZ.Volume = 1
  357. SFXZ.Pitch = 1
  358. SFXZ.Looped = false
  359. wait(0.01)
  360. SFXZ:Play()
  361. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  362. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  363. Fl.velocity = Torso.CFrame.lookVector*33
  364. wait(0.05)
  365. Fl:remove()
  366. end
  367. end)
  368. for i = 0,1,0.1 do
  369. swait()
  370. PlayAnimationFromTable({
  371. CFrame.new(0,0,0) * CFrame.new(0, 0, -0.2) * CFrame.Angles(0, -0.6, 0),
  372. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0.2, 0),
  373. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.2,0,0.4),
  374. CFrame.new(-1.7,0.5,-0.6) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, -0.4),
  375. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  376. CFrame.new(-0.6,-1.8,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,-0.1),
  377. }, .5, false)
  378. end
  379. Grab:remove()
  380. Pause = false
  381. wait(0.2)
  382. D = false
  383. end
  384. end
  385. function Torn()
  386. if not D then D = true
  387. Pause = true
  388. for i = 0,1.2,0.1 do
  389. swait()
  390. PlayAnimationFromTable({
  391. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  392. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  393. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  394. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  395. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  396. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  397. }, .5, false)
  398. end
  399. for i = 0,3,0.1 do
  400. swait()
  401. PlayAnimationFromTable({
  402. CFrame.new(0,0,0) * CFrame.new(0, -0.7, 0) * CFrame.Angles(0, 0, 0),
  403. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  404. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  405. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  406. CFrame.new(0.5,-1.8,0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.9, 0, 0),
  407. CFrame.new(-0.5,-1.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.5, 0, 0),
  408. }, .1, false)
  409. end
  410. local RA = Instance.new("Part",RightArm)
  411. RA.Size = Vector3.new(1.1,2.1,1.1)
  412. RA.BrickColor = BrickColor.new("New Yeller")
  413. RA.Material = "Neon"
  414. RA.Transparency = 0
  415. local RA2 = Instance.new("Weld",RA)
  416. RA2.Part0 = RightLeg
  417. RA2.Part1 = RA
  418. RA2.C0 = CFrame.new(0,0,0)
  419. local E = Instance.new("Sound",Torso)
  420. E.SoundId = "rbxassetid://426729010"
  421. E.Volume = 112
  422. E.Pitch = 1
  423. E.Looped = false
  424. E:play()
  425. for i = 1,2 do ----15
  426. for i = 1,5 do
  427. RA.Transparency = RA.Transparency + 0.1
  428. game:GetService("RunService").RenderStepped:wait()
  429. end
  430. wait(0.1)
  431. for i = 1,5 do
  432. RA.Transparency = RA.Transparency - 0.1
  433. game:GetService("RunService").RenderStepped:wait()
  434. end
  435. end
  436. for i = 1,10 do
  437. RA.Transparency = RA.Transparency + 0.1
  438. game:GetService("RunService").RenderStepped:wait()
  439. end
  440. for i = 0,1.1,0.1 do
  441. swait()
  442. PlayAnimationFromTable({
  443. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  444. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  445. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  446. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  447. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  448. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  449. }, .5, false)
  450. end
  451. ---
  452. local To = Instance.new("Part",Torso)
  453. To.Size = Vector3.new(10,10,10)
  454. To.BrickColor = BrickColor.new("New blue")
  455. To.Transparency = 0
  456. To.CanCollide = false
  457. To.CFrame = Torso.CFrame*CFrame.new(0,0,0)
  458. coroutine.resume(coroutine.create(function()
  459. for i = 1,26 do
  460. local Ef = Instance.new("Part",Torso)
  461. Ef.Size = Vector3.new(1,1,1)
  462. Ef.Anchored = true
  463. Ef.CanCollide = false
  464. Ef.BrickColor = BrickColor.new("New Yeller")
  465. Ef.CFrame = To.CFrame*CFrame.new(0,0,0)*CFrame.Angles(1.55,0,0)
  466. local Ef2 = Instance.new("SpecialMesh",Ef)
  467. Ef2.MeshId = "rbxassetid://459924806"
  468. Ef2.Scale = Vector3.new(1,1,0.01)
  469. coroutine.resume(coroutine.create(function()
  470. for i = 1,300 do
  471. Ef2.Scale = Ef2.Scale + Vector3.new(1,1,0.1)
  472. Ef.Transparency = Ef.Transparency + 0.005
  473. game:GetService("RunService").RenderStepped:wait()
  474. end
  475. Ef:remove()
  476. end))
  477. wait(0.3)
  478. end
  479. end))
  480. To.Touched:connect(function(hit)
  481. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  482. if not ZC then ZC = true
  483. hit.Parent.Humanoid:TakeDamage(100)
  484. local FlyIn = Instance.new("BodyPosition",hit.Parent.Torso)
  485. FlyIn.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  486. FlyIn.Position = Torso.Position
  487. wait(0.3)
  488. FlyIn:remove()
  489. ZC = false
  490. end
  491. end
  492. end)
  493. local To2 = Instance.new("SpecialMesh",To)
  494. To2.MeshId = "http://www.roblox.com/asset/?id=1051557"
  495. To2.Scale = Vector3.new(6,6,6)
  496. local Spa = Instance.new("ParticleEmitter",To)
  497. Spa.Texture = "rbxassetid://569507414"
  498. Spa.Size = NumberSequence.new(0.8,0.2)
  499. Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  500. Spa.Lifetime = NumberRange.new(1,2)
  501. Spa.Rate = 99
  502. Spa.Transparency = NumberSequence.new(0.5,0.6)
  503. Spa.LightEmission = 0.75
  504. Spa.Speed = NumberRange.new(2)
  505. Spa.Acceleration = Vector3.new(0, 0, 0)
  506. Spa.VelocitySpread = 1212
  507. coroutine.resume(coroutine.create(function()
  508. for i = 1,300 do
  509. To.CFrame = Torso.CFrame*CFrame.new(0,0,0)*CFrame.Angles(0,1,0)
  510. To.Transparency = To.Transparency + 0.00009
  511. To2.Scale = To2.Scale + Vector3.new(0.05,0.05,0.05)
  512. game:GetService("RunService").RenderStepped:wait()
  513. end
  514. To:remove()
  515. end))
  516. for i = 1,28 do
  517. for i = 0,0.1,0.1 do
  518. swait()
  519. PlayAnimationFromTable({
  520. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1, 0),
  521. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  522. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  523. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  524. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  525. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  526. }, .5, false)
  527. end
  528. for i = 0,0.1,0.1 do
  529. swait()
  530. PlayAnimationFromTable({
  531. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -3, 0),
  532. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  533. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  534. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  535. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  536. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  537. }, .5, false)
  538. end
  539. for i = 0,0.1,0.1 do
  540. swait()
  541. PlayAnimationFromTable({
  542. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -4, 0),
  543. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  544. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  545. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  546. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  547. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  548. }, .5, false)
  549. end
  550. for i = 0,0.1,0.1 do
  551. swait()
  552. PlayAnimationFromTable({
  553. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -5, 0),
  554. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  555. CFrame.new(2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  556. CFrame.new(-2,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -1.55),
  557. CFrame.new(0.5,-1.5,-1.1) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  558. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  559. }, .5, false)
  560. end
  561. game:GetService("RunService").RenderStepped:wait()
  562. end
  563. Pause = false
  564. To:remove()
  565. ---
  566. wait(1)
  567. D = false
  568. end
  569. end
  570. function Zoom()
  571. if not D then D = true
  572. Pause = true
  573. Character.Humanoid.WalkSpeed = 0
  574. for i = 0,1.2,0.1 do
  575. swait()
  576. PlayAnimationFromTable({
  577. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.55, 0),
  578. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.15, 0),
  579. CFrame.new(0.45,0.5,-1.2) * CFrame.new(0, 0, 0) * CFrame.Angles(0,-0.5,-1.55),
  580. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.1, 0, 0),
  581. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  582. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  583. }, .5, false)
  584. end
  585. local RA = Instance.new("Part",RightArm)
  586. RA.Size = Vector3.new(1.1,2.1,1.1)
  587. RA.BrickColor = BrickColor.new("New Yeller")
  588. RA.Material = "Neon"
  589. RA.Transparency = 0
  590. local RA2 = Instance.new("Weld",RA)
  591. RA2.Part0 = RightArm
  592. RA2.Part1 = RA
  593. RA2.C0 = CFrame.new(0,0,0)
  594. local E = Instance.new("Sound",Torso)
  595. E.SoundId = "rbxassetid://727821717"
  596. E.Volume = 112
  597. E.Pitch = 1
  598. E.Looped = false
  599. E:play()
  600. for i = 1,2 do ----15
  601. for i = 1,5 do
  602. RA.Transparency = RA.Transparency + 0.1
  603. game:GetService("RunService").RenderStepped:wait()
  604. end
  605. wait(0.1)
  606. for i = 1,5 do
  607. RA.Transparency = RA.Transparency - 0.1
  608. game:GetService("RunService").RenderStepped:wait()
  609. end
  610. end
  611. for i = 1,10 do
  612. RA.Transparency = RA.Transparency + 0.1
  613. game:GetService("RunService").RenderStepped:wait()
  614. end
  615. RightArm.Transparency = 1
  616. local owo = Instance.new("Model",Torso)
  617. Instance.new("Humanoid",owo)
  618. Shirt:Clone().Parent = owo
  619. local R = Instance.new("Part",owo)
  620. R.Size = Vector3.new(1,2,1)
  621. R.TopSurface = 0
  622. R.BottomSurface = 0
  623. R.Name = 'Right Arm'
  624. R.BrickColor = RightArm.BrickColor
  625. R.CanCollide = false
  626. R.Anchored = true
  627. R.CFrame = RightArm.CFrame*CFrame.new(0,0,0)
  628. R.Touched:connect(function(hit)
  629. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= Character.Name then
  630. if not ZZ then ZZ = true
  631. hit.Parent.Humanoid:TakeDamage(40)
  632. hit.Parent.Humanoid.Sit = true
  633. local Fl = Instance.new("BodyVelocity",hit.Parent.Torso)
  634. Fl.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  635. Fl.velocity = RootPart.CFrame.lookVector*130
  636. wait(0.1)
  637. Fl:remove()
  638. wait(0.00001)
  639. ZZ = false
  640. end
  641. end
  642. end)
  643. coroutine.resume(coroutine.create(function()
  644. for i = 1,20 do
  645. R.Size = R.Size + Vector3.new(0,0.8,0)
  646. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.5,0)
  647. game:GetService("RunService").RenderStepped:wait()
  648. end
  649. end))
  650. for i = 0,1,0.1 do
  651. swait()
  652. PlayAnimationFromTable({
  653. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 1.5, 0),
  654. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, -1.2, 0),
  655. CFrame.new(1.95,0.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0,0,1.55),
  656. CFrame.new(-1.5,0,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.7, 0, 0),
  657. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  658. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1)
  659. }, .5, false)
  660. end
  661. wait(1)
  662. for i = 1,20 do
  663. R.Size = R.Size - Vector3.new(0,0.8,0)
  664. R.CFrame = RightArm.CFrame*CFrame.new(0.015,-R.Size.Y/2.75,0)
  665. game:GetService("RunService").RenderStepped:wait()
  666. end
  667. RightArm.Transparency = 0
  668. R:remove()
  669. Pause = false
  670. Character.Humanoid.WalkSpeed = 25
  671. wait(1)
  672. D = false
  673. end
  674. end
  675. function Baby()
  676. if not D then D = true
  677. Pause = true
  678. for i = 0,1.2,0.1 do
  679. swait()
  680. PlayAnimationFromTable({
  681. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  682. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  683. CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.8,0,0),
  684. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  685. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  686. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  687. }, .5, false)
  688. end
  689. wait(0.5)
  690. local Ba = Instance.new("Sound",Torso)
  691. Ba.SoundId = "rbxassetid://1037853116"
  692. Ba.Volume = math.huge
  693. Ba.Pitch = 1
  694. Ba.Looped = false
  695. Ba:play()
  696. for i = 0,1.2,0.1 do
  697. swait()
  698. PlayAnimationFromTable({
  699. CFrame.new(0,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  700. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  701. CFrame.new(1.5,1,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(2.4,0,0),
  702. CFrame.new(-1.5,0.5,-0.5) * CFrame.new(0, 0, 0) * CFrame.Angles(1.55, 0, 0),
  703. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  704. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  705. }, .5, false)
  706. end
  707. wait(0.8)
  708. Pause = false
  709. wait(0.5)
  710. D = false
  711. end
  712. end
  713.  
  714. function Breathe()
  715. if not DZ then DZ = true
  716. Pause = true
  717. Character.Humanoid.WalkSpeed = 0
  718. for i = 0,3,0.1 do
  719. swait()
  720. PlayAnimationFromTable({
  721. CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  722. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.1, 0, 0),
  723. CFrame.new(1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3,0,0),
  724. CFrame.new(-1.5,0,0.2) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
  725. CFrame.new(0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0.1),
  726. CFrame.new(-0.6,-2,0.3) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, -0.1),
  727. }, .5, false)
  728. end
  729. local P = Instance.new("Part",Character)
  730. P.Size = Vector3.new(0.1,0.1,0.1)
  731. P.Anchored = true
  732. P.Transparency = math.huge
  733. P.CanCollide = false
  734. P.CFrame = Head.CFrame*CFrame.new(0,-0.1,-1.9)
  735. local FlA = Instance.new("ParticleEmitter",P)
  736. FlA.Texture = "rbxassetid://833874434"
  737. FlA.Size = NumberSequence.new(0.7,0.1)
  738. FlA.EmissionDirection = "Back"
  739. FlA.Rotation = NumberRange.new(-100, 100)
  740. FlA.RotSpeed = NumberRange.new(-100, 100)
  741. FlA.Transparency = NumberSequence.new(0,1)
  742. FlA.Drag = 4
  743. FlA.Lifetime = NumberRange.new(0.5)
  744. FlA.Rate = 1111
  745. wait(2)
  746. FlA.Enabled = false
  747. wait(1)
  748. P:remove()
  749. for i = 0,3,0.1 do
  750. swait()
  751. PlayAnimationFromTable({
  752. CFrame.new(0,0.01,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  753. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(-0.3, 0, 0),
  754. CFrame.new(1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3,0,0),
  755. CFrame.new(-1.5,0,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0.3, 0, 0),
  756. CFrame.new(0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0.1),
  757. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, -0.1),
  758. }, .5, false)
  759. end
  760. local RA = Instance.new("Part",RightArm)
  761. RA.Size = Vector3.new(1.1,2.1,1.1)
  762. RA.BrickColor = BrickColor.new("New Yeller")
  763. RA.Material = "Neon"
  764. RA.Transparency = 0
  765. local RA2 = Instance.new("Weld",RA)
  766. RA2.Part0 = RightArm
  767. RA2.Part1 = RA
  768. RA2.C0 = CFrame.new(0,0,0)
  769. local LA = Instance.new("Part",LeftArm)
  770. LA.Size = Vector3.new(1.1,2.1,1.1)
  771. LA.BrickColor = BrickColor.new("New Yeller")
  772. LA.Material = "Neon"
  773. LA.Transparency = 0
  774. local LA2 = Instance.new("Weld",LA)
  775. LA2.Part0 = LeftArm
  776. LA2.Part1 = LA
  777. LA2.C0 = CFrame.new(0,0,0)
  778. local AZZ = Instance.new("ParticleEmitter",LA)
  779. AZZ.Texture = "rbxassetid://998225956"
  780. AZZ.EmissionDirection = "Top"
  781. AZZ.Rotation = NumberRange.new(-100, 100)
  782. AZZ.Size = NumberSequence.new(1)
  783. AZZ.Lifetime = NumberRange.new(0.8,1)
  784. AZZ.Rate = 50
  785. AZZ.Speed = NumberRange.new(0.3)
  786. AZZ.LightEmission = 1
  787. AZZ.VelocitySpread = 100
  788. local LAZZ = Instance.new("ParticleEmitter",RA)
  789. LAZZ.Texture = "rbxassetid://998225956"
  790. LAZZ.EmissionDirection = "Top"
  791. LAZZ.Rotation = NumberRange.new(-100, 100)
  792. LAZZ.Size = NumberSequence.new(1)
  793. LAZZ.Lifetime = NumberRange.new(0.8,1)
  794. LAZZ.Rate = 50
  795. LAZZ.Speed = NumberRange.new(0.3)
  796. LAZZ.LightEmission = 1
  797. LAZZ.VelocitySpread = 100
  798. local Spa = Instance.new("ParticleEmitter",RA)
  799. Spa.Texture = "rbxassetid://569507414"
  800. Spa.Size = NumberSequence.new(0.8,0.2)
  801. Spa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  802. Spa.Lifetime = NumberRange.new(1,2)
  803. Spa.Rate = 99
  804. Spa.Transparency = NumberSequence.new(0.5,0.6)
  805. Spa.LightEmission = 0.75
  806. Spa.Speed = NumberRange.new(2)
  807. Spa.Acceleration = Vector3.new(0, 0, 0)
  808. Spa.VelocitySpread = 1212
  809. local Rpa = Instance.new("ParticleEmitter",LA)
  810. Rpa.Texture = "rbxassetid://569507414"
  811. Rpa.Size = NumberSequence.new(0.8,0.2)
  812. Rpa.Color = ColorSequence.new(Color3.fromRGB(255, 255, 0), Color3.fromRGB(255, 255, 0))
  813. Rpa.EmissionDirection = "Top"
  814. Rpa.Lifetime = NumberRange.new(1,2)
  815. Rpa.Rate = 99
  816. Rpa.Transparency = NumberSequence.new(0.5,0.6)
  817. Rpa.LightEmission = 0.75
  818. Rpa.Speed = NumberRange.new(2)
  819. Rpa.Acceleration = Vector3.new(0, 0, 0)
  820. Rpa.VelocitySpread = 1212
  821. for i = 1,5 do ----15
  822. local E = Instance.new("Sound",Torso)
  823. E.SoundId = "rbxassetid://186130717"
  824. E.Volume = 1
  825. E.Pitch = 1
  826. E.Looped = false
  827. local E1 = Instance.new("Sound",Torso)
  828. E1.SoundId = "rbxassetid://727821717"
  829. E1.Volume = 0.1
  830. E1.Pitch = 1
  831. E1.Looped = false
  832. E1:play()
  833. E:play()
  834. for i = 1,5 do
  835. RA.Transparency = RA.Transparency + 0.1
  836. LA.Transparency = LA.Transparency + 0.1
  837. game:GetService("RunService").RenderStepped:wait()
  838. end
  839. wait(0.1)
  840. for i = 1,5 do
  841. RA.Transparency = RA.Transparency - 0.1
  842. LA.Transparency = LA.Transparency - 0.1
  843. game:GetService("RunService").RenderStepped:wait()
  844. end
  845. wait(0.1)
  846. for i = 1,9 do
  847. RA.Transparency = RA.Transparency + 0.1
  848. LA.Transparency = LA.Transparency + 0.1
  849. game:GetService("RunService").RenderStepped:wait()
  850. end
  851. wait(0.1)
  852. for i = 1,9 do
  853. RA.Transparency = RA.Transparency - 0.1
  854. LA.Transparency = LA.Transparency - 0.1
  855. game:GetService("RunService").RenderStepped:wait()
  856. end
  857. game:GetService("RunService").RenderStepped:wait()
  858. end
  859. Rpa.Enabled = false
  860. Spa.Enabled = false
  861. LAZZ.Enabled = false
  862. AZZ.Enabled = false
  863. local FlA = Instance.new("ParticleEmitter",LeftArm)
  864. FlA.Texture = "rbxassetid://313742348"
  865. FlA.Size = NumberSequence.new(0.7)
  866. FlA.Transparency = NumberSequence.new(0)
  867. FlA.Lifetime = NumberRange.new(0.4)
  868. FlA.Rate = 20
  869. FlA.Rotation = NumberRange.new(-100, 100)
  870. FlA.Speed = NumberRange.new(0)
  871. FlA.LockedToPart = true
  872. local LP = Instance.new("ParticleEmitter",LeftArm)
  873. LP.Texture = "rbxassetid://1298571523"
  874. LP.Transparency = NumberSequence.new(0,1)
  875. LP.Size = NumberSequence.new(0.06)
  876. LP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
  877. LP.Lifetime = NumberRange.new(1.5)
  878. LP.Rate = 4000
  879. LP.ZOffset = 1
  880. LP.VelocitySpread = 35
  881. LP.Speed = NumberRange.new(0.3)
  882. LP.LightEmission = 1
  883. LP.LightInfluence = 1
  884. LP.LockedToPart = true
  885. local ZXA = Instance.new("ParticleEmitter",RightArm)
  886. ZXA.Texture = "rbxassetid://313742348"
  887. ZXA.Size = NumberSequence.new(0.7)
  888. ZXA.Transparency = NumberSequence.new(0)
  889. ZXA.Lifetime = NumberRange.new(0.4)
  890. ZXA.Rate = 20
  891. ZXA.Rotation = NumberRange.new(-100, 100)
  892. ZXA.Speed = NumberRange.new(0)
  893. ZXA.LockedToPart = true
  894. local LLP = Instance.new("ParticleEmitter",RightArm)
  895. LLP.Texture = "rbxassetid://1298571523"
  896. LLP.Transparency = NumberSequence.new(0,1)
  897. LLP.Size = NumberSequence.new(0.06)
  898. LLP.Color = ColorSequence.new(Color3.fromRGB(255,255,0))
  899. LLP.Lifetime = NumberRange.new(1.5)
  900. LLP.Rate = 4000
  901. LLP.ZOffset = 1
  902. LLP.VelocitySpread = 35
  903. LLP.Speed = NumberRange.new(0.3)
  904. LLP.LightEmission = 1
  905. LLP.LightInfluence = 1
  906. LLP.LockedToPart = true
  907. Character.Humanoid.WalkSpeed = 25
  908. wait(1)
  909. Pause = false
  910. for i = 1,11 do
  911. RA.Transparency = RA.Transparency + 0.1
  912. LA.Transparency = LA.Transparency + 0.1
  913. game:GetService("RunService").RenderStepped:wait()
  914. end
  915. LA:remove()
  916. RA:remove()
  917. Humanoid.MaxHealth = 400
  918. wait(0.01)
  919. Humanoid.Health = 500
  920. Mouse.KeyDown:connect(function(key)
  921. if key == "e" then
  922. Zoom()
  923. end
  924. if key == "r" then
  925. Torn()
  926. end
  927. end)
  928. Mouse.Button1Down:connect(function()
  929. if attack == false and attacktype == 1 then
  930. Hit1()
  931. attacktype = 2
  932. elseif attack == false and attacktype == 2 then
  933. Hit2()
  934. attacktype = 1
  935. end
  936. end)
  937. wait(12412412)
  938. DZ = false
  939. end
  940. end
  941. Mouse.KeyDown:connect(function(key)
  942. if key == "m" then
  943. Baby()
  944. end
  945. if key == "z" then
  946. Breathe()
  947. end
  948. end)
  949.  
  950. New = function(Object, Parent, Name, Data)
  951. local Object = Instance.new(Object)
  952. for Index, Value in pairs(Data or {}) do
  953. Object[Index] = Value
  954. end
  955. Object.Parent = Parent
  956. Object.Name = Name
  957. return Object
  958. end
  959. function rayCast(Position, Direction, Range, Ignore)
  960. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  961. end
  962.  
  963.  
  964.  
  965.  
  966. coroutine.wrap(function()
  967. while 1 do
  968. swait()
  969. if doe <= 360 then
  970. doe = doe + 2
  971. else
  972. doe = 0
  973. end
  974. end
  975. end)()
  976. while true do
  977. swait()
  978. for i, v in pairs(Character:GetChildren()) do
  979. if v:IsA("Part") then
  980. v.Material = "SmoothPlastic"
  981. elseif v:IsA("Accessory") then
  982. v:WaitForChild("Handle").Material = "SmoothPlastic"
  983. end
  984. end
  985.  
  986. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  987. velocity = RootPart.Velocity.y
  988. sine = sine + change
  989. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 4, Character)
  990. if RootPart.Velocity.y > 1 and hit == nil then
  991. Anim = "Jump"
  992. if Pause == false then
  993. PlayAnimationFromTable({
  994. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  995. CFrame.new(-0.0579944476, 1.48445117, -0.000906195492, 0.999631822, -0.0259140469, -0.00804444961, 0.0262291897, 0.998776913, 0.0419151038, 0.0069484422, -0.0421099029, 0.999089062) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  996. CFrame.new(1.68067598, 0.167780995, 5.50026158e-08, 0.965881884, -0.258982956, -3.41060513e-13, 0.258982956, 0.965881884, 4.47034836e-07, 8.49010675e-08, 3.16640808e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  997. CFrame.new(-1.67620921, 0.188169807, -3.04922651e-07, 0.95698452, 0.290146649, -2.61441073e-07, -0.290146649, 0.95698452, -1.0069979e-05, -2.89639524e-06, 1.04542296e-05, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  998. CFrame.new(0.537238836, -1.93797374, 0.176598221, 0.998698533, -0.0506777391, -0.00574572897, 0.0510024093, 0.992341697, 0.112511501, -6.35704041e-08, -0.112657718, 0.993634105) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  999. CFrame.new(-0.536944568, -1.94808352, 0.126473114, 0.998626292, 0.0520468242, 0.00521374354, -0.0523067154, 0.993665218, 0.0995327011, -3.84102691e-07, -0.099668026, 0.995023906) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1000. }, .3, false)
  1001. end
  1002. elseif RootPart.Velocity.y < -1 and hit == nil then
  1003. Anim = "Fall"
  1004. if Pause == false then
  1005. PlayAnimationFromTable({
  1006. CFrame.new(0, 0, 0, 1, -2.21689355e-12, -5.11591203e-13, -2.21689355e-12, 1, 7.74860496e-07, -5.11591203e-13, 7.74860496e-07, 1.00000048) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1007. CFrame.new(-0.0576509275, 1.50532985, -0.129091382, 0.999631822, -0.0231846143, -0.0140984114, 0.0262298863, 0.958684564, 0.283279002, 0.00694822101, -0.283544153, 0.958935201) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1008. CFrame.new(1.68622994, 0.21415168, 7.02040666e-08, 0.881990671, -0.471266806, -3.41060513e-13, 0.471266806, 0.881990671, 4.47034836e-07, 1.54493137e-07, 2.89139166e-07, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1009. CFrame.new(-1.72513735, 0.240890861, 2.54038241e-07, 0.814108491, 0.58071363, -2.61430017e-07, -0.580713034, 0.814108849, -1.00698489e-05, -6.08482924e-06, 8.98058715e-06, 1.00000024) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1010. CFrame.new(0.536720514, -1.92783141, 0.223740995, 0.998698533, -0.0498600565, -0.0107376017, 0.0510031059, 0.976314366, 0.210260883, -3.04512355e-07, -0.210534185, 0.977587521) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1011. CFrame.new(-0.535922825, -1.92850935, 0.222419083, 0.99863112, 0.0512506701, 0.0104565797, -0.0523065142, 0.978474379, 0.199629858, -3.7062793e-07, -0.199902818, 0.97981596) * CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0),
  1012. }, .3, false)
  1013. end
  1014. elseif Torsovelocity < 1 and hit ~= nil then
  1015. Anim = "Idle"
  1016. if Pause == false then
  1017. change = 1
  1018. PlayAnimationFromTable({
  1019. CFrame.new(0,0,0) * CFrame.new(0, 0-.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
  1020. CFrame.new(0,1.5,0) * CFrame.new(0, 0, 0) * CFrame.Angles(0-.08*math.sin(tick()*2),0,0)*CFrame.Angles(-0.2, 0, 0),
  1021. CFrame.new(1.1,1,-0.8) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(3.1,0,-0.4),
  1022. CFrame.new(-1.5,0,0) * CFrame.new(0, 0-.08*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0),
  1023. CFrame.new(0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, 0.1),
  1024. CFrame.new(-0.6,-2,0) * CFrame.new(0, 0+.05*math.sin(tick()*2), 0) * CFrame.Angles(0, 0, -0.1),
  1025. }, .3, false)
  1026. end
  1027. elseif Torsovelocity > 2 and hit ~= nil then
  1028. Anim = "Walk"
  1029. if Pause == false then
  1030. PlayAnimationFromTable({
  1031. CFrame.new(0,0,0) * CFrame.new(0,0,0)*CFrame.Angles(-0.3,0-.1*math.sin(tick()*9),0+RootPart.RotVelocity.Y/29),
  1032. CFrame.new(0,1.5,0) * CFrame.new(0,0,0) * CFrame.Angles(0,0,0)*CFrame.Angles(-0.3, 0, 0),
  1033. CFrame.new(1.1,1,-0.8) * CFrame.new(0,0,0) * CFrame.Angles(3.1,0,-0.4),
  1034. CFrame.new(-1.5,0,0) * CFrame.new(0,0,0+.5 * math.cos((sine) / 3.5))*CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)),0,0),
  1035. CFrame.new(0.5,-2,0) * CFrame.new(0, 0, 0+ .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 - 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
  1036. CFrame.new(-0.5,-2,0) * CFrame.new(0, 0, 0- .5 * math.cos((sine) / 3.5)) * CFrame.Angles(math.rad(0 + 60 * math.cos((sine) / 3.5)), 0, 0-RootPart.RotVelocity.Y/33),
  1037. }, .3, false)
  1038. end
  1039. end
  1040. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement