Advertisement
5325325325

Untitled

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