Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2019
257
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.77 KB | None | 0 0
  1. -- [ By StarzoZero ] --
  2. -- [ WIP ] --
  3.  
  4.  
  5.  
  6.  
  7.  
  8. wait()
  9.  
  10. local music = Instance.new("Sound", game.LocalPlayer.Character.Head)
  11. music.SoundId = "rbxassetid://157133918"
  12. music.Volume = 3.2
  13. music.Looped = true
  14. music.Pitch = 1
  15. music:Play()
  16.  
  17. thing = 0
  18. LoudVolume = false
  19. Submerged = false
  20. Music = true
  21. script.Name = "SANIIIIC"
  22. Player = game.Players.LocalPlayer
  23. c = game.Players.LocalPlayer.Character
  24. Head = c.Head
  25. Humanoid = c.Humanoid
  26. anim = c.Humanoid.Animator
  27. rage = false
  28. p = game.Players.LocalPlayer
  29. Music = false
  30. anim = Humanoid.Animator
  31. local Effects = {}
  32. attack = false
  33. local attacking = false
  34. vt = Vector3.new
  35. bc = BrickColor.new
  36. br = BrickColor.random
  37. it = Instance.new
  38. cf = CFrame.new
  39. euler = CFrame.fromEulerAnglesXYZ
  40. angles = CFrame.Angles
  41. matr = math.random
  42. mouse = Player:GetMouse()
  43.  
  44. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  45. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  46. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  47. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  48. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  49. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  50. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  51. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  52. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  53. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  54. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  55. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  56. RS = c.Torso:FindFirstChild("Right Shoulder")
  57. LS = c.Torso:FindFirstChild("Left Shoulder")
  58. RH = c.Torso:FindFirstChild("Right Hip")
  59. LH = c.Torso:FindFirstChild("Left Hip")
  60. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  61. N = c.Torso:FindFirstChild("Neck")
  62. cf = CFrame.new
  63. ang = CFrame.Angles
  64. rd = math.rad
  65. rd2 = math.random
  66.  
  67. --[[mainShirt = c.Shirt
  68. mainPants = c.Pants
  69. mainBColors = c["Body Colors"]
  70. mainShirt.ShirtTemplate = "rbxassetid://769869277"
  71. mainPants.PantsTemplate = "rbxassetid://805486769"
  72. mainBColors.HeadColor = BrickColor.new("Pastel brown")
  73. mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
  74. mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
  75. mainBColors.RightArmColor = BrickColor.new("Pastel brown")
  76. mainBColors.RightLegColor = BrickColor.new("Pastel brown")
  77. mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
  78. function swait(num)
  79. if num==0 or num==nil then
  80. game:service'RunService'.Heartbeat:wait(0)
  81. else
  82. for i=0,num do
  83. game:service'RunService'.Heartbeat:wait(0)
  84. end
  85. end
  86. end
  87.  
  88. function lerpz(joint, prop, cfrmz, alp)
  89. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  90. end
  91. function resetlerp()
  92. RJ.C0 = RJC0
  93. RJ.C1 = RJC1
  94. N.C0 = NC0
  95. N.C1 = NC1
  96. RS.C0 = RSC0
  97. RS.C1 = RSC1
  98. LS.C0 = LSC0
  99. LS.C1 = LSC1
  100. RH.C0 = RHC0
  101. RH.C1 = RHC1
  102. LH.C0 = LHC0
  103. LH.C1 = LHC1
  104. end
  105.  
  106. local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://0" S2.Volume = 1 S2.PlaybackSpeed = 1 S2.Looped = true S2:Play()
  107.  
  108. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
  109. local att1 = Instance.new("Attachment", c["Right Leg"])
  110. att1.Name = "att1"
  111. att1.Position = Vector3.new(0.5, 1, 0.5)
  112. local att2 = Instance.new("Attachment", c["Right Leg"])
  113. att2.Name = "att2"
  114. att2.Position = Vector3.new(-0.5, 1, 0.5)
  115. local att3 = Instance.new("Attachment", c["Right Leg"])
  116. att3.Name = "att3"
  117. att3.Position = Vector3.new(0.5, -1, 0.5)
  118. local att4 = Instance.new("Attachment", c["Right Leg"])
  119. att4.Name = "att4"
  120. att4.Position = Vector3.new(-0.5, -1, 0.5)
  121.  
  122. local attt1 = Instance.new("Attachment", c["Left Leg"])
  123. attt1.Name = "att1"
  124. attt1.Position = Vector3.new(0.5, 1, 0.5)
  125. local attt2 = Instance.new("Attachment", c["Left Leg"])
  126. attt2.Name = "att2"
  127. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  128. local attt3 = Instance.new("Attachment", c["Left Leg"])
  129. attt3.Name = "att3"
  130. attt3.Position = Vector3.new(0.5, -1, 0.5)
  131. local attt4 = Instance.new("Attachment", c["Left Leg"])
  132. attt4.Name = "att4"
  133. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  134.  
  135. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  136. trailtop1.Enabled = true
  137. trailtop1.Texture = "rbxassetid://16607923"
  138. trailtop1.Name = "toptrail"
  139. trailtop1.MinLength = 0
  140. trailtop1.Lifetime = 0.1
  141.  
  142. trailtop1.Color = ColorSequence.new(ColorArray)
  143.  
  144. trailtop1.Attachment0 = att1
  145. trailtop1.Attachment1 = att2
  146. trailtop1.Transparency = NumberSequence.new({
  147. NumberSequenceKeypoint.new(0, 0.5, 0),
  148. NumberSequenceKeypoint.new(1, 1, 0)
  149. })
  150.  
  151. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  152. trailbot1.Enabled = true
  153. trailbot1.Texture = "rbxassetid://16607923"
  154. trailbot1.Name = "bottrail"
  155. trailbot1.MinLength = 0
  156. trailbot1.Lifetime = 0.1
  157.  
  158. trailbot1.Color = ColorSequence.new(ColorArray)
  159.  
  160. trailbot1.Attachment0 = att3
  161. trailbot1.Attachment1 = att4
  162. trailbot1.Transparency = NumberSequence.new({
  163. NumberSequenceKeypoint.new(0, 0.5, 0),
  164. NumberSequenceKeypoint.new(1, 1, 0)
  165. })
  166.  
  167. local trailside1 = Instance.new("Trail", c["Right Leg"])
  168. trailside1.Enabled = true
  169. trailside1.Texture = "rbxassetid://16607923"
  170. trailside1.Name = "sidetrail1"
  171. trailside1.MinLength = 0
  172. trailside1.Lifetime = 0.1
  173.  
  174. trailside1.Color = ColorSequence.new(ColorArray)
  175.  
  176. trailside1.Attachment0 = att1
  177. trailside1.Attachment1 = att3
  178. trailside1.Transparency = NumberSequence.new({
  179. NumberSequenceKeypoint.new(0, 0.5, 0),
  180. NumberSequenceKeypoint.new(1, 1, 0)
  181. })
  182.  
  183. local trailside2 = Instance.new("Trail", c["Right Leg"])
  184. trailside2.Enabled = true
  185. trailside2.Texture = "rbxassetid://16607923"
  186. trailside2.Name = "sidetrail2"
  187. trailside2.MinLength = 0
  188. trailside2.Lifetime = 0.1
  189. spawn(function()
  190. while true do wait()
  191. trailside2.Color = ColorSequence.new(ColorArray)
  192. end
  193. end)
  194. trailside2.Attachment0 = att2
  195. trailside2.Attachment1 = att4
  196. trailside2.Transparency = NumberSequence.new({
  197. NumberSequenceKeypoint.new(0, 0.5, 0),
  198. NumberSequenceKeypoint.new(1, 1, 0)
  199. })
  200.  
  201.  
  202. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  203. trailtop12.Enabled = true
  204. trailtop12.Texture = "rbxassetid://16607923"
  205. trailtop12.Name = "toptrail"
  206. trailtop12.MinLength = 0
  207. trailtop12.Lifetime = 0.1
  208. spawn(function()
  209. while true do wait()
  210. trailtop12.Color = ColorSequence.new(ColorArray)
  211. end
  212. end)
  213. trailtop12.Attachment0 = attt1
  214. trailtop12.Attachment1 = attt2
  215. trailtop12.Transparency = NumberSequence.new({
  216. NumberSequenceKeypoint.new(0, 0.5, 0),
  217. NumberSequenceKeypoint.new(1, 1, 0)
  218. })
  219.  
  220. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  221. trailbot2.Enabled = true
  222. trailbot2.Texture = "rbxassetid://16607923"
  223. trailbot2.Name = "bottrail"
  224. trailbot2.MinLength = 0
  225. trailbot2.Lifetime = 0.1
  226.  
  227. trailbot2.Color = ColorSequence.new(ColorArray)
  228.  
  229. trailbot2.Attachment0 = attt3
  230. trailbot2.Attachment1 = attt4
  231. trailbot2.Transparency = NumberSequence.new({
  232. NumberSequenceKeypoint.new(0, 0.5, 0),
  233. NumberSequenceKeypoint.new(1, 1, 0)
  234. })
  235.  
  236. local trailside12 = Instance.new("Trail", c["Left Leg"])
  237. trailside12.Enabled = true
  238. trailside12.Texture = "rbxassetid://16607923"
  239. trailside12.Name = "sidetrail1"
  240. trailside12.MinLength = 0
  241. trailside12.Lifetime = 0.1
  242.  
  243. trailside12.Color = ColorSequence.new(ColorArray)
  244.  
  245. trailside12.Attachment0 = attt1
  246. trailside12.Attachment1 = attt3
  247. trailside12.Transparency = NumberSequence.new({
  248. NumberSequenceKeypoint.new(0, 0.5, 0),
  249. NumberSequenceKeypoint.new(1, 1, 0)
  250. })
  251.  
  252. local trailside22 = Instance.new("Trail", c["Left Leg"])
  253. trailside22.Enabled = true
  254. trailside22.Texture = "rbxassetid://16607923"
  255. trailside22.Name = "sidetrail2"
  256. trailside22.MinLength = 0
  257. trailside22.Lifetime = 0.1
  258.  
  259. trailside22.Color = ColorSequence.new(ColorArray)
  260.  
  261. trailside22.Attachment0 = attt2
  262. trailside22.Attachment1 = attt4
  263. trailside22.Transparency = NumberSequence.new({
  264. NumberSequenceKeypoint.new(0, 0.5, 0),
  265. NumberSequenceKeypoint.new(1, 1, 0)
  266. })
  267.  
  268.  
  269. local att1 = Instance.new("Attachment", c["Right Arm"])
  270. att1.Name = "att1"
  271. att1.Position = Vector3.new(0.5, 1, 0.5)
  272. local att2 = Instance.new("Attachment", c["Right Arm"])
  273. att2.Name = "att2"
  274. att2.Position = Vector3.new(-0.5, 1, 0.5)
  275. local att3 = Instance.new("Attachment", c["Right Arm"])
  276. att3.Name = "att3"
  277. att3.Position = Vector3.new(0.5, -1, 0.5)
  278. local att4 = Instance.new("Attachment", c["Right Arm"])
  279. att4.Name = "att4"
  280. att4.Position = Vector3.new(-0.5, -1, 0.5)
  281.  
  282. local attt1 = Instance.new("Attachment", c["Left Arm"])
  283. attt1.Name = "att1"
  284. attt1.Position = Vector3.new(0.5, 1, 0.5)
  285. local attt2 = Instance.new("Attachment", c["Left Arm"])
  286. attt2.Name = "att2"
  287. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  288. local attt3 = Instance.new("Attachment", c["Left Arm"])
  289. attt3.Name = "att3"
  290. attt3.Position = Vector3.new(0.5, -1, 0.5)
  291. local attt4 = Instance.new("Attachment", c["Left Arm"])
  292. attt4.Name = "att4"
  293. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  294.  
  295. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  296. trailtop1.Enabled = true
  297. trailtop1.Texture = "rbxassetid://16607923"
  298. trailtop1.Name = "toptrail"
  299. trailtop1.MinLength = 0
  300. trailtop1.Lifetime = 0.1
  301.  
  302. trailtop1.Color = ColorSequence.new(ColorArray)
  303.  
  304. trailtop1.Attachment0 = att1
  305. trailtop1.Attachment1 = att2
  306. trailtop1.Transparency = NumberSequence.new({
  307. NumberSequenceKeypoint.new(0, 0.5, 0),
  308. NumberSequenceKeypoint.new(1, 1, 0)
  309. })
  310.  
  311. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  312. trailbot1.Enabled = true
  313. trailbot1.Texture = "rbxassetid://16607923"
  314. trailbot1.Name = "bottrail"
  315. trailbot1.MinLength = 0
  316. trailbot1.Lifetime = 0.1
  317. spawn(function()
  318. while true do wait()
  319. trailbot1.Color = ColorSequence.new(ColorArray)
  320. end
  321. end)
  322. trailbot1.Attachment0 = att3
  323. trailbot1.Attachment1 = att4
  324. trailbot1.Transparency = NumberSequence.new({
  325. NumberSequenceKeypoint.new(0, 0.5, 0),
  326. NumberSequenceKeypoint.new(1, 1, 0)
  327. })
  328.  
  329. local trailside1 = Instance.new("Trail", c["Right Arm"])
  330. trailside1.Enabled = true
  331. trailside1.Texture = "rbxassetid://16607923"
  332. trailside1.Name = "sidetrail1"
  333. trailside1.MinLength = 0
  334. trailside1.Lifetime = 0.1
  335.  
  336. trailside1.Color = ColorSequence.new(ColorArray)
  337.  
  338. trailside1.Attachment0 = att1
  339. trailside1.Attachment1 = att3
  340. trailside1.Transparency = NumberSequence.new({
  341. NumberSequenceKeypoint.new(0, 0.5, 0),
  342. NumberSequenceKeypoint.new(1, 1, 0)
  343. })
  344.  
  345. local trailside2 = Instance.new("Trail", c["Right Arm"])
  346. trailside2.Enabled = true
  347. trailside2.Texture = "rbxassetid://16607923"
  348. trailside2.Name = "sidetrail2"
  349. trailside2.MinLength = 0
  350. trailside2.Lifetime = 0.1
  351.  
  352. trailside2.Color = ColorSequence.new(ColorArray)
  353.  
  354. trailside2.Attachment0 = att2
  355. trailside2.Attachment1 = att4
  356. trailside2.Transparency = NumberSequence.new({
  357. NumberSequenceKeypoint.new(0, 0.5, 0),
  358. NumberSequenceKeypoint.new(1, 1, 0)
  359. })
  360.  
  361.  
  362. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  363. trailtop12.Enabled = true
  364. trailtop12.Texture = "rbxassetid://16607923"
  365. trailtop12.Name = "toptrail"
  366. trailtop12.MinLength = 0
  367. trailtop12.Lifetime = 0.1
  368.  
  369. trailtop12.Color = ColorSequence.new(ColorArray)
  370.  
  371. trailtop12.Attachment0 = attt1
  372. trailtop12.Attachment1 = attt2
  373. trailtop12.Transparency = NumberSequence.new({
  374. NumberSequenceKeypoint.new(0, 0.5, 0),
  375. NumberSequenceKeypoint.new(1, 1, 0)
  376. })
  377.  
  378. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  379. trailbot2.Enabled = true
  380. trailbot2.Texture = "rbxassetid://16607923"
  381. trailbot2.Name = "bottrail"
  382. trailbot2.MinLength = 0
  383. trailbot2.Lifetime = 0.1
  384.  
  385. trailbot2.Color = ColorSequence.new(ColorArray)
  386.  
  387. trailbot2.Attachment0 = attt3
  388. trailbot2.Attachment1 = attt4
  389. trailbot2.Transparency = NumberSequence.new({
  390. NumberSequenceKeypoint.new(0, 0.5, 0),
  391. NumberSequenceKeypoint.new(1, 1, 0)
  392. })
  393.  
  394. local trailside12 = Instance.new("Trail", c["Left Arm"])
  395. trailside12.Enabled = true
  396. trailside12.Texture = "rbxassetid://16607923"
  397. trailside12.Name = "sidetrail1"
  398. trailside12.MinLength = 0
  399. trailside12.Lifetime = 0.1
  400.  
  401. trailside12.Color = ColorSequence.new(ColorArray)
  402.  
  403. trailside12.Attachment0 = attt1
  404. trailside12.Attachment1 = attt3
  405. trailside12.Transparency = NumberSequence.new({
  406. NumberSequenceKeypoint.new(0, 0.5, 0),
  407. NumberSequenceKeypoint.new(1, 1, 0)
  408. })
  409.  
  410. local trailside22 = Instance.new("Trail", c["Left Arm"])
  411. trailside22.Enabled = true
  412. trailside22.Texture = "rbxassetid://16607923"
  413. trailside22.Name = "sidetrail2"
  414. trailside22.MinLength = 0
  415. trailside22.Lifetime = 0.1
  416.  
  417. trailside22.Color = ColorSequence.new(ColorArray)
  418.  
  419. trailside22.Attachment0 = attt2
  420. trailside22.Attachment1 = attt4
  421. trailside22.Transparency = NumberSequence.new({
  422. NumberSequenceKeypoint.new(0, 0.5, 0),
  423. NumberSequenceKeypoint.new(1, 1, 0)
  424. })
  425.  
  426. local att1 = Instance.new("Attachment", c["Torso"])
  427. att1.Name = "att1"
  428. att1.Position = Vector3.new(1, 1, 0.5)
  429. local att2 = Instance.new("Attachment", c["Torso"])
  430. att2.Name = "att2"
  431. att2.Position = Vector3.new(-1, 1, 0.5)
  432. local att3 = Instance.new("Attachment", c["Torso"])
  433. att3.Name = "att3"
  434. att3.Position = Vector3.new(1, -1, 0.5)
  435. local att4 = Instance.new("Attachment", c["Torso"])
  436. att4.Name = "att4"
  437. att4.Position = Vector3.new(-1, -1, 0.5)
  438.  
  439. local attt1 = Instance.new("Attachment", c["Head"])
  440. attt1.Name = "att1"
  441. attt1.Position = Vector3.new(.55, .55, 0.025)
  442. local attt2 = Instance.new("Attachment", c["Head"])
  443. attt2.Name = "att2"
  444. attt2.Position = Vector3.new(-.55, .55, 0.025)
  445. local attt3 = Instance.new("Attachment", c["Head"])
  446. attt3.Name = "att3"
  447. attt3.Position = Vector3.new(.55, -.5, 0.025)
  448. local attt4 = Instance.new("Attachment", c["Head"])
  449. attt4.Name = "att4"
  450. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  451. local trailtop1 = Instance.new("Trail", c["Torso"])
  452. trailtop1.Enabled = true
  453. trailtop1.Texture = "rbxassetid://16607923"
  454. trailtop1.Name = "toptrail"
  455. trailtop1.MinLength = 0
  456. trailtop1.Lifetime = 0.1
  457.  
  458. trailtop1.Color = ColorSequence.new(ColorArray)
  459.  
  460. trailtop1.Attachment0 = att1
  461. trailtop1.Attachment1 = att2
  462. trailtop1.Transparency = NumberSequence.new({
  463. NumberSequenceKeypoint.new(0, 0.5, 0),
  464. NumberSequenceKeypoint.new(1, 1, 0)
  465. })
  466. local trailbot1 = Instance.new("Trail", c["Torso"])
  467. trailbot1.Enabled = true
  468. trailbot1.Texture = "rbxassetid://16607923"
  469. trailbot1.Name = "bottrail"
  470. trailbot1.MinLength = 0
  471. trailbot1.Lifetime = 0.1
  472.  
  473. trailbot1.Color = ColorSequence.new(ColorArray)
  474.  
  475. trailbot1.Attachment0 = att3
  476. trailbot1.Attachment1 = att4
  477. trailbot1.Transparency = NumberSequence.new({
  478. NumberSequenceKeypoint.new(0, 0.5, 0),
  479. NumberSequenceKeypoint.new(1, 1, 0)
  480. })
  481. local trailside1 = Instance.new("Trail", c["Torso"])
  482. trailside1.Enabled = true
  483. trailside1.Texture = "rbxassetid://16607923"
  484. trailside1.Name = "sidetrail1"
  485. trailside1.MinLength = 0
  486. trailside1.Lifetime = 0.1
  487.  
  488. trailside1.Color = ColorSequence.new(ColorArray)
  489.  
  490. trailside1.Attachment0 = att1
  491. trailside1.Attachment1 = att3
  492. trailside1.Transparency = NumberSequence.new({
  493. NumberSequenceKeypoint.new(0, 0.5, 0),
  494. NumberSequenceKeypoint.new(1, 1, 0)
  495. })
  496. local trailside2 = Instance.new("Trail", c["Torso"])
  497. trailside2.Enabled = true
  498. trailside2.Texture = "rbxassetid://16607923"
  499. trailside2.Name = "sidetrail2"
  500. trailside2.MinLength = 0
  501. trailside2.Lifetime = 0.1
  502.  
  503. trailside2.Color = ColorSequence.new(ColorArray)
  504.  
  505. trailside2.Attachment0 = att2
  506. trailside2.Attachment1 = att4
  507. trailside2.Transparency = NumberSequence.new({
  508. NumberSequenceKeypoint.new(0, 0.5, 0),
  509. NumberSequenceKeypoint.new(1, 1, 0)
  510. })
  511. local trailtop12 = Instance.new("Trail", c["Head"])
  512. trailtop12.Enabled = true
  513. trailtop12.Texture = "rbxassetid://16607923"
  514. trailtop12.Name = "toptrail"
  515. trailtop12.MinLength = 0
  516. trailtop12.Lifetime = 0.1
  517.  
  518. trailtop12.Color = ColorSequence.new(ColorArray)
  519.  
  520. trailtop12.Attachment0 = attt1
  521. trailtop12.Attachment1 = attt2
  522. trailtop12.Transparency = NumberSequence.new({
  523. NumberSequenceKeypoint.new(0, 0.5, 0),
  524. NumberSequenceKeypoint.new(1, 1, 0)
  525. })
  526. local trailbot2 = Instance.new("Trail", c["Head"])
  527. trailbot2.Enabled = true
  528. trailbot2.Texture = "rbxassetid://16607923"
  529. trailbot2.Name = "bottrail"
  530. trailbot2.MinLength = 0
  531. trailbot2.Lifetime = 0.1
  532.  
  533. trailbot2.Color = ColorSequence.new(ColorArray)
  534.  
  535. trailbot2.Attachment0 = attt3
  536. trailbot2.Attachment1 = attt4
  537. trailbot2.Transparency = NumberSequence.new({
  538. NumberSequenceKeypoint.new(0, 0.5, 0),
  539. NumberSequenceKeypoint.new(1, 1, 0)
  540. })
  541. local trailside12 = Instance.new("Trail", c["Head"])
  542. trailside12.Enabled = true
  543. trailside12.Texture = "rbxassetid://16607923"
  544. trailside12.Name = "sidetrail1"
  545. trailside12.MinLength = 0
  546. trailside12.Lifetime = 0.1
  547.  
  548. trailside12.Color = ColorSequence.new(ColorArray)
  549.  
  550. trailside12.Attachment0 = attt1
  551. trailside12.Attachment1 = attt3
  552. trailside12.Transparency = NumberSequence.new({
  553. NumberSequenceKeypoint.new(0, 0.5, 0),
  554. NumberSequenceKeypoint.new(1, 1, 0)
  555. })
  556. local trailside22 = Instance.new("Trail", c["Head"])
  557. trailside22.Enabled = true
  558. trailside22.Texture = "rbxassetid://16607923"
  559. trailside22.Name = "sidetrail2"
  560. trailside22.MinLength = 0
  561. trailside22.Lifetime = 0.1
  562.  
  563. trailside22.Color = ColorSequence.new(ColorArray)
  564.  
  565. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  566. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  567.  
  568. Sped = 0
  569.  
  570. function ragplayer(cactus)
  571. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://872854837" S.Volume = 2 S:Play()
  572. cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
  573. if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
  574. cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
  575. makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
  576. maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
  577. end
  578. if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
  579. cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
  580. makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
  581. maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
  582. end
  583. if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
  584. cactus.Torso:FindFirstChild("Right Hip"):Destroy()
  585. makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
  586. maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
  587. end
  588. if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
  589. cactus.Torso:FindFirstChild("Left Hip"):Destroy()
  590. makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
  591. maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
  592. end
  593. cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
  594. end
  595. function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
  596.  
  597. function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
  598.  
  599. local hitz = false
  600. c.HumanoidRootPart.Touched:connect(function(Hit)
  601. if thing >= 100 then
  602. if hitz == false then hitz = true
  603. ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://633129949" S.Volume = 6 S:Play()
  604. wait(15)
  605. end
  606. end
  607. end)
  608.  
  609. function Spin()
  610. attack = true
  611. while attack == true do Sped = Sped + 0.25
  612. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1)
  613. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  614. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  615. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  616. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  617. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  618. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  619. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  620. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  621. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  622. swait()
  623. end
  624. end
  625.  
  626. SanicScreams = {585370931,202427593}
  627.  
  628. mouse.KeyDown:connect(function(key)
  629. if attack == true then return end
  630. if key == "q" then
  631. Spin()
  632. end
  633. if key == "e" then
  634. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://1247863968" S.Volume = 10 S:Play()
  635. wait(1.25)
  636. local Sanic = SanicScreams[math.random(1,#SanicScreams)]
  637. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://0" S.Volume = 10 S:Play()
  638. spawn(function()
  639. local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Cyan")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
  640. local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
  641. for i = 1,25 do
  642. SPM.Scale = SPM.Scale + Vector3.new(4,4,4)
  643. Sp.Transparency = Sp.Transparency + 1/25
  644. swait()
  645. end
  646. end)
  647. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://622100551" S.Volume = 10 S:Play()
  648. Sped = 150
  649. end
  650. end)
  651.  
  652. mouse.KeyUp:connect(function(key)
  653. if key == "q" then
  654. attack = false
  655. end
  656. end)
  657.  
  658. local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
  659. P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
  660. P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
  661. spawn(function()
  662. while true do
  663. P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
  664. swait()
  665. end
  666. end)
  667.  
  668. anim.Parent = nil
  669. sine = 0
  670.  
  671. game:GetService("RunService").RenderStepped:connect(function()
  672. if attack == false then
  673. thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  674. game.Workspace.CurrentCamera.FieldOfView = 70+thing/100
  675. if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
  676. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
  677. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  678. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  679. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  680. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  681. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  682. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  683. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  684. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  685. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  686. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
  687. sine = sine + 1 Sped = Sped + 0.1
  688. if thing <= 200 then
  689. if S2.PlaybackSpeed >= 1 then
  690. S2.PlaybackSpeed = 1
  691. else
  692. S2.PlaybackSpeed = thing/80
  693. end
  694. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  695. S2.Volume = thing/20
  696. end
  697. if thing <= 200 then
  698. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  699. S2.Volume = thing/20
  700. else
  701. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  702. end
  703. if thing <= 100 then
  704. for i,v in pairs(c:children()) do
  705. if v.ClassName == "Part" then
  706. for i,v2 in pairs(v:children()) do
  707. if v2.ClassName == "Trail" then
  708. v2.Enabled = false
  709. v2.LightEmission = 1
  710. end
  711. end
  712. end
  713. end
  714. else
  715. for i,v in pairs(c:children()) do
  716. if v.ClassName == "Part" then
  717. for i,v2 in pairs(v:children()) do
  718. if v2.ClassName == "Trail" then
  719. v2.Lifetime = 2
  720. v2.Enabled = true
  721. end
  722. end
  723. end
  724. end
  725. end
  726. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1)
  727. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  728. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
  729. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  730. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
  731. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  732. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  733. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  734. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  735. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  736. else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
  737. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  738. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  739. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  740. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  741. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  742. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  743. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  744. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  745. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  746. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  747. end
  748. for i,v in pairs (c:children()) do
  749. if v.ClassName == "Accessory" then
  750. for i,v2 in pairs (v:children()) do
  751. if v2.ClassName == "Part" then
  752. v2.Anchored = false
  753. end
  754. end
  755. end
  756. for i,v in pairs (c:children()) do
  757. if v.ClassName == "Part" then
  758. v.Anchored = false
  759. end
  760. end
  761. end
  762. end
  763. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement