Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 317.34 KB | None | 0 0
  1. a5
  2. 1916
  3. 1917
  4. 1918
  5. 1919
  6. 1920
  7. 1921
  8. 1922
  9. 1923
  10. 1924
  11. 1925
  12. 1926
  13. 1927
  14. 1928
  15. 1929
  16. 1930
  17. 1931
  18. 1932
  19. 1933
  20. 1934
  21. 1935
  22. 1936
  23. 1937
  24. 1938
  25. 1939
  26. 1940
  27. 1941
  28. 1942
  29. 1943
  30. 1944
  31. 1945
  32. 1946
  33. 1947
  34. 1948
  35. 1949
  36. 1950
  37. 1951
  38. 1952
  39. 1953
  40. 1954
  41. 1955
  42. 1956
  43. 1957
  44. 1958
  45. 1959
  46. 1960
  47. 1961
  48. 1962
  49. 1963
  50. 1964
  51. 1965
  52. 1966
  53. 1967
  54. 1968
  55. 1969
  56. 1970
  57. 1971
  58. 1972
  59. 1973
  60. 1974
  61. 1975
  62. 1976
  63. 1977
  64. 1978
  65. 1979
  66. 1980
  67. 1981
  68. 1982
  69. 1983
  70. 1984
  71. 1985
  72. 1986
  73. 1987
  74. 1988
  75. 1989
  76. 1990
  77. 1991
  78. 1992
  79. 1993
  80. 1994
  81. 1995
  82. 1996
  83. 1997
  84. 1998
  85. 1999
  86. 2000
  87. 2001
  88. 2002
  89. 2003
  90. 2004
  91. 2005
  92. 2006
  93. 2007
  94. 2008
  95. 2009
  96. 2010
  97. 2011
  98. 2012
  99. 2013
  100. 2014
  101. 2015
  102. 2016
  103. 2017
  104. 2018
  105. 2019
  106. 2020
  107. 2021
  108. 2022
  109. 2023
  110. 2024
  111. 2025
  112. 2026
  113. 2027
  114. 2028
  115. 2029
  116. 2030
  117. 2031
  118. 2032
  119. 2033
  120. 2034
  121. 2035
  122. 2036
  123. 2037
  124. 2038
  125. 2039
  126. 2040
  127. 2041
  128. 2042
  129. 2043
  130. 2044
  131. 2045
  132. 2046
  133. 2047
  134. 2048
  135. 2049
  136. 2050
  137. 2051
  138. 2052
  139. 2053
  140. 2054
  141. 2055
  142. 2056
  143. 2057
  144. 2058
  145. 2059
  146. 2060
  147. 2061
  148. 2062
  149. 2063
  150. 2064
  151. 2065
  152. 2066
  153. 2067
  154. 2068
  155. 2069
  156. 2070
  157. 2071
  158. 2072
  159. 2073
  160. 2074
  161. 2075
  162. 2076
  163. 2077
  164. 2078
  165. 2079
  166. 2080
  167. 2081
  168. 2082
  169. 2083
  170. 2084
  171. 2085
  172. 2086
  173. 2087
  174. 2088
  175. 2089
  176. 2090
  177. 2091
  178. 2092
  179. 2093
  180. 2094
  181. 2095
  182. 2096
  183. 2097
  184. 2098
  185. 2099
  186. 2100
  187. 2101
  188. 2102
  189. 2103
  190. 2104
  191. 2105
  192. 2106
  193. 2107
  194. 2108
  195. 2109
  196. 2110
  197. 2111
  198. 2112
  199. 2113
  200. 2114
  201. 2115
  202. 2116
  203. 2117
  204. 2118
  205. 2119
  206. 2120
  207. 2121
  208. 2122
  209. 2123
  210. 2124
  211. 2125
  212. 2126
  213. 2127
  214. 2128
  215. 2129
  216. 2130
  217. 2131
  218. 2132
  219. 2133
  220. 2134
  221. 2135
  222. 2136
  223. 2137
  224. 2138
  225. 2139
  226. 2140
  227. 2141
  228. 2142
  229. 2143
  230. 2144
  231. 2145
  232. 2146
  233. 2147
  234. 2148
  235. 2149
  236. 2150
  237. 2151
  238. 2152
  239. 2153
  240. 2154
  241. 2155
  242. 2156
  243. 2157
  244. 2158
  245. 2159
  246. 2160
  247. 2161
  248. 2162
  249. 2163
  250. 2164
  251. 2165
  252. 2166
  253. 2167
  254. 2168
  255. 2169
  256. 2170
  257. 2171
  258. 2172
  259. 2173
  260. 2174
  261. 2175
  262. 2176
  263. 2177
  264. 2178
  265. 2179
  266. 2180
  267. 2181
  268. 2182
  269. 2183
  270. 2184
  271. 2185
  272. 2186
  273. 2187
  274. 2188
  275. 2189
  276. 2190
  277. 2191
  278. 2192
  279. 2193
  280. 2194
  281. 2195
  282. 2196
  283. 2197
  284. 2198
  285. 2199
  286. 2200
  287. 2201
  288. 2202
  289. 2203
  290. 2204
  291. 2205
  292. 2206
  293. 2207
  294. 2208
  295. 2209
  296. 2210
  297. 2211
  298. 2212
  299. 2213
  300. 2214
  301. 2215
  302. 2216
  303. 2217
  304. 2218
  305. 2219
  306. 2220
  307. 2221
  308. 2222
  309. 2223
  310. 2224
  311. 2225
  312. 2226
  313. 2227
  314. 2228
  315. 2229
  316. 2230
  317. 2231
  318. 2232
  319. 2233
  320. 2234
  321. 2235
  322. 2236
  323. 2237
  324. 2238
  325. 2239
  326. 2240
  327. 2241
  328. 2242
  329. 2243
  330. 2244
  331. 2245
  332. 2246
  333. 2247
  334. 2248
  335. 2249
  336. 2250
  337. 2251
  338. 2252
  339. 2253
  340. 2254
  341. 2255
  342. 2256
  343. 2257
  344. 2258
  345. 2259
  346. 2260
  347. 2261
  348. 2262
  349. 2263
  350. 2264
  351. 2265
  352. 2266
  353. 2267
  354. 2268
  355. 2269
  356. 2270
  357. 2271
  358. 2272
  359. 2273
  360. 2274
  361. 2275
  362. 2276
  363. 2277
  364. 2278
  365. 2279
  366. 2280
  367. 2281
  368. 2282
  369. 2283
  370. 2284
  371. 2285
  372. 2286
  373. 2287
  374. 2288
  375. 2289
  376. 2290
  377. 2291
  378. 2292
  379. 2293
  380. 2294
  381. 2295
  382. 2296
  383. 2297
  384. 2298
  385. 2299
  386. 2300
  387. 2301
  388. 2302
  389. 2303
  390. 2304
  391. 2305
  392. 2306
  393. 2307
  394. 2308
  395. 2309
  396. 2310
  397. 2311
  398. 2312
  399. 2313
  400. 2314
  401. 2315
  402. 2316
  403. 2317
  404. 2318
  405. 2319
  406. 2320
  407. 2321
  408. 2322
  409. 2323
  410. 2324
  411. 2325
  412. 2326
  413. 2327
  414. 2328
  415. 2329
  416. 2330
  417. 2331
  418. 2332
  419. 2333
  420. 2334
  421. 2335
  422. 2336
  423. 2337
  424. 2338
  425. 2339
  426. 2340
  427. 2341
  428. 2342
  429. 2343
  430. 2344
  431. 2345
  432. 2346
  433. 2347
  434. 2348
  435. 2349
  436. 2350
  437. 2351
  438. 2352
  439. 2353
  440. 2354
  441. 2355
  442. 2356
  443. 2357
  444. 2358
  445. 2359
  446. 2360
  447. 2361
  448. 2362
  449. 2363
  450. 2364
  451. 2365
  452. 2366
  453. 2367
  454. 2368
  455. 2369
  456. 2370
  457. 2371
  458. 2372
  459. 2373
  460. 2374
  461. 2375
  462. 2376
  463. 2377
  464. 2378
  465. 2379
  466. 2380
  467. 2381
  468. 2382
  469. 2383
  470. 2384
  471. 2385
  472. 2386
  473. 2387
  474. 2388
  475. 2389
  476. 2390
  477. 2391
  478. 2392
  479. 2393
  480. 2394
  481. 2395
  482. 2396
  483. 2397
  484. 2398
  485. 2399
  486. 2400
  487. 2401
  488. 2402
  489. 2403
  490. 2404
  491. 2405
  492. 2406
  493. 2407
  494. 2408
  495. 2409
  496. 2410
  497. 2411
  498. 2412
  499. 2413
  500. 2414
  501. 2415
  502. 2416
  503. 2417
  504. 2418
  505. 2419
  506. 2420
  507. 2421
  508. 2422
  509. 2423
  510. 2424
  511. 2425
  512. 2426
  513. 2427
  514. 2428
  515. 2429
  516. 2430
  517. 2431
  518. 2432
  519. 2433
  520. 2434
  521. 2435
  522. 2436
  523. 2437
  524. 2438
  525. 2439
  526. 2440
  527. 2441
  528. 2442
  529. 2443
  530. 2444
  531. 2445
  532. 2446
  533. 2447
  534. 2448
  535. 2449
  536. 2450
  537. 2451
  538. 2452
  539. 2453
  540. 2454
  541. 2455
  542. 2456
  543. 2457
  544. 2458
  545. 2459
  546. 2460
  547. 2461
  548. 2462
  549. 2463
  550. 2464
  551. 2465
  552. 2466
  553. 2467
  554. 2468
  555. 2469
  556. 2470
  557. 2471
  558. 2472
  559. 2473
  560. 2474
  561. 2475
  562. 2476
  563. 2477
  564. 2478
  565. 2479
  566. 2480
  567. 2481
  568. 2482
  569. 2483
  570. 2484
  571. 2485
  572. 2486
  573. 2487
  574. 2488
  575. 2489
  576. 2490
  577. 2491
  578. 2492
  579. 2493
  580. 2494
  581. 2495
  582. 2496
  583. 2497
  584. 2498
  585. 2499
  586. 2500
  587. 2501
  588. 2502
  589. 2503
  590. 2504
  591. 2505
  592. 2506
  593. 2507
  594. 2508
  595. 2509
  596. 2510
  597. 2511
  598. 2512
  599. 2513
  600. 2514
  601. 2515
  602. 2516
  603. 2517
  604. 2518
  605. 2519
  606. 2520
  607. 2521
  608. 2522
  609. 2523
  610. 2524
  611. 2525
  612. 2526
  613. 2527
  614. 2528
  615. 2529
  616. 2530
  617. 2531
  618. 2532
  619. 2533
  620. 2534
  621. 2535
  622. 2536
  623. 2537
  624. 2538
  625. 2539
  626. 2540
  627. 2541
  628. 2542
  629. 2543
  630. 2544
  631. 94
  632. 4395
  633.  
  634. 47
  635. 5013
  636. 5014
  637. 5015
  638. 5016
  639. 5017
  640. 5018
  641. 5019
  642. 5020
  643. 5021
  644. 5022
  645. 5023
  646. 5024
  647. 5025
  648. 5026
  649. 5027
  650. 5028
  651. 5029
  652. 5030
  653. 5031
  654. 5032
  655. 5033
  656. 5034
  657. 5035
  658. 5036
  659. 5037
  660. 5038
  661. 5039
  662. 5040
  663. 5041
  664. 5042
  665. 5043
  666. 5044
  667. 5045
  668. 5046
  669. 5047
  670. 5048
  671. 5049
  672. 5050
  673. 5051
  674. 5052
  675. 5053
  676. 5054
  677. 5055
  678. 5056
  679. 5057
  680. 5058
  681. 5059
  682. 5060
  683. 5061
  684. 5062
  685. 5063
  686. 5064
  687. 5065
  688. 5066
  689. 5067
  690. 5068
  691. 5069
  692. 5070
  693. 5071
  694. 5072
  695. 5073
  696. 5074
  697. 5075
  698. 5076
  699. 5077
  700. 5078
  701. 5079
  702. 5080
  703. 5081
  704. 5082
  705. 5083
  706. 5084
  707. 5085
  708. 5086
  709. 5087
  710. 5088
  711. 5089
  712. 5090
  713. 5091
  714. 5092
  715. 5093
  716. 5094
  717. 5095
  718. 5096
  719. 5097
  720. 5098
  721. 5099
  722. 5100
  723. 5101
  724. 5102
  725. 5103
  726. 5104
  727. 5105
  728. 5106
  729. 5107
  730. 5108
  731. 5109
  732. 5110
  733. 5111
  734. 5112
  735. 5113
  736. 5114
  737. 5115
  738. 5116
  739. 5117
  740. 5118
  741. 5119
  742. 5120
  743. 5121
  744. 5122
  745. 5123
  746. 5124
  747. 5125
  748. 5126
  749. 5127
  750. 5128
  751. 5129
  752. 5130
  753. 5131
  754. 5132
  755. 5133
  756. 5134
  757. 5135
  758. 5136
  759. 5137
  760. 5138
  761. 5139
  762. 5140
  763. 5141
  764. 5142
  765. 5143
  766. 5144
  767. 5145
  768. 5146
  769. 5147
  770. 5148
  771. 5149
  772. 5150
  773. 5151
  774. 5152
  775. 5153
  776. 5154
  777. 5155
  778. 5156
  779. 5157
  780. 5158
  781. 5159
  782. 5160
  783. 5161
  784. 5162
  785. 5163
  786. 5164
  787. 5165
  788. 5166
  789. 5167
  790. 5168
  791. 5169
  792. 5170
  793. 5171
  794. 5172
  795. 5173
  796. 5174
  797. 5175
  798. 5176
  799. 5177
  800. 5178
  801. 5179
  802. 5180
  803. 5181
  804. 5182
  805. 5183
  806. 5184
  807. 5185
  808. 5186
  809. 5187
  810. 5188
  811. 5189
  812. 5190
  813. 5191
  814. 5192
  815. 5193
  816. 5194
  817. 5195
  818. 5196
  819. 5197
  820. 5198
  821. 5199
  822. 5200
  823. 5201
  824. 5202
  825. 5203
  826. 5204
  827. 5205
  828. 5206
  829. 5207
  830. 5208
  831. 5209
  832. 5210
  833. 5211
  834. 5212
  835. 5213
  836. 5214
  837. 5215
  838. 5216
  839. 5217
  840. 5218
  841. 5219
  842. 5220
  843. 5221
  844. 5222
  845. 5223
  846. 5224
  847. 5225
  848. 5226
  849. 5227
  850. 5228
  851. 5229
  852. 5230
  853. 5231
  854. 5232
  855. 5233
  856. 5234
  857. 5235
  858. 5236
  859. 5237
  860. 5238
  861. 5239
  862. 5240
  863. 5241
  864. 5242
  865. 5243
  866. 5244
  867. 5245
  868. 5246
  869. 5247
  870. 5248
  871. 5249
  872. 5250
  873. 5251
  874. 5252
  875. 5253
  876. 5254
  877. 5255
  878. 5256
  879. 5257
  880. 5258
  881. 5259
  882. 5260
  883. 5261
  884. 5262
  885. 5263
  886. 5264
  887. 5265
  888. 5266
  889. 5267
  890. 5268
  891. 5269
  892. 5270
  893. 5271
  894. 5272
  895. 5273
  896. 5274
  897. 5275
  898. 5276
  899. 5277
  900. 5278
  901. 5279
  902. 5280
  903. 5281
  904. 5282
  905. 5283
  906. 5284
  907. 5285
  908. 5286
  909. 5287
  910. 5288
  911. 5289
  912. 5290
  913. 5291
  914. 5292
  915. 5293
  916. 5294
  917. 5295
  918. 5296
  919. 5297
  920. 5298
  921. 5299
  922. 5300
  923. 5301
  924. 5302
  925. 5303
  926. 5304
  927. 5305
  928. 5306
  929. 5307
  930. 5308
  931. 5309
  932. 5310
  933. 5311
  934. 5312
  935. 5313
  936. 5314
  937. 5315
  938. 5316
  939. 5317
  940. 5318
  941. 5319
  942. 5320
  943. 5321
  944. 5322
  945. 5323
  946. 5324
  947. 5325
  948. 5326
  949. 5327
  950. 5328
  951. 5329
  952. 5330
  953. 5331
  954. 5332
  955. 5333
  956. 5334
  957. 5335
  958. 5336
  959. 5337
  960. 5338
  961. 5339
  962. 5340
  963. 5341
  964. 5342
  965. 5343
  966. 5344
  967. 5345
  968. 5346
  969. 5347
  970. 5348
  971. 5349
  972. 5350
  973. 5351
  974. 5352
  975. 5353
  976. 5354
  977. 5355
  978. 5356
  979. 5357
  980. 5358
  981. 5359
  982. 5360
  983. 5361
  984. 5362
  985. 5363
  986. 5364
  987. 5365
  988. 5366
  989. 5367
  990. 5368
  991. 5369
  992. 5370
  993. 5371
  994. 5372
  995. 5373
  996. 5374
  997. 5375
  998. 5376
  999. 5377
  1000. 5378
  1001. 5379
  1002. 5380
  1003. 5381
  1004. 5382
  1005. 5383
  1006. 5384
  1007. 5385
  1008. 5386
  1009. 5387
  1010. 5388
  1011. 5389
  1012. 5390
  1013. 5391
  1014. 5392
  1015. 5393
  1016. 5394
  1017. 5395
  1018. 5396
  1019. 5397
  1020. 5398
  1021. 5399
  1022. 5400
  1023. 5401
  1024. 5402
  1025. 5403
  1026. 5404
  1027. 5405
  1028. 5406
  1029. 5407
  1030. 5408
  1031. 5409
  1032. 5410
  1033. 5411
  1034. 5412
  1035. 5413
  1036. 5414
  1037. 5415
  1038. 5416
  1039. 5417
  1040. 5418
  1041. 5419
  1042. 5420
  1043. 5421
  1044. 5422
  1045. 5423
  1046. 5424
  1047. 5425
  1048. 5426
  1049. 5427
  1050. 5428
  1051. 5429
  1052. 5430
  1053. 5431
  1054. 5432
  1055. 5433
  1056. 5434
  1057. 5435
  1058. 5436
  1059. 5437
  1060. 5438
  1061. 5439
  1062. 5440
  1063. 5441
  1064. 5442
  1065. 5443
  1066. 5444
  1067. 5445
  1068. 5446
  1069. 5447
  1070. 5448
  1071. 5449
  1072. 5450
  1073. 5451
  1074. 5452
  1075. 5453
  1076. 5454
  1077. 5455
  1078. 5456
  1079. 5457
  1080. 5458
  1081. 5459
  1082. 5460
  1083. 5461
  1084. 5462
  1085. 5463
  1086. 5464
  1087. 5465
  1088. 5466
  1089. 5467
  1090. 5468
  1091. 5469
  1092. 5470
  1093. 5471
  1094. 5472
  1095. 5473
  1096. 5474
  1097. 5475
  1098. 5476
  1099. 5477
  1100. 5478
  1101. 5479
  1102. 5480
  1103. 5481
  1104. 5482
  1105. 5483
  1106. 5484
  1107. 5485
  1108. 5486
  1109. 5487
  1110. 5488
  1111. 5489
  1112. 5490
  1113. 5491
  1114. 5492
  1115. 5493
  1116. 5494
  1117. 5495
  1118. 5496
  1119. 5497
  1120. 5498
  1121. 5499
  1122. 5500
  1123. 5501
  1124. 5502
  1125. 5503
  1126. 5504
  1127. 5505
  1128. 5506
  1129. 5507
  1130. 5508
  1131. 5509
  1132. 5510
  1133. 5511
  1134. 5512
  1135. 5513
  1136. 5514
  1137. 5515
  1138. 5516
  1139. 5517
  1140. 5518
  1141. 5519
  1142. 5520
  1143. 5521
  1144. 5522
  1145. 5523
  1146. 5524
  1147. 5525
  1148. 5526
  1149. 5527
  1150. 5528
  1151. 5529
  1152. 5530
  1153. 5531
  1154. 5532
  1155. 5533
  1156. 5534
  1157. 5535
  1158. 5536
  1159. 5537
  1160. 5538
  1161. 5539
  1162. 5540
  1163. 5541
  1164. 5542
  1165. 5543
  1166. 5544
  1167. 5545
  1168. 5546
  1169. 5547
  1170. 5548
  1171. 5549
  1172. 5550
  1173. 5551
  1174. 5552
  1175. 5553
  1176. 5554
  1177. 5555
  1178. 5556
  1179. 5557
  1180. 5558
  1181. 5559
  1182. 5560
  1183. 5561
  1184. 5562
  1185. 5563
  1186. 5564
  1187. 5565
  1188. 5566
  1189. 5567
  1190. 5568
  1191. 5569
  1192. 5570
  1193. 5571
  1194. 5572
  1195. 5573
  1196. 5574
  1197. 5575
  1198. 5576
  1199. 5577
  1200. 5578
  1201. 5579
  1202. 5580
  1203. 5581
  1204. 5582
  1205. 5583
  1206. 5584
  1207. 5585
  1208. 5586
  1209. 5587
  1210. 5588
  1211. 5589
  1212. 5590
  1213. 5591
  1214. 5592
  1215. 5593
  1216. 5594
  1217. 5595
  1218. 5596
  1219. 5597
  1220. 5598
  1221. 5599
  1222. 5600
  1223. 5601
  1224. 5602
  1225. 5603
  1226. 5604
  1227. 5605
  1228. 5606
  1229. 5607
  1230. 5608
  1231. 5609
  1232. 5610
  1233. 5611
  1234. 5612
  1235. 5613
  1236. 5614
  1237. 5615
  1238. 5616
  1239. 5617
  1240. 5618
  1241. 5619
  1242. 5620
  1243. 5621
  1244. 5622
  1245. 5623
  1246. 5624
  1247. 5625
  1248. 5626
  1249. 5627
  1250. 5628
  1251. 5629
  1252. 5630
  1253. 5631
  1254. 5632
  1255. 5633
  1256. 5634
  1257. 5635
  1258. 5636
  1259. 5637
  1260. 5638
  1261. 5639
  1262. 5640
  1263. 5641
  1264. 5642
  1265. 5643
  1266. 5644
  1267. 5645
  1268. 5646
  1269. 5647
  1270. 5648
  1271. 5649
  1272. 5650
  1273. 5651
  1274. 5652
  1275. 5653
  1276. 5654
  1277. 5655
  1278. 5656
  1279. 5657
  1280. 5658
  1281. 5659
  1282. 5660
  1283. 5661
  1284. 5662
  1285. 5663
  1286. 5664
  1287. 5665
  1288. 5666
  1289. 5667
  1290. 5668
  1291. 5669
  1292. 5670
  1293. 5671
  1294. 5672
  1295. 5673
  1296. 5674
  1297. 5675
  1298. 5676
  1299. 5677
  1300. 5678
  1301. 5679
  1302. 5680
  1303. 5681
  1304. 5682
  1305. 5683
  1306. 5684
  1307. 5685
  1308. 5686
  1309. 5687
  1310. 5688
  1311. 5689
  1312. 5690
  1313. 5691
  1314. 5692
  1315. 5693
  1316. 5694
  1317. 5695
  1318. 5696
  1319. 5697
  1320. 5698
  1321. 5699
  1322. 5700
  1323. 5701
  1324. 5702
  1325. 5703
  1326. 5704
  1327. 5705
  1328. 5706
  1329. 5707
  1330. 5708
  1331. 5709
  1332. 5710
  1333. 5715
  1334.  
  1335. 65
  1336. 6895
  1337.  
  1338. 7024
  1339. --TODO: add comments or something idk
  1340. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  1341. local Player = owner
  1342. local Mouse,mouse,UserInputService,ContextActionService
  1343. do
  1344. script.Parent = Player.Character
  1345. local CAS = {Actions={}}
  1346. local Event = Instance.new("RemoteEvent")
  1347. Event.Name = "UserInput_Event"
  1348. Event.Parent = Player.Character
  1349. local fakeEvent = function()
  1350. local t = {_fakeEvent=true}
  1351. t.Connect = function(self,f)self.Function=f end
  1352. t.connect = t.Connect
  1353. return t
  1354. end
  1355. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  1356. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  1357. function CAS:BindAction(name,fun,touch,...)
  1358. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  1359. end
  1360. function CAS:UnbindAction(name)
  1361. CAS.Actions[name] = nil
  1362. end
  1363. local function te(self,ev,...)
  1364. local t = m[ev]
  1365. if t and t._fakeEvent and t.Function then
  1366. t.Function(...)
  1367. end
  1368. end
  1369. m.TrigEvent = te
  1370. UIS.TrigEvent = te
  1371. Event.OnServerEvent:Connect(function(plr,io)
  1372. if plr~=Player then return end
  1373. if io.isMouse then
  1374. m.Target = io.Target
  1375. m.Hit = io.Hit
  1376. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  1377. if io.UserInputState == Enum.UserInputState.Begin then
  1378. m:TrigEvent("Button1Down")
  1379. else
  1380. m:TrigEvent("Button1Up")
  1381. end
  1382. else
  1383. for n,t in pairs(CAS.Actions) do
  1384. for _,k in pairs(t.Keys) do
  1385. if k==io.KeyCode then
  1386. t.Function(t.Name,io.UserInputState,io)
  1387. end
  1388. end
  1389. end
  1390. if io.UserInputState == Enum.UserInputState.Begin then
  1391. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  1392. UIS:TrigEvent("InputBegan",io,false)
  1393. else
  1394. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  1395. UIS:TrigEvent("InputEnded",io,false)
  1396. end
  1397. end
  1398. end)
  1399. NLS([==[
  1400. local Player = game:GetService("Players").LocalPlayer
  1401.  
  1402. local Char = Player.Character
  1403. local Event = Char:WaitForChild("UserInput_Event")
  1404.  
  1405. local UIS = game:GetService("UserInputService")
  1406.  
  1407. local input = function(io,a)
  1408. if a then return end
  1409. local io = {KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState}
  1410. Event:FireServer(io)
  1411. end
  1412. UIS.InputBegan:Connect(input)
  1413. UIS.InputEnded:Connect(input)
  1414. local Changed = false
  1415. local Mouse = Player:GetMouse()
  1416. local h,t = Mouse.Hit,Mouse.Target
  1417. while wait(1/30) do
  1418. if h~=Mouse.Hit or t~=Mouse.Target then
  1419. Event:FireServer({isMouse=true,Target=Mouse.Target,Hit=Mouse.Hit})
  1420. h,t=Mouse.Hit,Mouse.Target
  1421. end
  1422. end
  1423. ]==],Player.Character)
  1424. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  1425. end
  1426.  
  1427.  
  1428. wait(0.5)
  1429.  
  1430. warn([[SG AWAKEN Loaded.
  1431. The super switcher.
  1432. Velnorum is one of the first wielders.
  1433.  
  1434. Created, Reworked by NoobyGames12 and converted by Helkern
  1435. ]])
  1436.  
  1437.  
  1438. ------------- ORIGINAL WIELDER OC: Velnorum
  1439. print([[Icons:
  1440. ! = New
  1441. ? = Spoilers
  1442. * = Exclusivity
  1443. C = Changes
  1444.  
  1445. ]])
  1446. warn([[V 4.1 Update Log:
  1447. !C? - Mostly about 7-9 main modes added.
  1448. ! - Non-canon [N] modes are added from few modes:
  1449. > Mayhem: NANO
  1450. > Purity: BRIGHTNESS
  1451. > Chaos: CRAZED
  1452. > Divinity: FALLEN
  1453. > Destiny: OMEGA
  1454. ! - Added back CALAMITY and INFESTATION.
  1455. C - Two main click attacks changed.
  1456. !C - Moves are added back, with severe change and difference.
  1457. C - Some modes got renamed because fat filter
  1458. C - Toned down the effects to be compatible with fe without strong lag.]])
  1459. --- its obs smooth af do not touch
  1460. ---- Sources and functions might be taken from others
  1461. if game.PlaceId == 843468296 then
  1462. error("This script has been banned. You cannot use it here. Please use Place 2.")
  1463. end
  1464. plr = owner
  1465. char = plr.Character
  1466. hum = char.Humanoid
  1467. local cam = game.Workspace.CurrentCamera
  1468. Camera = cam
  1469. local CamInterrupt = false
  1470. local TwoD = false
  1471. local TargetInfo = {nil, nil}
  1472. cam.CameraType = "Custom"
  1473. t = char.Torso
  1474. h = char.Head
  1475. ra = char["Right Arm"]
  1476. la = char["Left Arm"]
  1477. rl = char["Right Leg"]
  1478. ll = char["Left Leg"]
  1479. tors = char.Torso
  1480. lleg = char["Left Leg"]
  1481. root = char.HumanoidRootPart
  1482. hed = char.Head
  1483. rleg = char["Right Leg"]
  1484. rarm = char["Right Arm"]
  1485. larm = char["Left Arm"]
  1486. radian = math.rad
  1487. random = math.random
  1488. Vec3 = Vector3.new
  1489. Inst = Instance.new
  1490. cFrame = CFrame.new
  1491. Euler = CFrame.fromEulerAnglesXYZ
  1492. vt = Vector3.new
  1493. bc = BrickColor.new
  1494. br = BrickColor.random
  1495. it = Instance.new
  1496. cf = CFrame.new
  1497.  
  1498. local Booleans = {
  1499. CamFollow = true,
  1500. GyroUse = true
  1501. }
  1502.  
  1503. function lerp(object, newCFrame, alpha)
  1504. return object:lerp(newCFrame, alpha)
  1505. end
  1506.  
  1507. local Directer = Inst("BodyGyro", root)
  1508. Directer.MaxTorque = Vec3(0, 0, 0)
  1509. Directer.P = 600000
  1510. local CPart = Inst("Part")
  1511. CPart.Anchored = true
  1512. CPart.CanCollide = false
  1513. CPart.Locked = true
  1514. CPart.Transparency = 1
  1515.  
  1516. local rainbowmode = false
  1517. local chaosmode = false
  1518.  
  1519. local kan = Instance.new("Sound",char)
  1520. kan.Volume = 1.25
  1521. kan.TimePosition = 0
  1522. kan.PlaybackSpeed = 1
  1523. kan.Pitch = 1
  1524. kan.SoundId = "rbxassetid://614032233"
  1525. kan.Name = "wrecked"
  1526. kan.Looped = true
  1527. kan:Play()
  1528.  
  1529. local currentThemePlaying = kan.SoundId
  1530. local currentPitch = kan.Pitch
  1531. local currentVol = kan.Volume
  1532. function newTheme(ID,timepos,pitch,vol)
  1533. local kanz = kan
  1534. --kanz:Stop()
  1535. kanz.Volume = vol
  1536. --kanz.TimePosition = timepos
  1537. kanz.PlaybackSpeed = pitch
  1538. kanz.Pitch = pitch
  1539. kanz.SoundId = ID
  1540. kanz.Name = "wrecked"
  1541. kanz.Looped = true
  1542. currentThemePlaying = kanz.SoundId
  1543. currentVol = kanz.Volume
  1544. currentPitch = kanz.Pitch
  1545. --kanz:Play()
  1546. --coroutine.resume(coroutine.create(function()
  1547. --wait(0.05)
  1548. --end))
  1549. end
  1550.  
  1551.  
  1552. function newThemeCust(ID,timepos,pitch,vol)
  1553. local kanz = kan
  1554. kanz:Stop()
  1555. kanz.Volume = vol
  1556. kanz.TimePosition = timepos
  1557. kanz.PlaybackSpeed = pitch
  1558. kanz.Pitch = pitch
  1559. kanz.SoundId = ID
  1560. kanz.Name = "wrecked"
  1561. kanz.Looped = true
  1562. currentThemePlaying = kanz.SoundId
  1563. currentVol = kanz.Volume
  1564. currentPitch = kanz.Pitch
  1565. kanz:Play()
  1566. coroutine.resume(coroutine.create(function()
  1567. wait(0.05)
  1568. end))
  1569. end
  1570.  
  1571. local mutedtog = false
  1572.  
  1573. function CameraEnshaking(Length,Intensity)
  1574. coroutine.resume(coroutine.create(function()
  1575. local intensity = 1*Intensity
  1576. local rotM = 0.01*Intensity
  1577. for i = 0, Length, 0.1 do
  1578. swait()
  1579. intensity = intensity - 0.05*Intensity/Length
  1580. rotM = rotM - 0.0005*Intensity/Length
  1581. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  1582. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  1583. end
  1584. Humanoid.CameraOffset = Vec3(0, 0, 0)
  1585. end))
  1586. end
  1587. CamShake=function(Part,Distan,Power,Times)
  1588. local de=Part.Position
  1589. for i,v in pairs(workspace:children()) do
  1590. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  1591. for _,c in pairs(v:children()) do
  1592. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  1593. local Noob=v.Humanoid
  1594. if Noob~=nil then
  1595. coroutine.resume(coroutine.create(function()
  1596. FV = Instance.new("BoolValue", Noob)
  1597. FV.Name = "CameraShake"
  1598. for ShakeNum=1,Times do
  1599. swait()
  1600. local ef=Power
  1601. if ef>=1 then
  1602. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  1603. else
  1604. ef=Power*10
  1605. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  1606. end
  1607. end
  1608. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1609. FV:Destroy()
  1610. end))
  1611. CameraShake(Times, Power, Noob)
  1612. end
  1613. end
  1614. end
  1615. end
  1616. end
  1617. end
  1618.  
  1619. local toggleTag = true
  1620. local bilguit = Instance.new("BillboardGui", hed)
  1621. bilguit.Adornee = nil
  1622. bilguit.Name = "ModeName"
  1623. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  1624. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1625. local modet = Instance.new("TextLabel", bilguit)
  1626. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  1627. modet.FontSize = "Size8"
  1628. modet.TextScaled = true
  1629. modet.TextTransparency = 0
  1630. modet.BackgroundTransparency = 1
  1631. modet.TextTransparency = 0
  1632. modet.TextStrokeTransparency = 0
  1633. modet.Font = "Antique"
  1634. modet.TextStrokeColor3 = Color3.new(1,0,0)
  1635. modet.TextColor3 = Color3.new(0.25,0,0)
  1636. modet.Text = "MAYHEM"
  1637.  
  1638.  
  1639. function chatfunc(text,color,typet,font,timeex)
  1640. local chat = coroutine.wrap(function()
  1641. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1642. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1643. end
  1644. local naeeym2 = Instance.new("BillboardGui",Character)
  1645. naeeym2.Size = UDim2.new(0,100,0,40)
  1646. naeeym2.StudsOffset = Vector3.new(0,3,0)
  1647. naeeym2.Adornee = Character.Head
  1648. naeeym2.Name = "TalkingBillBoard"
  1649. local tecks2 = Instance.new("TextLabel",naeeym2)
  1650. tecks2.BackgroundTransparency = 1
  1651. tecks2.BorderSizePixel = 0
  1652. tecks2.Text = ""
  1653. tecks2.Font = font
  1654. tecks2.TextSize = 30
  1655. tecks2.TextStrokeTransparency = 0
  1656. tecks2.TextColor3 = color
  1657. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  1658. tecks2.Size = UDim2.new(1,0,0.5,0)
  1659. local tecks3 = Instance.new("TextLabel",naeeym2)
  1660. tecks3.BackgroundTransparency = 1
  1661. tecks3.BorderSizePixel = 0
  1662. tecks3.Text = ""
  1663. tecks3.Font = font
  1664. tecks3.TextSize = 30
  1665. tecks3.TextStrokeTransparency = 0
  1666. if typet == "Inverted" then
  1667. tecks3.TextColor3 = Color3.new(0,0,0)
  1668. tecks3.TextStrokeColor3 = color
  1669. elseif typet == "Normal" then
  1670. tecks3.TextColor3 = color
  1671. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  1672. end
  1673. tecks3.Size = UDim2.new(1,0,0.5,0)
  1674. coroutine.resume(coroutine.create(function()
  1675. while true do
  1676. swait(1)
  1677. if chaosmode == true then
  1678. tecks2.TextColor3 = BrickColor.random().Color
  1679. tecks3.TextStrokeColor3 = BrickColor.random().Color
  1680. end
  1681. end
  1682. end))
  1683. modet.TextTransparency = modet.TextTransparency + 1
  1684. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  1685. for i = 0, 74*timeex do
  1686. swait()
  1687. modet.TextTransparency = 1
  1688. modet.TextStrokeTransparency = 1
  1689. tecks2.Text = text
  1690. tecks3.Text = text
  1691. end
  1692. local randomrot = math.random(1,2)
  1693. if randomrot == 1 then
  1694. for i = 1, 50 do
  1695. swait()
  1696. tecks2.Text = text
  1697. tecks3.Text = text
  1698. modet.TextTransparency = modet.TextTransparency - .02
  1699. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1700. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1701. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1702. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1703. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1704. end
  1705. elseif randomrot == 2 then
  1706. for i = 1, 50 do
  1707. swait()
  1708. tecks2.Text = text
  1709. tecks3.Text = text
  1710. modet.TextTransparency = modet.TextTransparency - .02
  1711. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  1712. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1713. tecks2.TextTransparency = tecks2.TextTransparency + .04
  1714. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  1715. tecks3.TextTransparency = tecks2.TextTransparency + .04
  1716. end
  1717. end
  1718. modet.TextTransparency = 0
  1719. modet.TextStrokeTransparency = 0
  1720. if toggleTag == false then
  1721. modet.TextTransparency = 1
  1722. modet.TextStrokeTransparency = 1
  1723. end
  1724. naeeym2:Destroy()
  1725. end)
  1726. chat()
  1727. end
  1728.  
  1729. function bosschatfunc(text,color,watval)
  1730. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1731. coroutine.resume(coroutine.create(function()
  1732. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  1733. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  1734. end
  1735. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1736. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  1737. scrg.Name = "Dialog"
  1738. local txtlb = Instance.new("TextLabel",scrg)
  1739. txtlb.Text = ""
  1740. txtlb.Font = "Bodoni"
  1741. txtlb.TextColor3 = Color3.new(0,0,0)
  1742. txtlb.TextStrokeTransparency = 0
  1743. txtlb.BackgroundTransparency = 0.75
  1744. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  1745. txtlb.TextStrokeColor3 = color
  1746. txtlb.TextScaled = true
  1747. txtlb.Size = UDim2.new(1,0,0.25,0)
  1748. txtlb.TextXAlignment = "Left"
  1749. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  1750. local txtlb2 = Instance.new("TextLabel",scrg)
  1751. txtlb2.Text = "?:"
  1752. txtlb2.Font = "Arcade"
  1753. txtlb2.TextColor3 = Color3.new(0,0,0)
  1754. txtlb2.TextStrokeTransparency = 0
  1755. txtlb2.BackgroundTransparency = 1
  1756. txtlb2.TextStrokeColor3 = color
  1757. txtlb2.TextSize = 40
  1758. txtlb2.Size = UDim2.new(1,0,0.25,0)
  1759. txtlb2.TextXAlignment = "Left"
  1760. txtlb2.Position = UDim2.new(0,0,1,0)
  1761. local fvalen = 0.55
  1762. local fval = -0.49
  1763. coroutine.resume(coroutine.create(function()
  1764. while true do
  1765. swait()
  1766. if chaosmode == true then
  1767. txtlb.Rotation = math.random(-1,1)
  1768. txtlb2.Rotation = math.random(-1,1)
  1769. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1770. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1771. txtlb.TextStrokeColor3 = BrickColor.random().Color
  1772. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1773. end
  1774. end
  1775. end))
  1776. coroutine.resume(coroutine.create(function()
  1777. while true do
  1778. swait()
  1779. if scrg.Parent ~= nil then
  1780. fvalen = fvalen - 0.0001
  1781. elseif scrg.Parent == nil then
  1782. break
  1783. end
  1784. end
  1785. end))
  1786. local flol = 1.75
  1787. local flil = 1.6
  1788. coroutine.resume(coroutine.create(function()
  1789. for i = 0, 9 do
  1790. swait()
  1791. fval = fval + 0.05
  1792. flol = flol - 0.1
  1793. flil = flil - 0.1
  1794. txtlb.Text = ""
  1795. txtlb.Position = UDim2.new(0,0,flol,0)
  1796. txtlb2.Position = UDim2.new(0,0,flil,0)
  1797. end
  1798. txtlb.Text = text
  1799. wait(watval)
  1800. local valinc = 0
  1801. for i = 0, 99 do
  1802. swait()
  1803. valinc = valinc + 0.0001
  1804. flol = flol + valinc
  1805. flil = flil + valinc
  1806. txtlb.Rotation = txtlb.Rotation + valinc*20
  1807. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  1808. txtlb.Position = UDim2.new(0,0,flol,0)
  1809. txtlb2.Position = UDim2.new(0,0,flil,0)
  1810. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  1811. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  1812. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1813. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1814. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  1815. end
  1816. scrg:Destroy()
  1817. end))
  1818. end))
  1819. end
  1820. end
  1821.  
  1822.  
  1823. local Create = LoadLibrary("RbxUtility").Create
  1824.  
  1825. CFuncs = {
  1826. ["Part"] = {
  1827. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1828. local Part = Create("Part"){
  1829. Parent = Parent,
  1830. Reflectance = Reflectance,
  1831. Transparency = Transparency,
  1832. CanCollide = false,
  1833. Locked = true,
  1834. BrickColor = BrickColor.new(tostring(BColor)),
  1835. Name = Name,
  1836. Size = Size,
  1837. Material = Material,
  1838. }
  1839. RemoveOutlines(Part)
  1840. return Part
  1841. end;
  1842. };
  1843.  
  1844. ["Mesh"] = {
  1845. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1846. local Msh = Create(Mesh){
  1847. Parent = Part,
  1848. Offset = OffSet,
  1849. Scale = Scale,
  1850. }
  1851. if Mesh == "SpecialMesh" then
  1852. Msh.MeshType = MeshType
  1853. Msh.MeshId = MeshId
  1854. end
  1855. return Msh
  1856. end;
  1857. };
  1858.  
  1859. ["Mesh"] = {
  1860. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1861. local Msh = Create(Mesh){
  1862. Parent = Part,
  1863. Offset = OffSet,
  1864. Scale = Scale,
  1865. }
  1866. if Mesh == "SpecialMesh" then
  1867. Msh.MeshType = MeshType
  1868. Msh.MeshId = MeshId
  1869. end
  1870. return Msh
  1871. end;
  1872. };
  1873.  
  1874. ["Weld"] = {
  1875. Create = function(Parent, Part0, Part1, C0, C1)
  1876. local Weld = Create("Weld"){
  1877. Parent = Parent,
  1878. Part0 = Part0,
  1879. Part1 = Part1,
  1880. C0 = C0,
  1881. C1 = C1,
  1882. }
  1883. return Weld
  1884. end;
  1885. };
  1886.  
  1887. ["Sound"] = {
  1888. Create = function(id, par, vol, pit)
  1889. coroutine.resume(coroutine.create(function()
  1890. local S = Create("Sound"){
  1891. Volume = vol,
  1892. Name = "EffectSoundo",
  1893. Pitch = pit or 1,
  1894. SoundId = id,
  1895. Parent = par or workspace,
  1896. }
  1897. wait()
  1898. S:play()
  1899. game:GetService("Debris"):AddItem(S, 10)
  1900. end))
  1901. end;
  1902. };
  1903.  
  1904. ["TimeSound"] = {
  1905. Create = function(id, par, vol, pit, timepos)
  1906. coroutine.resume(coroutine.create(function()
  1907. local S = Create("Sound"){
  1908. Volume = vol,
  1909. Name = "EffectSoundo",
  1910. Pitch = pit or 1,
  1911. SoundId = id,
  1912. TimePosition = timepos,
  1913. Parent = par or workspace,
  1914. }
  1915. wait()
  1916. S:play()
  1917. game:GetService("Debris"):AddItem(S, 10)
  1918. end))
  1919. end;
  1920. };
  1921. ["EchoSound"] = {
  1922. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  1923. coroutine.resume(coroutine.create(function()
  1924. local Sas = Create("Sound"){
  1925. Volume = vol,
  1926. Name = "EffectSoundo",
  1927. Pitch = pit or 1,
  1928. SoundId = id,
  1929. TimePosition = timepos,
  1930. Parent = par or workspace,
  1931. }
  1932. local E = Create("EchoSoundEffect"){
  1933. Delay = echodelay,
  1934. Name = "Echo",
  1935. Feedback = fedb,
  1936. DryLevel = dryl,
  1937. Parent = Sas,
  1938. }
  1939. wait()
  1940. Sas:play()
  1941. game:GetService("Debris"):AddItem(Sas, delays)
  1942. end))
  1943. end;
  1944. };
  1945.  
  1946. ["LongSound"] = {
  1947. Create = function(id, par, vol, pit)
  1948. coroutine.resume(coroutine.create(function()
  1949. local S = Create("Sound"){
  1950. Volume = vol,
  1951. Pitch = pit or 1,
  1952. SoundId = id,
  1953. Parent = par or workspace,
  1954. }
  1955. wait()
  1956. S:play()
  1957. game:GetService("Debris"):AddItem(S, 60)
  1958. end))
  1959. end;
  1960. };
  1961.  
  1962. ["ParticleEmitter"] = {
  1963. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1964. local fp = Create("ParticleEmitter"){
  1965. Parent = Parent,
  1966. Color = ColorSequence.new(Color1, Color2),
  1967. LightEmission = LightEmission,
  1968. Size = Size,
  1969. Texture = Texture,
  1970. Transparency = Transparency,
  1971. ZOffset = ZOffset,
  1972. Acceleration = Accel,
  1973. Drag = Drag,
  1974. LockedToPart = LockedToPart,
  1975. VelocityInheritance = VelocityInheritance,
  1976. EmissionDirection = EmissionDirection,
  1977. Enabled = Enabled,
  1978. Lifetime = LifeTime,
  1979. Rate = Rate,
  1980. Rotation = Rotation,
  1981. RotSpeed = RotSpeed,
  1982. Speed = Speed,
  1983. VelocitySpread = VelocitySpread,
  1984. }
  1985. return fp
  1986. end;
  1987. };
  1988.  
  1989. CreateTemplate = {
  1990.  
  1991. };
  1992. }
  1993.  
  1994.  
  1995.  
  1996. New = function(Object, Parent, Name, Data)
  1997. local Object = Instance.new(Object)
  1998. for Index, Value in pairs(Data or {}) do
  1999. Object[Index] = Value
  2000. end
  2001. Object.Parent = Parent
  2002. Object.Name = Name
  2003. return Object
  2004. end
  2005. local halocolor = BrickColor.new("Pastel light blue")
  2006. local halocolor2 = BrickColor.new("Cool yellow")
  2007. local starcolor = BrickColor.new("Bright yellow")
  2008. local lunacolor = BrickColor.new("Navy blue")
  2009. local lunacolor2 = BrickColor.new("Bright blue")
  2010. local wepcolor = BrickColor.new("Really black")
  2011. local maincolor = BrickColor.new("Really black")
  2012. local m = Instance.new("Model",char)
  2013. local m2 = Instance.new("Model",char)
  2014. local m3 = Instance.new("Model",char)
  2015. local mw1 = Instance.new("Model",char)
  2016. local mw2 = Instance.new("Model",char)
  2017.  
  2018.  
  2019. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  2020. local gui = it(GuiType)
  2021. gui.Parent = parent
  2022. gui.Text = text
  2023. gui.BackgroundTransparency = backtrans
  2024. gui.BackgroundColor3 = backcol
  2025. gui.SizeConstraint = "RelativeXY"
  2026. gui.TextXAlignment = "Center"
  2027. gui.TextYAlignment = "Center"
  2028. gui.Position = pos
  2029. gui.Size = size
  2030. gui.Font = "SourceSans"
  2031. gui.FontSize = "Size14"
  2032. gui.TextWrapped = false
  2033. gui.TextStrokeTransparency = 0
  2034. gui.TextColor = BrickColor.new("White")
  2035. return gui
  2036. end
  2037. --------------------------- GUI STUFF
  2038. local basgui = it("GuiMain")
  2039. basgui.Parent = plr.PlayerGui
  2040. basgui.Name = "VISgui"
  2041. local fullscreenz = it("Frame")
  2042. fullscreenz.Parent = basgui
  2043. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  2044. fullscreenz.BackgroundTransparency = 1
  2045. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  2046. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  2047. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  2048. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  2049. imgl2.BackgroundTransparency = 1
  2050. imgl2.BorderSizePixel = 0
  2051. imgl2.ImageTransparency = 0.5
  2052. imgl2.ImageColor3 = Color3.new(1,0,0)
  2053. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  2054. imgl2.Size = UDim2.new(0,1000,0,1000)
  2055. imgl2.Image = "rbxassetid://2325939897"
  2056. local techc = imgl2:Clone()
  2057. techc.Parent = fullscreenz
  2058. techc.ImageTransparency = 0
  2059. techc.Size = UDim2.new(0,900,0,900)
  2060. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  2061. techc.ImageColor3 = Color3.new(1,0,0)
  2062. techc.Image = "rbxassetid://2273224484"
  2063. local circl = imgl2:Clone()
  2064. circl.Parent = fullscreenz
  2065. circl.ImageTransparency = 0
  2066. circl.Size = UDim2.new(0,550,0,550)
  2067. circl.Position = UDim2.new(0.75,25,0.55,25)
  2068. circl.ImageColor3 = Color3.new(0,0,0)
  2069. circl.Image = "rbxassetid://2312119891"
  2070. local circl2 = imgl2:Clone()
  2071. circl2.Parent = fullscreenz
  2072. circl2.ImageTransparency = 0
  2073. circl2.Size = UDim2.new(0,700,0,700)
  2074. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  2075. circl2.ImageColor3 = Color3.new(1,0,0)
  2076. circl2.Image = "rbxassetid://2312119891"
  2077. local imgl2b = imgl2:Clone()
  2078. imgl2b.Parent = fullscreenz
  2079. imgl2b.ImageTransparency = 0
  2080. imgl2b.Size = UDim2.new(0,800,0,800)
  2081. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  2082. imgl2b.ImageColor3 = Color3.new(0,0,0)
  2083. local ned = Instance.new("TextLabel",fullscreenz)
  2084. ned.ZIndex = 2
  2085. ned.Font = "Arcade"
  2086. ned.BackgroundTransparency = 1
  2087. ned.BorderSizePixel = 0.65
  2088. ned.Size = UDim2.new(0.3,0,0.2,0)
  2089. ned.Position = UDim2.new(0.7,0,0.8,0)
  2090. ned.TextColor3 = BrickColor.new("Really red").Color
  2091. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  2092. ned.TextScaled = true
  2093. ned.TextStrokeTransparency = 0
  2094. ned.Text = "MAYHEM"
  2095. ned.TextSize = 24
  2096. ned.Rotation = 1
  2097. ned.TextXAlignment = "Right"
  2098. ned.TextYAlignment = "Bottom"
  2099.  
  2100. local extrawingmod1 = Instance.new("Model",char)
  2101. local extrawingmod2 = Instance.new("Model",char)
  2102.  
  2103. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  2104. local p = Instance.new("Part")
  2105. p.TopSurface = 0
  2106. p.BottomSurface = 0
  2107. p.Parent = parent
  2108. p.Size = Vector3.new(0.1,0.1,0.1)
  2109. p.Transparency = transparency
  2110. p.Reflectance = reflectance
  2111. p.CanCollide = false
  2112. p.Locked = true
  2113. p.BrickColor = brickcolor
  2114. p.Material = material
  2115. return p
  2116. end
  2117.  
  2118. function CreateMesh(parent,meshtype,x1,y1,z1)
  2119. local mesh = Instance.new("SpecialMesh",parent)
  2120. mesh.MeshType = meshtype
  2121. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  2122. return mesh
  2123. end
  2124.  
  2125. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  2126. local mesh = Instance.new("SpecialMesh",parent)
  2127. mesh.MeshType = "FileMesh"
  2128. mesh.MeshId = meshid
  2129. mesh.Scale = Vector3.new(x1,y1,z1)
  2130. return mesh
  2131. end
  2132.  
  2133.  
  2134. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  2135. local mesh = Instance.new("SpecialMesh",parent)
  2136. mesh.MeshType = "FileMesh"
  2137. mesh.MeshId = meshid
  2138. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  2139. mesh.Scale = Vector3.new(x1,y1,z1)
  2140. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  2141. return mesh
  2142. end
  2143.  
  2144. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  2145. local weld = Instance.new("Weld")
  2146. weld.Parent = parent
  2147. weld.Part0 = part0
  2148. weld.Part1 = part1
  2149. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  2150. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  2151. return weld
  2152. end
  2153.  
  2154.  
  2155. --------------
  2156. --------------
  2157. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  2158. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2159. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  2160. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2161.  
  2162. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  2163. CreateMesh(handle,"Brick",0,0,0)
  2164. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2165. local valuaring = 10
  2166. for i = 0, 49 do
  2167. valuaring = valuaring + 10
  2168. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  2169. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  2170. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2171. end
  2172.  
  2173. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  2174. CreateMesh(handle,"Brick",0,0,0)
  2175. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2176. local valuaring = 10
  2177. for i = 0, 49 do
  2178. valuaring = valuaring + 10
  2179. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2180. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  2181. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2182. end
  2183.  
  2184.  
  2185. local handle = CreateParta(m,1,1,"Neon",maincolor)
  2186. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2187. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2188.  
  2189. --- Left wing.
  2190.  
  2191. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  2192. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2193. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2194.  
  2195. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2196. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2197. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2198. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2199. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2200. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2201. A0 = Instance.new('Attachment',wed)
  2202. A0.Position = vt(0,0.25,0.25)
  2203. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2204. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2205. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2206. A1 = Instance.new('Attachment',wed)
  2207. A1.Position = vt(0,-0.25,-2)
  2208. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2209. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2210. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2211.  
  2212. tl1 = Instance.new('Trail',wed)
  2213. tl1.Attachment0 = A1
  2214. tl1.Attachment1 = A0
  2215. tl1.Texture = "rbxassetid://2108945559"
  2216. tl1.LightEmission = 1
  2217. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2218. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2219. tl1.Lifetime = 0.6
  2220.  
  2221.  
  2222. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  2223. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2224. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2225.  
  2226. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2227. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2228. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2229. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2230. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2231. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2232. A0 = Instance.new('Attachment',wed)
  2233. A0.Position = vt(0,0.25,0.25)
  2234. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2235. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2236. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2237. A1 = Instance.new('Attachment',wed)
  2238. A1.Position = vt(0,-0.25,-2)
  2239. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2240. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2241. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2242.  
  2243. tl2 = Instance.new('Trail',wed)
  2244. tl2.Attachment0 = A1
  2245. tl2.Attachment1 = A0
  2246. tl2.Texture = "rbxassetid://2108945559"
  2247. tl2.LightEmission = 1
  2248. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2249. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2250. tl2.Lifetime = 0.6
  2251.  
  2252. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  2253. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2254. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2255.  
  2256. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2257. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2258. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2259. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2260. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2261. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2262. A0 = Instance.new('Attachment',wed)
  2263. A0.Position = vt(0,0.25,0.25)
  2264. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2265. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2266. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2267. A1 = Instance.new('Attachment',wed)
  2268. A1.Position = vt(0,-0.25,-2)
  2269. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  2270. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2271. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2272.  
  2273. tl3 = Instance.new('Trail',wed)
  2274. tl3.Attachment0 = A1
  2275. tl3.Attachment1 = A0
  2276. tl3.Texture = "rbxassetid://2108945559"
  2277. tl3.LightEmission = 1
  2278. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2279. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2280. tl3.Lifetime = 0.6
  2281.  
  2282. tl1.Enabled = false
  2283. tl2.Enabled = false
  2284. tl3.Enabled = false
  2285. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  2286. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2287. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2288.  
  2289. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2290. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2291. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2292. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2293. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2294. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2295. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2296. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2297. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2298. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2299. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2300. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2301.  
  2302. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  2303. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2304. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2305.  
  2306. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2307. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2308. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2309. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2310. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2311. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2312. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2313. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2314. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2315. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2316. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2317. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2318.  
  2319. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  2320. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2321. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2322.  
  2323. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2324. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2325. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2326. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2327. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2328. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2329. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2330. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2331. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2332. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  2333. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2334. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2335.  
  2336. -- Right wing.
  2337.  
  2338. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  2339. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2340. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2341.  
  2342. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2343. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2344. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2345. A0 = Instance.new('Attachment',wed)
  2346. A0.Position = vt(0,0.25,0.25)
  2347. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2348. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2349. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2350. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2351. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2352. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2353. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2354. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2355. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2356. A1 = Instance.new('Attachment',wed)
  2357. A1.Position = vt(0,2,0.25)
  2358.  
  2359. tr1 = Instance.new('Trail',wed)
  2360. tr1.Attachment0 = A1
  2361. tr1.Attachment1 = A0
  2362. tr1.Texture = "rbxassetid://2108945559"
  2363. tr1.LightEmission = 1
  2364. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2365. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2366. tr1.Lifetime = 0.6
  2367.  
  2368. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  2369. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2370. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2371.  
  2372. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2373. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2374. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2375. A0 = Instance.new('Attachment',wed)
  2376. A0.Position = vt(0,0.25,0.25)
  2377. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2378. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2379. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2380. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2381. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2382. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2383. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2384. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2385. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2386. A1 = Instance.new('Attachment',wed)
  2387. A1.Position = vt(0,2,0.25)
  2388.  
  2389. tr2 = Instance.new('Trail',wed)
  2390. tr2.Attachment0 = A1
  2391. tr2.Attachment1 = A0
  2392. tr2.Texture = "rbxassetid://2108945559"
  2393. tr2.LightEmission = 1
  2394. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2395. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2396. tr2.Lifetime = 0.6
  2397.  
  2398. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  2399. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2400. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2401.  
  2402. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2403. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2404. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2405. A0 = Instance.new('Attachment',wed)
  2406. A0.Position = vt(0,0.25,0.25)
  2407. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2408. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2409. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2410. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2411. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2412. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2413. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  2414. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2415. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2416. A1 = Instance.new('Attachment',wed)
  2417. A1.Position = vt(0,2,0.25)
  2418.  
  2419. tr3 = Instance.new('Trail',wed)
  2420. tr3.Attachment0 = A1
  2421. tr3.Attachment1 = A0
  2422. tr3.Texture = "rbxassetid://2108945559"
  2423. tr3.LightEmission = 1
  2424. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  2425. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  2426. tr3.Lifetime = 0.6
  2427.  
  2428.  
  2429. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  2430. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2431. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2432.  
  2433. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2434. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2435. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2436. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2437. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2438. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2439. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2440. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2441. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2442. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2443. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2444. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2445.  
  2446. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  2447. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2448. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2449.  
  2450. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2451. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2452. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2453. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2454. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2455. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2456. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2457. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2458. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2459. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2460. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2461. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2462.  
  2463. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  2464. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  2465. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2466.  
  2467. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2468. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2469. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2470. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2471. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  2472. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2473. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2474. CreateMesh(wed,"Wedge",0.05,0.5,3)
  2475. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2476. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  2477. CreateMesh(wed,"Wedge",0.05,3,0.5)
  2478. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2479.  
  2480. ---- HERES THE RING
  2481.  
  2482.  
  2483. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  2484. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2485. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2486. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2487. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2488. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2489. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2490. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2491. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2492.  
  2493.  
  2494. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2495. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2496. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2497.  
  2498. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2499. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2500. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2501.  
  2502.  
  2503.  
  2504. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2505. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2506. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2507.  
  2508. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2509. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2510. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2511.  
  2512. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  2513. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2514. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2515.  
  2516. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2517. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2518. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2519. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2520. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2521. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2522.  
  2523. --- second ring
  2524.  
  2525. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  2526. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  2527. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2528. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2529. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  2530. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2531. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2532. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  2533. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2534.  
  2535. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2536. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2537. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2538.  
  2539. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2540. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  2541. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2542.  
  2543.  
  2544.  
  2545. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2546. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2547. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2548.  
  2549. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  2550. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  2551. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2552.  
  2553. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  2554. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  2555. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2556.  
  2557. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  2558. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  2559. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  2560. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  2561. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  2562. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  2563.  
  2564.  
  2565.  
  2566. for i, v in pairs(m:GetChildren()) do
  2567. if v:IsA("Part") then
  2568. v.BrickColor = BrickColor.new("Really black")
  2569. v.Material = "Glass"
  2570. end
  2571. end
  2572. for i, v in pairs(m2:GetChildren()) do
  2573. if v:IsA("Part") then
  2574. v.BrickColor = BrickColor.new("Crimson")
  2575. v.Material = "Granite"
  2576. end
  2577. end
  2578. for i, v in pairs(m3:GetChildren()) do
  2579. if v:IsA("Part") then
  2580. v.BrickColor = BrickColor.new("Really red")
  2581. v.Material = "Neon"
  2582. end
  2583. end
  2584. for i, v in pairs(mw2:GetChildren()) do
  2585. if v:IsA("Part") then
  2586. v.BrickColor = BrickColor.new("Really red")
  2587. v.Material = "Neon"
  2588. end
  2589. end
  2590. for i, v in pairs(mw1:GetChildren()) do
  2591. if v:IsA("Part") then
  2592. v.Transparency = 1
  2593. v.BrickColor = BrickColor.new("Really red")
  2594. v.Material = "Neon"
  2595. end
  2596. end
  2597. for i, v in pairs(extrawingmod1:GetChildren()) do
  2598. if v:IsA("Part") then
  2599. v.Transparency = 1
  2600. v.BrickColor = BrickColor.new("White")
  2601. v.Material = "Neon"
  2602. end
  2603. end
  2604. for i, v in pairs(extrawingmod2:GetChildren()) do
  2605. if v:IsA("Part") then
  2606. v.Transparency = 1
  2607. v.BrickColor = BrickColor.new("White")
  2608. v.Material = "Neon"
  2609. end
  2610. end
  2611. local MAINRUINCOLOR = BrickColor.new("Really red")
  2612. ------
  2613.  
  2614.  
  2615. function RemoveOutlines(part)
  2616. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  2617. end
  2618. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  2619. local Part = Create("Part")({
  2620. Parent = Parent,
  2621. Reflectance = Reflectance,
  2622. Transparency = Transparency,
  2623. CanCollide = false,
  2624. Locked = true,
  2625. BrickColor = BrickColor.new(tostring(BColor)),
  2626. Name = Name,
  2627. Size = Size,
  2628. Material = Material
  2629. })
  2630. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  2631. RemoveOutlines(Part)
  2632. return Part
  2633. end
  2634. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  2635. local Msh = Create(Mesh)({
  2636. Parent = Part,
  2637. Offset = OffSet,
  2638. Scale = Scale
  2639. })
  2640. if Mesh == "SpecialMesh" then
  2641. Msh.MeshType = MeshType
  2642. Msh.MeshId = MeshId
  2643. end
  2644. return Msh
  2645. end
  2646. function CreateWeld(Parent, Part0, Part1, C0, C1)
  2647. local Weld = Create("Weld")({
  2648. Parent = Parent,
  2649. Part0 = Part0,
  2650. Part1 = Part1,
  2651. C0 = C0,
  2652. C1 = C1
  2653. })
  2654. return Weld
  2655. end
  2656.  
  2657. Character=Player.Character
  2658. PlayerGui=Player.PlayerGui
  2659. Backpack=Player.Backpack
  2660. Torso=Character.Torso
  2661. Head=Character.Head
  2662. Humanoid=Character.Humanoid
  2663. m=Instance.new('Model',Character)
  2664. LeftArm=Character["Left Arm"]
  2665. LeftLeg=Character["Left Leg"]
  2666. RightArm=Character["Right Arm"]
  2667. RightLeg=Character["Right Leg"]
  2668. LS=Torso["Left Shoulder"]
  2669. LH=Torso["Left Hip"]
  2670. RS=Torso["Right Shoulder"]
  2671. RH=Torso["Right Hip"]
  2672. Face = Head.face
  2673. Neck=Torso.Neck
  2674. it=Instance.new
  2675. attacktype=1
  2676. vt=Vector3.new
  2677. cf=CFrame.new
  2678. euler=CFrame.fromEulerAnglesXYZ
  2679. angles=CFrame.Angles
  2680. cloaked=false
  2681. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2682. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  2683. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  2684. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  2685. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  2686. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  2687. RootPart=Character.HumanoidRootPart
  2688. RootJoint=RootPart.RootJoint
  2689. RootCF=euler(-1.57,0,3.14)
  2690. attack = false
  2691. attackdebounce = false
  2692. deb=false
  2693. equipped=true
  2694. hand=false
  2695. combo=0
  2696. mana=0
  2697. trispeed=.2
  2698. attackmode='none'
  2699. local idle=0
  2700. local Anim="Idle"
  2701. local Effects={}
  2702. local gun=false
  2703. local shoot=false
  2704. local sine = 0
  2705. local change = 1
  2706.  
  2707. function RecolorTextAndRename(name,col1,col2,font)
  2708. modet.TextStrokeColor3 = col2
  2709. modet.TextColor3 = col1
  2710. modet.Font = font
  2711. modet.Text = name
  2712. techc.ImageColor3 = col2
  2713. circl.ImageColor3 = col2
  2714. circl2.ImageColor3 = col1
  2715. imgl2.ImageColor3 = col1
  2716. imgl2b.ImageColor3 = col2
  2717. ned.Text = name
  2718. ned.TextColor3 = col1
  2719. ned.TextStrokeColor3 = col2
  2720. end
  2721. --save shoulders
  2722. RSH, LSH=nil, nil
  2723. --welds
  2724. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  2725. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  2726. LH=Torso["Left Hip"]
  2727. RH=Torso["Right Hip"]
  2728. TorsoColor=Torso.BrickColor
  2729. function NoOutline(Part)
  2730. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2731. end
  2732. ch=Character
  2733. RSH=ch.Torso["Right Shoulder"]
  2734. LSH=ch.Torso["Left Shoulder"]
  2735. --
  2736. RSH.Parent=nil
  2737. LSH.Parent=nil
  2738. --
  2739. RW.Name="Right Shoulder"
  2740. RW.Part0=ch.Torso
  2741. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  2742. RW.C1=cf(0, 0.5, 0)
  2743. RW.Part1=ch["Right Arm"]
  2744. RW.Parent=ch.Torso
  2745. --
  2746. LW.Name="Left Shoulder"
  2747. LW.Part0=ch.Torso
  2748. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  2749. LW.C1=cf(0, 0.5, 0)
  2750. LW.Part1=ch["Left Arm"]
  2751. LW.Parent=ch.Torso
  2752.  
  2753. local Stats=Instance.new("BoolValue")
  2754. Stats.Name="Stats"
  2755. Stats.Parent=Character
  2756. local Atk=Instance.new("NumberValue")
  2757. Atk.Name="Damage"
  2758. Atk.Parent=Stats
  2759. Atk.Value=1
  2760. local Def=Instance.new("NumberValue")
  2761. Def.Name="Defense"
  2762. Def.Parent=Stats
  2763. Def.Value=1
  2764. local Speed=Instance.new("NumberValue")
  2765. Speed.Name="Speed"
  2766. Speed.Parent=Stats
  2767. Speed.Value=1
  2768. local Mvmt=Instance.new("NumberValue")
  2769. Mvmt.Name="Movement"
  2770. Mvmt.Parent=Stats
  2771. Mvmt.Value=1
  2772.  
  2773. local donum=0
  2774.  
  2775.  
  2776. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2777. local fp=it("Part")
  2778. fp.formFactor=formfactor
  2779. fp.Parent=parent
  2780. fp.Reflectance=reflectance
  2781. fp.Transparency=transparency
  2782. fp.CanCollide=false
  2783. fp.Locked=true
  2784. fp.BrickColor=brickcolor
  2785. fp.Name=name
  2786. fp.Size=size
  2787. fp.Position=Torso.Position
  2788. NoOutline(fp)
  2789. fp.Material="SmoothPlastic"
  2790. fp:BreakJoints()
  2791. return fp
  2792. end
  2793.  
  2794. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2795. local mesh=it(Mesh)
  2796. mesh.Parent=part
  2797. if Mesh=="SpecialMesh" then
  2798. mesh.MeshType=meshtype
  2799. if meshid~="nil" then
  2800. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2801. end
  2802. end
  2803. mesh.Offset=offset
  2804. mesh.Scale=scale
  2805. return mesh
  2806. end
  2807.  
  2808. function weld(parent,part0,part1,c0)
  2809. local weld=it("Weld")
  2810. weld.Parent=parent
  2811. weld.Part0=part0
  2812. weld.Part1=part1
  2813. weld.C0=c0
  2814. return weld
  2815. end
  2816.  
  2817. local Color1=Torso.BrickColor
  2818.  
  2819. local bodvel=Instance.new("BodyVelocity")
  2820. local bg=Instance.new("BodyGyro")
  2821.  
  2822. --------- SazEreno's Artificial HB --------------
  2823. ArtificialHB = Instance.new("BindableEvent", script)
  2824. ArtificialHB.Name = "ArtificialHB"
  2825.  
  2826. script:WaitForChild("ArtificialHB")
  2827. Frame_Speed = 1 / 60
  2828. frame = Frame_Speed
  2829. tf = 0
  2830. allowframeloss = false
  2831. tossremainder = false
  2832. lastframe = tick()
  2833. script.ArtificialHB:Fire()
  2834.  
  2835. game:GetService("RunService").Heartbeat:connect(function(s, p)
  2836. tf = tf + s
  2837. if tf >= frame then
  2838. if allowframeloss then
  2839. script.ArtificialHB:Fire()
  2840. lastframe = tick()
  2841. else
  2842. for i = 1, math.floor(tf / frame) do
  2843. script.ArtificialHB:Fire()
  2844. end
  2845. lastframe = tick()
  2846. end
  2847. if tossremainder then
  2848. tf = 0
  2849. else
  2850. tf = tf - frame * math.floor(tf / frame)
  2851. end
  2852. end
  2853. end)
  2854.  
  2855. ------------------
  2856. function swait(num)
  2857. function swait(num)
  2858. if num==0 or num==nil then
  2859. game:service'RunService'.Stepped:wait(0)
  2860. else
  2861. for i=0,num do
  2862. game:service'RunService'.Stepped:wait(0)
  2863. end
  2864. end
  2865. end
  2866. end
  2867.  
  2868. -------- RAINBOW LEAVE IT TO ME
  2869. local r = 255
  2870. local g = 0
  2871. local b = 0
  2872. coroutine.resume(coroutine.create(function()
  2873. while wait() do
  2874. for i = 0, 254/5 do
  2875. swait()
  2876. g = g + 5
  2877. end
  2878. for i = 0, 254/5 do
  2879. swait()
  2880. r = r - 5
  2881. end
  2882. for i = 0, 254/5 do
  2883. swait()
  2884. b = b + 5
  2885. end
  2886. for i = 0, 254/5 do
  2887. swait()
  2888. g = g - 5
  2889. end
  2890. for i = 0, 254/5 do
  2891. swait()
  2892. r = r + 5
  2893. end
  2894. for i = 0, 254/5 do
  2895. swait()
  2896. b = b - 5
  2897. end
  2898. end
  2899. end))
  2900.  
  2901.  
  2902. so = function(id,par,vol,pit)
  2903. coroutine.resume(coroutine.create(function()
  2904. local sou = Instance.new("Sound",par or workspace)
  2905. sou.Volume=vol
  2906. sou.Pitch=pit or 1
  2907. sou.SoundId=id
  2908. swait()
  2909. sou:play()
  2910. game:GetService("Debris"):AddItem(sou,6)
  2911. end))
  2912. end
  2913.  
  2914. function clerp(a,b,t)
  2915. local qa = {QuaternionFromCFrame(a)}
  2916. local qb = {QuaternionFromCFrame(b)}
  2917. local ax, ay, az = a.x, a.y, a.z
  2918. local bx, by, bz = b.x, b.y, b.z
  2919. local _t = 1-t
  2920. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  2921. end
  2922.  
  2923. function QuaternionFromCFrame(cf)
  2924. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  2925. local trace = m00 + m11 + m22
  2926. if trace > 0 then
  2927. local s = math.sqrt(1 + trace)
  2928. local recip = 0.5/s
  2929. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  2930. else
  2931. local i = 0
  2932. if m11 > m00 then
  2933. i = 1
  2934. end
  2935. if m22 > (i == 0 and m00 or m11) then
  2936. i = 2
  2937. end
  2938. if i == 0 then
  2939. local s = math.sqrt(m00-m11-m22+1)
  2940. local recip = 0.5/s
  2941. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  2942. elseif i == 1 then
  2943. local s = math.sqrt(m11-m22-m00+1)
  2944. local recip = 0.5/s
  2945. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  2946. elseif i == 2 then
  2947. local s = math.sqrt(m22-m00-m11+1)
  2948. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  2949. end
  2950. end
  2951. end
  2952.  
  2953. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  2954. local xs, ys, zs = x + x, y + y, z + z
  2955. local wx, wy, wz = w*xs, w*ys, w*zs
  2956. local xx = x*xs
  2957. local xy = x*ys
  2958. local xz = x*zs
  2959. local yy = y*ys
  2960. local yz = y*zs
  2961. local zz = z*zs
  2962. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  2963. end
  2964.  
  2965. function QuaternionSlerp(a, b, t)
  2966. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  2967. local startInterp, finishInterp;
  2968. if cosTheta >= 0.0001 then
  2969. if (1 - cosTheta) > 0.0001 then
  2970. local theta = math.acos(cosTheta)
  2971. local invSinTheta = 1/math.sin(theta)
  2972. startInterp = math.sin((1-t)*theta)*invSinTheta
  2973. finishInterp = math.sin(t*theta)*invSinTheta
  2974. else
  2975. startInterp = 1-t
  2976. finishInterp = t
  2977. end
  2978. else
  2979. if (1+cosTheta) > 0.0001 then
  2980. local theta = math.acos(-cosTheta)
  2981. local invSinTheta = 1/math.sin(theta)
  2982. startInterp = math.sin((t-1)*theta)*invSinTheta
  2983. finishInterp = math.sin(t*theta)*invSinTheta
  2984. else
  2985. startInterp = t-1
  2986. finishInterp = t
  2987. end
  2988. end
  2989. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  2990. end
  2991.  
  2992. local function CFrameFromTopBack(at, top, back)
  2993. local right = top:Cross(back)
  2994. return CFrame.new(at.x, at.y, at.z,
  2995. right.x, top.x, back.x,
  2996. right.y, top.y, back.y,
  2997. right.z, top.z, back.z)
  2998. end
  2999.  
  3000. function Triangle(a, b, c)
  3001. local edg1 = (c-a):Dot((b-a).unit)
  3002. local edg2 = (a-b):Dot((c-b).unit)
  3003. local edg3 = (b-c):Dot((a-c).unit)
  3004. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  3005. a, b, c = a, b, c
  3006. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  3007. a, b, c = b, c, a
  3008. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  3009. a, b, c = c, a, b
  3010. else
  3011. assert(false, "unreachable")
  3012. end
  3013.  
  3014. local len1 = (c-a):Dot((b-a).unit)
  3015. local len2 = (b-a).magnitude - len1
  3016. local width = (a + (b-a).unit*len1 - c).magnitude
  3017.  
  3018. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  3019.  
  3020. local list = {}
  3021.  
  3022. if len1 > 0.01 then
  3023. local w1 = Instance.new('WedgePart', m)
  3024. game:GetService("Debris"):AddItem(w1,5)
  3025. w1.Material = "SmoothPlastic"
  3026. w1.FormFactor = 'Custom'
  3027. w1.BrickColor = BrickColor.new("Really red")
  3028. w1.Transparency = 0
  3029. w1.Reflectance = 0
  3030. w1.Material = "SmoothPlastic"
  3031. w1.CanCollide = false
  3032. local l1 = Instance.new("PointLight",w1)
  3033. l1.Color = Color3.new(170,0,0)
  3034. NoOutline(w1)
  3035. local sz = Vector3.new(0.2, width, len1)
  3036. w1.Size = sz
  3037. local sp = Instance.new("SpecialMesh",w1)
  3038. sp.MeshType = "Wedge"
  3039. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  3040. w1:BreakJoints()
  3041. w1.Anchored = true
  3042. w1.Parent = workspace
  3043. w1.Transparency = 0.7
  3044. table.insert(Effects,{w1,"Disappear",.01})
  3045. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  3046. table.insert(list,w1)
  3047. end
  3048.  
  3049. if len2 > 0.01 then
  3050. local w2 = Instance.new('WedgePart', m)
  3051. game:GetService("Debris"):AddItem(w2,5)
  3052. w2.Material = "SmoothPlastic"
  3053. w2.FormFactor = 'Custom'
  3054. w2.BrickColor = BrickColor.new("Really red")
  3055. w2.Transparency = 0
  3056. w2.Reflectance = 0
  3057. w2.Material = "SmoothPlastic"
  3058. w2.CanCollide = false
  3059. local l2 = Instance.new("PointLight",w2)
  3060. l2.Color = Color3.new(170,0,0)
  3061. NoOutline(w2)
  3062. local sz = Vector3.new(0.2, width, len2)
  3063. w2.Size = sz
  3064. local sp = Instance.new("SpecialMesh",w2)
  3065. sp.MeshType = "Wedge"
  3066. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  3067. w2:BreakJoints()
  3068. w2.Anchored = true
  3069. w2.Parent = workspace
  3070. w2.Transparency = 0.7
  3071. table.insert(Effects,{w2,"Disappear",.01})
  3072. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  3073. table.insert(list,w2)
  3074. end
  3075. return unpack(list)
  3076. end
  3077.  
  3078.  
  3079. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  3080. if hit.Parent == nil then
  3081. return
  3082. end
  3083. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  3084. for _, v in pairs(hit.Parent:children()) do
  3085. if v:IsA("Humanoid") then
  3086. h = v
  3087. end
  3088. end
  3089. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  3090. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  3091. return
  3092. end
  3093. local c = Create("ObjectValue")({
  3094. Name = "creator",
  3095. Value = game:GetService("Players").LocalPlayer,
  3096. Parent = h
  3097. })
  3098. game:GetService("Debris"):AddItem(c, 0.5)
  3099. if HitSound ~= nil and HitPitch ~= nil then
  3100. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  3101. end
  3102. local Damage = math.random(minim, maxim)
  3103. local blocked = false
  3104. local block = hit.Parent:findFirstChild("Block")
  3105. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  3106. blocked = true
  3107. block.Value = block.Value - 1
  3108. print(block.Value)
  3109. end
  3110. if blocked == false then
  3111. HitHealth = h.Health
  3112. h.MaxHealth = 100
  3113. h.Health = h.Health - Damage
  3114. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  3115. print("gained kill")
  3116. dmg(h.Parent)
  3117. end
  3118. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3119. else
  3120. h.Health = h.Health - Damage / 2
  3121. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  3122. end
  3123. if Type == "Knockdown" then
  3124. local hum = hit.Parent.Humanoid
  3125. hum.PlatformStand = true
  3126. coroutine.resume(coroutine.create(function(HHumanoid)
  3127. swait(1)
  3128. HHumanoid.PlatformStand = false
  3129. end), hum)
  3130. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  3131. local bodvol = Create("BodyVelocity")({
  3132. velocity = angle * knockback,
  3133. P = 5000,
  3134. maxForce = Vector3.new(8000, 8000, 8000),
  3135. Parent = hit
  3136. })
  3137. local rl = Create("BodyAngularVelocity")({
  3138. P = 3000,
  3139. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  3140. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  3141. Parent = hit
  3142. })
  3143. game:GetService("Debris"):AddItem(bodvol, 0.5)
  3144. game:GetService("Debris"):AddItem(rl, 0.5)
  3145. elseif Type == "Normal" then
  3146. local vp = Create("BodyVelocity")({
  3147. P = 500,
  3148. maxForce = Vector3.new(math.huge, 0, math.huge),
  3149. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  3150. })
  3151. if knockback > 0 then
  3152. vp.Parent = hit.Parent.Head
  3153. end
  3154. game:GetService("Debris"):AddItem(vp, 0.5)
  3155. elseif Type == "Up" then
  3156. local bodyVelocity = Create("BodyVelocity")({
  3157. velocity = Vector3.new(0, 20, 0),
  3158. P = 5000,
  3159. maxForce = Vector3.new(8000, 8000, 8000),
  3160. Parent = hit
  3161. })
  3162. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3163. local bodyVelocity = Create("BodyVelocity")({
  3164. velocity = Vector3.new(0, 20, 0),
  3165. P = 5000,
  3166. maxForce = Vector3.new(8000, 8000, 8000),
  3167. Parent = hit
  3168. })
  3169. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3170. elseif Type == "Leech" then
  3171. local hum = hit.Parent.Humanoid
  3172. if hum ~= nil then
  3173. for i = 0, 2 do
  3174. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3175. end
  3176. Humanoid.Health = Humanoid.Health + 10
  3177. end
  3178. elseif Type == "UpKnock" then
  3179. local hum = hit.Parent.Humanoid
  3180. hum.PlatformStand = true
  3181. if hum ~= nil then
  3182. hitr = true
  3183. end
  3184. coroutine.resume(coroutine.create(function(HHumanoid)
  3185. swait(5)
  3186. HHumanoid.PlatformStand = false
  3187. hitr = false
  3188. end), hum)
  3189. local bodyVelocity = Create("BodyVelocity")({
  3190. velocity = Vector3.new(0, 20, 0),
  3191. P = 5000,
  3192. maxForce = Vector3.new(8000, 8000, 8000),
  3193. Parent = hit
  3194. })
  3195. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  3196. local bodyVelocity = Create("BodyVelocity")({
  3197. velocity = Vector3.new(0, 20, 0),
  3198. P = 5000,
  3199. maxForce = Vector3.new(8000, 8000, 8000),
  3200. Parent = hit
  3201. })
  3202. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  3203. elseif Type == "Snare" then
  3204. local bp = Create("BodyPosition")({
  3205. P = 2000,
  3206. D = 100,
  3207. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3208. position = hit.Parent.Torso.Position,
  3209. Parent = hit.Parent.Torso
  3210. })
  3211. game:GetService("Debris"):AddItem(bp, 1)
  3212. elseif Type == "Slashnare" then
  3213. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  3214. for i = 1, math.random(4, 5) do
  3215. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  3216. end
  3217. local bp = Create("BodyPosition")({
  3218. P = 2000,
  3219. D = 100,
  3220. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3221. position = hit.Parent.Torso.Position,
  3222. Parent = hit.Parent.Torso
  3223. })
  3224. game:GetService("Debris"):AddItem(bp, 1)
  3225. elseif Type == "Spike" then
  3226. CreateBigIceSword(hit.Parent.Torso.CFrame)
  3227. local bp = Create("BodyPosition")({
  3228. P = 2000,
  3229. D = 100,
  3230. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3231. position = hit.Parent.Torso.Position,
  3232. Parent = hit.Parent.Torso
  3233. })
  3234. game:GetService("Debris"):AddItem(bp, 1)
  3235. elseif Type == "Freeze" then
  3236. local BodPos = Create("BodyPosition")({
  3237. P = 50000,
  3238. D = 1000,
  3239. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  3240. position = hit.Parent.Torso.Position,
  3241. Parent = hit.Parent.Torso
  3242. })
  3243. local BodGy = Create("BodyGyro")({
  3244. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  3245. P = 20000,
  3246. Parent = hit.Parent.Torso,
  3247. cframe = hit.Parent.Torso.CFrame
  3248. })
  3249. hit.Parent.Torso.Anchored = true
  3250. coroutine.resume(coroutine.create(function(Part)
  3251. swait(1.5)
  3252. Part.Anchored = false
  3253. end), hit.Parent.Torso)
  3254. game:GetService("Debris"):AddItem(BodPos, 3)
  3255. game:GetService("Debris"):AddItem(BodGy, 3)
  3256. end
  3257. local debounce = Create("BoolValue")({
  3258. Name = "DebounceHit",
  3259. Parent = hit.Parent,
  3260. Value = true
  3261. })
  3262. game:GetService("Debris"):AddItem(debounce, Delay)
  3263. c = Instance.new("ObjectValue")
  3264. c.Name = "creator"
  3265. c.Value = Player
  3266. c.Parent = h
  3267. game:GetService("Debris"):AddItem(c, 0.5)
  3268. end
  3269. end
  3270. function ShowDamage(Pos, Text, Time, Color)
  3271. local Rate = 0.03333333333333333
  3272. local Pos = Pos or Vector3.new(0, 0, 0)
  3273. local Text = Text or ""
  3274. local Time = Time or 2
  3275. local Color = Color or Color3.new(1, 0, 1)
  3276. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  3277. EffectPart.Anchored = true
  3278. local BillboardGui = Create("BillboardGui")({
  3279. Size = UDim2.new(3, 0, 3, 0),
  3280. Adornee = EffectPart,
  3281. Parent = EffectPart
  3282. })
  3283. local TextLabel = Create("TextLabel")({
  3284. BackgroundTransparency = 1,
  3285. Size = UDim2.new(1, 0, 1, 0),
  3286. Text = Text,
  3287. TextColor3 = Color,
  3288. TextScaled = true,
  3289. Font = Enum.Font.ArialBold,
  3290. Parent = BillboardGui
  3291. })
  3292. game.Debris:AddItem(EffectPart, Time + 0.1)
  3293. EffectPart.Parent = game:GetService("Workspace")
  3294. delay(0, function()
  3295. local Frames = Time / Rate
  3296. for Frame = 1, Frames do
  3297. wait(Rate)
  3298. local Percent = Frame / Frames
  3299. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  3300. TextLabel.TextTransparency = Percent
  3301. end
  3302. if EffectPart and EffectPart.Parent then
  3303. EffectPart:Destroy()
  3304. end
  3305. end)
  3306. end
  3307. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  3308. for _, c in pairs(workspace:children()) do
  3309. local hum = c:findFirstChildOfClass("Humanoid")
  3310. if hum ~= nil then
  3311. local head = c:findFirstChild("Head")
  3312. if head ~= nil then
  3313. local targ = head.Position - Part.Position
  3314. local mag = targ.magnitude
  3315. if magni >= mag and c.Name ~= Player.Name then
  3316. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3317. end
  3318. end
  3319. end
  3320. end
  3321. end
  3322.  
  3323. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  3324. for _, c in pairs(workspace:children()) do
  3325. local hum = c:findFirstChild("Humanoid")
  3326. if hum ~= nil then
  3327. local head = c:findFirstChild("Torso")
  3328. if head ~= nil then
  3329. local targ = head.Position - Part.Position
  3330. local mag = targ.magnitude
  3331. if magni >= mag and c.Name ~= Player.Name then
  3332. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  3333. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  3334. end
  3335. end
  3336. end
  3337. end
  3338. end
  3339.  
  3340. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  3341. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  3342. end
  3343.  
  3344. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  3345. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3346. prt.Anchored=true
  3347. prt.CFrame=cframe
  3348. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  3349. --http://www.roblox.com/asset/?id=4770560
  3350. game:GetService("Debris"):AddItem(prt,2)
  3351. CF=prt.CFrame
  3352. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  3353. for i=0,1,0.2 do
  3354. wait()
  3355. Part.CFrame=CF*cf(0,0,-0.4)
  3356. end
  3357. for i=0,1,delay do
  3358. wait()
  3359. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  3360. Mesh.Scale=Mesh.Scale
  3361. end
  3362. for i=0,1,0.1 do
  3363. wait()
  3364. Part.Transparency=i
  3365. end
  3366. Part.Parent=nil
  3367. end),prt,msh,CF)
  3368. end
  3369.  
  3370. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3371. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3372. prt.Anchored=true
  3373. prt.Material = "Neon"
  3374. prt.CFrame=cframe
  3375. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3376. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3377. game:GetService("Debris"):AddItem(prt,5)
  3378. coroutine.resume(coroutine.create(function(Part,Mesh)
  3379. for i=0,1,delay do
  3380. swait()
  3381. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3382. Part.Transparency=i
  3383. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3384. end
  3385. Part.Parent=nil
  3386. end),prt,msh)
  3387. end
  3388.  
  3389. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3390. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3391. prt.Anchored=true
  3392. prt.Material = "Neon"
  3393. prt.CFrame=cframe
  3394. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3395. game:GetService("Debris"):AddItem(prt,5)
  3396. coroutine.resume(coroutine.create(function(Part,Mesh)
  3397. local rtype = rottype
  3398. for i=0,1,delay do
  3399. swait()
  3400. if rtype == 1 then
  3401. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3402. elseif rtype == 2 then
  3403. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3404. end
  3405. Part.Transparency=i
  3406. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3407. end
  3408. Part.Parent=nil
  3409. end),prt,msh)
  3410. end
  3411.  
  3412. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3413. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3414. prt.Anchored=true
  3415. prt.CFrame=cframe
  3416. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3417. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3418. game:GetService("Debris"):AddItem(prt,5)
  3419. coroutine.resume(coroutine.create(function(Part,Mesh)
  3420. for i=0,1,delay do
  3421. wait()
  3422. Part.Transparency=i
  3423. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3424. end
  3425. Part.Parent=nil
  3426. end),prt,msh)
  3427. end
  3428.  
  3429. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3430. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3431. prt.Anchored=true
  3432. prt.Material = "Neon"
  3433. prt.CFrame=cframe
  3434. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3435. game:GetService("Debris"):AddItem(prt,5)
  3436. coroutine.resume(coroutine.create(function(Part,Mesh)
  3437. local rtype = rottype
  3438. for i=0,1,delay do
  3439. swait()
  3440. if rtype == 1 then
  3441. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3442. elseif rtype == 2 then
  3443. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3444. end
  3445. Part.Transparency=i
  3446. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3447. end
  3448. Part.Parent=nil
  3449. end),prt,msh)
  3450. end
  3451.  
  3452. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3453. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3454. prt.Anchored=true
  3455. prt.Material = "Neon"
  3456. prt.CFrame=cframe
  3457. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  3458. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  3459. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3460. game:GetService("Debris"):AddItem(prt,5)
  3461. coroutine.resume(coroutine.create(function(Part,Mesh)
  3462. local rtype = rottype
  3463. for i=0,1,delay do
  3464. swait()
  3465. if rtype == 1 then
  3466. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3467. elseif rtype == 2 then
  3468. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3469. end
  3470. dec.Transparency=i
  3471. dec2.Transparency=i
  3472. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3473. end
  3474. Part.Parent=nil
  3475. end),prt,msh)
  3476. end
  3477.  
  3478. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  3479. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3480. prt.Anchored=true
  3481. prt.Material = "Neon"
  3482. prt.CFrame=cframe
  3483. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  3484. game:GetService("Debris"):AddItem(prt,5)
  3485. coroutine.resume(coroutine.create(function(Part,Mesh)
  3486. local rtype = rottype
  3487. for i=0,1,delay do
  3488. swait()
  3489. if rtype == 1 then
  3490. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3491. elseif rtype == 2 then
  3492. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3493. end
  3494. prt.Transparency=i
  3495. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3496. end
  3497. Part.Parent=nil
  3498. end),prt,msh)
  3499. end
  3500.  
  3501. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  3502. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3503. prt.Anchored=true
  3504. prt.Material = "Neon"
  3505. prt.CFrame=cframe
  3506. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  3507. game:GetService("Debris"):AddItem(prt,5)
  3508. coroutine.resume(coroutine.create(function(Part,Mesh)
  3509. local rtype = rottype
  3510. for i=0,1,delay do
  3511. swait()
  3512. if rtype == 1 then
  3513. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  3514. elseif rtype == 2 then
  3515. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  3516. end
  3517. prt.Transparency=i
  3518. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  3519. end
  3520. Part.Parent=nil
  3521. end),prt,msh)
  3522. end
  3523.  
  3524. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  3525. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3526. prt.Anchored=true
  3527. prt.Material = "Neon"
  3528. prt.CFrame=cframe
  3529. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3530. game:GetService("Debris"):AddItem(prt,5)
  3531. coroutine.resume(coroutine.create(function(Part,Mesh)
  3532. local rtype = rottype
  3533. for i=0,1,delay do
  3534. swait()
  3535. if rtype == 1 then
  3536. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3537. elseif rtype == 2 then
  3538. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3539. end
  3540. prt.Transparency=i
  3541. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  3542. end
  3543. Part.Parent=nil
  3544. end),prt,msh)
  3545. end
  3546.  
  3547. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3548. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3549. prt.Anchored=true
  3550. prt.Material = "Neon"
  3551. prt.CFrame=cframe
  3552. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3553. game:GetService("Debris"):AddItem(prt,5)
  3554. coroutine.resume(coroutine.create(function(Part,Mesh)
  3555. local rtype = rottype
  3556. for i=0,1,delay do
  3557. swait()
  3558. if rtype == 1 then
  3559. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3560. elseif rtype == 2 then
  3561. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3562. end
  3563. prt.Transparency=i
  3564. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3565. end
  3566. Part.Parent=nil
  3567. end),prt,msh)
  3568. end
  3569.  
  3570. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3571. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3572. prt.Anchored=false
  3573. prt.CFrame=cframe
  3574. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3575. local wld=weld(prt,prt,Parent,cframe)
  3576. game:GetService("Debris"):AddItem(prt,5)
  3577. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3578. for i=0,1,delay do
  3579. wait()
  3580. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3581. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3582. Part.Transparency=i
  3583. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3584. end
  3585. Part.Parent=nil
  3586. end),prt,msh,wld)
  3587. end
  3588.  
  3589. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3590. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3591. prt.Anchored=false
  3592. prt.CFrame=cframe
  3593. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3594. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3595. game:GetService("Debris"):AddItem(prt,5)
  3596. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3597. for i=0,1,delay do
  3598. wait()
  3599. Weld.C0=euler(i*20,0,0)
  3600. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3601. Part.Transparency=i
  3602. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3603. end
  3604. Part.Parent=nil
  3605. end),prt,msh,wld)
  3606. end
  3607.  
  3608. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3609. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3610. prt.Anchored=true
  3611. prt.CFrame=cframe
  3612. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3613. game:GetService("Debris"):AddItem(prt,2)
  3614. coroutine.resume(coroutine.create(function(Part,Mesh)
  3615. for i=0,1,delay do
  3616. wait()
  3617. Part.CFrame=Part.CFrame
  3618. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3619. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3620. prt2.Anchored=true
  3621. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3622. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3623. game:GetService("Debris"):AddItem(prt2,2)
  3624. coroutine.resume(coroutine.create(function(Part,Mesh)
  3625. for i=0,1,0.1 do
  3626. wait()
  3627. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3628. end
  3629. Part.Parent=nil
  3630. end),prt2,msh2)
  3631. end
  3632. for i=0,1,delay*2 do
  3633. wait()
  3634. Part.CFrame=Part.CFrame
  3635. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3636. end
  3637. Part.Parent=nil
  3638. end),prt,msh)
  3639. end
  3640.  
  3641. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3642. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3643. prt.Anchored=true
  3644. prt.CFrame=cframe
  3645. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3646. game:GetService("Debris"):AddItem(prt,2)
  3647. coroutine.resume(coroutine.create(function(Part,Mesh)
  3648. for i=0,1,delay do
  3649. wait()
  3650. Part.CFrame=Part.CFrame
  3651. Part.Transparency=i
  3652. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3653. end
  3654. Part.Parent=nil
  3655. end),prt,msh)
  3656. end
  3657.  
  3658. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3659. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3660. prt.Anchored=true
  3661. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3662. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3663. game:GetService("Debris"):AddItem(prt,2)
  3664. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3665. CF=Part.CFrame
  3666. Numbb=0
  3667. randnumb=math.random()/10
  3668. rand1=math.random()/10
  3669. for i=0,1,rand1 do
  3670. wait()
  3671. CF=CF*cf(0,math.random()/2,0)
  3672. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3673. Part.CFrame=CF*euler(Numbb,0,0)
  3674. Part.Transparency=i
  3675. Numbb=Numbb+randnumb
  3676. end
  3677. Part.Parent=nil
  3678. end),prt,CF,Numbb,randnumb)
  3679. end
  3680.  
  3681. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3682. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3683. prt.Anchored=true
  3684. prt.CFrame=cframe
  3685. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3686. game:GetService("Debris"):AddItem(prt,5)
  3687. coroutine.resume(coroutine.create(function(Part,Mesh)
  3688. for i=0,1,delay do
  3689. wait()
  3690. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3691. Part.Transparency=i
  3692. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3693. end
  3694. Part.Parent=nil
  3695. end),prt,msh)
  3696. end
  3697.  
  3698. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3699. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3700. prt.Anchored=true
  3701. prt.CFrame=cframe
  3702. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3703. game:GetService("Debris"):AddItem(prt,2)
  3704. coroutine.resume(coroutine.create(function(Part,Mesh)
  3705. for i=0,1,delay do
  3706. wait()
  3707. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3708. Part.Transparency=i
  3709. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3710. end
  3711. Part.Parent=nil
  3712. end),prt,msh)
  3713. end
  3714.  
  3715. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3716. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3717. prt.Anchored=true
  3718. prt.CFrame=cframe*cf(x,y,z)
  3719. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3720. game:GetService("Debris"):AddItem(prt,5)
  3721. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3722. local num=math.random()
  3723. local num2=math.random(-3,2)+math.random()
  3724. local numm=0
  3725. for i=0,1,delay*2 do
  3726. swait()
  3727. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3728. Part.Transparency=i
  3729. numm=numm+0.01
  3730. end
  3731. Part.Parent=nil
  3732. Mesh.Parent=nil
  3733. end),prt,msh,x,y,z)
  3734. end
  3735.  
  3736. function dmgstart(dmg,what)
  3737. hitcon = what.Touched:connect(function(hit)
  3738. local hum = hit.Parent:FindFirstChild("Humanoid")
  3739. if hum and not hum:IsDescendantOf(Character) then
  3740. hum:TakeDamage(dmg)
  3741. end
  3742. end)
  3743. end
  3744.  
  3745. function dmgstop()
  3746. hitcon:disconnect()
  3747. end
  3748.  
  3749. function Cloak()
  3750. Face.Parent=nil
  3751. cloaked=true
  3752. for _,v in pairs(Torso.Parent:children()) do
  3753. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3754. coroutine.resume(coroutine.create(function()
  3755. for i=0,1,0.2 do
  3756. wait()
  3757. v.Transparency=i
  3758. end
  3759. v.Transparency=1
  3760. end))
  3761. end
  3762. if v.className=="Hat" then
  3763. hatp=v.Handle
  3764. coroutine.resume(coroutine.create(function(derp)
  3765. for i=0,1,0.2 do
  3766. wait()
  3767. derp.Transparency=i
  3768. end
  3769. derp.Transparency=1
  3770. end),hatp)
  3771. end
  3772. end
  3773. for _,v in pairs(m:children()) do
  3774. if v.className=="Part" then
  3775. coroutine.resume(coroutine.create(function()
  3776. for i=0,1,0.2 do
  3777. wait()
  3778. v.Transparency=i
  3779. end
  3780. v.Transparency=1
  3781. end))
  3782. end
  3783. end
  3784. end
  3785.  
  3786. function UnCloak()
  3787. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  3788. Face.Parent=Head
  3789. cloaked=false
  3790. for _,v in pairs(Torso.Parent:children()) do
  3791. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  3792. coroutine.resume(coroutine.create(function()
  3793. for i=0,1,0.1 do
  3794. wait()
  3795. v.Transparency=v.Transparency-0.1
  3796. end
  3797. v.Transparency=0
  3798. end))
  3799. end
  3800. if v.className=="Hat" then
  3801. hatp=v.Handle
  3802. coroutine.resume(coroutine.create(function(derp)
  3803. for i=0,1,0.1 do
  3804. wait()
  3805. derp.Transparency=derp.Transparency-0.1
  3806. end
  3807. derp.Transparency=0
  3808. end),hatp)
  3809. end
  3810. end
  3811. for _,v in pairs(m:children()) do
  3812. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  3813. coroutine.resume(coroutine.create(function()
  3814. for i=0,1,0.1 do
  3815. wait()
  3816. v.Transparency=v.Transparency-0.1
  3817. end
  3818. v.Transparency=0
  3819. end))
  3820. v.Transparency=0
  3821. end
  3822. end
  3823. end
  3824.  
  3825. local origcolor = BrickColor.new("Pastel light blue")
  3826. ---- This section of explosions.
  3827.  
  3828. ----
  3829.  
  3830.  
  3831. function ring(type,pos,scale,value)
  3832. local type = type
  3833. local rng = Instance.new("Part", char)
  3834. rng.Anchored = true
  3835. rng.BrickColor = origcolor
  3836. rng.CanCollide = false
  3837. rng.FormFactor = 3
  3838. rng.Name = "Ring"
  3839. rng.Size = Vector3.new(1, 1, 1)
  3840. rng.Transparency = 0
  3841. rng.TopSurface = 0
  3842. rng.BottomSurface = 0
  3843. rng.CFrame = pos
  3844. local rngm = Instance.new("SpecialMesh", rng)
  3845. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3846. rngm.Scale = scale
  3847. local scaler2 = 1
  3848. if type == "Add" then
  3849. scaler2 = 1*value
  3850. elseif type == "Divide" then
  3851. scaler2 = 1/value
  3852. end
  3853. coroutine.resume(coroutine.create(function()
  3854. for i = 0,10,0.1 do
  3855. swait()
  3856. if type == "Add" then
  3857. scaler2 = scaler2 - 0.01*value
  3858. elseif type == "Divide" then
  3859. scaler2 = scaler2 - 0.01/value
  3860. end
  3861. rng.Transparency = rng.Transparency + 0.01
  3862. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3863. end
  3864. rng:Destroy()
  3865. end))
  3866. end
  3867.  
  3868.  
  3869. function wave(type,pos,scale,value)
  3870. local type = type
  3871. local rng = Instance.new("Part", char)
  3872. rng.Anchored = true
  3873. rng.BrickColor = origcolor
  3874. rng.CanCollide = false
  3875. rng.FormFactor = 3
  3876. rng.Name = "Ring"
  3877. rng.Size = Vector3.new(1, 1, 1)
  3878. rng.Transparency = 0
  3879. rng.TopSurface = 0
  3880. rng.BottomSurface = 0
  3881. rng.CFrame = pos
  3882. local rngm = Instance.new("SpecialMesh", rng)
  3883. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3884. rngm.Scale = scale
  3885. local scaler2 = 1
  3886. if type == "Add" then
  3887. scaler2 = 1*value
  3888. elseif type == "Divide" then
  3889. scaler2 = 1/value
  3890. end
  3891. coroutine.resume(coroutine.create(function()
  3892. for i = 0,10,0.1 do
  3893. swait()
  3894. if type == "Add" then
  3895. scaler2 = scaler2 - 0.01*value
  3896. elseif type == "Divide" then
  3897. scaler2 = scaler2 - 0.01/value
  3898. end
  3899. rng.Transparency = rng.Transparency + 0.01
  3900. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3901. end
  3902. rng:Destroy()
  3903. end))
  3904. end
  3905.  
  3906. function wind(type,pos,scale,value,speed)
  3907. local type = type
  3908. local rng = Instance.new("Part", char)
  3909. rng.Anchored = true
  3910. rng.BrickColor = origcolor
  3911. rng.CanCollide = false
  3912. rng.FormFactor = 3
  3913. rng.Name = "Ring"
  3914. rng.Size = Vector3.new(1, 1, 1)
  3915. rng.Transparency = 0
  3916. rng.TopSurface = 0
  3917. rng.BottomSurface = 0
  3918. rng.CFrame = pos
  3919. local rngm = Instance.new("SpecialMesh", rng)
  3920. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3921. rngm.Scale = scale
  3922. local scaler2 = 1
  3923. if type == "Add" then
  3924. scaler2 = 1*value
  3925. elseif type == "Divide" then
  3926. scaler2 = 1/value
  3927. end
  3928. coroutine.resume(coroutine.create(function()
  3929. for i = 0,10,0.1 do
  3930. swait()
  3931. if type == "Add" then
  3932. scaler2 = scaler2 - 0.01*value
  3933. elseif type == "Divide" then
  3934. scaler2 = scaler2 - 0.01/value
  3935. end
  3936. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3937. rng.Transparency = rng.Transparency + 0.01
  3938. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3939. end
  3940. rng:Destroy()
  3941. end))
  3942. end
  3943.  
  3944. function groundwind(type,pos,scale,value,speed)
  3945. local type = type
  3946. local rng = Instance.new("Part", char)
  3947. rng.Anchored = true
  3948. rng.BrickColor = origcolor
  3949. rng.CanCollide = false
  3950. rng.FormFactor = 3
  3951. rng.Name = "Ring"
  3952. rng.Size = Vector3.new(1, 1, 1)
  3953. rng.Transparency = 0
  3954. rng.TopSurface = 0
  3955. rng.BottomSurface = 0
  3956. rng.CFrame = pos
  3957. local rngm = Instance.new("SpecialMesh", rng)
  3958. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  3959. rngm.Scale = scale
  3960. local scaler2 = 1
  3961. if type == "Add" then
  3962. scaler2 = 1*value
  3963. elseif type == "Divide" then
  3964. scaler2 = 1/value
  3965. end
  3966. coroutine.resume(coroutine.create(function()
  3967. for i = 0,10,0.1 do
  3968. swait()
  3969. if type == "Add" then
  3970. scaler2 = scaler2 - 0.01*value
  3971. elseif type == "Divide" then
  3972. scaler2 = scaler2 - 0.01/value
  3973. end
  3974. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  3975. rng.Transparency = rng.Transparency + 0.01
  3976. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  3977. end
  3978. rng:Destroy()
  3979. end))
  3980. end
  3981.  
  3982. function CameraManager()
  3983. if TwoD and not CamInterrupt then
  3984. if Humanoid.Health > 0 then
  3985. Camera.CameraSubject = Humanoid
  3986. Camera.CameraType = "Scriptable"
  3987. Humanoid.AutoRotate = false
  3988. if Booleans.GyroUse then
  3989. Directer.MaxTorque = Vec3(0, huge, 0)
  3990. else
  3991. Directer.MaxTorque = Vec3(0, 0, 0)
  3992. end
  3993. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  3994. if Booleans.CamFollow then
  3995. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  3996. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  3997. else
  3998. CPart.Position = RootPart.Position
  3999. end
  4000. else
  4001. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  4002. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  4003. end
  4004. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  4005. else
  4006. Camera.CameraSubject = Humanoid
  4007. Camera.CameraType = "Custom"
  4008. Controller.Disabled = false
  4009. end
  4010. end
  4011. end
  4012.  
  4013. function ring(type,pos,scale,value)
  4014. local type = type
  4015. local rng = Instance.new("Part", char)
  4016. rng.Anchored = true
  4017. rng.BrickColor = origcolor
  4018. rng.CanCollide = false
  4019. rng.FormFactor = 3
  4020. rng.Name = "Ring"
  4021. rng.Size = Vector3.new(1, 1, 1)
  4022. rng.Transparency = 0
  4023. rng.TopSurface = 0
  4024. rng.BottomSurface = 0
  4025. rng.CFrame = pos
  4026. local rngm = Instance.new("SpecialMesh", rng)
  4027. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4028. rngm.Scale = scale
  4029. local scaler2 = 1
  4030. if type == "Add" then
  4031. scaler2 = 1*value
  4032. elseif type == "Divide" then
  4033. scaler2 = 1/value
  4034. end
  4035. coroutine.resume(coroutine.create(function()
  4036. for i = 0,10,0.1 do
  4037. swait()
  4038. if type == "Add" then
  4039. scaler2 = scaler2 - 0.01*value
  4040. elseif type == "Divide" then
  4041. scaler2 = scaler2 - 0.01/value
  4042. end
  4043. rng.Transparency = rng.Transparency + 0.01
  4044. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  4045. end
  4046. rng:Destroy()
  4047. end))
  4048. end
  4049.  
  4050.  
  4051. function wave(type,pos,scale,value)
  4052. local type = type
  4053. local rng = Instance.new("Part", char)
  4054. rng.Anchored = true
  4055. rng.BrickColor = origcolor
  4056. rng.CanCollide = false
  4057. rng.FormFactor = 3
  4058. rng.Name = "Ring"
  4059. rng.Size = Vector3.new(1, 1, 1)
  4060. rng.Transparency = 0
  4061. rng.TopSurface = 0
  4062. rng.BottomSurface = 0
  4063. rng.CFrame = pos
  4064. local rngm = Instance.new("SpecialMesh", rng)
  4065. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  4066. rngm.Scale = scale
  4067. local scaler2 = 1
  4068. if type == "Add" then
  4069. scaler2 = 1*value
  4070. elseif type == "Divide" then
  4071. scaler2 = 1/value
  4072. end
  4073. coroutine.resume(coroutine.create(function()
  4074. for i = 0,10,0.1 do
  4075. swait()
  4076. if type == "Add" then
  4077. scaler2 = scaler2 - 0.01*value
  4078. elseif type == "Divide" then
  4079. scaler2 = scaler2 - 0.01/value
  4080. end
  4081. rng.Transparency = rng.Transparency + 0.01
  4082. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  4083. end
  4084. rng:Destroy()
  4085. end))
  4086. end
  4087.  
  4088. function sphere(bonuspeed,type,pos,scale,value,color)
  4089. local type = type
  4090. local rng = Instance.new("Part", char)
  4091. rng.Anchored = true
  4092. if ModeOfGlitch ~= 9 then
  4093. rng.BrickColor = color
  4094. elseif ModeOfGlitch == 9 then
  4095. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4096. end
  4097. rng.CanCollide = false
  4098. rng.FormFactor = 3
  4099. rng.Name = "Ring"
  4100. rng.Material = "Neon"
  4101. rng.Size = Vector3.new(1, 1, 1)
  4102. rng.Transparency = 0
  4103. rng.TopSurface = 0
  4104. rng.BottomSurface = 0
  4105. rng.CFrame = pos
  4106. local rngm = Instance.new("SpecialMesh", rng)
  4107. rngm.MeshType = "Sphere"
  4108. rngm.Scale = scale
  4109. if rainbowmode == true then
  4110. rng.Color = Color3.new(r/255,g/255,b/255)
  4111. end
  4112. if ModeOfGlitch == 9 then
  4113. coroutine.resume(coroutine.create(function()
  4114. while true do
  4115. swait()
  4116. if rng.Parent ~= nil then
  4117. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4118. else
  4119. break
  4120. end
  4121. end
  4122. end))
  4123. end
  4124. local scaler2 = 1
  4125. if type == "Add" then
  4126. scaler2 = 1*value
  4127. elseif type == "Divide" then
  4128. scaler2 = 1/value
  4129. end
  4130. coroutine.resume(coroutine.create(function()
  4131. for i = 0,10/bonuspeed,0.1 do
  4132. swait()
  4133. if rainbowmode == true then
  4134. rng.Color = Color3.new(r/255,g/255,b/255)
  4135. end
  4136. if type == "Add" then
  4137. scaler2 = scaler2 - 0.01*value/bonuspeed
  4138. elseif type == "Divide" then
  4139. scaler2 = scaler2 - 0.01/value*bonuspeed
  4140. end
  4141. if chaosmode == true then
  4142. rng.BrickColor = BrickColor.random()
  4143. end
  4144. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4145. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4146. end
  4147. rng:Destroy()
  4148. end))
  4149. end
  4150.  
  4151. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  4152. local type = type
  4153. local rng = Instance.new("Part", char)
  4154. rng.Anchored = true
  4155. if ModeOfGlitch ~= 9 then
  4156. rng.BrickColor = color
  4157. elseif ModeOfGlitch == 9 then
  4158. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4159. end
  4160. rng.CanCollide = false
  4161. rng.FormFactor = 3
  4162. rng.Name = "Ring"
  4163. rng.Material = "Neon"
  4164. rng.Size = Vector3.new(1, 1, 1)
  4165. rng.Transparency = 0
  4166. rng.TopSurface = 0
  4167. rng.BottomSurface = 0
  4168. rng.CFrame = pos
  4169. local rngm = Instance.new("SpecialMesh", rng)
  4170. rngm.MeshType = "Sphere"
  4171. rngm.Scale = scale
  4172. local scaler2 = 1
  4173. local scaler2b = 1
  4174. local scaler2c = 1
  4175. if type == "Add" then
  4176. scaler2 = 1*value
  4177. scaler2b = 1*value2
  4178. scaler2c = 1*value3
  4179. elseif type == "Divide" then
  4180. scaler2 = 1/value
  4181. scaler2b = 1/value2
  4182. scaler2c = 1/value3
  4183. end
  4184. if ModeOfGlitch == 9 then
  4185. coroutine.resume(coroutine.create(function()
  4186. while true do
  4187. swait()
  4188. if rng.Parent ~= nil then
  4189. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4190. else
  4191. break
  4192. end
  4193. end
  4194. end))
  4195. end
  4196. coroutine.resume(coroutine.create(function()
  4197. for i = 0,10/bonuspeed,0.1 do
  4198. swait()
  4199. if type == "Add" then
  4200. scaler2 = scaler2 - 0.01*value/bonuspeed
  4201. scaler2b = scaler2b - 0.01*value/bonuspeed
  4202. scaler2c = scaler2c - 0.01*value/bonuspeed
  4203. elseif type == "Divide" then
  4204. scaler2 = scaler2 - 0.01/value*bonuspeed
  4205. scaler2b = scaler2b - 0.01/value*bonuspeed
  4206. scaler2c = scaler2c - 0.01/value*bonuspeed
  4207. end
  4208. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4209. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4210. end
  4211. rng:Destroy()
  4212. end))
  4213. end
  4214.  
  4215. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  4216. local type = type
  4217. local rotenable = rotatingop
  4218. local rng = Instance.new("Part", char)
  4219. rng.Anchored = true
  4220. rng.BrickColor = color
  4221. rng.CanCollide = false
  4222. rng.FormFactor = 3
  4223. rng.Name = "Ring"
  4224. rng.Material = "Neon"
  4225. rng.Size = Vector3.new(1, 1, 1)
  4226. rng.Transparency = 0
  4227. if typeoftrans == "In" then
  4228. rng.Transparency = 1
  4229. end
  4230. rng.TopSurface = 0
  4231. rng.BottomSurface = 0
  4232. rng.CFrame = pos
  4233. local rngm = Instance.new("SpecialMesh", rng)
  4234. rngm.MeshType = "FileMesh"
  4235. if typeofshape == "Normal" then
  4236. rngm.MeshId = "rbxassetid://662586858"
  4237. elseif typeofshape == "Round" then
  4238. rngm.MeshId = "rbxassetid://662585058"
  4239. end
  4240. rngm.Scale = scale
  4241. local scaler2 = 1/10
  4242. if type == "Add" then
  4243. scaler2 = 1*value/10
  4244. elseif type == "Divide" then
  4245. scaler2 = 1/value/10
  4246. end
  4247. local randomrot = math.random(1,2)
  4248. coroutine.resume(coroutine.create(function()
  4249. for i = 0,10/bonuspeed,0.1 do
  4250. swait()
  4251. if type == "Add" then
  4252. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  4253. elseif type == "Divide" then
  4254. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  4255. end
  4256. if rotenable == true then
  4257. if randomrot == 1 then
  4258. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  4259. elseif randomrot == 2 then
  4260. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  4261. end
  4262. end
  4263. if typeoftrans == "Out" then
  4264. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4265. elseif typeoftrans == "In" then
  4266. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4267. end
  4268. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  4269. end
  4270. rng:Destroy()
  4271. end))
  4272. end
  4273.  
  4274. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4275. local type = type
  4276. local rng = Instance.new("Part", char)
  4277. rng.Anchored = true
  4278. rng.BrickColor = color
  4279. rng.CanCollide = false
  4280. rng.FormFactor = 3
  4281. rng.Name = "Ring"
  4282. rng.Material = "Neon"
  4283. rng.Size = Vector3.new(1, 1, 1)
  4284. rng.Transparency = 0
  4285. rng.TopSurface = 0
  4286. rng.BottomSurface = 0
  4287. rng.CFrame = pos
  4288. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4289. local rngm = Instance.new("SpecialMesh", rng)
  4290. rngm.MeshType = "Brick"
  4291. rngm.Scale = vt(x1,y1,z1)
  4292. if rainbowmode == true then
  4293. rng.Color = Color3.new(r/255,g/255,b/255)
  4294. end
  4295. local scaler2 = 1
  4296. local speeder = FastSpeed/10
  4297. if type == "Add" then
  4298. scaler2 = 1*value
  4299. elseif type == "Divide" then
  4300. scaler2 = 1/value
  4301. end
  4302. coroutine.resume(coroutine.create(function()
  4303. for i = 0,10/bonuspeed,0.1 do
  4304. swait()
  4305. if rainbowmode == true then
  4306. rng.Color = Color3.new(r/255,g/255,b/255)
  4307. end
  4308. if type == "Add" then
  4309. scaler2 = scaler2 - 0.01*value/bonuspeed
  4310. elseif type == "Divide" then
  4311. scaler2 = scaler2 - 0.01/value*bonuspeed
  4312. end
  4313. if chaosmode == true then
  4314. rng.BrickColor = BrickColor.random()
  4315. end
  4316. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4317. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4318. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4319. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4320. end
  4321. rng:Destroy()
  4322. end))
  4323. end
  4324.  
  4325. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4326. local type = type
  4327. local rng = Instance.new("Part", char)
  4328. rng.Anchored = true
  4329. rng.BrickColor = color
  4330. rng.CanCollide = false
  4331. rng.FormFactor = 3
  4332. rng.Name = "Ring"
  4333. rng.Material = "Neon"
  4334. rng.Size = Vector3.new(1, 1, 1)
  4335. rng.Transparency = 0
  4336. rng.TopSurface = 0
  4337. rng.BottomSurface = 0
  4338. rng.CFrame = pos
  4339. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4340. local rngm = Instance.new("SpecialMesh", rng)
  4341. rngm.MeshType = "Brick"
  4342. rngm.Scale = vt(x1,y1,z1)
  4343. if rainbowmode == true then
  4344. rng.Color = Color3.new(r/255,g/255,b/255)
  4345. end
  4346. local scaler2 = 1
  4347. local speeder = FastSpeed/10
  4348. if type == "Add" then
  4349. scaler2 = 1*value
  4350. elseif type == "Divide" then
  4351. scaler2 = 1/value
  4352. end
  4353. coroutine.resume(coroutine.create(function()
  4354. for i = 0,10/bonuspeed,0.1 do
  4355. swait()
  4356. if rainbowmode == true then
  4357. rng.Color = Color3.new(r/255,g/255,b/255)
  4358. end
  4359. if type == "Add" then
  4360. scaler2 = scaler2 - 0.01*value/bonuspeed
  4361. elseif type == "Divide" then
  4362. scaler2 = scaler2 - 0.01/value*bonuspeed
  4363. end
  4364. if chaosmode == true then
  4365. rng.BrickColor = BrickColor.random()
  4366. end
  4367. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4368. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4369. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4370. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4371. end
  4372. rng:Destroy()
  4373. end))
  4374. end
  4375.  
  4376. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4377. local type = type
  4378. local rng = Instance.new("Part", char)
  4379. rng.Anchored = true
  4380. rng.BrickColor = color
  4381. rng.CanCollide = false
  4382. rng.FormFactor = 3
  4383. rng.Name = "Ring"
  4384. rng.Material = "Neon"
  4385. rng.Size = Vector3.new(1, 1, 1)
  4386. rng.Transparency = 0
  4387. rng.TopSurface = 0
  4388. rng.BottomSurface = 0
  4389. rng.CFrame = pos
  4390. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4391. local rngm = Instance.new("SpecialMesh", rng)
  4392. rngm.MeshType = "Brick"
  4393. rngm.Scale = vt(x1,y1,z1)
  4394. if rainbowmode == true then
  4395. rng.Color = Color3.new(r/255,g/255,b/255)
  4396. end
  4397. local scaler2 = 0
  4398. local speeder = FastSpeed/10
  4399. if type == "Add" then
  4400. scaler2 = 1*value
  4401. elseif type == "Divide" then
  4402. scaler2 = 1/value
  4403. end
  4404. coroutine.resume(coroutine.create(function()
  4405. for i = 0,10/bonuspeed,0.1 do
  4406. swait()
  4407. if rainbowmode == true then
  4408. rng.Color = Color3.new(r/255,g/255,b/255)
  4409. end
  4410. if type == "Add" then
  4411. scaler2 = scaler2 - 0.01*value/bonuspeed
  4412. elseif type == "Divide" then
  4413. scaler2 = scaler2 - 0.01/value*bonuspeed
  4414. end
  4415. if chaosmode == true then
  4416. rng.BrickColor = BrickColor.random()
  4417. end
  4418. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  4419. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4420. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4421. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4422. end
  4423. rng:Destroy()
  4424. end))
  4425. end
  4426.  
  4427. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  4428. local type = type
  4429. local rng = Instance.new("Part", char)
  4430. rng.Anchored = true
  4431. rng.BrickColor = color
  4432. rng.Color = color3
  4433. rng.CanCollide = false
  4434. rng.FormFactor = 3
  4435. rng.Name = "Ring"
  4436. rng.Material = "Neon"
  4437. rng.Size = Vector3.new(1, 1, 1)
  4438. rng.Transparency = 0
  4439. rng.TopSurface = 0
  4440. rng.BottomSurface = 0
  4441. rng.CFrame = pos
  4442. local rngm = Instance.new("SpecialMesh", rng)
  4443. rngm.MeshType = "Brick"
  4444. rngm.Scale = scale
  4445. local scaler2 = 1
  4446. local scaler2b = 1
  4447. local scaler2c = 1
  4448. if type == "Add" then
  4449. scaler2 = 1*value
  4450. scaler2b = 1*value2
  4451. scaler2c = 1*value3
  4452. elseif type == "Divide" then
  4453. scaler2 = 1/value
  4454. scaler2b = 1/value2
  4455. scaler2c = 1/value3
  4456. end
  4457. coroutine.resume(coroutine.create(function()
  4458. for i = 0,10/bonuspeed,0.1 do
  4459. swait()
  4460. if type == "Add" then
  4461. scaler2 = scaler2 - 0.01*value/bonuspeed
  4462. scaler2b = scaler2b - 0.01*value/bonuspeed
  4463. scaler2c = scaler2c - 0.01*value/bonuspeed
  4464. elseif type == "Divide" then
  4465. scaler2 = scaler2 - 0.01/value*bonuspeed
  4466. scaler2b = scaler2b - 0.01/value*bonuspeed
  4467. scaler2c = scaler2c - 0.01/value*bonuspeed
  4468. end
  4469. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4470. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4471. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  4472. end
  4473. rng:Destroy()
  4474. end))
  4475. end
  4476.  
  4477. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4478. local type = type
  4479. local rng = Instance.new("Part", char)
  4480. rng.Anchored = true
  4481. if ModeOfGlitch ~= 9 then
  4482. rng.BrickColor = color
  4483. elseif ModeOfGlitch == 9 then
  4484. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4485. end
  4486. rng.CanCollide = false
  4487. rng.FormFactor = 3
  4488. rng.Name = "Ring"
  4489. rng.Material = "Neon"
  4490. rng.Size = Vector3.new(1, 1, 1)
  4491. rng.Transparency = 0
  4492. rng.TopSurface = 0
  4493. rng.BottomSurface = 0
  4494. rng.CFrame = pos
  4495. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4496. local rngm = Instance.new("SpecialMesh", rng)
  4497. rngm.MeshType = "Sphere"
  4498. rngm.Scale = vt(x1,y1,z1)
  4499. if rainbowmode == true then
  4500. rng.Color = Color3.new(r/255,g/255,b/255)
  4501. end
  4502. if ModeOfGlitch == 9 then
  4503. coroutine.resume(coroutine.create(function()
  4504. while true do
  4505. swait()
  4506. if rng.Parent ~= nil then
  4507. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4508. else
  4509. break
  4510. end
  4511. end
  4512. end))
  4513. end
  4514. local scaler2 = 1
  4515. local speeder = FastSpeed
  4516. if type == "Add" then
  4517. scaler2 = 1*value
  4518. elseif type == "Divide" then
  4519. scaler2 = 1/value
  4520. end
  4521. coroutine.resume(coroutine.create(function()
  4522. for i = 0,10/bonuspeed,0.1 do
  4523. swait()
  4524. if rainbowmode == true then
  4525. rng.Color = Color3.new(r/255,g/255,b/255)
  4526. end
  4527. if type == "Add" then
  4528. scaler2 = scaler2 - 0.01*value/bonuspeed
  4529. elseif type == "Divide" then
  4530. scaler2 = scaler2 - 0.01/value*bonuspeed
  4531. end
  4532. if chaosmode == true then
  4533. rng.BrickColor = BrickColor.random()
  4534. end
  4535. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4536. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4537. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4538. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4539. end
  4540. rng:Destroy()
  4541. end))
  4542. end
  4543.  
  4544.  
  4545. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  4546. local type = type
  4547. local rng = Instance.new("Part", char)
  4548. rng.Anchored = true
  4549. if ModeOfGlitch ~= 9 then
  4550. rng.BrickColor = color
  4551. elseif ModeOfGlitch == 9 then
  4552. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4553. end
  4554. rng.CanCollide = false
  4555. rng.FormFactor = 3
  4556. rng.Name = "Ring"
  4557. rng.Material = "Neon"
  4558. rng.Size = Vector3.new(1, 1, 1)
  4559. rng.Transparency = 1
  4560. rng.TopSurface = 0
  4561. rng.BottomSurface = 0
  4562. rng.CFrame = pos
  4563. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4564. local rngm = Instance.new("SpecialMesh", rng)
  4565. rngm.MeshType = "Sphere"
  4566. rngm.Scale = vt(x1,y1,z1)
  4567. if rainbowmode == true then
  4568. rng.Color = Color3.new(r/255,g/255,b/255)
  4569. end
  4570. if ModeOfGlitch == 9 then
  4571. coroutine.resume(coroutine.create(function()
  4572. while true do
  4573. swait()
  4574. if rng.Parent ~= nil then
  4575. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  4576. else
  4577. break
  4578. end
  4579. end
  4580. end))
  4581. end
  4582. local scaler2 = 1
  4583. local speeder = FastSpeed
  4584. if type == "Add" then
  4585. scaler2 = 1*value
  4586. elseif type == "Divide" then
  4587. scaler2 = 1/value
  4588. end
  4589. coroutine.resume(coroutine.create(function()
  4590. for i = 0,10/bonuspeed,0.1 do
  4591. swait()
  4592. if rainbowmode == true then
  4593. rng.Color = Color3.new(r/255,g/255,b/255)
  4594. end
  4595. if type == "Add" then
  4596. scaler2 = scaler2 - 0.01*value/bonuspeed
  4597. elseif type == "Divide" then
  4598. scaler2 = scaler2 - 0.01/value*bonuspeed
  4599. end
  4600. if chaosmode == true then
  4601. rng.BrickColor = BrickColor.random()
  4602. end
  4603. speeder = speeder - 0.01*FastSpeed*bonuspeed
  4604. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4605. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  4606. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  4607. end
  4608. rng:Destroy()
  4609. end))
  4610. end
  4611.  
  4612. function dmg(dude)
  4613. if dude.Name ~= Character then
  4614. local keptcolor = MAINRUINCOLOR
  4615. local bgf = Instance.new("BodyGyro",dude.Head)
  4616. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  4617. --[[local val = Instance.new("BoolValue",dude)
  4618. val.Name = "IsHit"]]--
  4619. local ds = coroutine.wrap(function()
  4620. dude:WaitForChild("Head"):BreakJoints()
  4621. for i, v in pairs(dude:GetChildren()) do
  4622. if v:IsA("Part") or v:IsA("MeshPart") then
  4623. v.Name = "DEMINISHED"
  4624. end
  4625. end
  4626. wait(0.5)
  4627. targetted = nil
  4628. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  4629. coroutine.resume(coroutine.create(function()
  4630. for i, v in pairs(dude:GetChildren()) do
  4631. if v:IsA("Accessory") then
  4632. v:Destroy()
  4633. end
  4634. if v:IsA("Humanoid") then
  4635. v:Destroy()
  4636. end
  4637. if v:IsA("CharacterMesh") then
  4638. v:Destroy()
  4639. end
  4640. if v:IsA("Model") then
  4641. v:Destroy()
  4642. end
  4643. if v:IsA("Part") or v:IsA("MeshPart") then
  4644. for x, o in pairs(v:GetChildren()) do
  4645. if o:IsA("Decal") then
  4646. o:Destroy()
  4647. end
  4648. end
  4649. coroutine.resume(coroutine.create(function()
  4650. v.Material = "Neon"
  4651. v.CanCollide = false
  4652. v.Anchored = false
  4653. local bld = Instance.new("ParticleEmitter",v)
  4654. bld.LightEmission = 0.75
  4655. bld.Texture = "rbxassetid://363275192" ---284205403
  4656. bld.Color = ColorSequence.new(keptcolor.Color)
  4657. bld.Rate = 500
  4658. bld.Lifetime = NumberRange.new(1)
  4659. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  4660. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4661. bld.Speed = NumberRange.new(2,5)
  4662. bld.VelocitySpread = 50000
  4663. bld.Rotation = NumberRange.new(-500,500)
  4664. bld.RotSpeed = NumberRange.new(-500,500)
  4665. local sbs = Instance.new("BodyPosition", v)
  4666. sbs.P = 3000
  4667. sbs.D = 1000
  4668. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  4669. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  4670. v.Color = keptcolor.Color
  4671. coroutine.resume(coroutine.create(function()
  4672. for i = 0, 49 do
  4673. swait(1)
  4674. v:BreakJoints()
  4675. v.Transparency = v.Transparency + 0.02
  4676. end
  4677. v:BreakJoints()
  4678. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  4679. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  4680. bld.Speed = NumberRange.new(10,25)
  4681. bld.Drag = 5
  4682. bld.Acceleration = vt(0,2,0)
  4683. wait(0.5)
  4684. bld.Enabled = false
  4685. wait(8)
  4686. v:Destroy()
  4687. dude:Destroy()
  4688. end))
  4689. end))
  4690. end
  4691. end
  4692. end))
  4693. end)
  4694. ds()
  4695. end
  4696. end
  4697.  
  4698.  
  4699. function FindNearestHead(Position, Distance, SinglePlayer)
  4700. if SinglePlayer then
  4701. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  4702. end
  4703. local List = {}
  4704. for i, v in pairs(workspace:GetChildren()) do
  4705. if v:IsA("Model") then
  4706. if v:findFirstChild("Head") then
  4707. if v ~= Character then
  4708. if (v.Head.Position - Position).magnitude <= Distance then
  4709. table.insert(List, v)
  4710. end
  4711. end
  4712. end
  4713. end
  4714. end
  4715. return List
  4716. end
  4717.  
  4718. function FaceMouse()
  4719. Cam = workspace.CurrentCamera
  4720. return {
  4721. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  4722. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4723. }
  4724. end
  4725.  
  4726. function FaceMouse2()
  4727. Cam = workspace.CurrentCamera
  4728. return {
  4729. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  4730. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  4731. }
  4732. end
  4733.  
  4734. local ModeOfGlitch = 1
  4735. -- Functions are ready.
  4736. local storehumanoidWS = 16
  4737.  
  4738. function CorruptBlink()
  4739. for i = 0, 14 do
  4740. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  4741. end
  4742. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4743. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4744. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4745. CameraEnshaking(2,10)
  4746. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  4747. if v:FindFirstChild('Head') then
  4748. dmg(v)
  4749. end
  4750. end
  4751. for i = 0, 14 do
  4752. PixelBlock(3,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.03,MAINRUINCOLOR,0)
  4753. end
  4754. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4755. end
  4756. function PureBomb()
  4757. attack = true
  4758. hum.WalkSpeed = 0
  4759. local orb = Instance.new("Part", char)
  4760. orb.Anchored = true
  4761. orb.BrickColor = BrickColor.new("Toothpaste")
  4762. orb.CanCollide = false
  4763. orb.FormFactor = 3
  4764. orb.Name = "Ring"
  4765. orb.Material = "Neon"
  4766. orb.Size = Vector3.new(1, 1, 1)
  4767. orb.Transparency = 0
  4768. orb.TopSurface = 0
  4769. orb.BottomSurface = 0
  4770. local orbm = Instance.new("SpecialMesh", orb)
  4771. orbm.MeshType = "Sphere"
  4772. orbm.Name = "SizeMesh"
  4773. orbm.Scale = vt(0,0,0)
  4774. local scaled = 0.1
  4775. local posid = 0
  4776. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  4777. for i = 0, 5, 0.1 do
  4778. swait()
  4779. scaled = scaled - 0.001
  4780. posid = posid - scaled
  4781. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4782. local scaled = 0.1
  4783. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4784. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  4785. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  4786. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  4787. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4788. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4789. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4790. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4791. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  4792. end
  4793. for i = 0, 2, 0.1 do
  4794. swait()
  4795. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4796. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4797. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  4799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4800. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4801. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4802. end
  4803. coroutine.resume(coroutine.create(function()
  4804. orb.Anchored = false
  4805. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  4806. local a = Instance.new("Part",workspace)
  4807. a.Name = "Direction"
  4808. a.Anchored = true
  4809. a.BrickColor = bc("Bright red")
  4810. a.Material = "Neon"
  4811. a.Transparency = 1
  4812. a.CanCollide = false
  4813. local ray = Ray.new(
  4814. orb.CFrame.p, -- origin
  4815. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4816. )
  4817. local ignore = orb
  4818. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4819. a.BottomSurface = 10
  4820. a.TopSurface = 10
  4821. local distance = (orb.CFrame.p - position).magnitude
  4822. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4823. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4824. orb.CFrame = a.CFrame
  4825. a:Destroy()
  4826. local bv = Instance.new("BodyVelocity")
  4827. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4828. bv.velocity = orb.CFrame.lookVector*125
  4829. bv.Parent = orb
  4830. local hitted = false
  4831. game:GetService("Debris"):AddItem(orb, 15)
  4832. wait()
  4833. local hit =orb.Touched:connect(function(hit)
  4834. if hitted == false then
  4835. hitted = true
  4836. CameraEnshaking(10,2.5)
  4837. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  4838. MagniDamage(orb, 65, 65,90, 0, "Normal")
  4839. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  4840. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  4841. for i = 0, 49 do
  4842. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  4843. end
  4844. for i = 0, 9 do
  4845. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  4846. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  4847. end
  4848. orb.Anchored = true
  4849. orb.Transparency = 1
  4850. wait(8)
  4851. orb:Destroy()
  4852. end
  4853. end)
  4854. end))
  4855. for i = 0, 1, 0.1 do
  4856. swait()
  4857. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4858. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4859. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  4860. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4861. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4862. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4863. end
  4864. hum.WalkSpeed = storehumanoidWS
  4865. attack = false
  4866. end
  4867.  
  4868. function BanishingOrb()
  4869. attack = true
  4870. hum.WalkSpeed = 0
  4871. local orb = Instance.new("Part", char)
  4872. orb.Anchored = true
  4873. orb.BrickColor = BrickColor.new("Black")
  4874. orb.CanCollide = false
  4875. orb.FormFactor = 3
  4876. orb.Name = "Ring"
  4877. orb.Material = "Neon"
  4878. orb.Size = Vector3.new(1, 1, 1)
  4879. orb.Transparency = 0
  4880. orb.TopSurface = 0
  4881. orb.BottomSurface = 0
  4882. local orbm = Instance.new("SpecialMesh", orb)
  4883. orbm.MeshType = "Sphere"
  4884. orbm.Name = "SizeMesh"
  4885. orbm.Scale = vt(0,0,0)
  4886. local scaled = 0.1
  4887. local posid = 0
  4888. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  4889. for i = 0, 5, 0.1 do
  4890. swait()
  4891. scaled = scaled - 0.001
  4892. posid = posid - scaled
  4893. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4894. local scaled = 0.1
  4895. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4896. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Black"),10)
  4897. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  4898. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  4899. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4900. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4901. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  4902. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  4903. end
  4904. for i = 0, 2, 0.1 do
  4905. swait()
  4906. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  4907. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4908. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4909. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  4910. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  4911. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  4912. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4913. end
  4914. coroutine.resume(coroutine.create(function()
  4915. orb.Anchored = false
  4916. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  4917. local a = Instance.new("Part",workspace)
  4918. a.Name = "Direction"
  4919. a.Anchored = true
  4920. a.BrickColor = bc("Bright red")
  4921. a.Material = "Neon"
  4922. a.Transparency = 1
  4923. a.CanCollide = false
  4924. local ray = Ray.new(
  4925. orb.CFrame.p, -- origin
  4926. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  4927. )
  4928. local ignore = orb
  4929. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4930. a.BottomSurface = 10
  4931. a.TopSurface = 10
  4932. local distance = (orb.CFrame.p - position).magnitude
  4933. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4934. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4935. orb.CFrame = a.CFrame
  4936. a:Destroy()
  4937. local bv = Instance.new("BodyVelocity")
  4938. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4939. bv.velocity = orb.CFrame.lookVector*0
  4940. bv.Parent = orb
  4941. local hitted = false
  4942. local rate = 0
  4943. coroutine.resume(coroutine.create(function()
  4944. for i = 0, 24 do
  4945. wait(0.1)
  4946. rate = rate + 0.25
  4947. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  4948. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  4949. if v:FindFirstChild('Head') then
  4950. dmg(v)
  4951. end
  4952. end
  4953. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  4954. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  4955. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4956. end
  4957. orb.Anchored = true
  4958. orb.Transparency = 1
  4959. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  4960. if v:FindFirstChild('Head') then
  4961. dmg(v)
  4962. end
  4963. end
  4964. local eff = Instance.new("ParticleEmitter",orb)
  4965. eff.Texture = "rbxassetid://296874871"
  4966. eff.LightEmission = 0.95
  4967. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4968. eff.Rate = 1000000000
  4969. eff.Lifetime = NumberRange.new(3)
  4970. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  4971. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4972. eff.Speed = NumberRange.new(30)
  4973. eff.Acceleration = vt(0,-15,0)
  4974. eff.Rotation = NumberRange.new(-500,500)
  4975. eff.VelocitySpread = 100000
  4976. eff.RotSpeed = NumberRange.new(-500,500)
  4977. coroutine.resume(coroutine.create(function()
  4978. wait(0.6)
  4979. eff.Enabled = false
  4980. end))
  4981. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  4982. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  4983. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  4984. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4985. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  4986. game:GetService("Debris"):AddItem(orb, 15)
  4987. end))
  4988. end))
  4989. for i = 0, 1, 0.1 do
  4990. swait()
  4991. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4992. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4993. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  4994. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  4995. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  4996. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4997. end
  4998. hum.WalkSpeed = storehumanoidWS
  4999. attack = false
  5000. end
  5001.  
  5002.  
  5003. function ChaosGroundStrike()
  5004. attack = true
  5005. for i = 0, 2, 0.1 do
  5006. swait()
  5007. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  5008. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  5009. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5010. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5011. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  5012. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  5013. end
  5014. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  5015. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  5016. CameraEnshaking(4,12)
  5017. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  5018. if v:FindFirstChild('Head') then
  5019. dmg(v)
  5020. end
  5021. end
  5022. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  5023. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  5024. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  5025. for i = 0, 2, 0.1 do
  5026. swait()
  5027. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5028. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5029. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  5030. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  5031. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5032. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5033. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  5034. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  5035. end
  5036. attack = false
  5037. end
  5038.  
  5039.  
  5040.  
  5041. function Starfall()
  5042. attack = true
  5043. hum.WalkSpeed = 0
  5044. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  5045. for i = 0, 5, 0.1 do
  5046. swait()
  5047. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5048. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5049. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  5050. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  5051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5052. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5053. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  5054. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  5055. end
  5056. local Overed = false
  5057. CameraEnshaking(2,20)
  5058. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5059. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5060. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  5061. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  5062. local orb = Instance.new("Part", char)
  5063. orb.Anchored = true
  5064. orb.BrickColor = BrickColor.new("Toothpaste")
  5065. orb.CanCollide = false
  5066. orb.FormFactor = 3
  5067. orb.Name = "Remenant"
  5068. orb.Material = "Neon"
  5069. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  5070. orb.Size = Vector3.new(1, 1, 1)
  5071. orb.Transparency = 1
  5072. orb.TopSurface = 0
  5073. orb.BottomSurface = 0
  5074. hum.WalkSpeed = storehumanoidWS
  5075. coroutine.resume(coroutine.create(function()
  5076. for i = 0, 9 do
  5077. swait(10)
  5078. local lb = Instance.new("Part")
  5079. lb.Color = MAINRUINCOLOR.Color
  5080. lb.CanCollide = false
  5081. lb.Material = "Neon"
  5082. lb.Anchored = true
  5083. lb.TopSurface = 0
  5084. lb.BottomSurface = 0
  5085. lb.Transparency = 0
  5086. lb.Size = vt(1,1,1)
  5087. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5088. lb.Anchored = false
  5089. lb.Parent = char
  5090. local thingery = Instance.new("SpecialMesh",lb)
  5091. thingery.MeshType = "Sphere"
  5092. thingery.Scale = vt(20,20,20)
  5093. game:GetService("Debris"):AddItem(lb, 10)
  5094. local bv = Instance.new("BodyVelocity")
  5095. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5096. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  5097. bv.Parent = lb
  5098. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  5099. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  5100. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  5101. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  5102. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  5103. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  5104. local hitted = false
  5105. coroutine.resume(coroutine.create(function()
  5106. while true do
  5107. swait(1)
  5108. if lb.Parent ~= nil and hitted == false then
  5109. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  5110. elseif lb.Parent == nil then
  5111. break
  5112. end
  5113. end
  5114. end))
  5115.  
  5116. game:GetService("Debris"):AddItem(a, 0.1)
  5117.  
  5118. coroutine.resume(coroutine.create(function()
  5119. swait(1)
  5120. lb.Touched:connect(function(hit)
  5121. if hitted == false then
  5122. hitted = true
  5123. lb.Transparency = 1
  5124. lb.Anchored = true
  5125. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  5126. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  5127. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  5128. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  5129. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  5130. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  5131. MagniDamage(lb, 45, 45,85, 0, "Normal")
  5132. CameraEnshaking(1,5)
  5133. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  5134. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  5135. for i = 0, 9 do
  5136. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  5137. end
  5138. for i = 0, 49 do
  5139. swait()
  5140. MagniDamage(lb, 30, 2,4, 0, "Normal")
  5141. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  5142. end
  5143. end
  5144. end)
  5145. end))
  5146. end
  5147. Overed = true
  5148. orb:Destroy()
  5149. end))
  5150.  
  5151. attack = false
  5152. end
  5153.  
  5154. function StarfallEX()
  5155. attack = true
  5156. hum.WalkSpeed = 0
  5157. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  5158. for i = 0, 10, 0.1 do
  5159. swait()
  5160. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5161. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5162. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  5163. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  5164. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5165. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  5166. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  5167. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  5168. end
  5169. local Overed = false
  5170. CameraEnshaking(2,20)
  5171. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5172. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  5173. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  5174. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  5175. local orb = Instance.new("Part", char)
  5176. orb.Anchored = true
  5177. orb.BrickColor = BrickColor.new("Toothpaste")
  5178. orb.CanCollide = false
  5179. orb.FormFactor = 3
  5180. orb.Name = "Remenant"
  5181. orb.Material = "Neon"
  5182. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  5183. orb.Size = Vector3.new(1, 1, 1)
  5184. orb.Transparency = 1
  5185. orb.TopSurface = 0
  5186. orb.BottomSurface = 0
  5187. hum.WalkSpeed = storehumanoidWS
  5188. coroutine.resume(coroutine.create(function()
  5189. for i = 0, 4 do
  5190. swait(15)
  5191. local lb = Instance.new("Part")
  5192. lb.Color = MAINRUINCOLOR.Color
  5193. lb.CanCollide = false
  5194. lb.Material = "Neon"
  5195. lb.Anchored = true
  5196. lb.TopSurface = 0
  5197. lb.BottomSurface = 0
  5198. lb.Transparency = 0
  5199. lb.Size = vt(1,1,1)
  5200. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5201. lb.Anchored = false
  5202. lb.Parent = char
  5203. local thingery = Instance.new("SpecialMesh",lb)
  5204. thingery.MeshType = "Sphere"
  5205. thingery.Scale = vt(50,50,50)
  5206. game:GetService("Debris"):AddItem(lb, 10)
  5207. local bv = Instance.new("BodyVelocity")
  5208. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5209. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  5210. bv.Parent = lb
  5211. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  5212. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  5213. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  5214. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  5215. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  5216. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  5217. local hitted = false
  5218. coroutine.resume(coroutine.create(function()
  5219. while true do
  5220. swait(1)
  5221. if lb.Parent ~= nil and hitted == false then
  5222. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  5223. elseif lb.Parent == nil then
  5224. break
  5225. end
  5226. end
  5227. end))
  5228.  
  5229. game:GetService("Debris"):AddItem(a, 0.1)
  5230.  
  5231. coroutine.resume(coroutine.create(function()
  5232. swait(1)
  5233. lb.Touched:connect(function(hit)
  5234. if hitted == false then
  5235. hitted = true
  5236. lb.Transparency = 1
  5237. lb.Anchored = true
  5238. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  5239. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  5240. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  5241. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  5242. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  5243. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  5244. MagniDamage(lb, 50, 60,99, 0, "Normal")
  5245. CameraEnshaking(1,5)
  5246. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  5247. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  5248. for i = 0, 9 do
  5249. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  5250. end
  5251. for i = 0, 99 do
  5252. swait()
  5253. MagniDamage(lb, 30, 6,18, 0, "Normal")
  5254. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  5255. end
  5256. end
  5257. end)
  5258. end))
  5259. end
  5260. Overed = true
  5261. orb:Destroy()
  5262. end))
  5263.  
  5264. attack = false
  5265. end
  5266.  
  5267. function DivineBlast()
  5268. attack = true
  5269. hum.WalkSpeed = 0
  5270. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  5271. elocacenter.Anchored = true
  5272. elocacenter.CFrame = sorb.CFrame
  5273. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5274. eloca1.Anchored = true
  5275. eloca1.CFrame = elocacenter.CFrame
  5276. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5277. eloca2.Anchored = true
  5278. eloca2.CFrame = elocacenter.CFrame
  5279. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5280. eloca3.Anchored = true
  5281. eloca3.CFrame = elocacenter.CFrame
  5282. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5283. eloca4.Anchored = true
  5284. eloca4.CFrame = elocacenter.CFrame
  5285. local lookavec = 0
  5286. local speeds = 0
  5287. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  5288. for i = 0, 3, 0.1 do
  5289. swait()
  5290. ---
  5291. lookavec = lookavec + 0.1
  5292. speeds = speeds + 10
  5293. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5294. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5295. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5296.  
  5297. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5298. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5299.  
  5300. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5301. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5302.  
  5303. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5304. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5305. ---
  5306. root.CFrame = FaceMouse()[1]
  5307. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5308. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5309. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5310. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5311. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5312. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5313. end
  5314. for i = 0, 3, 0.1 do
  5315. swait()
  5316. ---
  5317. speeds = speeds + 10
  5318. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5319. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5320. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5321.  
  5322. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5323. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5324.  
  5325. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5326. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5327.  
  5328. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5329. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5330. ---
  5331. root.CFrame = FaceMouse()[1]
  5332. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5333. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5334. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5335. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5336. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  5337. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5338. end
  5339. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  5340. for i = 0, 3, 0.1 do
  5341. swait()
  5342. ---
  5343. speeds = speeds + 10
  5344. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5345. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5346. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5347.  
  5348. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5349. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5350.  
  5351. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5352. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5353.  
  5354. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5355. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  5356. ---
  5357. root.CFrame = FaceMouse()[1]
  5358. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5359. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  5361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  5362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  5363. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5364. end
  5365. coroutine.resume(coroutine.create(function()
  5366. local a = Instance.new("Part",Character)
  5367. a.Name = "Direction"
  5368. a.Anchored = true
  5369. a.BrickColor = bc("White")
  5370. a.Material = "Neon"
  5371. a.Transparency = 0
  5372. a.Shape = "Cylinder"
  5373. a.CanCollide = false
  5374. local a2 = Instance.new("Part",Character)
  5375. a2.Name = "Direction"
  5376. a2.Anchored = true
  5377. a2.BrickColor = bc("Bright yellow")
  5378. a2.Material = "Neon"
  5379. a2.Transparency = 0
  5380. a2.Shape = "Cylinder"
  5381. a2.CanCollide = false
  5382. local b = Instance.new("Part",Character)
  5383. b.Name = "HitDirect"
  5384. b.Anchored = true
  5385. b.BrickColor = bc("Cool yellow")
  5386. b.Material = "Neon"
  5387. b.Transparency = 1
  5388. b.CanCollide = false
  5389. local ray = Ray.new(
  5390. elocacenter.CFrame.p, -- origin
  5391. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  5392. )
  5393. local ignore = Character
  5394. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5395. a.BottomSurface = 10
  5396. a.TopSurface = 10
  5397. a2.BottomSurface = 10
  5398. a2.TopSurface = 10
  5399. local distance = (elocacenter.CFrame.p - position).magnitude
  5400. a.Size = Vector3.new(distance, 1, 1)
  5401. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5402. a2.Size = Vector3.new(distance, 1, 1)
  5403. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  5404. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  5405. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  5406. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  5407. game:GetService("Debris"):AddItem(a, 10)
  5408. game:GetService("Debris"):AddItem(a2, 10)
  5409. game:GetService("Debris"):AddItem(b, 10)
  5410. local msh = Instance.new("SpecialMesh",a)
  5411. msh.MeshType = "Cylinder"
  5412. msh.Scale = vt(1,2,2)
  5413. local msh2 = Instance.new("SpecialMesh",a2)
  5414. msh2.MeshType = "Cylinder"
  5415. msh2.Scale = vt(1,2.5,2.5)
  5416. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  5417. coroutine.resume(coroutine.create(function()
  5418. for i = 0,10,0.1 do
  5419. swait()
  5420. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  5421. a.Transparency = a.Transparency + 0.025
  5422. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  5423. a2.Transparency = a2.Transparency + 0.05
  5424. end
  5425. a:Destroy()
  5426. a2:Destroy()
  5427. end))
  5428. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  5429. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  5430. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  5431. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  5432. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  5433. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  5434. MagniDamage(b, 25, 40,65, 0, "Normal")
  5435. for i = 0, 49 do
  5436. PixelBlock(2,math.random(10,20),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.04,BrickColor.new("Bright yellow"),0)
  5437. PixelBlock(1,math.random(1,10),"Add",b.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Bright yellow"),0)
  5438. end
  5439. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  5440. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  5441. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5442. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5443. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5444. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  5445. end))
  5446. game:GetService("Debris"):AddItem(elocacenter, 5)
  5447. hum.WalkSpeed = storehumanoidWS
  5448. attack = false
  5449. end
  5450.  
  5451. function StarDivision()
  5452. attack = true
  5453. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5454. for i = 0, 2, 0.1 do
  5455. swait()
  5456. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5457. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5459. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5460. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  5461. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  5462. end
  5463. local orb = Instance.new("Part", char)
  5464. orb.BrickColor = MAINRUINCOLOR
  5465. orb.CanCollide = false
  5466. orb.FormFactor = 3
  5467. orb.Name = "Ring"
  5468. orb.Material = "Neon"
  5469. orb.Size = Vector3.new(1, 1, 1)
  5470. orb.Transparency = 0
  5471. orb.TopSurface = 0
  5472. orb.BottomSurface = 0
  5473. local orbm = Instance.new("SpecialMesh", orb)
  5474. orbm.MeshType = "Sphere"
  5475. orbm.Name = "SizeMesh"
  5476. orbm.Scale = vt(2,2,2)
  5477. local a = Instance.new("Part",workspace)
  5478. a.Name = "Direction"
  5479. a.Anchored = true
  5480. a.BrickColor = bc("Bright red")
  5481. a.Material = "Neon"
  5482. a.Transparency = 1
  5483. a.CanCollide = false
  5484. local ray = Ray.new(
  5485. sorb.CFrame.p, -- origin
  5486. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  5487. )
  5488. local ignore = sorb
  5489. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5490. a.BottomSurface = 10
  5491. a.TopSurface = 10
  5492. local distance = (sorb.CFrame.p - position).magnitude
  5493. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5494. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5495. orb.CFrame = a.CFrame
  5496. a:Destroy()
  5497. local bv = Instance.new("BodyVelocity")
  5498. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5499. bv.velocity = orb.CFrame.lookVector*100
  5500. bv.Parent = orb
  5501. local hitted = false
  5502. game:GetService("Debris"):AddItem(orb, 10)
  5503. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  5504. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  5505. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  5506. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  5507. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  5508. coroutine.resume(coroutine.create(function()
  5509. while true do
  5510. swait(1)
  5511. if orb.Parent ~= nil and hitted == false then
  5512. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  5513. elseif orb.Parent == nil then
  5514. break
  5515. end
  5516. end
  5517. end))
  5518. coroutine.resume(coroutine.create(function()
  5519. swait(1)
  5520. orb.Touched:connect(function(hit)
  5521. if hitted == false then
  5522. hitted = true
  5523. game:GetService("Debris"):AddItem(orb, 5)
  5524. orb.Transparency = 1
  5525. orb.Anchored = true
  5526. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5527. elocacenter.Anchored = true
  5528. elocacenter.CFrame = orb.CFrame
  5529. elocacenter.Orientation = vt(0,0,0)
  5530. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5531. eloca1.Anchored = true
  5532. eloca1.CFrame = elocacenter.CFrame
  5533. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5534. eloca2.Anchored = true
  5535. eloca2.CFrame = elocacenter.CFrame
  5536. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5537. eloca3.Anchored = true
  5538. eloca3.CFrame = elocacenter.CFrame
  5539. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5540. eloca4.Anchored = true
  5541. eloca4.CFrame = elocacenter.CFrame
  5542. local lookavec = 0
  5543. local speeds = 0
  5544. CameraEnshaking(1,1)
  5545. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5546. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5547. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5548. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5549. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5550. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5551. for i = 0, 99 do
  5552. swait()
  5553. lookavec = lookavec + 1
  5554. speeds = speeds + 0.1
  5555. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5556. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5557. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5558.  
  5559. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5560. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5561.  
  5562. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5563. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5564.  
  5565. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5566. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5567. end
  5568.  
  5569. for i = 0, 149 do
  5570. swait()
  5571. speeds = speeds + 0.1
  5572. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5573. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5574. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5575.  
  5576. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5577. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5578.  
  5579. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5580. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5581.  
  5582. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5583. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5584. end
  5585. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  5586. if v:FindFirstChild('Head') then
  5587. dmg(v)
  5588. end
  5589. end
  5590. CameraEnshaking(7,30)
  5591. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  5592. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  5593. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  5594. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  5595. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5596. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  5597. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  5598. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5599. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5600. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5601. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5602. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5603. for i = 0, 24 do
  5604. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  5605. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5606. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5607. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5608. end
  5609. coroutine.resume(coroutine.create(function()
  5610. for i = 0, 499 do
  5611. swait(1)
  5612. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  5613. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  5614. end
  5615. elocacenter:Destroy()
  5616. eloca1:Destroy()
  5617. eloca2:Destroy()
  5618. eloca3:Destroy()
  5619. eloca4:Destroy()
  5620. end))
  5621. end
  5622. end)
  5623. end))
  5624. attack = false
  5625. end
  5626.  
  5627.  
  5628. function THE_TRUE_POWER_OF_VIOLENCE()
  5629. attack = true
  5630. hum.WalkSpeed = 0
  5631. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  5632. for i = 0, 10, 0.1 do
  5633. swait()
  5634. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5635. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5636. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.4)
  5637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  5638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  5639. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5640. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  5641. end
  5642. local orb = Instance.new("Part", char)
  5643. orb.BrickColor = MAINRUINCOLOR
  5644. orb.CanCollide = false
  5645. orb.FormFactor = 3
  5646. orb.Name = "Ring"
  5647. orb.Material = "Neon"
  5648. orb.Size = Vector3.new(1, 1, 1)
  5649. orb.Transparency = 0
  5650. orb.TopSurface = 0
  5651. orb.BottomSurface = 0
  5652. orb.CFrame = sorb.CFrame
  5653. local orbm = Instance.new("SpecialMesh", orb)
  5654. orbm.MeshType = "Sphere"
  5655. orbm.Name = "SizeMesh"
  5656. orbm.Scale = vt(0,0,0)
  5657. local sbs = Instance.new("BodyPosition", orb)
  5658. sbs.P = 3000
  5659. sbs.D = 1000
  5660. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5661. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  5662. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  5663. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5664. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5665. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5666. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5667. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  5668. for i = 0, 10, 0.1 do
  5669. swait()
  5670. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  5671. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5672. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  5674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5675. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5676. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5677. end
  5678. orb.Anchored = true
  5679. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5680. elocacenter.Anchored = true
  5681. elocacenter.CFrame = orb.CFrame
  5682. elocacenter.Orientation = vt(0,0,0)
  5683. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5684. eloca1.Anchored = true
  5685. eloca1.CFrame = elocacenter.CFrame
  5686. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5687. eloca2.Anchored = true
  5688. eloca2.CFrame = elocacenter.CFrame
  5689. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5690. eloca3.Anchored = true
  5691. eloca3.CFrame = elocacenter.CFrame
  5692. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  5693. eloca4.Anchored = true
  5694. eloca4.CFrame = elocacenter.CFrame
  5695. local lookavec = 0
  5696. local speeds = 0
  5697. CameraEnshaking(1,1)
  5698. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  5699. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  5700. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  5701. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  5702. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5703. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5704. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5705. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5706. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5707. for i = 0, 99 do
  5708. swait()
  5709. lookavec = lookavec + 2.5
  5710. speeds = speeds + 0.25
  5711. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5712. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5713. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5714.  
  5715. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5716. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5717.  
  5718. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5719. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5720.  
  5721. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5722. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5723. end
  5724.  
  5725. for i = 0, 149 do
  5726. swait()
  5727. speeds = speeds + 0.25
  5728. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5729. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5730. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5731.  
  5732. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5733. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5734.  
  5735. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5736. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5737.  
  5738. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5739. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5740. end
  5741. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  5742. for i = 0, 99 do
  5743. swait()
  5744. lookavec = lookavec - 2.5
  5745. speeds = speeds + 0.25
  5746. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5747. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5748. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5749.  
  5750. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5751. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5752.  
  5753. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5754. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5755.  
  5756. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5757. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5758. end
  5759. local scaled = 0.1*75
  5760. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  5761. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  5762. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  5763. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  5764. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  5765. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  5766. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5767. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5768. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5769. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5770. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5771. for i = 0, 10, 0.1 do
  5772. swait()
  5773. scaled = scaled - 0.001*75
  5774. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5775. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5776. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5777. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  5779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  5780. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  5781. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5782. end
  5783. for x = 0, 4 do
  5784. for i = 0, 9 do
  5785. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  5786. end
  5787. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  5788. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  5789. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5790. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5791. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5792. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5793. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5794. for i = 0, 5, 0.1 do
  5795. swait()
  5796. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5797. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5798. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  5799. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5800. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5801. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  5802. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  5803. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  5804. end
  5805. end
  5806. local speedearn = 0
  5807. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  5808. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  5809. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  5810. for i = 0, 30, 0.1 do
  5811. swait()
  5812. scaled = scaled - 0.001*75/10
  5813. speedearn = speedearn + 0.5
  5814. for i = 0, 4 do
  5815. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  5816. end
  5817. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  5818. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5819. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5820. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  5821. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5822. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5823. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5824. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  5825. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  5826. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  5827. end
  5828. orb.Transparency = 1
  5829. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  5830. if v:FindFirstChild('Head') then
  5831. dmg(v)
  5832. end
  5833. end
  5834. CameraEnshaking(7,30)
  5835. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  5836. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  5837. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  5838. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  5839. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  5840. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  5841. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  5842. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  5843. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  5844. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  5845. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  5846. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  5847. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  5848. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  5849. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5850. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5851. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5852. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5853. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  5854. for i = 0, 99 do
  5855. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  5856. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  5857. end
  5858. for i = 0, 24 do
  5859. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  5860. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  5861. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5862. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  5863. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  5864. end
  5865. game:GetService("Debris"):AddItem(orb, 10)
  5866. hum.WalkSpeed = storehumanoidWS
  5867. attack = false
  5868. end
  5869.  
  5870.  
  5871. function ViolentRing()
  5872. attack = true
  5873. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  5874. for i = 0, 2, 0.1 do
  5875. swait()
  5876. local snap = math.random(1,10)
  5877. if snap == 1 then
  5878. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  5879. end
  5880. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  5881. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  5882. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  5883. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.6)
  5884. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.6)
  5885. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  5886. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  5887. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  5888. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  5889. RootPart.CFrame = FaceMouse()[1]
  5890. end
  5891. local orb = Instance.new("Part", char)
  5892. orb.BrickColor = MAINRUINCOLOR
  5893. orb.CanCollide = false
  5894. orb.FormFactor = 3
  5895. orb.Name = "Ring"
  5896. orb.Material = "Neon"
  5897. orb.Size = Vector3.new(1, 1, 1)
  5898. orb.Transparency = 0
  5899. orb.TopSurface = 0
  5900. orb.BottomSurface = 0
  5901. local orbm = Instance.new("SpecialMesh", orb)
  5902. orbm.MeshType = "Sphere"
  5903. orbm.Name = "SizeMesh"
  5904. orbm.Scale = vt(2,2,2)
  5905. orb.CFrame = mouse.Hit
  5906. local bv = Instance.new("BodyVelocity")
  5907. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5908. bv.velocity = orb.CFrame.lookVector*100
  5909. bv.Parent = orb
  5910. local hitted = false
  5911. coroutine.resume(coroutine.create(function()
  5912. game:GetService("Debris"):AddItem(orb, 5)
  5913. orb.Transparency = 1
  5914. orb.Anchored = true
  5915. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5916. elocacenter.Anchored = true
  5917. elocacenter.CFrame = orb.CFrame
  5918. elocacenter.Orientation = vt(0,0,0)
  5919. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5920. eloca1.Anchored = true
  5921. eloca1.CFrame = elocacenter.CFrame
  5922. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5923. eloca2.Anchored = true
  5924. eloca2.CFrame = elocacenter.CFrame
  5925. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5926. eloca3.Anchored = true
  5927. eloca3.CFrame = elocacenter.CFrame
  5928. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  5929. eloca4.Anchored = true
  5930. eloca4.CFrame = elocacenter.CFrame
  5931. local lookavec = 0
  5932. local speeds = 0
  5933. CameraEnshaking(1,1)
  5934. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  5935. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5936. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5937. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5938. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5939. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5940. for i = 0, 24 do
  5941. swait()
  5942. lookavec = lookavec + 3.5
  5943. speeds = speeds + 1
  5944. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5945. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5946. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5947.  
  5948. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5949. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5950.  
  5951. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5952. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5953.  
  5954. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5955. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5956. end
  5957.  
  5958. local risen = 0
  5959. for i = 0, 49 do
  5960. swait()
  5961. risen = risen + 0.05
  5962. speeds = speeds + 0.1
  5963. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  5964. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  5965. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5966.  
  5967. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5968. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5969.  
  5970. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  5971. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5972.  
  5973. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  5974. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  5975. end
  5976. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  5977. if v:FindFirstChild('Head') then
  5978. dmg(v)
  5979. end
  5980. end
  5981. CameraEnshaking(4,10)
  5982. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  5983. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  5984. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  5985. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  5986. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  5987. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  5988. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  5989. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  5990. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5991. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5992. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5993. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5994. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  5995. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  5996. for i = 0, 24 do
  5997. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  5998. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  5999. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  6000. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  6001. end
  6002. coroutine.resume(coroutine.create(function()
  6003. wait(10)
  6004. elocacenter:Destroy()
  6005. eloca1:Destroy()
  6006. eloca2:Destroy()
  6007. eloca3:Destroy()
  6008. eloca4:Destroy()
  6009. end))
  6010. end))
  6011. attack = false
  6012. end
  6013.  
  6014. function UniversalCollapse()
  6015. attack = true
  6016. local speedearn = 0
  6017. hum.WalkSpeed = 0
  6018. local sbs = Instance.new("BodyPosition", root)
  6019. sbs.P = 3000
  6020. sbs.D = 1000
  6021. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6022. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  6023. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  6024. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6025. for i = 0, 110, 0.1 do
  6026. swait()
  6027. speedearn = speedearn + 0.1
  6028. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6029. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6030. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6031. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6032. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  6033. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  6034. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6035. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6036. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6037. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6038. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6039. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6040. end
  6041. CameraEnshaking(5,50)
  6042. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  6043. for i = 0, 2 do
  6044. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  6045. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  6046. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  6047. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  6048. end
  6049. for i = 0, 49 do
  6050. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6051. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6052. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6053. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6054. end
  6055. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6056. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6057. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6058. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6059. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6060. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  6061. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6062. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6063. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6064. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6065. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6066. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6067. for i = 0, 99 do
  6068. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  6069. PixelBlock(2,math.random(250,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  6070. end
  6071. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  6072. if v:FindFirstChild('Head') then
  6073. dmg(v)
  6074. end
  6075. end
  6076. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  6077. sbs:Destroy()
  6078. hum.WalkSpeed = storehumanoidWS
  6079. attack = false
  6080. end
  6081.  
  6082.  
  6083. function ChaosEND()
  6084. attack = true
  6085. local speedearn = 0
  6086. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  6087. for i = 0, 15, 0.1 do
  6088. swait()
  6089. speedearn = speedearn + 0.25
  6090. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6091. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6092. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6093. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6094. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  6095. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  6096. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  6097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6098. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6099. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  6100. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  6101. end
  6102. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  6103. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  6104. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  6105. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  6106. CameraEnshaking(5,25)
  6107. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  6108. if v:FindFirstChild('Head') then
  6109. dmg(v)
  6110. end
  6111. end
  6112. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  6113. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  6114. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  6115. for i = 0, 3, 0.1 do
  6116. swait()
  6117. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6118. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6119. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6120. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  6121. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  6122. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  6123. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6124. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  6125. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  6126. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  6127. end
  6128. attack = false
  6129. end
  6130.  
  6131. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  6132. local orb = Instance.new("Part", char)
  6133. orb.Anchored = true
  6134. orb.BrickColor = color
  6135. orb.CanCollide = false
  6136. orb.FormFactor = 3
  6137. orb.Name = "Ring"
  6138. orb.Material = "Neon"
  6139. orb.Size = Vector3.new(1, 1, 1)
  6140. orb.Transparency = 0
  6141. orb.TopSurface = 0
  6142. orb.BottomSurface = 0
  6143. local orbm = Instance.new("SpecialMesh", orb)
  6144. orbm.MeshType = "Sphere"
  6145. orb.CFrame = positted
  6146. orbm.Name = "SizeMesh"
  6147. orbm.Scale = vt(1,1,1)
  6148. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  6149. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  6150. --[[for i = 0, 2 do
  6151. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  6152. end]]--
  6153. coroutine.resume(coroutine.create(function()
  6154. wait(timer)
  6155. CameraEnshaking(3,ShakePower)
  6156. orb.Transparency = 1
  6157. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  6158. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  6159. --[[for i = 0, 4 do
  6160. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  6161. end]]--
  6162. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  6163. wait(3)
  6164. orb:Destroy()
  6165. end))
  6166. end
  6167.  
  6168. function orb_spawn(positted,timer)
  6169. local randomcol = math.random(1,2)
  6170. local orb = Instance.new("Part", char)
  6171. orb.Anchored = true
  6172. if randomcol == 1 then
  6173. orb.BrickColor = BrickColor.new("White")
  6174. elseif randomcol == 2 then
  6175. orb.BrickColor = BrickColor.new("Really black")
  6176. end
  6177. orb.CanCollide = false
  6178. orb.FormFactor = 3
  6179. orb.Name = "Ring"
  6180. orb.Material = "Neon"
  6181. orb.Size = Vector3.new(1, 1, 1)
  6182. orb.Transparency = 0
  6183. orb.TopSurface = 0
  6184. orb.BottomSurface = 0
  6185. local orbm = Instance.new("SpecialMesh", orb)
  6186. orbm.MeshType = "Sphere"
  6187. orb.CFrame = positted
  6188. orbm.Name = "SizeMesh"
  6189. orbm.Scale = vt(1,1,1)
  6190. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  6191. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  6192. for i = 0, 2 do
  6193. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  6194. end
  6195. coroutine.resume(coroutine.create(function()
  6196. wait(timer)
  6197. CameraEnshaking(3,2)
  6198. orb.Transparency = 1
  6199. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  6200. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  6201. for i = 0, 4 do
  6202. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  6203. end
  6204. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  6205. wait(3)
  6206. orb:Destroy()
  6207. end))
  6208. end
  6209.  
  6210. function scattercorrupt()
  6211. attack = true
  6212. local rot = 0
  6213. local randomrotations = math.random(1,2)
  6214. local lookv = 2.5
  6215. local power = 5
  6216. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  6217. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  6218. for i = 0, 9 do
  6219. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  6220. end
  6221. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  6222. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  6223. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  6224. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  6225. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  6226. local hite = Instance.new("Part", char)
  6227. hite.Anchored = true
  6228. hite.CanCollide = false
  6229. hite.FormFactor = 3
  6230. hite.Name = "Ring"
  6231. hite.Material = "Neon"
  6232. hite.Size = Vector3.new(1, 1, 1)
  6233. hite.Transparency = 1
  6234. hite.TopSurface = 0
  6235. hite.BottomSurface = 0
  6236. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  6237. local rem = Instance.new("Part", char)
  6238. rem.Anchored = true
  6239. rem.CanCollide = false
  6240. rem.FormFactor = 3
  6241. rem.Name = "Ring"
  6242. rem.Material = "Neon"
  6243. rem.Size = Vector3.new(1, 1, 1)
  6244. rem.Transparency = 1
  6245. rem.TopSurface = 0
  6246. rem.BottomSurface = 0
  6247. rem.CFrame = hite.CFrame
  6248. local rem2 = rem:Clone()
  6249. rem2.Parent = char
  6250. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6251. local rem3 = rem:Clone()
  6252. rem3.Parent = char
  6253. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6254. local rem4 = rem:Clone()
  6255. rem4.Parent = char
  6256. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6257. hite:Destroy()
  6258. coroutine.resume(coroutine.create(function()
  6259. for i = 0, 24 do
  6260. swait(1)
  6261. if randomrotations == 1 then
  6262. rot = rot + 1
  6263. elseif randomrotations == 2 then
  6264. rot = rot - 1
  6265. end
  6266. power = power + 0.5
  6267. lookv = lookv + 7.5
  6268. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6269. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  6270. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  6271. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  6272. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6273. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6274. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6275. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  6276. end
  6277. end))
  6278. attack = false
  6279. end
  6280. function yinyangi()
  6281. attack = true
  6282. for i = 0, 2, 0.1 do
  6283. swait()
  6284. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  6285. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  6286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  6287. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  6288. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  6289. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  6290. end
  6291. local bv = Instance.new("BodyVelocity")
  6292. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6293. bv.velocity = root.CFrame.lookVector*175
  6294. bv.Parent = root
  6295. for Rotations = 0, 9 do
  6296. for i = 0, 1, 0.5 do
  6297. swait()
  6298. bv.velocity = root.CFrame.lookVector*175
  6299. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  6300. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  6301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  6302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6303. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6304. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6305. end
  6306. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6307. for i = 0, 1, 0.5 do
  6308. swait()
  6309. bv.velocity = root.CFrame.lookVector*175
  6310. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  6311. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  6312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  6313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6314. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6315. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6316. end
  6317. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6318. for i = 0, 1, 0.5 do
  6319. swait()
  6320. bv.velocity = root.CFrame.lookVector*175
  6321. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  6322. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  6323. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  6324. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6325. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6326. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6327. end
  6328. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6329. for i = 0, 1, 0.5 do
  6330. swait()
  6331. bv.velocity = root.CFrame.lookVector*175
  6332. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  6333. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  6334. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  6335. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  6336. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  6337. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  6338. end
  6339. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  6340. end
  6341. bv:Destroy()
  6342. attack = false
  6343. end
  6344.  
  6345. function createBGCircle(size,parent,color)
  6346. local bgui = Instance.new("BillboardGui",parent)
  6347. bgui.Size = UDim2.new(size, 0, size, 0)
  6348. local imgc = Instance.new("ImageLabel",bgui)
  6349. imgc.BackgroundTransparency = 1
  6350. imgc.ImageTransparency = 0
  6351. imgc.Size = UDim2.new(1,0,1,0)
  6352. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  6353. imgc.ImageColor3 = color
  6354. return bgui,imgc
  6355. end
  6356.  
  6357. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  6358. local bgui,imgc = createBGCircle(size,guipar,color)
  6359. bgui.AlwaysOnTop = true
  6360. imgc.Image = "rbxassetid://" ..img
  6361. local rrot = math.random(1,2)
  6362. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  6363. coroutine.resume(coroutine.create(function()
  6364. for i = 0, 24*delay do
  6365. swait()
  6366. if rotationenabled == true then
  6367. if rrot == 1 then
  6368. imgc.Rotation = imgc.Rotation + rotsp
  6369. elseif rrot == 2 then
  6370. imgc.Rotation = imgc.Rotation - rotsp
  6371. end
  6372. end
  6373. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  6374. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  6375. end
  6376. bgui:Destroy()
  6377. end))
  6378. end
  6379. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  6380. for i, v in pairs(mw2:GetChildren()) do
  6381. if v:IsA("Part") then
  6382. v.BrickColor = one
  6383. v.Material = "Neon"
  6384. end
  6385. end
  6386. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  6387. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  6388. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  6389. tr1.Color = ColorSequence.new(one.Color)
  6390. tr2.Color = ColorSequence.new(one.Color)
  6391. tr3.Color = ColorSequence.new(one.Color)
  6392. for i, v in pairs(mw1:GetChildren()) do
  6393. if v:IsA("Part") then
  6394. if secondaryenabled == false then
  6395. v.Transparency = 1
  6396. elseif secondaryenabled == true then
  6397. v.Transparency = 0
  6398. end
  6399. v.BrickColor = two
  6400. v.Material = "Neon"
  6401. end
  6402. end
  6403. if secondaryenabled == false then
  6404. tl1.Enabled = false
  6405. tl2.Enabled = false
  6406. tl3.Enabled = false
  6407. elseif secondaryenabled == true then
  6408. tl1.Enabled = true
  6409. tl2.Enabled = true
  6410. tl3.Enabled = true
  6411. end
  6412. tl1.Color = ColorSequence.new(two.Color)
  6413. tl2.Color = ColorSequence.new(two.Color)
  6414. tl3.Color = ColorSequence.new(two.Color)
  6415. for i, v in pairs(m:GetChildren()) do
  6416. if v:IsA("Part") then
  6417. v.BrickColor = three
  6418. v.Material = "Ice"
  6419. end
  6420. end
  6421. for i, v in pairs(m2:GetChildren()) do
  6422. if v:IsA("Part") then
  6423. v.BrickColor = four
  6424. v.Material = "Ice"
  6425. end
  6426. end
  6427. for i, v in pairs(m3:GetChildren()) do
  6428. if v:IsA("Part") then
  6429. v.BrickColor = five
  6430. v.Material = "Neon"
  6431. end
  6432. end
  6433. for i, v in pairs(extrawingmod1:GetChildren()) do
  6434. if v:IsA("Part") then
  6435. v.Transparency = exonetran
  6436. v.BrickColor = exone
  6437. v.Material = "Neon"
  6438. end
  6439. end
  6440. for i, v in pairs(extrawingmod2:GetChildren()) do
  6441. if v:IsA("Part") then
  6442. v.Transparency = extwotran
  6443. v.BrickColor = extwo
  6444. v.Material = "Neon"
  6445. end
  6446. end
  6447. end
  6448.  
  6449.  
  6450. function normalmog()
  6451. attack = true
  6452. hum.WalkSpeed = 0
  6453. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  6454. for i = 0,6,0.1 do
  6455. swait()
  6456. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  6457. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.01,0.5),-0.5,MAINRUINCOLOR)
  6458. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.2)
  6459. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.2)
  6460. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  6461. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  6462. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  6463. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  6464. end
  6465. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  6466. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  6467. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  6468. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  6469. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  6470. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  6471. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  6472. rainbowmode = false
  6473. chaosmode = false
  6474. ModeOfGlitch = 1
  6475. storehumanoidWS = 16
  6476. newTheme("rbxassetid://614032233",48.6,1,1.25)
  6477. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  6478. CameraEnshaking(5,2.5)
  6479. MAINRUINCOLOR = BrickColor.new("Really red")
  6480. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  6481. for i = 0, 49 do
  6482. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  6483. end
  6484. for i = 0, 24 do
  6485. sphere2(2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,7,-0.01,MAINRUINCOLOR)
  6486. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,350)/250,BrickColor.new("White"))
  6487. end
  6488. for i = 0,3,0.1 do
  6489. sphereMK(2.5,-1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  6490. end
  6491. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  6492. for i = 0,2,0.1 do
  6493. swait()
  6494. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.5)
  6495. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.5)
  6496. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  6497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  6498. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  6499. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  6500. end
  6501. hum.WalkSpeed = storehumanoidWS
  6502. attack = false
  6503. end
  6504.  
  6505. function attackone()
  6506. attack = true
  6507. local keptcolor = MAINRUINCOLOR
  6508. for i = 0,1,0.1 do
  6509. swait()
  6510. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  6511. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  6512. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  6513. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6514. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-15),math.rad(0),math.rad(0)),.3)
  6515. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  6516. end
  6517. local distlook = 5
  6518. coroutine.resume(coroutine.create(function()
  6519. for i = 0, 4 do
  6520. swait(2)
  6521. CameraEnshaking(2,3)
  6522. local hite = Instance.new("Part", char)
  6523. hite.Anchored = true
  6524. hite.CanCollide = false
  6525. hite.FormFactor = 3
  6526. hite.Name = "Ring"
  6527. hite.Material = "Neon"
  6528. hite.Size = Vector3.new(1, 1, 1)
  6529. hite.Transparency = 1
  6530. hite.TopSurface = 0
  6531. hite.BottomSurface = 0
  6532. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  6533. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  6534. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  6535. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  6536. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  6537. MagniDamage(hite, 9, 10,25, 0, "Normal")
  6538. for i = 0, 14 do
  6539. local rsiz = math.random(5,20)
  6540. sphereMK(math.random(1,3),0.25,"Add",hite.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6541. end
  6542. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  6543. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  6544. game:GetService("Debris"):AddItem(hite, 5)
  6545. distlook = distlook + 10
  6546. end
  6547. end))
  6548. for i = 0,1,0.1 do
  6549. swait()
  6550. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  6551. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  6552. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  6553. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  6554. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(-10)),.5)
  6555. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.5)
  6556. end
  6557. attack = false
  6558. end
  6559.  
  6560. function attacktwo()
  6561. attack = true
  6562. hum.WalkSpeed = 2
  6563. local keptcolor = MAINRUINCOLOR
  6564. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6565. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6566. sphere2(5,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  6567. for i = 0, 14 do
  6568. end
  6569. for i = 0,1,0.1 do
  6570. swait()
  6571. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6572. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  6573. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  6574. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6575. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  6576. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6577. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  6578. end
  6579. for i = 0, 1 do
  6580. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  6581. for i = 0,1,0.6 do
  6582. swait()
  6583. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6584. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6585. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6586. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6587. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6588. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6589. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6590. end
  6591. for i = 0,1,0.6 do
  6592. swait()
  6593. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6594. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6595. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6596. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  6597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6598. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6599. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6600. end
  6601. for i = 0,1,0.6 do
  6602. swait()
  6603. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6604. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6605. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6606. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  6607. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6608. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6609. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6610. end
  6611. for i = 0,1,0.6 do
  6612. swait()
  6613. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  6614. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  6615. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  6616. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  6617. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  6618. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  6619. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  6620. end
  6621. local rot = 0
  6622. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  6623. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6624. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6625. CreateMesh(dis,"Sphere",10,1,10)
  6626. local at1 = Instance.new("Attachment",dis)
  6627. at1.Position = vt(-5,0,0)
  6628. local at2 = Instance.new("Attachment",dis)
  6629. at2.Position = vt(5,0,0)
  6630. local trl = Instance.new('Trail',wed)
  6631. trl.Attachment0 = at1
  6632. trl.Attachment1 = at2
  6633. trl.Texture = "rbxassetid://1049219073"
  6634. trl.LightEmission = 1
  6635. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6636. trl.Color = ColorSequence.new(dis.Color)
  6637. trl.Lifetime = 0.6
  6638. local a = Instance.new("Part",workspace)
  6639. a.Name = "Direction"
  6640. a.Anchored = true
  6641. a.BrickColor = bc("Bright red")
  6642. a.Material = "Neon"
  6643. a.Transparency = 1
  6644. a.CanCollide = false
  6645. local ray = Ray.new(
  6646. dis.CFrame.p, -- origin
  6647. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6648. )
  6649. local ignore = dis
  6650. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6651. a.BottomSurface = 10
  6652. a.TopSurface = 10
  6653. local distance = (dis.CFrame.p - position).magnitude
  6654. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6655. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6656. dis.CFrame = a.CFrame
  6657. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6658. a:Destroy()
  6659. local bv = Instance.new("BodyVelocity")
  6660. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6661. bv.velocity = dis.CFrame.lookVector*250
  6662. bv.Parent = dis
  6663. game:GetService("Debris"):AddItem(dis, 5)
  6664. local hitted = false
  6665. coroutine.resume(coroutine.create(function()
  6666. dis.Touched:connect(function(hit)
  6667. if hitted == false and hit.Parent ~= char then
  6668. hitted = true
  6669. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6670. MagniDamage(dis, 30, 33,56, 0, "Normal")
  6671. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6672. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6673. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6674. coroutine.resume(coroutine.create(function()
  6675. for i = 0, 9 do
  6676. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6677. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6678. local at1 = Instance.new("Attachment",disr)
  6679. at1.Position = vt(-5,0,0)
  6680. local at2 = Instance.new("Attachment",disr)
  6681. at2.Position = vt(5,0,0)
  6682. local trl = Instance.new('Trail',disr)
  6683. trl.Attachment0 = at1
  6684. trl.FaceCamera = true
  6685. trl.Attachment1 = at2
  6686. trl.Texture = "rbxassetid://2342682798"
  6687. trl.LightEmission = 1
  6688. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6689. trl.Color = ColorSequence.new(keptcolor.Color)
  6690. trl.Lifetime = 0.5
  6691. local bv = Instance.new("BodyVelocity")
  6692. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6693. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6694. bv.Parent = disr
  6695. local val = 0
  6696. coroutine.resume(coroutine.create(function()
  6697. swait(30)
  6698. for i = 0, 9 do
  6699. swait()
  6700. val = val + 0.1
  6701. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6702. end
  6703. game:GetService("Debris"):AddItem(disr, 3)
  6704. end))
  6705. end
  6706. local eff = Instance.new("ParticleEmitter",dis)
  6707. eff.Texture = "rbxassetid://2273224484"
  6708. eff.LightEmission = 1
  6709. eff.Color = ColorSequence.new(keptcolor.Color)
  6710. eff.Rate = 50
  6711. eff.Lifetime = NumberRange.new(0.5,2)
  6712. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6713. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6714. eff.Speed = NumberRange.new(20,250)
  6715. eff.Drag = 5
  6716. eff.Rotation = NumberRange.new(-500,500)
  6717. eff.VelocitySpread = 9000
  6718. eff.RotSpeed = NumberRange.new(-50,50)
  6719. wait(0.25)
  6720. eff.Enabled = false
  6721. end))
  6722. for i = 0, 9 do
  6723. end
  6724. for i = 0, 19 do
  6725. end
  6726. coroutine.resume(coroutine.create(function()
  6727. for i = 0, 19 do
  6728. swait()
  6729. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6730. end
  6731. hum.CameraOffset = vt(0,0,0)
  6732. end))
  6733. dis.Anchored = true
  6734. dis.Transparency = 1
  6735. wait(8)
  6736. dis:Destroy()
  6737. end
  6738. end)
  6739. end))
  6740. rot = rot - 15
  6741. end
  6742. for i = 0,2,0.1 do
  6743. swait()
  6744. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  6745. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  6746. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6747. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  6748. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6749. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  6750. end
  6751. attack = false
  6752. hum.WalkSpeed = storehumanoidWS
  6753. end
  6754.  
  6755. function attackthree()
  6756. attack = true
  6757. local keptcolor = MAINRUINCOLOR
  6758. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  6759. for i = 0,2,0.1 do
  6760. swait()
  6761. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6762. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  6763. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  6764. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  6765. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  6766. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-50),math.rad(-10)),.3)
  6767. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(40)),.3)
  6768. end
  6769. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  6770. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  6771. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  6772. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  6773. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6774. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  6775. for i = 0, 24 do
  6776. end
  6777. for i = 0,4,0.1 do
  6778. swait()
  6779. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  6780. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6781. CreateMesh(dis,"Sphere",1,1,1)
  6782. dis.Anchored = true
  6783. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6784. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6785. coroutine.resume(coroutine.create(function()
  6786. swait(30)
  6787. dis.Transparency = 1
  6788. coroutine.resume(coroutine.create(function()
  6789. for i = 0, 19 do
  6790. swait()
  6791. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6792. end
  6793. hum.CameraOffset = vt(0,0,0)
  6794. end))
  6795. coroutine.resume(coroutine.create(function()
  6796. local eff = Instance.new("ParticleEmitter",dis)
  6797. eff.Texture = "rbxassetid://2273224484"
  6798. eff.LightEmission = 1
  6799. eff.Color = ColorSequence.new(dis.Color)
  6800. eff.Rate = 500000
  6801. eff.Lifetime = NumberRange.new(0.5,2)
  6802. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6803. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6804. eff.Speed = NumberRange.new(50,450)
  6805. eff.Drag = 5
  6806. eff.Rotation = NumberRange.new(-500,500)
  6807. eff.VelocitySpread = 9000
  6808. eff.RotSpeed = NumberRange.new(-50,50)
  6809. wait(0.125)
  6810. eff.Enabled = false
  6811. end))
  6812. MagniDamage(dis, 30, 45,50, 0, "Normal")
  6813. for i = 0, 2 do
  6814. --slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,150)/250,dis.BrickColor)
  6815. end
  6816. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  6817. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  6818. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  6819. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  6820. end))
  6821. game:GetService("Debris"):AddItem(dis, 5)
  6822. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  6823. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  6824. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  6825. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  6826. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  6827. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  6828. end
  6829. attack = false
  6830. end
  6831. ----------------------------------- Abilities
  6832.  
  6833. function ExtinctiveHeartbreak()
  6834. local targetted = nil
  6835. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6836. targetted = mouse.Target.Parent
  6837. end
  6838. if targetted ~= nil then
  6839. attack = true
  6840. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6841. for i = 0, 9 do
  6842. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6843. end
  6844. for i = 0, 24 do
  6845. --
  6846. end
  6847. --sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6848. local originalpos = root.CFrame
  6849. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  6850. for i = 0, 9 do
  6851. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6852. end
  6853. for i = 0, 24 do
  6854. end
  6855. hum.WalkSpeed = 0
  6856. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6857. local radm = math.random(1,3)
  6858. if radm == 1 then
  6859. --bosschatfunc("YOU WON'T BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  6860. elseif radm == 2 then
  6861. --bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  6862. elseif radm == 3 then
  6863. --bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  6864. end
  6865. for i = 0,2,0.1 do
  6866. swait()
  6867. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  6868. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  6869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  6870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6871. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  6872. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  6873. end
  6874. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  6875. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  6876. for i = 0,2,0.1 do
  6877. swait()
  6878. coroutine.resume(coroutine.create(function()
  6879. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6880. for i,v in pairs(targetted:GetChildren()) do
  6881. if v:IsA("Part") or v:IsA("MeshPart") then
  6882. v.Velocity = vt(0,0,0)
  6883. end
  6884. end
  6885. end))
  6886. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  6887. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  6888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  6889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6890. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6891. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  6892. end
  6893. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  6894. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  6895. for i = 0, 1 do
  6896. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  6897. end
  6898. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  6899. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  6900. for i = 0,4,0.1 do
  6901. swait()
  6902. coroutine.resume(coroutine.create(function()
  6903. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6904. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6905. local at1 = Instance.new("Attachment",dis)
  6906. at1.Position = vt(-25000,0,0)
  6907. local at2 = Instance.new("Attachment",dis)
  6908. at2.Position = vt(25000,0,0)
  6909. local trl = Instance.new('Trail',dis)
  6910. trl.Attachment0 = at1
  6911. trl.FaceCamera = true
  6912. trl.Attachment1 = at2
  6913. trl.Texture = "rbxassetid://1049219073"
  6914. trl.LightEmission = 1
  6915. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6916. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  6917. trl.Lifetime = 5
  6918. local bv = Instance.new("BodyVelocity")
  6919. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6920. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6921. bv.Parent = dis
  6922. game:GetService("Debris"):AddItem(dis, 5)
  6923. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6924. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  6925. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  6926. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  6927. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  6928. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  6929. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MAINRUINCOLOR)
  6930. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  6931. for i = 0, 2 do
  6932. --slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  6933. end
  6934. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  6935. for i,v in pairs(targetted:GetChildren()) do
  6936. if v:IsA("Part") or v:IsA("MeshPart") then
  6937. v.Velocity = vt(0,0,0)
  6938. end
  6939. end
  6940. end))
  6941. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6942. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  6943. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  6944. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  6945. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  6946. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  6947. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  6948. end
  6949. hum.CameraOffset = vt(0,0,0)
  6950. for i = 0, 49 do
  6951. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6952. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6953. local at1 = Instance.new("Attachment",dis)
  6954. at1.Position = vt(-50000,0,0)
  6955. local at2 = Instance.new("Attachment",dis)
  6956. at2.Position = vt(50000,0,0)
  6957. local trl = Instance.new('Trail',dis)
  6958. trl.Attachment0 = at1
  6959. trl.FaceCamera = true
  6960. trl.Attachment1 = at2
  6961. trl.Texture = "rbxassetid://1049219073"
  6962. trl.LightEmission = 1
  6963. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6964. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  6965. trl.Lifetime = 5
  6966. local bv = Instance.new("BodyVelocity")
  6967. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6968. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6969. bv.Parent = dis
  6970. game:GetService("Debris"):AddItem(dis, 5)
  6971. end
  6972. for i = 0, 49 do
  6973. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MAINRUINCOLOR)
  6974. --slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  6975. end
  6976. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  6977. for i = 0, 1 do
  6978. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  6979. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  6980. end
  6981. for i = 0, 4 do
  6982. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  6983. end
  6984. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  6985. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  6986. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  6987. dmg(targetted)
  6988. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6989. for i = 0, 9 do
  6990. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6991. end
  6992. for i = 0, 24 do
  6993. end
  6994. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  6995. root.CFrame = originalpos
  6996. for i = 0, 9 do
  6997. --sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  6998. end
  6999. for i = 0, 24 do
  7000. end
  7001. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  7002. attack = false
  7003. hum.WalkSpeed = storehumanoidWS
  7004. end
  7005. end
  7006.  
  7007. function CorruptionEvent()
  7008. attack = true
  7009. hum.WalkSpeed = 0
  7010. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7011. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7012. local keptcolor = MAINRUINCOLOR
  7013. for i = 0,4,0.1 do
  7014. swait()
  7015. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7016. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7017. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  7018. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  7019. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  7020. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  7021. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  7022. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  7023. end
  7024. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  7025. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  7026. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  7027. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  7028. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7029. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  7030. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  7031. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  7032. hum.CameraOffset = vt(0,0,0)
  7033. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7034. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7035. for i = 0, 24 do
  7036. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  7037. end
  7038. local rrot = 0
  7039. coroutine.resume(coroutine.create(function()
  7040. for i = 0, 4 do
  7041. rrot = rrot + 45
  7042. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7043. xa.Anchored = true
  7044. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7045. xb.Anchored = true
  7046. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7047. xc.Anchored = true
  7048. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7049. xd.Anchored = true
  7050. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  7051. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  7052. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  7053. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  7054. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  7055. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  7056. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  7057. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  7058. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  7059. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  7060. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  7061. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  7062. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  7063. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  7064. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  7065. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  7066. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7067. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7068. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7069. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  7070. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7071. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7072. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7073. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7074. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  7075. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  7076. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  7077. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  7078. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  7079. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  7080. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  7081. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  7082. game:GetService("Debris"):AddItem(xa, 5)
  7083. game:GetService("Debris"):AddItem(xb, 5)
  7084. game:GetService("Debris"):AddItem(xc, 5)
  7085. game:GetService("Debris"):AddItem(xd, 5)
  7086. coroutine.resume(coroutine.create(function()
  7087. for i = 0, 19 do
  7088. swait()
  7089. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7090. end
  7091. hum.CameraOffset = vt(0,0,0)
  7092. end))
  7093. swait(9)
  7094. end
  7095. end))
  7096. for i = 0,2,0.1 do
  7097. swait()
  7098. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  7099. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  7100. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  7101. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  7102. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  7103. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7104. end
  7105. attack = false
  7106. hum.WalkSpeed = storehumanoidWS
  7107. end
  7108.  
  7109. function EndGROUND()
  7110. attack = true
  7111. hum.WalkSpeed = 0
  7112. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  7113. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  7114. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  7115. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  7116. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  7117. local keptcolor = MAINRUINCOLOR
  7118. for i = 0,4,0.1 do
  7119. swait()
  7120. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7121. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7122. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  7123. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  7124. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  7125. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  7126. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  7127. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  7128. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  7129. end
  7130. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  7131. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  7132. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  7133. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  7134. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  7135. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  7136. coroutine.resume(coroutine.create(function()
  7137. local shval = 10
  7138. for i = 0, 99 do
  7139. swait()
  7140. shval = shval - 0.1
  7141. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  7142. end
  7143. hum.CameraOffset = vt(0,0,0)
  7144. end))
  7145. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7146. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7147. for i = 0, 24 do
  7148. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  7149. end
  7150. local rrot = 0
  7151. local xam = 1
  7152. coroutine.resume(coroutine.create(function()
  7153. for i = 0, 14 do
  7154. --swait()
  7155. rrot = rrot + 40*xam
  7156. xam = xam + 0.25
  7157. local bonus = xam
  7158. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  7159. xa.Anchored = true
  7160. xa.Color = Color3.new(0,0,0)
  7161. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  7162. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  7163. local xc = 0
  7164. coroutine.resume(coroutine.create(function()
  7165. for i = 0, 99 do
  7166. swait()
  7167. xc = xc + 0.01
  7168. xa.Color = Color3.new(xc,0,0)
  7169. end
  7170. xa.Transparency = 1
  7171. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  7172. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  7173. for i = 0, 9 do
  7174. --slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  7175. end
  7176. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  7177. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  7178. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  7179. game:GetService("Debris"):AddItem(xa, 5)
  7180. coroutine.resume(coroutine.create(function()
  7181. for i = 0, 19 do
  7182. swait()
  7183. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  7184. end
  7185. hum.CameraOffset = vt(0,0,0)
  7186. end))
  7187. end))
  7188. end
  7189. end))
  7190. for i = 0,2,0.1 do
  7191. swait()
  7192. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  7193. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  7194. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  7195. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  7196. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  7197. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  7198. end
  7199. attack = false
  7200. hum.WalkSpeed = storehumanoidWS
  7201. end
  7202.  
  7203. function HeavenlyDisk()
  7204. attack = true
  7205. hum.WalkSpeed = 2
  7206. local keptcolor = MAINRUINCOLOR
  7207. local radm = math.random(1,3)
  7208. if radm == 1 then
  7209. --bosschatfunc("Don't make this too easy for you.",MAINRUINCOLOR.Color,1)
  7210. elseif radm == 2 then
  7211. --bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  7212. elseif radm == 3 then
  7213. --bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  7214. end
  7215. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  7216. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  7217. for i = 0, 14 do
  7218. --
  7219. end
  7220. for i = 0,2,0.1 do
  7221. swait()
  7222. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  7223. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  7224. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  7225. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  7226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  7227. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7228. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  7229. end
  7230. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  7231. for i = 0,1,0.6 do
  7232. swait()
  7233. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  7234. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  7235. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  7236. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  7237. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  7238. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7239. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7240. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7241. end
  7242. for i = 0,1,0.6 do
  7243. swait()
  7244. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  7245. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  7246. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  7247. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  7248. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  7249. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7250. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7251. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7252. end
  7253. for i = 0,1,0.6 do
  7254. swait()
  7255. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  7256. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  7257. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  7258. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  7259. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  7260. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7261. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7262. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7263. end
  7264. for i = 0,1,0.6 do
  7265. swait()
  7266. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  7267. --slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  7268. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  7269. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  7270. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  7271. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  7272. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  7273. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  7274. end
  7275. local rot = 15
  7276. for i = 0, 2 do
  7277. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  7278. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  7279. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  7280. CreateMesh(dis,"Sphere",10,1,10)
  7281. local at1 = Instance.new("Attachment",dis)
  7282. at1.Position = vt(-5,0,0)
  7283. local at2 = Instance.new("Attachment",dis)
  7284. at2.Position = vt(5,0,0)
  7285. local trl = Instance.new('Trail',wed)
  7286. trl.Attachment0 = at1
  7287. trl.Attachment1 = at2
  7288. trl.Texture = "rbxassetid://1049219073"
  7289. trl.LightEmission = 1
  7290. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7291. trl.Color = ColorSequence.new(dis.Color)
  7292. trl.Lifetime = 0.6
  7293. local a = Instance.new("Part",workspace)
  7294. a.Name = "Direction"
  7295. a.Anchored = true
  7296. a.BrickColor = bc("Bright red")
  7297. a.Material = "Neon"
  7298. a.Transparency = 1
  7299. a.CanCollide = false
  7300. local ray = Ray.new(
  7301. dis.CFrame.p, -- origin
  7302. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7303. )
  7304. local ignore = dis
  7305. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7306. a.BottomSurface = 10
  7307. a.TopSurface = 10
  7308. local distance = (dis.CFrame.p - position).magnitude
  7309. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7310. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7311. dis.CFrame = a.CFrame
  7312. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  7313. a:Destroy()
  7314. local bv = Instance.new("BodyVelocity")
  7315. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7316. bv.velocity = dis.CFrame.lookVector*250
  7317. bv.Parent = dis
  7318. game:GetService("Debris"):AddItem(dis, 5)
  7319. local hitted = false
  7320. coroutine.resume(coroutine.create(function()
  7321. dis.Touched:connect(function(hit)
  7322. if hitted == false and hit.Parent ~= char then
  7323. hitted = true
  7324. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  7325. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  7326. --sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  7327. --sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  7328. --sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  7329. coroutine.resume(coroutine.create(function()
  7330. for i = 0, 9 do
  7331. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7332. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7333. local at1 = Instance.new("Attachment",disr)
  7334. at1.Position = vt(-2,0,0)
  7335. local at2 = Instance.new("Attachment",disr)
  7336. at2.Position = vt(2,0,0)
  7337. local trl = Instance.new('Trail',disr)
  7338. trl.Attachment0 = at1
  7339. trl.FaceCamera = true
  7340. trl.Attachment1 = at2
  7341. trl.Texture = "rbxassetid://2342682798"
  7342. trl.LightEmission = 1
  7343. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7344. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7345. trl.Lifetime = 0.5
  7346. local bv = Instance.new("BodyVelocity")
  7347. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7348. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  7349. bv.Parent = disr
  7350. local val = 0
  7351. coroutine.resume(coroutine.create(function()
  7352. swait(30)
  7353. for i = 0, 9 do
  7354. swait()
  7355. val = val + 0.1
  7356. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7357. end
  7358. game:GetService("Debris"):AddItem(disr, 3)
  7359. end))
  7360. end
  7361. local eff = Instance.new("ParticleEmitter",dis)
  7362. eff.Texture = "rbxassetid://2273224484"
  7363. eff.LightEmission = 1
  7364. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7365. eff.Rate = 500000
  7366. eff.Lifetime = NumberRange.new(0.5,2)
  7367. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7368. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7369. eff.Speed = NumberRange.new(20,250)
  7370. eff.Drag = 5
  7371. eff.Rotation = NumberRange.new(-500,500)
  7372. eff.VelocitySpread = 9000
  7373. eff.RotSpeed = NumberRange.new(-50,50)
  7374. wait(0.25)
  7375. eff.Enabled = false
  7376. end))
  7377. for i = 0, 9 do
  7378. --slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  7379. end
  7380. for i = 0, 19 do
  7381. --
  7382. end
  7383. coroutine.resume(coroutine.create(function()
  7384. for i = 0, 19 do
  7385. swait()
  7386. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7387. end
  7388. hum.CameraOffset = vt(0,0,0)
  7389. end))
  7390. dis.Anchored = true
  7391. dis.Transparency = 1
  7392. wait(8)
  7393. dis:Destroy()
  7394. end
  7395. end)
  7396. end))
  7397. rot = rot - 15
  7398. end
  7399. for i = 0,2,0.1 do
  7400. swait()
  7401. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  7402. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  7403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  7404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  7405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  7406. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  7407. end
  7408. attack = false
  7409. hum.WalkSpeed = storehumanoidWS
  7410. end
  7411.  
  7412. function RapidBurst()
  7413. attack = true
  7414. hum.WalkSpeed = 0
  7415. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  7416. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  7417. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  7418. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  7419. local keptcolor = MAINRUINCOLOR
  7420. for i = 0,8,0.1 do
  7421. swait()
  7422. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7423. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  7424. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  7425. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  7426. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  7427. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  7429. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  7430. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  7431. end
  7432. for i = 0, 99 do
  7433. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7434. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7435. local at1 = Instance.new("Attachment",dis)
  7436. at1.Position = vt(-25000,0,0)
  7437. local at2 = Instance.new("Attachment",dis)
  7438. at2.Position = vt(25000,0,0)
  7439. local trl = Instance.new('Trail',dis)
  7440. trl.Attachment0 = at1
  7441. trl.FaceCamera = true
  7442. trl.Attachment1 = at2
  7443. trl.Texture = "rbxassetid://1049219073"
  7444. trl.LightEmission = 1
  7445. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7446. trl.Color = ColorSequence.new(BrickColor.random().Color)
  7447. trl.Lifetime = 5
  7448. local bv = Instance.new("BodyVelocity")
  7449. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7450. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7451. bv.Parent = dis
  7452. game:GetService("Debris"):AddItem(dis, 5)
  7453. end
  7454. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  7455. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  7456. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  7457. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7458. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7459. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  7460. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  7461. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  7462. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  7463. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  7464. hum.CameraOffset = vt(0,0,0)
  7465. for i = 0, 24 do
  7466. --slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  7467. end
  7468. local distam = 0
  7469. coroutine.resume(coroutine.create(function()
  7470. for i = 0, 99 do
  7471. wait()
  7472. distam = distam + 1
  7473. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7474. xa.Anchored = true
  7475. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  7476. game:GetService("Debris"):AddItem(xa, 5)
  7477. for i = 0, 4 do
  7478. --slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  7479. end
  7480. coroutine.resume(coroutine.create(function()
  7481. local eff = Instance.new("ParticleEmitter",xa)
  7482. eff.Texture = "rbxassetid://2273224484"
  7483. eff.LightEmission = 1
  7484. eff.Color = ColorSequence.new(BrickColor.random().Color)
  7485. eff.Rate = 500000
  7486. eff.Lifetime = NumberRange.new(1,3)
  7487. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  7488. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7489. eff.Speed = NumberRange.new(50,500)
  7490. eff.Drag = 5
  7491. eff.Rotation = NumberRange.new(-500,500)
  7492. eff.VelocitySpread = 9000
  7493. eff.RotSpeed = NumberRange.new(-50,50)
  7494. wait(0.25)
  7495. eff.Enabled = false
  7496. end))
  7497. coroutine.resume(coroutine.create(function()
  7498. for i = 0, 19 do
  7499. swait()
  7500. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  7501. end
  7502. hum.CameraOffset = vt(0,0,0)
  7503. end))
  7504. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  7505. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  7506. --sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  7507. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  7508. end
  7509. end))
  7510. attack = false
  7511. hum.WalkSpeed = storehumanoidWS
  7512. end
  7513.  
  7514.  
  7515. function FallenOrbs()
  7516. attack = true
  7517. hum.WalkSpeed = 2
  7518. local keptcolor = MAINRUINCOLOR
  7519. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  7520. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  7521. local radm = math.random(1,3)
  7522. if radm == 1 then
  7523. bosschatfunc("This won't be easy for you.",MAINRUINCOLOR.Color,1)
  7524. elseif radm == 2 then
  7525. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  7526. elseif radm == 3 then
  7527. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  7528. end
  7529. coroutine.resume(coroutine.create(function()
  7530. for i = 0, 29 do
  7531. swait(2)
  7532. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  7533. dis.Anchored = true
  7534. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  7535. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  7536. CreateMesh(dis,"Sphere",2,2,2)
  7537. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  7538. --slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  7539. coroutine.resume(coroutine.create(function()
  7540. wait(0.5)
  7541. dis.Anchored = false
  7542. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  7543. local at1 = Instance.new("Attachment",dis)
  7544. at1.Position = vt(-1,0,0)
  7545. local at2 = Instance.new("Attachment",dis)
  7546. at2.Position = vt(1,0,0)
  7547. local trl = Instance.new('Trail',dis)
  7548. trl.Attachment0 = at1
  7549. trl.FaceCamera = true
  7550. trl.Attachment1 = at2
  7551. trl.Texture = "rbxassetid://1049219073"
  7552. trl.LightEmission = 1
  7553. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7554. trl.Color = ColorSequence.new(dis.Color)
  7555. trl.Lifetime = 0.6
  7556. local a = Instance.new("Part",workspace)
  7557. a.Name = "Direction"
  7558. a.Anchored = true
  7559. a.BrickColor = bc("Bright red")
  7560. a.Material = "Neon"
  7561. a.Transparency = 1
  7562. a.CanCollide = false
  7563. local ray = Ray.new(
  7564. dis.CFrame.p, -- origin
  7565. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  7566. )
  7567. local ignore = dis
  7568. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7569. a.BottomSurface = 10
  7570. a.TopSurface = 10
  7571. local distance = (dis.CFrame.p - position).magnitude
  7572. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7573. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  7574. dis.CFrame = a.CFrame
  7575. a:Destroy()
  7576. local bv = Instance.new("BodyVelocity")
  7577. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7578. bv.velocity = dis.CFrame.lookVector*500
  7579. bv.Parent = dis
  7580. game:GetService("Debris"):AddItem(dis, 5)
  7581. local hitted = false
  7582. coroutine.resume(coroutine.create(function()
  7583. dis.Touched:connect(function(hit)
  7584. if hitted == false and hit.Parent ~= char then
  7585. hitted = true
  7586. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  7587. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  7588. --sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  7589. --sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  7590. coroutine.resume(coroutine.create(function()
  7591. for i = 0, 4 do
  7592. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7593. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7594. local at1 = Instance.new("Attachment",disr)
  7595. at1.Position = vt(-10,0,0)
  7596. local at2 = Instance.new("Attachment",disr)
  7597. at2.Position = vt(10,0,0)
  7598. local trl = Instance.new('Trail',disr)
  7599. trl.Attachment0 = at1
  7600. trl.FaceCamera = true
  7601. trl.Attachment1 = at2
  7602. trl.Texture = "rbxassetid://2342682798"
  7603. trl.LightEmission = 1
  7604. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7605. trl.Color = ColorSequence.new(disr.Color)
  7606. trl.Lifetime = 0.5
  7607. local bv = Instance.new("BodyVelocity")
  7608. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7609. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  7610. bv.Parent = disr
  7611. local val = 0
  7612. coroutine.resume(coroutine.create(function()
  7613. swait(30)
  7614. for i = 0, 9 do
  7615. swait()
  7616. val = val + 0.1
  7617. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7618. end
  7619. game:GetService("Debris"):AddItem(disr, 3)
  7620. end))
  7621. end
  7622. local eff = Instance.new("ParticleEmitter",dis)
  7623. eff.Texture = "rbxassetid://2273224484"
  7624. eff.LightEmission = 1
  7625. eff.Color = ColorSequence.new(dis.Color)
  7626. eff.Rate = 500000
  7627. eff.Lifetime = NumberRange.new(0.5,2)
  7628. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7629. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7630. eff.Speed = NumberRange.new(20,250)
  7631. eff.Drag = 5
  7632. eff.Rotation = NumberRange.new(-500,500)
  7633. eff.VelocitySpread = 9000
  7634. eff.RotSpeed = NumberRange.new(-50,50)
  7635. wait(0.5)
  7636. eff.Enabled = false
  7637. end))
  7638. for i = 0, 4 do
  7639. --slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  7640. end
  7641. coroutine.resume(coroutine.create(function()
  7642. for i = 0, 19 do
  7643. swait()
  7644. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  7645. end
  7646. hum.CameraOffset = vt(0,0,0)
  7647. end))
  7648. dis.Anchored = true
  7649. dis.Transparency = 1
  7650. wait(8)
  7651. dis:Destroy()
  7652. end
  7653. end)
  7654. end))
  7655. end))
  7656. end
  7657. end))
  7658. for i = 0,9,0.1 do
  7659. swait()
  7660. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  7661. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  7662. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  7663. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  7664. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  7665. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  7666. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  7667. end
  7668. attack = false
  7669. hum.WalkSpeed = storehumanoidWS
  7670. end
  7671.  
  7672. function EquinoxOrbs()
  7673. hum.WalkSpeed = 0
  7674. attack = true
  7675. for i = 0,1,0.1 do
  7676. swait()
  7677. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  7678. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  7679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7680. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7681. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  7682. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  7683. end
  7684. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  7685. --sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  7686. for i = 0, 24 do
  7687. --slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  7688. end
  7689. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  7690. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  7691. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  7692. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  7693. for i = 0,4,0.1 do
  7694. swait()
  7695. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  7696. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  7697. CreateMesh(dis,"Sphere",1,1,1)
  7698. dis.Anchored = true
  7699. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  7700. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  7701. CreateMesh(dis2,"Sphere",1,1,1)
  7702. dis2.Anchored = true
  7703. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  7704. --sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  7705. --sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  7706. coroutine.resume(coroutine.create(function()
  7707. swait(60)
  7708. dis.Transparency = 1
  7709. dis2.Transparency = 1
  7710. coroutine.resume(coroutine.create(function()
  7711. for i = 0, 19 do
  7712. swait()
  7713. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  7714. end
  7715. hum.CameraOffset = vt(0,0,0)
  7716. end))
  7717. coroutine.resume(coroutine.create(function()
  7718. local eff = Instance.new("ParticleEmitter",dis)
  7719. eff.Texture = "rbxassetid://2273224484"
  7720. eff.LightEmission = 1
  7721. eff.Color = ColorSequence.new(dis.Color)
  7722. eff.Rate = 500000
  7723. eff.Lifetime = NumberRange.new(0.5,2)
  7724. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  7725. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7726. eff.Speed = NumberRange.new(50,450)
  7727. eff.Drag = 5
  7728. eff.Rotation = NumberRange.new(-500,500)
  7729. eff.VelocitySpread = 9000
  7730. eff.RotSpeed = NumberRange.new(-50,50)
  7731. local eff2 = eff:Clone()
  7732. eff2.Parent = dis2
  7733. eff2.LightEmission = 0
  7734. eff2.Color = ColorSequence.new(dis2.Color)
  7735. wait(0.25)
  7736. eff.Enabled = false
  7737. eff2.Enabled = false
  7738. end))
  7739. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  7740. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  7741. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  7742. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  7743. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  7744. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  7745. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  7746. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  7747. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  7748. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  7749. end))
  7750. game:GetService("Debris"):AddItem(dis, 5)
  7751. game:GetService("Debris"):AddItem(dis2, 5)
  7752. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  7753. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  7754. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7755. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7756. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  7757. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  7758. end
  7759. attack = false
  7760. hum.WalkSpeed = storehumanoidWS
  7761. end
  7762. function FallenDEMISE()
  7763. attack = true
  7764. hum.WalkSpeed = 0
  7765. local keptcolor = MAINRUINCOLOR
  7766. --bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  7767. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  7768. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  7769. for i = 0, 15, 0.1 do
  7770. swait()
  7771. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7772. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7773. local at1 = Instance.new("Attachment",dis)
  7774. at1.Position = vt(-25000,0,0)
  7775. local at2 = Instance.new("Attachment",dis)
  7776. at2.Position = vt(25000,0,0)
  7777. local trl = Instance.new('Trail',dis)
  7778. trl.Attachment0 = at1
  7779. trl.FaceCamera = true
  7780. trl.Attachment1 = at2
  7781. trl.Texture = "rbxassetid://1049219073"
  7782. trl.LightEmission = 1
  7783. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7784. trl.Color = ColorSequence.new(dis.Color)
  7785. trl.Lifetime = 5
  7786. local bv = Instance.new("BodyVelocity")
  7787. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7788. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7789. bv.Parent = dis
  7790. game:GetService("Debris"):AddItem(dis, 1)
  7791. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7792. --slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  7793. --slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  7794. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  7795. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  7796. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7797. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7798. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7799. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7800. end
  7801. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7802. for i = 0, 30, 0.1 do
  7803. swait()
  7804. coroutine.resume(coroutine.create(function()
  7805. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7806. if v:FindFirstChild('Head') then
  7807. dmg(v)
  7808. end
  7809. end
  7810. end))
  7811. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7812. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7813. local at1 = Instance.new("Attachment",dis)
  7814. at1.Position = vt(-50000,0,0)
  7815. local at2 = Instance.new("Attachment",dis)
  7816. at2.Position = vt(50000,0,0)
  7817. local trl = Instance.new('Trail',dis)
  7818. trl.Attachment0 = at1
  7819. trl.FaceCamera = true
  7820. trl.Attachment1 = at2
  7821. trl.Texture = "rbxassetid://1049219073"
  7822. trl.LightEmission = 1
  7823. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7824. trl.Color = ColorSequence.new(dis.Color)
  7825. trl.Lifetime = 10
  7826. local bv = Instance.new("BodyVelocity")
  7827. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7828. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7829. bv.Parent = dis
  7830. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7831. --sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7832. --sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7833. --sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  7834. --sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  7835. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  7836. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  7837. for i = 0, 2 do
  7838. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MAINRUINCOLOR)
  7839. end
  7840. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  7841. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  7842. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7843. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7844. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7845. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7846. end
  7847. attack = false
  7848. hum.WalkSpeed = storehumanoidWS
  7849. end
  7850. -------------------------------------
  7851.  
  7852. Humanoid.Animator.Parent = nil
  7853.  
  7854. -------------------------------------
  7855.  
  7856. local attacktype = 1
  7857. mouse.Button1Down:connect(function()
  7858. if attack == false and attacktype == 1 then
  7859. attacktype = 2
  7860. attackone()
  7861. elseif attack == false and attacktype == 2 then
  7862. attacktype = 3
  7863. attacktwo()
  7864. elseif attack == false and attacktype == 3 then
  7865. attacktype = 1
  7866. attackthree()
  7867. elseif attack == false and attacktype == 4 then
  7868. attacktype = 1
  7869. --attackfour()
  7870. end
  7871. end)
  7872. mouse.KeyDown:connect(function(k)
  7873. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  7874. --normalmog() ---Disabled due to crashing... only in VSB
  7875. ModeOfGlitch = 1
  7876. storehumanoidWS = 16
  7877. hum.WalkSpeed = 16
  7878. rainbowmode = false
  7879. chaosmode = false
  7880. newTheme("rbxassetid:// 560344930",48.6,1,1.25)
  7881. RecolorTextAndRename("SuperNova",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  7882. MAINRUINCOLOR = BrickColor.new("Really blue")
  7883. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7884. end
  7885. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  7886. ModeOfGlitch = 2
  7887. storehumanoidWS = 16
  7888. hum.WalkSpeed = 16
  7889. rainbowmode = false
  7890. chaosmode = false
  7891. RecolorTextAndRename("Bill Nye",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7892. newTheme("rbxassetid://343953700",0,1,1.25)
  7893. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7894. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7895. end
  7896. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  7897. ModeOfGlitch = 3
  7898. storehumanoidWS = 16
  7899. hum.WalkSpeed = 16
  7900. rainbowmode = false
  7901. chaosmode = false
  7902. RecolorTextAndRename("Bendy",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  7903. newTheme("rbxassetid://675401384",58.15,0.98,1.25)
  7904. MAINRUINCOLOR = BrickColor.new("Royal black")
  7905. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7906. end
  7907. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  7908. ModeOfGlitch = 4
  7909. storehumanoidWS = 16
  7910. hum.WalkSpeed = 16
  7911. rainbowmode = false
  7912. chaosmode = true
  7913. RecolorTextAndRename("CAT?",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  7914. newTheme("rbxassetid://224845627",0,1.01,1.25)
  7915. MAINRUINCOLOR = BrickColor.new("Black")
  7916. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7917. end
  7918. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  7919. ModeOfGlitch = 5
  7920. storehumanoidWS = 16
  7921. hum.WalkSpeed = 16
  7922. rainbowmode = false
  7923. chaosmode = false
  7924. RecolorTextAndRename("On & On",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7925. newTheme("rbxassetid://603146550",0,1.02,1.25)
  7926. MAINRUINCOLOR = BrickColor.new("Bright red")
  7927. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7928. end
  7929. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  7930. ModeOfGlitch = 6
  7931. storehumanoidWS = 100
  7932. hum.WalkSpeed = 100
  7933. rainbowmode = false
  7934. chaosmode = false
  7935. RecolorTextAndRename("K i L l E r",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7936. newTheme("rbxassetid://143382469",0,1.01,1.25)
  7937. MAINRUINCOLOR = BrickColor.new("Deep red")
  7938. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7939. end
  7940. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  7941. ModeOfGlitch = 8
  7942. storehumanoidWS = 140
  7943. hum.WalkSpeed = 140
  7944. rainbowmode = false
  7945. chaosmode = false
  7946. RecolorTextAndRename("? ? ?",Color3.new(1,1,1),BrickColor.new("Really red").Color,"Code")
  7947. newTheme("rbxassetid://911100428",0,1.01,1.25)
  7948. MAINRUINCOLOR = BrickColor.new("Really red")
  7949. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7950. end
  7951. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  7952. ModeOfGlitch = 9
  7953. storehumanoidWS = 150
  7954. hum.WalkSpeed = 150
  7955. rainbowmode = false
  7956. chaosmode = false
  7957. RecolorTextAndRename("ILLUMINATT",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7958. newTheme("rbxassetid://299140066",0,1.01,1.25)
  7959. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  7960. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7961. end
  7962. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7963. ModeOfGlitch = 8889
  7964. storehumanoidWS = 180
  7965. hum.WalkSpeed = 180
  7966. rainbowmode = false
  7967. chaosmode = false
  7968. RecolorTextAndRename("HARDBASS",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  7969. newTheme("rbxassetid://967984830",0,1.01,1.25)
  7970. MAINRUINCOLOR = BrickColor.new("Lilac")
  7971. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7972. end
  7973. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  7974. ModeOfGlitch = 55469696922
  7975. storehumanoidWS = 275
  7976. hum.WalkSpeed = 275
  7977. rainbowmode = false
  7978. chaosmode = false
  7979. RecolorTextAndRename("SLAV",Color3.new(0.25,0,0.1),BrickColor.new("Hot red").Color,"Antique")
  7980. newTheme("rbxassetid://620082802",0,1.005,1.25)
  7981. MAINRUINCOLOR = BrickColor.new("Hot black")
  7982. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7983. end
  7984. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  7985. ModeOfGlitch = 4367677813
  7986. storehumanoidWS = 225
  7987. hum.WalkSpeed = 225
  7988. rainbowmode = false
  7989. chaosmode = false
  7990. RecolorTextAndRename("BLACKNESS",Color3.new(0.75,0.9,1),BrickColor.new("Black").Color,"Arcade")
  7991. newTheme("rbxassetid://1297670467",0,1.01,1.25)
  7992. MAINRUINCOLOR = BrickColor.new("Baby yellow")
  7993. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7994. end
  7995. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  7996. ModeOfGlitch = 9999999921111
  7997. storehumanoidWS = 300
  7998. hum.WalkSpeed = 300
  7999. rainbowmode = false
  8000. chaosmode = false
  8001. RecolorTextAndRename("The Spectre",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8002. newTheme("rbxassetid://643309199",0,1.01,1.25)
  8003. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8004. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8005. end
  8006. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8007. ModeOfGlitch = 999999999556
  8008. storehumanoidWS = 500
  8009. hum.WalkSpeed = 500
  8010. rainbowmode = false
  8011. chaosmode = false
  8012. RecolorTextAndRename("G-Major",BrickColor.new("Deep red").Color,BrickColor.new("Bright blue").Color,"Code")
  8013. newTheme("rbxassetid://159580356",0,1.02,1.25)
  8014. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8015. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8016. end
  8017. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8018. ModeOfGlitch = 1264532489
  8019. storehumanoidWS = 250
  8020. hum.WalkSpeed = 250
  8021. rainbowmode = false
  8022. chaosmode = false
  8023. RecolorTextAndRename("The Boi",Color3.new(0.5,1,1),BrickColor.new("Deep red").Color,"Antique")
  8024. newTheme("rbxassetid://934433777",0,1.01,1.25)
  8025. MAINRUINCOLOR = BrickColor.new("Pastel blue")
  8026. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8027. end
  8028. if k == "l" and mutedtog == false then
  8029. mutedtog = true
  8030. kan.Volume = 0
  8031. elseif k == "l" and mutedtog == true then
  8032. mutedtog = false
  8033. kan.Volume = 1.25
  8034. end
  8035. if k == "p" and toggleTag == false then
  8036. toggleTag = true
  8037. modet.TextTransparency = 0
  8038. modet.TextStrokeTransparency = 0
  8039. elseif k == "p" and toggleTag == true then
  8040. toggleTag = false
  8041. modet.TextTransparency = 1
  8042. modet.TextStrokeTransparency = 1
  8043. end
  8044. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8045. ExtinctiveHeartbreak()
  8046. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8047. HeavenlyDisk()
  8048. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8049. CorruptionEvent()
  8050. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8051. RapidBurst()
  8052. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8053. --DivineLights()
  8054. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8055. EquinoxOrbs()
  8056. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8057. FallenOrbs()
  8058. end
  8059. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8060. FallenDEMISE()
  8061. end
  8062. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8063. EndGROUND()
  8064. end
  8065. end)
  8066.  
  8067. --[[coroutine.resume(coroutine.create(function()
  8068. while true do
  8069. swait(2)
  8070. if chaosmode == true then
  8071. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8072. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8073. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8074. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8075. for i, v in pairs(mw1:GetChildren()) do
  8076. if v:IsA("Part") then
  8077. v.Transparency = 0.75
  8078. v.BrickColor = BrickColor.random()
  8079. v.Material = "Neon"
  8080. end
  8081. end
  8082. for i, v in pairs(m2:GetChildren()) do
  8083. if v:IsA("Part") then
  8084. v.BrickColor = BrickColor.random()
  8085. v.Material = "Neon"
  8086. end
  8087. end
  8088. end
  8089. end
  8090. end))]]--
  8091. Humanoid.Name = "STARGLITCHER"
  8092. Humanoid.MaxHealth = math.huge
  8093. Humanoid.Health = math.huge
  8094. Instance.new("ForceField",char).Visible = false
  8095.  
  8096. local bguis = Instance.new("BillboardGui",tors)
  8097. bguis.Size = UDim2.new(25, 0, 25, 0)
  8098. local imgca = Instance.new("ImageLabel",bguis)
  8099. imgca.BackgroundTransparency = 1
  8100. imgca.ImageTransparency = 1
  8101. imgca.Size = UDim2.new(1,0,1,0)
  8102. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  8103. imgca.ImageColor3 = Color3.new(0,0,0)
  8104.  
  8105. idleanim=.4
  8106. while true do
  8107. if mutedtog == false then
  8108. kan.Volume = currentVol
  8109. elseif mutedtog == true then
  8110. kan.Volume = 0
  8111. end
  8112. kan.PlaybackSpeed = currentPitch
  8113. kan.Pitch = currentPitch
  8114. kan.SoundId = currentThemePlaying
  8115. kan.Looped = true
  8116. kan.Parent = char
  8117. kan:Resume()
  8118. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  8119. imgca.ImageTransparency = 1
  8120. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  8121. imgca.ImageColor3 = MAINRUINCOLOR.Color
  8122. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8123. end
  8124. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  8125. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  8126. coroutine.resume(coroutine.create(function()
  8127. if chaosmode == true then
  8128. for i, v in pairs(mw1:GetChildren()) do
  8129. if v:IsA("Part") then
  8130. v.Transparency = 0
  8131. v.BrickColor = BrickColor.random()
  8132. v.Material = "Neon"
  8133. end
  8134. end
  8135. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8136. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8137. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8138. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  8139. end
  8140. end))
  8141. if chaosmode == false then
  8142. modet.Position = UDim2.new(0,0,0,0)
  8143. modet.Rotation = -5 * math.cos(sine / 32)
  8144. techc.Rotation = techc.Rotation + 1
  8145. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8146. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8147. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8148. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  8149. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8150. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8151. else
  8152. techc.Rotation = techc.Rotation + 1
  8153. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  8154. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  8155. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  8156. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  8157. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  8158. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  8159. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8160. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8161. end
  8162. CameraManager()
  8163. swait()
  8164. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  8165. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  8166. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  8167. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  8168. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  8169. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  8170. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  8171. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  8172. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  8173. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  8174. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  8175. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  8176. sine = sine + change
  8177. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8178. local velderp=RootPart.Velocity.y
  8179. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8180. if equipped==true or equipped==false then
  8181. if attack==false then
  8182. idle=idle+1
  8183. else
  8184. idle=0
  8185. end
  8186. if idle>=500 then
  8187. if attack==false then
  8188. --Sheath()
  8189. end
  8190. end
  8191. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8192. Anim="Jump"
  8193. if attack==false then
  8194. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  8195. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  8196. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  8197. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8198. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  8199. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  8200. end
  8201. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8202. Anim="Fall"
  8203. if attack==false then
  8204. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  8205. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  8206. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  8207. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8208. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  8209. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  8210. end
  8211. elseif torvel<1 and hitfloor~=nil then
  8212. Anim="Idle"
  8213. if attack==false then
  8214. if ModeOfGlitch == 1 then
  8215. local snap = math.random(1,10)
  8216. if snap == 1 then
  8217. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  8218. end
  8219. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  8220. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8221. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  8222. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  8223. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  8224. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  8225. elseif ModeOfGlitch == 2 then
  8226. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8227. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8228. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  8229. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  8230. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8231. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8232. elseif ModeOfGlitch == 3 then
  8233. local snap = math.random(1,32)
  8234. if snap == 1 then
  8235. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  8236. end
  8237. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8238. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  8240. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8241. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  8242. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  8243. elseif ModeOfGlitch == 4 then
  8244. local snap = math.random(1,5)
  8245. if snap == 1 then
  8246. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  8247. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  8248. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  8249. end
  8250. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  8251. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  8252. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8253. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8254. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  8255. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  8256. elseif ModeOfGlitch == 5 then
  8257. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8258. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8259. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  8260. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  8261. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  8262. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  8263. elseif ModeOfGlitch == 6 then
  8264. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8265. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8266. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8267. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8268. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  8269. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  8270. elseif ModeOfGlitch == 8 then
  8271. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  8272. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  8273. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  8274. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  8275. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8276. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8277. elseif ModeOfGlitch == 9 then
  8278. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8279. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  8281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8282. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  8283. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  8284. elseif ModeOfGlitch == 8889 then
  8285. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  8286. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  8287. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  8288. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  8289. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  8290. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  8291. elseif ModeOfGlitch == 1264532489 then
  8292. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  8293. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  8294. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8295. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8296. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  8297. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8298. elseif ModeOfGlitch == 9999999921111 then
  8299. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  8300. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  8301. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  8302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8303. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  8304. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  8305. elseif ModeOfGlitch == 4367677813 then
  8306. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  8307. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  8308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  8309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  8310. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  8311. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  8312. elseif ModeOfGlitch == 55469696922 then
  8313. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  8314. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  8315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  8316. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  8317. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  8318. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  8319. elseif ModeOfGlitch == 999999999556 then
  8320. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  8321. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  8322. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  8323. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  8324. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8325. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8326. end
  8327. end
  8328. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8329. Anim="Walk"
  8330. if attack==false then
  8331. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  8332. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  8333. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  8334. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  8335. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  8336. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  8337. end
  8338. elseif torvel>=22 and hitfloor~=nil then
  8339. Anim="Run"
  8340. if attack==false then
  8341. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  8342. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  8343. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  8344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  8345. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  8346. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  8347. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  8348. if ModeOfGlitch == 9 then
  8349. --
  8350. end
  8351. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  8352. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  8353. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  8354. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  8355. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  8356. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  8357. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  8358. end
  8359. end
  8360. end
  8361. end
  8362. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement