Advertisement
Guest User

Untitled

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