Advertisement
SCP-682-A

Ban

Jan 12th, 2019
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 82.89 KB | None | 0 0
  1. -----------------------
  2. --[[ Name : God ]]--
  3. -------------------------------------------------------
  4. --A script By makhail07
  5.  
  6. --Discord Creterisk#2958
  7.  
  8. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  9. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  10. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  11. --YOU FUCKING SKIDS,
  12. --For Those who log/decompile this, If you sell or trade this,
  13. --and I find out who you are, i will take massive action.
  14.  
  15. -------------------------------------------------------
  16. print("Original script made by someone else, i just edited it with actual Sonic sounds. -- Velo")
  17. wait()
  18. thing = 0
  19. LoudVolume = false
  20. Submerged = false
  21. Music = true
  22. script.Name = "SANIIIIC"
  23. Player = game.Players.LocalPlayer
  24. c = game.Players.LocalPlayer.Character
  25. Head = c.Head
  26. Humanoid = c.Humanoid
  27. anim = c.Humanoid.Animator
  28. rage = false
  29. p = game.Players.LocalPlayer
  30. Music = false
  31. anim = Humanoid.Animator
  32. local Effects = {}
  33. attack = false
  34. local attacking = false
  35. vt = Vector3.new
  36. bc = BrickColor.new
  37. br = BrickColor.random
  38. it = Instance.new
  39. cf = CFrame.new
  40. euler = CFrame.fromEulerAnglesXYZ
  41. angles = CFrame.Angles
  42. matr = math.random
  43. mouse = Player:GetMouse()
  44.  
  45. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  46. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  47. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  48. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  49. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  50. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  51. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  52. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  53. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  54. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  55. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  56. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  57. RS = c.Torso:FindFirstChild("Right Shoulder")
  58. LS = c.Torso:FindFirstChild("Left Shoulder")
  59. RH = c.Torso:FindFirstChild("Right Hip")
  60. LH = c.Torso:FindFirstChild("Left Hip")
  61. RJ = c.HumanoidRootPart:FindFirstChild("RootJoint")
  62. N = c.Torso:FindFirstChild("Neck")
  63. cf = CFrame.new
  64. ang = CFrame.Angles
  65. rd = math.rad
  66. rd2 = math.random
  67.  
  68. --[[mainShirt = c.Shirt
  69. mainPants = c.Pants
  70. mainBColors = c["Body Colors"]
  71. mainShirt.ShirtTemplate = "rbxassetid://769869277"
  72. mainPants.PantsTemplate = "rbxassetid://805486769"
  73. mainBColors.HeadColor = BrickColor.new("Pastel brown")
  74. mainBColors.LeftArmColor = BrickColor.new("Pastel brown")
  75. mainBColors.LeftLegColor = BrickColor.new("Pastel brown")
  76. mainBColors.RightArmColor = BrickColor.new("Pastel brown")
  77. mainBColors.RightLegColor = BrickColor.new("Pastel brown")
  78. mainBColors.TorsoColor = BrickColor.new("Pastel brown")]]
  79. function swait(num)
  80. if num==0 or num==nil then
  81. game:service'RunService'.Heartbeat:wait(0)
  82. else
  83. for i=0,num do
  84. game:service'RunService'.Heartbeat:wait(0)
  85. end
  86. end
  87. end
  88.  
  89. function lerpz(joint, prop, cfrmz, alp)
  90. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  91. end
  92. function resetlerp()
  93. RJ.C0 = RJC0
  94. RJ.C1 = RJC1
  95. N.C0 = NC0
  96. N.C1 = NC1
  97. RS.C0 = RSC0
  98. RS.C1 = RSC1
  99. LS.C0 = LSC0
  100. LS.C1 = LSC1
  101. RH.C0 = RHC0
  102. RH.C1 = RHC1
  103. LH.C0 = LHC0
  104. LH.C1 = LHC1
  105. end
  106.  
  107. local S2 = Instance.new("Sound",c.HumanoidRootPart)S2.SoundId = "rbxassetid://" S2.Volume = 0 S2.PlaybackSpeed = 0 S2.Looped = true S2:Play()
  108. c.Head.face:remove()
  109.  
  110. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(0/255,170/255,255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,170/255,255/255))}
  111. local att1 = Instance.new("Attachment", c["Right Leg"])
  112. att1.Name = "att1"
  113. att1.Position = Vector3.new(0.5, 1, 0.5)
  114. local att2 = Instance.new("Attachment", c["Right Leg"])
  115. att2.Name = "att2"
  116. att2.Position = Vector3.new(-0.5, 1, 0.5)
  117. local att3 = Instance.new("Attachment", c["Right Leg"])
  118. att3.Name = "att3"
  119. att3.Position = Vector3.new(0.5, -1, 0.5)
  120. local att4 = Instance.new("Attachment", c["Right Leg"])
  121. att4.Name = "att4"
  122. att4.Position = Vector3.new(-0.5, -1, 0.5)
  123.  
  124. local attt1 = Instance.new("Attachment", c["Left Leg"])
  125. attt1.Name = "att1"
  126. attt1.Position = Vector3.new(0.5, 1, 0.5)
  127. local attt2 = Instance.new("Attachment", c["Left Leg"])
  128. attt2.Name = "att2"
  129. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  130. local attt3 = Instance.new("Attachment", c["Left Leg"])
  131. attt3.Name = "att3"
  132. attt3.Position = Vector3.new(0.5, -1, 0.5)
  133. local attt4 = Instance.new("Attachment", c["Left Leg"])
  134. attt4.Name = "att4"
  135. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  136.  
  137. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  138. trailtop1.Enabled = true
  139. trailtop1.Texture = "rbxassetid://16607923"
  140. trailtop1.Name = "toptrail"
  141. trailtop1.MinLength = 0
  142. trailtop1.Lifetime = 0.1
  143.  
  144. trailtop1.Color = ColorSequence.new(ColorArray)
  145.  
  146. trailtop1.Attachment0 = att1
  147. trailtop1.Attachment1 = att2
  148. trailtop1.Transparency = NumberSequence.new({
  149. NumberSequenceKeypoint.new(0, 0.5, 0),
  150. NumberSequenceKeypoint.new(1, 1, 0)
  151. })
  152.  
  153. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  154. trailbot1.Enabled = true
  155. trailbot1.Texture = "rbxassetid://16607923"
  156. trailbot1.Name = "bottrail"
  157. trailbot1.MinLength = 0
  158. trailbot1.Lifetime = 0.1
  159.  
  160. trailbot1.Color = ColorSequence.new(ColorArray)
  161.  
  162. trailbot1.Attachment0 = att3
  163. trailbot1.Attachment1 = att4
  164. trailbot1.Transparency = NumberSequence.new({
  165. NumberSequenceKeypoint.new(0, 0.5, 0),
  166. NumberSequenceKeypoint.new(1, 1, 0)
  167. })
  168.  
  169. local trailside1 = Instance.new("Trail", c["Right Leg"])
  170. trailside1.Enabled = true
  171. trailside1.Texture = "rbxassetid://16607923"
  172. trailside1.Name = "sidetrail1"
  173. trailside1.MinLength = 0
  174. trailside1.Lifetime = 0.1
  175.  
  176. trailside1.Color = ColorSequence.new(ColorArray)
  177.  
  178. trailside1.Attachment0 = att1
  179. trailside1.Attachment1 = att3
  180. trailside1.Transparency = NumberSequence.new({
  181. NumberSequenceKeypoint.new(0, 0.5, 0),
  182. NumberSequenceKeypoint.new(1, 1, 0)
  183. })
  184.  
  185. local trailside2 = Instance.new("Trail", c["Right Leg"])
  186. trailside2.Enabled = true
  187. trailside2.Texture = "rbxassetid://16607923"
  188. trailside2.Name = "sidetrail2"
  189. trailside2.MinLength = 0
  190. trailside2.Lifetime = 0.1
  191. spawn(function()
  192. while true do wait()
  193. trailside2.Color = ColorSequence.new(ColorArray)
  194. end
  195. end)
  196. trailside2.Attachment0 = att2
  197. trailside2.Attachment1 = att4
  198. trailside2.Transparency = NumberSequence.new({
  199. NumberSequenceKeypoint.new(0, 0.5, 0),
  200. NumberSequenceKeypoint.new(1, 1, 0)
  201. })
  202.  
  203.  
  204. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  205. trailtop12.Enabled = true
  206. trailtop12.Texture = "rbxassetid://16607923"
  207. trailtop12.Name = "toptrail"
  208. trailtop12.MinLength = 0
  209. trailtop12.Lifetime = 0.1
  210. spawn(function()
  211. while true do wait()
  212. trailtop12.Color = ColorSequence.new(ColorArray)
  213. end
  214. end)
  215. trailtop12.Attachment0 = attt1
  216. trailtop12.Attachment1 = attt2
  217. trailtop12.Transparency = NumberSequence.new({
  218. NumberSequenceKeypoint.new(0, 0.5, 0),
  219. NumberSequenceKeypoint.new(1, 1, 0)
  220. })
  221.  
  222. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  223. trailbot2.Enabled = true
  224. trailbot2.Texture = "rbxassetid://16607923"
  225. trailbot2.Name = "bottrail"
  226. trailbot2.MinLength = 0
  227. trailbot2.Lifetime = 0.1
  228.  
  229. trailbot2.Color = ColorSequence.new(ColorArray)
  230.  
  231. trailbot2.Attachment0 = attt3
  232. trailbot2.Attachment1 = attt4
  233. trailbot2.Transparency = NumberSequence.new({
  234. NumberSequenceKeypoint.new(0, 0.5, 0),
  235. NumberSequenceKeypoint.new(1, 1, 0)
  236. })
  237.  
  238. local trailside12 = Instance.new("Trail", c["Left Leg"])
  239. trailside12.Enabled = true
  240. trailside12.Texture = "rbxassetid://16607923"
  241. trailside12.Name = "sidetrail1"
  242. trailside12.MinLength = 0
  243. trailside12.Lifetime = 0.1
  244.  
  245. trailside12.Color = ColorSequence.new(ColorArray)
  246.  
  247. trailside12.Attachment0 = attt1
  248. trailside12.Attachment1 = attt3
  249. trailside12.Transparency = NumberSequence.new({
  250. NumberSequenceKeypoint.new(0, 0.5, 0),
  251. NumberSequenceKeypoint.new(1, 1, 0)
  252. })
  253.  
  254. local trailside22 = Instance.new("Trail", c["Left Leg"])
  255. trailside22.Enabled = true
  256. trailside22.Texture = "rbxassetid://16607923"
  257. trailside22.Name = "sidetrail2"
  258. trailside22.MinLength = 0
  259. trailside22.Lifetime = 0.1
  260.  
  261. trailside22.Color = ColorSequence.new(ColorArray)
  262.  
  263. trailside22.Attachment0 = attt2
  264. trailside22.Attachment1 = attt4
  265. trailside22.Transparency = NumberSequence.new({
  266. NumberSequenceKeypoint.new(0, 0.5, 0),
  267. NumberSequenceKeypoint.new(1, 1, 0)
  268. })
  269.  
  270.  
  271. local att1 = Instance.new("Attachment", c["Right Arm"])
  272. att1.Name = "att1"
  273. att1.Position = Vector3.new(0.5, 1, 0.5)
  274. local att2 = Instance.new("Attachment", c["Right Arm"])
  275. att2.Name = "att2"
  276. att2.Position = Vector3.new(-0.5, 1, 0.5)
  277. local att3 = Instance.new("Attachment", c["Right Arm"])
  278. att3.Name = "att3"
  279. att3.Position = Vector3.new(0.5, -1, 0.5)
  280. local att4 = Instance.new("Attachment", c["Right Arm"])
  281. att4.Name = "att4"
  282. att4.Position = Vector3.new(-0.5, -1, 0.5)
  283.  
  284. local attt1 = Instance.new("Attachment", c["Left Arm"])
  285. attt1.Name = "att1"
  286. attt1.Position = Vector3.new(0.5, 1, 0.5)
  287. local attt2 = Instance.new("Attachment", c["Left Arm"])
  288. attt2.Name = "att2"
  289. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  290. local attt3 = Instance.new("Attachment", c["Left Arm"])
  291. attt3.Name = "att3"
  292. attt3.Position = Vector3.new(0.5, -1, 0.5)
  293. local attt4 = Instance.new("Attachment", c["Left Arm"])
  294. attt4.Name = "att4"
  295. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  296.  
  297. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  298. trailtop1.Enabled = true
  299. trailtop1.Texture = "rbxassetid://16607923"
  300. trailtop1.Name = "toptrail"
  301. trailtop1.MinLength = 0
  302. trailtop1.Lifetime = 0.1
  303.  
  304. trailtop1.Color = ColorSequence.new(ColorArray)
  305.  
  306. trailtop1.Attachment0 = att1
  307. trailtop1.Attachment1 = att2
  308. trailtop1.Transparency = NumberSequence.new({
  309. NumberSequenceKeypoint.new(0, 0.5, 0),
  310. NumberSequenceKeypoint.new(1, 1, 0)
  311. })
  312.  
  313. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  314. trailbot1.Enabled = true
  315. trailbot1.Texture = "rbxassetid://16607923"
  316. trailbot1.Name = "bottrail"
  317. trailbot1.MinLength = 0
  318. trailbot1.Lifetime = 0.1
  319. spawn(function()
  320. while true do wait()
  321. trailbot1.Color = ColorSequence.new(ColorArray)
  322. end
  323. end)
  324. trailbot1.Attachment0 = att3
  325. trailbot1.Attachment1 = att4
  326. trailbot1.Transparency = NumberSequence.new({
  327. NumberSequenceKeypoint.new(0, 0.5, 0),
  328. NumberSequenceKeypoint.new(1, 1, 0)
  329. })
  330.  
  331. local trailside1 = Instance.new("Trail", c["Right Arm"])
  332. trailside1.Enabled = true
  333. trailside1.Texture = "rbxassetid://16607923"
  334. trailside1.Name = "sidetrail1"
  335. trailside1.MinLength = 0
  336. trailside1.Lifetime = 0.1
  337.  
  338. trailside1.Color = ColorSequence.new(ColorArray)
  339.  
  340. trailside1.Attachment0 = att1
  341. trailside1.Attachment1 = att3
  342. trailside1.Transparency = NumberSequence.new({
  343. NumberSequenceKeypoint.new(0, 0.5, 0),
  344. NumberSequenceKeypoint.new(1, 1, 0)
  345. })
  346.  
  347. local trailside2 = Instance.new("Trail", c["Right Arm"])
  348. trailside2.Enabled = true
  349. trailside2.Texture = "rbxassetid://16607923"
  350. trailside2.Name = "sidetrail2"
  351. trailside2.MinLength = 0
  352. trailside2.Lifetime = 0.1
  353.  
  354. trailside2.Color = ColorSequence.new(ColorArray)
  355.  
  356. trailside2.Attachment0 = att2
  357. trailside2.Attachment1 = att4
  358. trailside2.Transparency = NumberSequence.new({
  359. NumberSequenceKeypoint.new(0, 0.5, 0),
  360. NumberSequenceKeypoint.new(1, 1, 0)
  361. })
  362.  
  363.  
  364. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  365. trailtop12.Enabled = true
  366. trailtop12.Texture = "rbxassetid://16607923"
  367. trailtop12.Name = "toptrail"
  368. trailtop12.MinLength = 0
  369. trailtop12.Lifetime = 0.1
  370.  
  371. trailtop12.Color = ColorSequence.new(ColorArray)
  372.  
  373. trailtop12.Attachment0 = attt1
  374. trailtop12.Attachment1 = attt2
  375. trailtop12.Transparency = NumberSequence.new({
  376. NumberSequenceKeypoint.new(0, 0.5, 0),
  377. NumberSequenceKeypoint.new(1, 1, 0)
  378. })
  379.  
  380. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  381. trailbot2.Enabled = true
  382. trailbot2.Texture = "rbxassetid://16607923"
  383. trailbot2.Name = "bottrail"
  384. trailbot2.MinLength = 0
  385. trailbot2.Lifetime = 0.1
  386.  
  387. trailbot2.Color = ColorSequence.new(ColorArray)
  388.  
  389. trailbot2.Attachment0 = attt3
  390. trailbot2.Attachment1 = attt4
  391. trailbot2.Transparency = NumberSequence.new({
  392. NumberSequenceKeypoint.new(0, 0.5, 0),
  393. NumberSequenceKeypoint.new(1, 1, 0)
  394. })
  395.  
  396. local trailside12 = Instance.new("Trail", c["Left Arm"])
  397. trailside12.Enabled = true
  398. trailside12.Texture = "rbxassetid://16607923"
  399. trailside12.Name = "sidetrail1"
  400. trailside12.MinLength = 0
  401. trailside12.Lifetime = 0.1
  402.  
  403. trailside12.Color = ColorSequence.new(ColorArray)
  404.  
  405. trailside12.Attachment0 = attt1
  406. trailside12.Attachment1 = attt3
  407. trailside12.Transparency = NumberSequence.new({
  408. NumberSequenceKeypoint.new(0, 0.5, 0),
  409. NumberSequenceKeypoint.new(1, 1, 0)
  410. })
  411.  
  412. local trailside22 = Instance.new("Trail", c["Left Arm"])
  413. trailside22.Enabled = true
  414. trailside22.Texture = "rbxassetid://16607923"
  415. trailside22.Name = "sidetrail2"
  416. trailside22.MinLength = 0
  417. trailside22.Lifetime = 0.1
  418.  
  419. trailside22.Color = ColorSequence.new(ColorArray)
  420.  
  421. trailside22.Attachment0 = attt2
  422. trailside22.Attachment1 = attt4
  423. trailside22.Transparency = NumberSequence.new({
  424. NumberSequenceKeypoint.new(0, 0.5, 0),
  425. NumberSequenceKeypoint.new(1, 1, 0)
  426. })
  427.  
  428. local att1 = Instance.new("Attachment", c["Torso"])
  429. att1.Name = "att1"
  430. att1.Position = Vector3.new(1, 1, 0.5)
  431. local att2 = Instance.new("Attachment", c["Torso"])
  432. att2.Name = "att2"
  433. att2.Position = Vector3.new(-1, 1, 0.5)
  434. local att3 = Instance.new("Attachment", c["Torso"])
  435. att3.Name = "att3"
  436. att3.Position = Vector3.new(1, -1, 0.5)
  437. local att4 = Instance.new("Attachment", c["Torso"])
  438. att4.Name = "att4"
  439. att4.Position = Vector3.new(-1, -1, 0.5)
  440.  
  441. local attt1 = Instance.new("Attachment", c["Head"])
  442. attt1.Name = "att1"
  443. attt1.Position = Vector3.new(.55, .55, 0.025)
  444. local attt2 = Instance.new("Attachment", c["Head"])
  445. attt2.Name = "att2"
  446. attt2.Position = Vector3.new(-.55, .55, 0.025)
  447. local attt3 = Instance.new("Attachment", c["Head"])
  448. attt3.Name = "att3"
  449. attt3.Position = Vector3.new(.55, -.5, 0.025)
  450. local attt4 = Instance.new("Attachment", c["Head"])
  451. attt4.Name = "att4"
  452. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  453. local trailtop1 = Instance.new("Trail", c["Torso"])
  454. trailtop1.Enabled = true
  455. trailtop1.Texture = "rbxassetid://16607923"
  456. trailtop1.Name = "toptrail"
  457. trailtop1.MinLength = 0
  458. trailtop1.Lifetime = 0.1
  459.  
  460. trailtop1.Color = ColorSequence.new(ColorArray)
  461.  
  462. trailtop1.Attachment0 = att1
  463. trailtop1.Attachment1 = att2
  464. trailtop1.Transparency = NumberSequence.new({
  465. NumberSequenceKeypoint.new(0, 0.5, 0),
  466. NumberSequenceKeypoint.new(1, 1, 0)
  467. })
  468. local trailbot1 = Instance.new("Trail", c["Torso"])
  469. trailbot1.Enabled = true
  470. trailbot1.Texture = "rbxassetid://16607923"
  471. trailbot1.Name = "bottrail"
  472. trailbot1.MinLength = 0
  473. trailbot1.Lifetime = 0.1
  474.  
  475. trailbot1.Color = ColorSequence.new(ColorArray)
  476.  
  477. trailbot1.Attachment0 = att3
  478. trailbot1.Attachment1 = att4
  479. trailbot1.Transparency = NumberSequence.new({
  480. NumberSequenceKeypoint.new(0, 0.5, 0),
  481. NumberSequenceKeypoint.new(1, 1, 0)
  482. })
  483. local trailside1 = Instance.new("Trail", c["Torso"])
  484. trailside1.Enabled = true
  485. trailside1.Texture = "rbxassetid://16607923"
  486. trailside1.Name = "sidetrail1"
  487. trailside1.MinLength = 0
  488. trailside1.Lifetime = 0.1
  489.  
  490. trailside1.Color = ColorSequence.new(ColorArray)
  491.  
  492. trailside1.Attachment0 = att1
  493. trailside1.Attachment1 = att3
  494. trailside1.Transparency = NumberSequence.new({
  495. NumberSequenceKeypoint.new(0, 0.5, 0),
  496. NumberSequenceKeypoint.new(1, 1, 0)
  497. })
  498. local trailside2 = Instance.new("Trail", c["Torso"])
  499. trailside2.Enabled = true
  500. trailside2.Texture = "rbxassetid://16607923"
  501. trailside2.Name = "sidetrail2"
  502. trailside2.MinLength = 0
  503. trailside2.Lifetime = 0.1
  504.  
  505. trailside2.Color = ColorSequence.new(ColorArray)
  506.  
  507. trailside2.Attachment0 = att2
  508. trailside2.Attachment1 = att4
  509. trailside2.Transparency = NumberSequence.new({
  510. NumberSequenceKeypoint.new(0, 0.5, 0),
  511. NumberSequenceKeypoint.new(1, 1, 0)
  512. })
  513. local trailtop12 = Instance.new("Trail", c["Head"])
  514. trailtop12.Enabled = true
  515. trailtop12.Texture = "rbxassetid://16607923"
  516. trailtop12.Name = "toptrail"
  517. trailtop12.MinLength = 0
  518. trailtop12.Lifetime = 0.1
  519.  
  520. trailtop12.Color = ColorSequence.new(ColorArray)
  521.  
  522. trailtop12.Attachment0 = attt1
  523. trailtop12.Attachment1 = attt2
  524. trailtop12.Transparency = NumberSequence.new({
  525. NumberSequenceKeypoint.new(0, 0.5, 0),
  526. NumberSequenceKeypoint.new(1, 1, 0)
  527. })
  528. local trailbot2 = Instance.new("Trail", c["Head"])
  529. trailbot2.Enabled = true
  530. trailbot2.Texture = "rbxassetid://16607923"
  531. trailbot2.Name = "bottrail"
  532. trailbot2.MinLength = 0
  533. trailbot2.Lifetime = 0.1
  534.  
  535. trailbot2.Color = ColorSequence.new(ColorArray)
  536.  
  537. trailbot2.Attachment0 = attt3
  538. trailbot2.Attachment1 = attt4
  539. trailbot2.Transparency = NumberSequence.new({
  540. NumberSequenceKeypoint.new(0, 0.5, 0),
  541. NumberSequenceKeypoint.new(1, 1, 0)
  542. })
  543. local trailside12 = Instance.new("Trail", c["Head"])
  544. trailside12.Enabled = true
  545. trailside12.Texture = "rbxassetid://16607923"
  546. trailside12.Name = "sidetrail1"
  547. trailside12.MinLength = 0
  548. trailside12.Lifetime = 0.1
  549.  
  550. trailside12.Color = ColorSequence.new(ColorArray)
  551.  
  552. trailside12.Attachment0 = attt1
  553. trailside12.Attachment1 = attt3
  554. trailside12.Transparency = NumberSequence.new({
  555. NumberSequenceKeypoint.new(0, 0.5, 0),
  556. NumberSequenceKeypoint.new(1, 1, 0)
  557. })
  558. local trailside22 = Instance.new("Trail", c["Head"])
  559. trailside22.Enabled = true
  560. trailside22.Texture = "rbxassetid://16607923"
  561. trailside22.Name = "sidetrail2"
  562. trailside22.MinLength = 0
  563. trailside22.Lifetime = 0.1
  564.  
  565. trailside22.Color = ColorSequence.new(ColorArray)
  566.  
  567. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  568. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  569.  
  570. Sped = 0
  571.  
  572. function ragplayer(cactus)
  573. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://131026421" S.Volume = 2 S:Play()
  574. cactus.Humanoid.PlatformStand = true cactus:findFirstChild("Humanoid").Health = 0.01
  575. if cactus["Right Arm"]~=nil and cactus.Torso:FindFirstChild("Right Shoulder") then
  576. cactus.Torso:FindFirstChild("Right Shoulder"):Destroy()
  577. makegloo(cactus.Torso, RSC0, RSC1, cactus.Torso, cactus["Right Arm"], "Right Shoulder")
  578. maketouchy(cactus["Right Arm"], cactus["Right Arm"], CFrame.new(0, 0.5, 0))
  579. end
  580. if cactus["Left Arm"]~=nil and cactus.Torso:FindFirstChild("Left Shoulder") then
  581. cactus.Torso:FindFirstChild("Left Shoulder"):Destroy()
  582. makegloo(cactus.Torso, LSC0, LSC1, cactus.Torso, cactus["Left Arm"], "Left Shoulder")
  583. maketouchy(cactus["Left Arm"], cactus["Left Arm"], CFrame.new(0, 0.5, 0))
  584. end
  585. if cactus["Right Leg"]~=nil and cactus.Torso:FindFirstChild("Right Hip") then
  586. cactus.Torso:FindFirstChild("Right Hip"):Destroy()
  587. makegloo(cactus.Torso, RHC0, RHC1, cactus.Torso, cactus["Right Leg"], "Right Hip")
  588. maketouchy(cactus["Right Leg"], cactus["Right Leg"], CFrame.new(0, 0.5, 0))
  589. end
  590. if cactus["Left Leg"]~=nil and cactus.Torso:FindFirstChild("Left Hip") then
  591. cactus.Torso:FindFirstChild("Left Hip"):Destroy()
  592. makegloo(cactus.Torso, LHC0, LHC1, cactus.Torso, cactus["Left Leg"], "Left Hip")
  593. maketouchy(cactus["Left Leg"], cactus["Left Leg"], CFrame.new(0, 0.5, 0))
  594. end
  595. cactus.Parent = game.Workspace game.Debris:AddItem(cactus,15)
  596. end
  597. function makegloo(paren, co, ci, parto, parti, nam) local gloo = Instance.new("Glue") gloo.Name = nam gloo.C0 = co gloo.C1 = ci gloo.Part0 = parto gloo.Part1 = parti gloo.Parent = paren end
  598.  
  599. function maketouchy(parent, limb, cframe) local pr = Instance.new("Part") pr.Name = "touchy" pr.Size = Vector3.new(1, 1, 1) pr.Transparency = 1 pr.CustomPhysicalProperties = PhysicalProperties.new(0.55, 0.3, 0.5) pr.CanCollide = true pr.Anchored = false pr.Parent = parent local w = Instance.new("Weld") w.Part0 = pr w.Part1 = limb w.C0 = cframe w.Parent = pr end
  600.  
  601. local hitz = false
  602. c.HumanoidRootPart.Touched:connect(function(Hit)
  603. if thing >= 100 then
  604. if hitz == false then hitz = true
  605. ragplayer(c) local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://386946017" S.Volume = 6 S:Play()
  606. wait(15)
  607. end
  608. end
  609. end)
  610.  
  611. function Spin()
  612. attack = true
  613. while attack == true do Sped = Sped + 0.25
  614. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(Sped*Sped*5), rd(0), rd(0)), 1)
  615. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  616. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  617. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  618. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  619. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  620. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  621. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  622. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  623. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  624. swait()
  625. end
  626. end
  627.  
  628. SanicScreams = {498608864,156820723}
  629.  
  630. mouse.KeyDown:connect(function(key)
  631. if attack == true then return end
  632. if key == "q" then
  633. Spin()
  634. end
  635. if key == "e" then
  636. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://1034903243" S.Volume = 10 S:Play()
  637. wait(1.25)
  638. local Sanic = SanicScreams[math.random(1,#SanicScreams)]
  639. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://"..Sanic S.Volume = 10 S:Play()
  640. spawn(function()
  641. local Sp = Instance.new("Part",game.Workspace)Sp.BrickColor = BrickColor.new("Cyan")Sp.Material = "Neon" Sp.Size = Vector3.new(1,1,1) Sp.Anchored = true Sp.CanCollide = false
  642. local SPM = Instance.new("SpecialMesh",Sp)SPM.MeshType = "Sphere" Sp.CFrame = c.HumanoidRootPart.CFrame
  643. for i = 1,25 do
  644. SPM.Scale = SPM.Scale + Vector3.new(4,4,4)
  645. Sp.Transparency = Sp.Transparency + 1/25
  646. swait()
  647. end
  648. end)
  649. local S = Instance.new("Sound",c.HumanoidRootPart)S.SoundId = "rbxassetid://214444596" S.Volume = 10 S:Play()
  650. Sped = 10000000000
  651. end
  652. end)
  653.  
  654. mouse.KeyUp:connect(function(key)
  655. if key == "q" then
  656. attack = false
  657. end
  658. end)
  659.  
  660. local P = Instance.new("Part",game.Workspace.CurrentCamera)P.CanCollide = true P.Anchored = true P.Size = Vector3.new(15,1,15)
  661. P.CFrame = CFrame.new(c.HumanoidRootPart.Position)*CFrame.new(0,-3.5,0)P.Transparency = 0 P.Name = "FlightPart"
  662. P.BrickColor = BrickColor.new("Dark green") P.TopSurface = "Smooth" P.Material = "Grass"
  663. spawn(function()
  664. while true do
  665. P.CFrame = CFrame.new(c.HumanoidRootPart.Position.X,-0.6,c.HumanoidRootPart.Position.Z)
  666. swait()
  667. end
  668. end)
  669.  
  670. anim.Parent = nil
  671. sine = 0
  672.  
  673. game:GetService("RunService").RenderStepped:connect(function()
  674. if attack == false then
  675. thing = (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  676. game.Workspace.CurrentCamera.FieldOfView = 70+thing/100
  677. if c.HumanoidRootPart.Velocity.Y > 1 then sine = sine + 1
  678. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(sine*thing*0.75), rd(0), rd(0)), 1)
  679. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(60), rd(0), rd(0)), 1)
  680. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(15), rd(25), rd(25)), 1)
  681. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  682. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(15), rd(-25), rd(-25)), 1)
  683. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  684. lerpz(RH, "C0", RHC0 * cf(0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  685. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  686. lerpz(LH, "C0", LHC0 * cf(-0.5, 1.5, 0) * ang(rd(0), rd(0), rd(0)), 1)
  687. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  688. elseif (c.HumanoidRootPart.Velocity * Vector3.new(1, 0, 1)).magnitude > 2 then
  689. sine = sine + 1 Sped = Sped + 0.1
  690. if thing <= 200 then
  691. if S2.PlaybackSpeed >= 1 then
  692. S2.PlaybackSpeed = 1
  693. else
  694. S2.PlaybackSpeed = thing/80
  695. end
  696. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  697. S2.Volume = thing/20
  698. end
  699. if thing <= 200 then
  700. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  701. S2.Volume = thing/20
  702. else
  703. c.Humanoid.WalkSpeed = 16+(thing/1.5)+Sped
  704. end
  705. if thing <= 100 then
  706. for i,v in pairs(c:children()) do
  707. if v.ClassName == "Part" then
  708. for i,v2 in pairs(v:children()) do
  709. if v2.ClassName == "Trail" then
  710. v2.Enabled = false
  711. v2.LightEmission = 1
  712. end
  713. end
  714. end
  715. end
  716. else
  717. for i,v in pairs(c:children()) do
  718. if v.ClassName == "Part" then
  719. for i,v2 in pairs(v:children()) do
  720. if v2.ClassName == "Trail" then
  721. v2.Lifetime = 2
  722. v2.Enabled = true
  723. end
  724. end
  725. end
  726. end
  727. end
  728. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(thing/7), rd(0), rd(0)), 1)
  729. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  730. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(-thing/1.5)), 1)
  731. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  732. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(thing/1.5)), 1)
  733. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  734. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  735. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  736. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/2))*thing/1.25), 1)
  737. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 1)
  738. else c.Humanoid.WalkSpeed = 16 Sped = 0 sine = sine + 1 S2.Volume = 0 S2.PlaybackSpeed = 0
  739. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  740. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  741. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  742. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  743. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(math.cos(sine/24)*4)), 0.5)
  744. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  745. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  746. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  747. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  748. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.5)
  749. end
  750. for i,v in pairs (c:children()) do
  751. if v.ClassName == "Accessory" then
  752. for i,v2 in pairs (v:children()) do
  753. if v2.ClassName == "Part" then
  754. v2.Anchored = false
  755. end
  756. end
  757. end
  758. for i,v in pairs (c:children()) do
  759. if v.ClassName == "Part" then
  760. v.Anchored = false
  761. end
  762. end
  763. end
  764. end
  765. end)
  766. local FavIDs = {
  767. 340106355, --Nefl Crystals
  768. 927529620, --Dimension
  769. 876981900, --Fantasy
  770. 398987889, --Ordinary Days
  771. 1117396305, --Oh wait, it's you.
  772. 885996042, --Action Winter Journey
  773. 919231299, --Sprawling Idiot Effigy
  774. 743466274, --Good Day Sunshine
  775. 727411183, --Knife Fight
  776. 1402748531, --The Earth Is Counting On You!
  777. 595230126 --Robot Language
  778. }
  779. --The reality of my life isn't real but a Universe -makhail07
  780. wait()
  781. local plr = game:service'Players'.LocalPlayer
  782. print('Local User is '..plr.Name)
  783. print('God Loaded')
  784. print('hahahAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
  785. local char = plr.Character
  786. local hum = char.Humanoid
  787. local hed = char.Head
  788. local root = char.HumanoidRootPart
  789. local rootj = root.RootJoint
  790. local tors = char.Torso
  791. local ra = char["Right Arm"]
  792. local la = char["Left Arm"]
  793. local rl = char["Right Leg"]
  794. local ll = char["Left Leg"]
  795. local neck = tors["Neck"]
  796. local mouse = plr:GetMouse()
  797. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  798. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  799. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  800. local maincolor = BrickColor.new("Institutional white")
  801.  
  802.  
  803. -------------------------------------------------------
  804. --Start Good Stuff--
  805. -------------------------------------------------------
  806. cam = game.Workspace.CurrentCamera
  807. CF = CFrame.new
  808. angles = CFrame.Angles
  809. attack = false
  810. Euler = CFrame.fromEulerAnglesXYZ
  811. Rad = math.rad
  812. IT = Instance.new
  813. BrickC = BrickColor.new
  814. Cos = math.cos
  815. Acos = math.acos
  816. Sin = math.sin
  817. Asin = math.asin
  818. Abs = math.abs
  819. Mrandom = math.random
  820. Floor = math.floor
  821. -------------------------------------------------------
  822. --End Good Stuff--
  823. -------------------------------------------------------
  824. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  825. RSH, LSH = nil, nil
  826. RW = Instance.new("Weld")
  827. LW = Instance.new("Weld")
  828. RH = tors["Right Hip"]
  829. LH = tors["Left Hip"]
  830. RSH = tors["Right Shoulder"]
  831. LSH = tors["Left Shoulder"]
  832. RSH.Parent = nil
  833. LSH.Parent = nil
  834. RW.Name = "RW"
  835. RW.Part0 = tors
  836. RW.C0 = CF(1.5, 0.5, 0)
  837. RW.C1 = CF(0, 0.5, 0)
  838. RW.Part1 = ra
  839. RW.Parent = tors
  840. LW.Name = "LW"
  841. LW.Part0 = tors
  842. LW.C0 = CF(-1.5, 0.5, 0)
  843. LW.C1 = CF(0, 0.5, 0)
  844. LW.Part1 = la
  845. LW.Parent = tors
  846. Effects = {}
  847. -------------------------------------------------------
  848. --Start HeartBeat--
  849. -------------------------------------------------------
  850. ArtificialHB = Instance.new("BindableEvent", script)
  851. ArtificialHB.Name = "Heartbeat"
  852. script:WaitForChild("Heartbeat")
  853.  
  854. frame = 1 / 60
  855. tf = 0
  856. allowframeloss = false
  857. tossremainder = false
  858.  
  859.  
  860. lastframe = tick()
  861. script.Heartbeat:Fire()
  862.  
  863.  
  864. game:GetService("RunService").Heartbeat:connect(function(s, p)
  865. tf = tf + s
  866. if tf >= frame then
  867. if allowframeloss then
  868. script.Heartbeat:Fire()
  869. lastframe = tick()
  870. else
  871. for i = 1, math.floor(tf / frame) do
  872. script.Heartbeat:Fire()
  873. end
  874. lastframe = tick()
  875. end
  876. if tossremainder then
  877. tf = 0
  878. else
  879. tf = tf - frame * math.floor(tf / frame)
  880. end
  881. end
  882. end)
  883. -------------------------------------------------------
  884. --End HeartBeat--
  885. -------------------------------------------------------
  886.  
  887. -------------------------------------------------------
  888. --Start Important Functions--
  889. -------------------------------------------------------
  890. function swait(num)
  891. if num == 0 or num == nil then
  892. game:service("RunService").Stepped:wait(0)
  893. else
  894. for i = 0, num do
  895. game:service("RunService").Stepped:wait(0)
  896. end
  897. end
  898. end
  899. function thread(f)
  900. coroutine.resume(coroutine.create(f))
  901. end
  902. function clerp(a, b, t)
  903. local qa = {
  904. QuaternionFromCFrame(a)
  905. }
  906. local qb = {
  907. QuaternionFromCFrame(b)
  908. }
  909. local ax, ay, az = a.x, a.y, a.z
  910. local bx, by, bz = b.x, b.y, b.z
  911. local _t = 1 - t
  912. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  913. end
  914. function QuaternionFromCFrame(cf)
  915. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  916. local trace = m00 + m11 + m22
  917. if trace > 0 then
  918. local s = math.sqrt(1 + trace)
  919. local recip = 0.5 / s
  920. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  921. else
  922. local i = 0
  923. if m00 < m11 then
  924. i = 1
  925. end
  926. if m22 > (i == 0 and m00 or m11) then
  927. i = 2
  928. end
  929. if i == 0 then
  930. local s = math.sqrt(m00 - m11 - m22 + 1)
  931. local recip = 0.5 / s
  932. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  933. elseif i == 1 then
  934. local s = math.sqrt(m11 - m22 - m00 + 1)
  935. local recip = 0.5 / s
  936. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  937. elseif i == 2 then
  938. local s = math.sqrt(m22 - m00 - m11 + 1)
  939. local recip = 0.5 / s
  940. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  941. end
  942. end
  943. end
  944. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  945. local xs, ys, zs = x + x, y + y, z + z
  946. local wx, wy, wz = w * xs, w * ys, w * zs
  947. local xx = x * xs
  948. local xy = x * ys
  949. local xz = x * zs
  950. local yy = y * ys
  951. local yz = y * zs
  952. local zz = z * zs
  953. 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))
  954. end
  955. function QuaternionSlerp(a, b, t)
  956. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  957. local startInterp, finishInterp
  958. if cosTheta >= 1.0E-4 then
  959. if 1 - cosTheta > 1.0E-4 then
  960. local theta = math.acos(cosTheta)
  961. local invSinTheta = 1 / Sin(theta)
  962. startInterp = Sin((1 - t) * theta) * invSinTheta
  963. finishInterp = Sin(t * theta) * invSinTheta
  964. else
  965. startInterp = 1 - t
  966. finishInterp = t
  967. end
  968. elseif 1 + cosTheta > 1.0E-4 then
  969. local theta = math.acos(-cosTheta)
  970. local invSinTheta = 1 / Sin(theta)
  971. startInterp = Sin((t - 1) * theta) * invSinTheta
  972. finishInterp = Sin(t * theta) * invSinTheta
  973. else
  974. startInterp = t - 1
  975. finishInterp = t
  976. end
  977. 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
  978. end
  979. function rayCast(Position, Direction, Range, Ignore)
  980. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  981. end
  982. local RbxUtility = LoadLibrary("RbxUtility")
  983. local Create = RbxUtility.Create
  984.  
  985. -------------------------------------------------------
  986. --Start Damage Function--
  987. -------------------------------------------------------
  988. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  989. if hit.Parent == nil then
  990. return
  991. end
  992. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  993. for _, v in pairs(hit.Parent:children()) do
  994. if v:IsA("Humanoid") then
  995. h = v
  996. end
  997. end
  998. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  999.  
  1000. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1001. end
  1002.  
  1003. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1004. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1005. if hit.Parent.DebounceHit.Value == true then
  1006. return
  1007. end
  1008. end
  1009. if insta == true then
  1010. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1011. end
  1012. local c = Create("ObjectValue"){
  1013. Name = "creator",
  1014. Value = game:service("Players").LocalPlayer,
  1015. Parent = h,
  1016. }
  1017. game:GetService("Debris"):AddItem(c, .5)
  1018. if HitSound ~= nil and HitPitch ~= nil then
  1019. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1020. end
  1021. local Damage = math.random(minim, maxim)
  1022. local blocked = false
  1023. local block = hit.Parent:findFirstChild("Block")
  1024. if block ~= nil then
  1025. if block.className == "IntValue" then
  1026. if block.Value > 0 then
  1027. blocked = true
  1028. block.Value = block.Value - 1
  1029. print(block.Value)
  1030. end
  1031. end
  1032. end
  1033. if blocked == false then
  1034. h.Health = h.Health - Damage
  1035. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1036. else
  1037. h.Health = h.Health - (Damage / 2)
  1038. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1039. end
  1040. if Type == "Knockdown" then
  1041. local hum = hit.Parent.Humanoid
  1042. hum.PlatformStand = true
  1043. coroutine.resume(coroutine.create(function(HHumanoid)
  1044. swait(1)
  1045. HHumanoid.PlatformStand = false
  1046. end), hum)
  1047. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1048. local bodvol = Create("BodyVelocity"){
  1049. velocity = angle * knockback,
  1050. P = 5000,
  1051. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1052. Parent = hit,
  1053. }
  1054. local rl = Create("BodyAngularVelocity"){
  1055. P = 3000,
  1056. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1057. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1058. Parent = hit,
  1059. }
  1060. game:GetService("Debris"):AddItem(bodvol, .5)
  1061. game:GetService("Debris"):AddItem(rl, .5)
  1062. elseif Type == "Normal" then
  1063. local vp = Create("BodyVelocity"){
  1064. P = 500,
  1065. maxForce = Vector3.new(math.huge, 0, math.huge),
  1066. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1067. }
  1068. if knockback > 0 then
  1069. vp.Parent = hit.Parent.Torso
  1070. end
  1071. game:GetService("Debris"):AddItem(vp, .5)
  1072. elseif Type == "Up" then
  1073. local bodyVelocity = Create("BodyVelocity"){
  1074. velocity = Vector3.new(0, 20, 0),
  1075. P = 5000,
  1076. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1077. Parent = hit,
  1078. }
  1079. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1080. elseif Type == "DarkUp" then
  1081. coroutine.resume(coroutine.create(function()
  1082. for i = 0, 1, 0.1 do
  1083. swait()
  1084. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1085. end
  1086. end))
  1087. local bodyVelocity = Create("BodyVelocity"){
  1088. velocity = Vector3.new(0, 20, 0),
  1089. P = 5000,
  1090. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1091. Parent = hit,
  1092. }
  1093. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1094. elseif Type == "Snare" then
  1095. local bp = Create("BodyPosition"){
  1096. P = 2000,
  1097. D = 100,
  1098. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1099. position = hit.Parent.Torso.Position,
  1100. Parent = hit.Parent.Torso,
  1101. }
  1102. game:GetService("Debris"):AddItem(bp, 1)
  1103. elseif Type == "Freeze" then
  1104. local BodPos = Create("BodyPosition"){
  1105. P = 50000,
  1106. D = 1000,
  1107. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1108. position = hit.Parent.Torso.Position,
  1109. Parent = hit.Parent.Torso,
  1110. }
  1111. local BodGy = Create("BodyGyro") {
  1112. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1113. P = 20e+003,
  1114. Parent = hit.Parent.Torso,
  1115. cframe = hit.Parent.Torso.CFrame,
  1116. }
  1117. hit.Parent.Torso.Anchored = true
  1118. coroutine.resume(coroutine.create(function(Part)
  1119. swait(1.5)
  1120. Part.Anchored = false
  1121. end), hit.Parent.Torso)
  1122. game:GetService("Debris"):AddItem(BodPos, 3)
  1123. game:GetService("Debris"):AddItem(BodGy, 3)
  1124. end
  1125. local debounce = Create("BoolValue"){
  1126. Name = "DebounceHit",
  1127. Parent = hit.Parent,
  1128. Value = true,
  1129. }
  1130. game:GetService("Debris"):AddItem(debounce, Delay)
  1131. c = Create("ObjectValue"){
  1132. Name = "creator",
  1133. Value = Player,
  1134. Parent = h,
  1135. }
  1136. game:GetService("Debris"):AddItem(c, .5)
  1137. end
  1138. end
  1139. -------------------------------------------------------
  1140. --End Damage Function--
  1141. -------------------------------------------------------
  1142.  
  1143. -------------------------------------------------------
  1144. --Start Damage Function Customization--
  1145. -------------------------------------------------------
  1146. function ShowDamage(Pos, Text, Time, Color)
  1147. local Rate = (1 / 30)
  1148. local Pos = (Pos or Vector3.new(0, 0, 0))
  1149. local Text = (Text or "")
  1150. local Time = (Time or 2)
  1151. local Color = (Color or Color3.new(1, 0, 1))
  1152. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1153. EffectPart.Anchored = true
  1154. local BillboardGui = Create("BillboardGui"){
  1155. Size = UDim2.new(3, 0, 3, 0),
  1156. Adornee = EffectPart,
  1157. Parent = EffectPart,
  1158. }
  1159. local TextLabel = Create("TextLabel"){
  1160. BackgroundTransparency = 1,
  1161. Size = UDim2.new(1, 0, 1, 0),
  1162. Text = Text,
  1163. Font = "Bodoni",
  1164. TextColor3 = Color,
  1165. TextScaled = true,
  1166. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1167. Parent = BillboardGui,
  1168. }
  1169. game.Debris:AddItem(EffectPart, (Time))
  1170. EffectPart.Parent = game:GetService("Workspace")
  1171. delay(0, function()
  1172. local Frames = (Time / Rate)
  1173. for Frame = 1, Frames do
  1174. wait(Rate)
  1175. local Percent = (Frame / Frames)
  1176. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1177. TextLabel.TextTransparency = Percent
  1178. end
  1179. if EffectPart and EffectPart.Parent then
  1180. EffectPart:Destroy()
  1181. end
  1182. end)
  1183. end
  1184. -------------------------------------------------------
  1185. --End Damage Function Customization--
  1186. -------------------------------------------------------
  1187.  
  1188. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1189. for _, c in pairs(workspace:children()) do
  1190. local hum = c:findFirstChild("Humanoid")
  1191. if hum ~= nil then
  1192. local head = c:findFirstChild("Head")
  1193. if head ~= nil then
  1194. local targ = head.Position - Part.Position
  1195. local mag = targ.magnitude
  1196. if magni >= mag and c.Name ~= plr.Name then
  1197. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1198. end
  1199. end
  1200. end
  1201. end
  1202. end
  1203.  
  1204.  
  1205. CFuncs = {
  1206. Part = {
  1207. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1208. local Part = Create("Part")({
  1209. Parent = Parent,
  1210. Reflectance = Reflectance,
  1211. Transparency = Transparency,
  1212. CanCollide = false,
  1213. Locked = true,
  1214. BrickColor = BrickColor.new(tostring(BColor)),
  1215. Name = Name,
  1216. Size = Size,
  1217. Material = Material
  1218. })
  1219. RemoveOutlines(Part)
  1220. return Part
  1221. end
  1222. },
  1223. Mesh = {
  1224. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1225. local Msh = Create(Mesh)({
  1226. Parent = Part,
  1227. Offset = OffSet,
  1228. Scale = Scale
  1229. })
  1230. if Mesh == "SpecialMesh" then
  1231. Msh.MeshType = MeshType
  1232. Msh.MeshId = MeshId
  1233. end
  1234. return Msh
  1235. end
  1236. },
  1237. Mesh = {
  1238. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1239. local Msh = Create(Mesh)({
  1240. Parent = Part,
  1241. Offset = OffSet,
  1242. Scale = Scale
  1243. })
  1244. if Mesh == "SpecialMesh" then
  1245. Msh.MeshType = MeshType
  1246. Msh.MeshId = MeshId
  1247. end
  1248. return Msh
  1249. end
  1250. },
  1251. Weld = {
  1252. Create = function(Parent, Part0, Part1, C0, C1)
  1253. local Weld = Create("Weld")({
  1254. Parent = Parent,
  1255. Part0 = Part0,
  1256. Part1 = Part1,
  1257. C0 = C0,
  1258. C1 = C1
  1259. })
  1260. return Weld
  1261. end
  1262. },
  1263. Sound = {
  1264. Create = function(id, par, vol, pit)
  1265. coroutine.resume(coroutine.create(function()
  1266. local S = Create("Sound")({
  1267. Volume = vol,
  1268. Pitch = pit or 1,
  1269. SoundId = id,
  1270. Parent = par or workspace
  1271. })
  1272. wait()
  1273. S:play()
  1274. game:GetService("Debris"):AddItem(S, 6)
  1275. end))
  1276. end
  1277. },
  1278. ParticleEmitter = {
  1279. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1280. local fp = Create("ParticleEmitter")({
  1281. Parent = Parent,
  1282. Color = ColorSequence.new(Color1, Color2),
  1283. LightEmission = LightEmission,
  1284. Size = Size,
  1285. Texture = Texture,
  1286. Transparency = Transparency,
  1287. ZOffset = ZOffset,
  1288. Acceleration = Accel,
  1289. Drag = Drag,
  1290. LockedToPart = LockedToPart,
  1291. VelocityInheritance = VelocityInheritance,
  1292. EmissionDirection = EmissionDirection,
  1293. Enabled = Enabled,
  1294. Lifetime = LifeTime,
  1295. Rate = Rate,
  1296. Rotation = Rotation,
  1297. RotSpeed = RotSpeed,
  1298. Speed = Speed,
  1299. VelocitySpread = VelocitySpread
  1300. })
  1301. return fp
  1302. end
  1303. }
  1304. }
  1305. function RemoveOutlines(part)
  1306. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1307. end
  1308. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1309. local Part = Create("Part")({
  1310. formFactor = FormFactor,
  1311. Parent = Parent,
  1312. Reflectance = Reflectance,
  1313. Transparency = Transparency,
  1314. CanCollide = false,
  1315. Locked = true,
  1316. BrickColor = BrickColor.new(tostring(BColor)),
  1317. Name = Name,
  1318. Size = Size,
  1319. Material = Material
  1320. })
  1321. RemoveOutlines(Part)
  1322. return Part
  1323. end
  1324. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1325. local Msh = Create(Mesh)({
  1326. Parent = Part,
  1327. Offset = OffSet,
  1328. Scale = Scale
  1329. })
  1330. if Mesh == "SpecialMesh" then
  1331. Msh.MeshType = MeshType
  1332. Msh.MeshId = MeshId
  1333. end
  1334. return Msh
  1335. end
  1336. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1337. local Weld = Create("Weld")({
  1338. Parent = Parent,
  1339. Part0 = Part0,
  1340. Part1 = Part1,
  1341. C0 = C0,
  1342. C1 = C1
  1343. })
  1344. return Weld
  1345. end
  1346.  
  1347.  
  1348. -------------------------------------------------------
  1349. --Start Effect Function--
  1350. -------------------------------------------------------
  1351. EffectModel = Instance.new("Model", char)
  1352. Effects = {
  1353. Block = {
  1354. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1355. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1356. prt.Anchored = true
  1357. prt.CFrame = cframe
  1358. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1359. game:GetService("Debris"):AddItem(prt, 10)
  1360. if Type == 1 or Type == nil then
  1361. table.insert(Effects, {
  1362. prt,
  1363. "Block1",
  1364. delay,
  1365. x3,
  1366. y3,
  1367. z3,
  1368. msh
  1369. })
  1370. elseif Type == 2 then
  1371. table.insert(Effects, {
  1372. prt,
  1373. "Block2",
  1374. delay,
  1375. x3,
  1376. y3,
  1377. z3,
  1378. msh
  1379. })
  1380. else
  1381. table.insert(Effects, {
  1382. prt,
  1383. "Block3",
  1384. delay,
  1385. x3,
  1386. y3,
  1387. z3,
  1388. msh
  1389. })
  1390. end
  1391. end
  1392. },
  1393. Sphere = {
  1394. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1395. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1396. prt.Anchored = true
  1397. prt.CFrame = cframe
  1398. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1399. game:GetService("Debris"):AddItem(prt, 10)
  1400. table.insert(Effects, {
  1401. prt,
  1402. "Cylinder",
  1403. delay,
  1404. x3,
  1405. y3,
  1406. z3,
  1407. msh
  1408. })
  1409. end
  1410. },
  1411. Cylinder = {
  1412. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1413. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1414. prt.Anchored = true
  1415. prt.CFrame = cframe
  1416. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1417. game:GetService("Debris"):AddItem(prt, 10)
  1418. table.insert(Effects, {
  1419. prt,
  1420. "Cylinder",
  1421. delay,
  1422. x3,
  1423. y3,
  1424. z3,
  1425. msh
  1426. })
  1427. end
  1428. },
  1429. Wave = {
  1430. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1431. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1432. prt.Anchored = true
  1433. prt.CFrame = cframe
  1434. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1435. game:GetService("Debris"):AddItem(prt, 10)
  1436. table.insert(Effects, {
  1437. prt,
  1438. "Cylinder",
  1439. delay,
  1440. x3 / 60,
  1441. y3 / 60,
  1442. z3 / 60,
  1443. msh
  1444. })
  1445. end
  1446. },
  1447. Ring = {
  1448. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1449. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1450. prt.Anchored = true
  1451. prt.CFrame = cframe
  1452. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1453. game:GetService("Debris"):AddItem(prt, 10)
  1454. table.insert(Effects, {
  1455. prt,
  1456. "Cylinder",
  1457. delay,
  1458. x3,
  1459. y3,
  1460. z3,
  1461. msh
  1462. })
  1463. end
  1464. },
  1465. Break = {
  1466. Create = function(brickcolor, cframe, x1, y1, z1)
  1467. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1468. prt.Anchored = true
  1469. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1470. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1471. local num = math.random(10, 50) / 1000
  1472. game:GetService("Debris"):AddItem(prt, 10)
  1473. table.insert(Effects, {
  1474. prt,
  1475. "Shatter",
  1476. num,
  1477. prt.CFrame,
  1478. math.random() - math.random(),
  1479. 0,
  1480. math.random(50, 100) / 100
  1481. })
  1482. end
  1483. },
  1484. Spiral = {
  1485. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1486. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1487. prt.Anchored = true
  1488. prt.CFrame = cframe
  1489. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1490. game:GetService("Debris"):AddItem(prt, 10)
  1491. table.insert(Effects, {
  1492. prt,
  1493. "Cylinder",
  1494. delay,
  1495. x3,
  1496. y3,
  1497. z3,
  1498. msh
  1499. })
  1500. end
  1501. },
  1502. Push = {
  1503. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1504. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1505. prt.Anchored = true
  1506. prt.CFrame = cframe
  1507. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1508. game:GetService("Debris"):AddItem(prt, 10)
  1509. table.insert(Effects, {
  1510. prt,
  1511. "Cylinder",
  1512. delay,
  1513. x3,
  1514. y3,
  1515. z3,
  1516. msh
  1517. })
  1518. end
  1519. }
  1520. }
  1521. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1522. local fp = IT("Part")
  1523. fp.formFactor = formfactor
  1524. fp.Parent = parent
  1525. fp.Reflectance = reflectance
  1526. fp.Transparency = transparency
  1527. fp.CanCollide = false
  1528. fp.Locked = true
  1529. fp.BrickColor = brickcolor
  1530. fp.Name = name
  1531. fp.Size = size
  1532. fp.Position = tors.Position
  1533. RemoveOutlines(fp)
  1534. fp.Material = "SmoothPlastic"
  1535. fp:BreakJoints()
  1536. return fp
  1537. end
  1538.  
  1539. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1540. local mesh = IT(Mesh)
  1541. mesh.Parent = part
  1542. if Mesh == "SpecialMesh" then
  1543. mesh.MeshType = meshtype
  1544. if meshid ~= "nil" then
  1545. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1546. end
  1547. end
  1548. mesh.Offset = offset
  1549. mesh.Scale = scale
  1550. return mesh
  1551. end
  1552.  
  1553. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1554. local type = type
  1555. local rng = Instance.new("Part", char)
  1556. rng.Anchored = true
  1557. rng.BrickColor = color
  1558. rng.CanCollide = false
  1559. rng.FormFactor = 3
  1560. rng.Name = "Ring"
  1561. rng.Material = "Neon"
  1562. rng.Size = Vector3.new(1, 1, 1)
  1563. rng.Transparency = 0
  1564. rng.TopSurface = 0
  1565. rng.BottomSurface = 0
  1566. rng.CFrame = pos
  1567. local rngm = Instance.new("SpecialMesh", rng)
  1568. rngm.MeshType = MType
  1569. rngm.Scale = scale
  1570. local scaler2 = 1
  1571. if type == "Add" then
  1572. scaler2 = 1 * value
  1573. elseif type == "Divide" then
  1574. scaler2 = 1 / value
  1575. end
  1576. coroutine.resume(coroutine.create(function()
  1577. for i = 0, 10 / bonuspeed, 0.1 do
  1578. swait()
  1579. if type == "Add" then
  1580. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1581. elseif type == "Divide" then
  1582. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1583. end
  1584. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1585. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1586. end
  1587. rng:Destroy()
  1588. end))
  1589. end
  1590.  
  1591. function Eviscerate(dude)
  1592. if dude.Name ~= char then
  1593. local bgf = IT("BodyGyro", dude.Head)
  1594. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1595. local val = IT("BoolValue", dude)
  1596. val.Name = "IsHit"
  1597. local ds = coroutine.wrap(function()
  1598. dude:WaitForChild("Head"):BreakJoints()
  1599. wait(0.5)
  1600. target = nil
  1601. coroutine.resume(coroutine.create(function()
  1602. for i, v in pairs(dude:GetChildren()) do
  1603. if v:IsA("Accessory") then
  1604. v:Destroy()
  1605. end
  1606. if v:IsA("Humanoid") then
  1607. v:Destroy()
  1608. end
  1609. if v:IsA("CharacterMesh") then
  1610. v:Destroy()
  1611. end
  1612. if v:IsA("Model") then
  1613. v:Destroy()
  1614. end
  1615. if v:IsA("Part") or v:IsA("MeshPart") then
  1616. for x, o in pairs(v:GetChildren()) do
  1617. if o:IsA("Decal") then
  1618. o:Destroy()
  1619. end
  1620. end
  1621. coroutine.resume(coroutine.create(function()
  1622. v.Material = "Neon"
  1623. v.CanCollide = false
  1624. local PartEmmit1 = IT("ParticleEmitter", v)
  1625. PartEmmit1.LightEmission = 1
  1626. PartEmmit1.Texture = "rbxassetid://284205403"
  1627. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1628. PartEmmit1.Rate = 150
  1629. PartEmmit1.Lifetime = NumberRange.new(1)
  1630. PartEmmit1.Size = NumberSequence.new({
  1631. NumberSequenceKeypoint.new(0, 0.75, 0),
  1632. NumberSequenceKeypoint.new(1, 0, 0)
  1633. })
  1634. PartEmmit1.Transparency = NumberSequence.new({
  1635. NumberSequenceKeypoint.new(0, 0, 0),
  1636. NumberSequenceKeypoint.new(1, 1, 0)
  1637. })
  1638. PartEmmit1.Speed = NumberRange.new(0, 0)
  1639. PartEmmit1.VelocitySpread = 30000
  1640. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1641. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1642. local BodPoss = IT("BodyPosition", v)
  1643. BodPoss.P = 3000
  1644. BodPoss.D = 1000
  1645. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1646. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1647. v.Color = maincolor.Color
  1648. coroutine.resume(coroutine.create(function()
  1649. for i = 0, 49 do
  1650. swait(1)
  1651. v.Transparency = v.Transparency + 0.08
  1652. end
  1653. wait(0.5)
  1654. PartEmmit1.Enabled = false
  1655. wait(3)
  1656. v:Destroy()
  1657. dude:Destroy()
  1658. end))
  1659. end))
  1660. end
  1661. end
  1662. end))
  1663. end)
  1664. ds()
  1665. end
  1666. end
  1667.  
  1668. function FindNearestHead(Position, Distance, SinglePlayer)
  1669. if SinglePlayer then
  1670. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1671. end
  1672. local List = {}
  1673. for i, v in pairs(workspace:GetChildren()) do
  1674. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1675. table.insert(List, v)
  1676. end
  1677. end
  1678. return List
  1679. end
  1680.  
  1681. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1682. local type = type
  1683. local rng = Instance.new("Part", char)
  1684. rng.Anchored = true
  1685. rng.BrickColor = color
  1686. rng.CanCollide = false
  1687. rng.FormFactor = 3
  1688. rng.Name = "Ring"
  1689. rng.Material = "Neon"
  1690. rng.Size = Vector3.new(1, 1, 1)
  1691. rng.Transparency = 0
  1692. rng.TopSurface = 0
  1693. rng.BottomSurface = 0
  1694. rng.CFrame = pos
  1695. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1696. local rngm = Instance.new("SpecialMesh", rng)
  1697. rngm.MeshType = MType
  1698. rngm.Scale = Vector3.new(x1, y1, z1)
  1699. local scaler2 = 1
  1700. local speeder = FastSpeed
  1701. if type == "Add" then
  1702. scaler2 = 1 * value
  1703. elseif type == "Divide" then
  1704. scaler2 = 1 / value
  1705. end
  1706. coroutine.resume(coroutine.create(function()
  1707. for i = 0, 10 / bonuspeed, 0.1 do
  1708. swait()
  1709. if type == "Add" then
  1710. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1711. elseif type == "Divide" then
  1712. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1713. end
  1714. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1715. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1716. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1717. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1718. end
  1719. rng:Destroy()
  1720. end))
  1721. end
  1722.  
  1723. function SoulSteal(dude)
  1724. if dude.Name ~= char then
  1725. local bgf = IT("BodyGyro", dude.Head)
  1726. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1727. local val = IT("BoolValue", dude)
  1728. val.Name = "IsHit"
  1729. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1730. local soulst = coroutine.wrap(function()
  1731. local soul = Instance.new("Part",dude)
  1732. soul.Size = Vector3.new(1,1,1)
  1733. soul.CanCollide = false
  1734. soul.Anchored = false
  1735. soul.Position = torso.Position
  1736. soul.Transparency = 1
  1737. local PartEmmit1 = IT("ParticleEmitter", soul)
  1738. PartEmmit1.LightEmission = 1
  1739. PartEmmit1.Texture = "rbxassetid://569507414"
  1740. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1741. PartEmmit1.Rate = 250
  1742. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1743. PartEmmit1.Size = NumberSequence.new({
  1744. NumberSequenceKeypoint.new(0, 1, 0),
  1745. NumberSequenceKeypoint.new(1, 0, 0)
  1746. })
  1747. PartEmmit1.Transparency = NumberSequence.new({
  1748. NumberSequenceKeypoint.new(0, 0, 0),
  1749. NumberSequenceKeypoint.new(1, 1, 0)
  1750. })
  1751. PartEmmit1.Speed = NumberRange.new(0, 0)
  1752. PartEmmit1.VelocitySpread = 30000
  1753. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1754. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1755. local BodPoss = IT("BodyPosition", soul)
  1756. BodPoss.P = 3000
  1757. BodPoss.D = 1000
  1758. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1759. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1760. wait(1.6)
  1761. soul.Touched:connect(function(hit)
  1762. if hit.Parent == char then
  1763. soul:Destroy()
  1764. end
  1765. end)
  1766. wait(1.2)
  1767. while soul do
  1768. swait()
  1769. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1770. BodPoss.Position = tors.Position
  1771. end
  1772. end)
  1773. soulst()
  1774. end
  1775. end
  1776. function FaceMouse()
  1777. local Cam = workspace.CurrentCamera
  1778. return {
  1779. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1780. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1781. }
  1782. end
  1783. -------------------------------------------------------
  1784. --End Effect Function--
  1785. -------------------------------------------------------
  1786. function Cso(ID, PARENT, VOLUME, PITCH)
  1787. local NSound = nil
  1788. coroutine.resume(coroutine.create(function()
  1789. NSound = IT("Sound", PARENT)
  1790. NSound.Volume = VOLUME
  1791. NSound.Pitch = PITCH
  1792. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1793. swait()
  1794. NSound:play()
  1795. game:GetService("Debris"):AddItem(NSound, 10)
  1796. end))
  1797. return NSound
  1798. end
  1799. function CameraEnshaking(Length, Intensity)
  1800. coroutine.resume(coroutine.create(function()
  1801. local intensity = 1 * Intensity
  1802. local rotM = 0.01 * Intensity
  1803. for i = 0, Length, 0.1 do
  1804. swait()
  1805. intensity = intensity - 0.05 * Intensity / Length
  1806. rotM = rotM - 5.0E-4 * Intensity / Length
  1807. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1808. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  1809. end
  1810. hum.CameraOffset = Vector3.new(0, 0, 0)
  1811. end))
  1812. end
  1813. function chatfunc(text, color)
  1814. local chat = coroutine.wrap(function()
  1815. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1816. char:FindFirstChild("TalkingBillBoard"):destroy()
  1817. end
  1818. local naeeym2 = Instance.new("BillboardGui", char)
  1819. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1820. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1821. naeeym2.Adornee = hed
  1822. naeeym2.Name = "TalkingBillBoard"
  1823. local tecks2 = Instance.new("TextLabel", naeeym2)
  1824. tecks2.BackgroundTransparency = 1
  1825. tecks2.BorderSizePixel = 0
  1826. tecks2.Text = ""
  1827. tecks2.Font = "SciFi"
  1828. tecks2.TextSize = 30
  1829. tecks2.TextStrokeTransparency = 0
  1830. tecks2.TextColor3 = color
  1831. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1832. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1833. coroutine.resume(coroutine.create(function()
  1834. while true do
  1835. swait(1)
  1836. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1837. tecks2.Rotation = math.random(-5, 5)
  1838. end
  1839. end))
  1840. for i = 1, string.len(text) do
  1841. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1842. tecks2.Text = string.sub(text, 1, i)
  1843. swait(1)
  1844. end
  1845. wait(1)
  1846. naeeym2:Destroy()
  1847. end)
  1848. chat()
  1849. end
  1850. -------------------------------------------------------
  1851. --End Important Functions--
  1852. -------------------------------------------------------
  1853.  
  1854.  
  1855. -------------------------------------------------------
  1856. --Start Customization--
  1857. -------------------------------------------------------
  1858. local Player_Size = 1
  1859. if Player_Size ~= 1 then
  1860. root.Size = root.Size * Player_Size
  1861. tors.Size = tors.Size * Player_Size
  1862. hed.Size = hed.Size * Player_Size
  1863. ra.Size = ra.Size * Player_Size
  1864. la.Size = la.Size * Player_Size
  1865. rl.Size = rl.Size * Player_Size
  1866. ll.Size = ll.Size * Player_Size
  1867. ----------------------------------------------------------------------------------
  1868. rootj.Parent = root
  1869. neck.Parent = tors
  1870. RW.Parent = tors
  1871. LW.Parent = tors
  1872. RH.Parent = tors
  1873. LH.Parent = tors
  1874. ----------------------------------------------------------------------------------
  1875. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1876. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1877. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1878. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1879. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1880. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1881. ----------------------------------------------------------------------------------
  1882. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1883. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1884. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1885. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  1886. --hat.Parent = Character
  1887. end
  1888. ----------------------------------------------------------------------------------
  1889. local SONG = 703597239
  1890. local SONG2 = 853707984
  1891. local Music = Instance.new("Sound",tors)
  1892. Music.Volume = 2.5
  1893. Music.Looped = true
  1894. Music.Pitch = 1 --Pitcher
  1895. ----------------------------------------------------------------------------------
  1896. local equipped = false
  1897. local idle = 0
  1898. local change = 1
  1899. local val = 0
  1900. local toim = 0
  1901. local idleanim = 0.4
  1902. local sine = 0
  1903. local Sit = 1
  1904. ----------------------------------------------------------------------------------
  1905. hum.WalkSpeed = 16
  1906. hum.JumpPower = 57
  1907. hum.Animator.Parent = nil
  1908. ----------------------------------------------------------------------------------
  1909. local Blobby = Instance.new("Part", char)
  1910. Blobby.Name = "Blob"
  1911. Blobby.CanCollide = false
  1912. Blobby.BrickColor = BrickColor.new("Really black")
  1913. Blobby.Transparency = 0
  1914. Blobby.Material = "Plastic"
  1915. Blobby.Size = Vector3.new(1, 1, 2)
  1916. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1917. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1918.  
  1919. local Weld = Instance.new("Weld", Blobby)
  1920. Weld.Part0 = ra
  1921. Weld.Part1 = Blobby
  1922. Weld.C1 = CFrame.new(0, -2, 1.1)
  1923. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1924.  
  1925. local M2 = Instance.new("SpecialMesh")
  1926. M2.Parent = Blobby
  1927. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1928. M2.TextureId = "http://www.roblox.com/asset/?id=10605252"
  1929. M2.Scale = Vector3.new(1, 1, 1)
  1930.  
  1931. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1932. naeeym2.AlwaysOnTop = true
  1933. naeeym2.Size = UDim2.new(5,35,2,15)
  1934. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1935. naeeym2.Adornee = hed
  1936. naeeym2.Name = "Name"
  1937. --naeeym2.PlayerToHideFrom = Player
  1938. local tecks2 = Instance.new("TextLabel",naeeym2)
  1939. tecks2.BackgroundTransparency = 1
  1940. tecks2.TextScaled = true
  1941. tecks2.BorderSizePixel = 0
  1942. tecks2.Text = "Fight Me"
  1943. tecks2.Font = Enum.Font.Bodoni
  1944. tecks2.TextSize = 30
  1945. tecks2.TextStrokeTransparency = 0
  1946. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1947. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1948. tecks2.Size = UDim2.new(1,0,0.5,0)
  1949. tecks2.Parent = naeeym2]]
  1950. -------------------------------------------------------
  1951. --End Customization--
  1952. -------------------------------------------------------
  1953.  
  1954.  
  1955. -------------------------------------------------------
  1956. --Start Attacks N Stuff--
  1957. -------------------------------------------------------
  1958. function Ban()
  1959. attack = true
  1960. for i = 0, 2.6, 0.1 do
  1961. swait()
  1962. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  1963. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  1964. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.2)
  1965. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(20)), 0.2)
  1966. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1967. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.2)
  1968. end
  1969. Cso("147722910", tors, 10, 1)
  1970. CameraEnshaking(2, 15)
  1971. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1972. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1973. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  1974. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1975. if v:FindFirstChild("Head") then
  1976. Eviscerate(v)
  1977. end
  1978. end
  1979. for i = 0, 3, 0.1 do
  1980. swait()
  1981. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  1982. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  1983. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  1984. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  1985. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  1986. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  1987. end
  1988. attack = false
  1989. end
  1990. function BigBan()
  1991. attack = true
  1992. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1993. for i = 0, 3.6, 0.1 do
  1994. swait()
  1995. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  1996. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  1997. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  1998. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  1999. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  2000. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  2001. end
  2002. Cso("147722910", tors, 10, 1)
  2003. CameraEnshaking(2, 15)
  2004. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2005. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2006. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2007. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  2008. if v:FindFirstChild("Head") then
  2009. Eviscerate(v)
  2010. end
  2011. end
  2012. for i = 0, 2.6, 0.1 do
  2013. swait()
  2014. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  2015. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2016. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2017. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2018. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2019. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2020. end
  2021. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  2022. attack = false
  2023. end
  2024. function BANN()
  2025. attack = true
  2026. M2.Scale = Vector3.new(2, 2, 2)
  2027. for i = 0, 4.6, 0.1 do
  2028. swait()
  2029. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  2030. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  2031. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2032. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2033. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  2034. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  2035. end
  2036. Cso("147722910", char, 10, 1)
  2037. CameraEnshaking(2, 35)
  2038. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2039. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2040. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2041. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2042. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2043. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2044. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2045. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  2046. if v:FindFirstChild("Head") then
  2047. Eviscerate(v)
  2048. end
  2049. end
  2050. for i = 0, 3, 0.1 do
  2051. swait()
  2052. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2053. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  2054. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  2055. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  2056. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  2057. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  2058. end
  2059. M2.Scale = Vector3.new(1, 1, 1)
  2060. attack = false
  2061. end
  2062. -------------------------------------------------------
  2063. --End Attacks N Stuff--
  2064. -------------------------------------------------------
  2065. mouse.KeyDown:connect(function(key)
  2066. if string.byte(key) == 48 then
  2067. Swing = 2
  2068. hum.WalkSpeed = 38.82
  2069. end
  2070. end)
  2071. mouse.KeyUp:connect(function(key)
  2072. if string.byte(key) == 48 then
  2073. Swing = 1
  2074. hum.WalkSpeed = 16
  2075. end
  2076. end)
  2077. mouse.KeyDown:connect(function(key)
  2078. if attack == false then
  2079. if key == 'e' then
  2080. BigBan()
  2081. elseif key == 'r' then
  2082. BANN()
  2083. elseif key == 't' then
  2084. Cso("1450018171", hed, 10, 1)
  2085. end
  2086. end
  2087. end)
  2088. mouse.Button1Down:connect(function(key)
  2089. if attack == false then
  2090. Ban()
  2091. end
  2092. end)
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100. -------------------------------------------------------
  2101. --Start Animations--
  2102. -------------------------------------------------------
  2103. while true do
  2104. swait()
  2105. sine = sine + change
  2106. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2107. local velderp = root.Velocity.y
  2108. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2109. if equipped == true or equipped == false then
  2110. if attack == false then
  2111. idle = idle + 1
  2112. else
  2113. idle = 0
  2114. end
  2115. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  2116. if 1 < root.Velocity.y and hitfloor == nil then
  2117. Anim = "Jump"
  2118. if attack == false then
  2119. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  2120. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2121. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2122. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  2123. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  2124. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  2125. end
  2126. elseif -1 > root.Velocity.y and hitfloor == nil then
  2127. Anim = "Fall"
  2128. if attack == false then
  2129. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  2130. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2131. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2132. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  2133. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  2134. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  2135. end
  2136. elseif torvel < 1 and hitfloor ~= nil then
  2137. Anim = "Idle"
  2138. change = 1
  2139. if attack == false then
  2140. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2141. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2142. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2143. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.15)
  2144. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  2145. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.1)
  2146. end
  2147. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2148. Anim = "Walk"
  2149. change = 1
  2150. if attack == false then
  2151. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  2152. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2153. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2154. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2155. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  2156. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  2157. end
  2158. elseif torvel >= 25 and hitfloor ~= nil then
  2159. Anim = "Sprint"
  2160. change = 1.35
  2161. if attack == false then
  2162. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2163. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2164. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2165. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2166. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2167. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2168. end
  2169. end
  2170. end
  2171. Music.SoundId = "rbxassetid://"..SONG
  2172. Music.Looped = true
  2173. Music.Pitch = 1
  2174. Music.Volume = 1.5
  2175. Music.Parent = tors
  2176. Music:Resume()
  2177. if 0 < #Effects then
  2178. for e = 1, #Effects do
  2179. if Effects[e] ~= nil then
  2180. local Thing = Effects[e]
  2181. if Thing ~= nil then
  2182. local Part = Thing[1]
  2183. local Mode = Thing[2]
  2184. local Delay = Thing[3]
  2185. local IncX = Thing[4]
  2186. local IncY = Thing[5]
  2187. local IncZ = Thing[6]
  2188. if 1 >= Thing[1].Transparency then
  2189. if Thing[2] == "Block1" then
  2190. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2191. local Mesh = Thing[1].Mesh
  2192. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2193. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2194. elseif Thing[2] == "Block2" then
  2195. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2196. local Mesh = Thing[7]
  2197. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2198. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2199. elseif Thing[2] == "Block3" then
  2200. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2201. local Mesh = Thing[7]
  2202. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2203. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2204. elseif Thing[2] == "Cylinder" then
  2205. local Mesh = Thing[1].Mesh
  2206. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2207. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2208. elseif Thing[2] == "Blood" then
  2209. local Mesh = Thing[7]
  2210. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2211. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2212. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2213. elseif Thing[2] == "Elec" then
  2214. local Mesh = Thing[1].Mesh
  2215. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2216. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2217. elseif Thing[2] == "Disappear" then
  2218. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2219. elseif Thing[2] == "Shatter" then
  2220. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2221. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2222. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2223. Thing[6] = Thing[6] + Thing[5]
  2224. end
  2225. else
  2226. Part.Parent = nil
  2227. table.remove(Effects, e)
  2228. end
  2229. end
  2230. end
  2231. end
  2232. end
  2233. end
  2234. -------------------------------------------------------
  2235. --End Animations And Script--
  2236. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement