Guest User

Untitled

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