Advertisement
MrSlakyx

virus

Oct 22nd, 2018
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 176.38 KB | None | 0 0
  1. Player = game.Players.MrSlakyx
  2. Character = Player.Character
  3. local txt = Instance.new("BillboardGui", Character)
  4. txt.Adornee = Character.Head
  5. txt.Name = "_status"
  6. txt.Size = UDim2.new(2, 0, 1.2, 0)
  7. txt.StudsOffset = Vector3.new(-9, 8, 0)
  8. local text = Instance.new("TextLabel", txt)
  9. text.Size = UDim2.new(10, 0, 7, 0)
  10. text.FontSize = "Size24"
  11. text.TextScaled = true
  12. text.TextTransparency = 0
  13. text.BackgroundTransparency = 1
  14. text.TextTransparency = 0
  15. text.TextStrokeTransparency = 0
  16. text.Font = "Antique"
  17. text.TextStrokeColor3 = Color3.new(0,1,0)
  18. text.Text = "Virus"
  19. print("Edit by hero215sugar/Nameclan")
  20. print("Virus V3 Loaded")
  21. print("LPS Hung Channel/NameClan Channel")
  22. print("Magmus#5338/☾NameClan☽#7243")
  23. print("Enjoy :D")
  24. --//====================================================\\--
  25. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  26. --\\====================================================//--
  27.  
  28. script:ClearAllChildren()
  29. wait(0.2)
  30.  
  31. Player = game:GetService("Players").MrSlakyx
  32. PlayerGui = Player.PlayerGui
  33. Cam = workspace.CurrentCamera
  34. Backpack = Player.Backpack
  35. Character = Player.Character
  36. Humanoid = Character.Humanoid
  37. RootPart = Character["HumanoidRootPart"]
  38. Torso = Character["Torso"]
  39. Head = Character["Head"]
  40. RightArm = Character["Right Arm"]
  41. LeftArm = Character["Left Arm"]
  42. RightLeg = Character["Right Leg"]
  43. LeftLeg = Character["Left Leg"]
  44. RootJoint = RootPart["RootJoint"]
  45. Neck = Torso["Neck"]
  46. RightShoulder = Torso["Right Shoulder"]
  47. LeftShoulder = Torso["Left Shoulder"]
  48. RightHip = Torso["Right Hip"]
  49. LeftHip = Torso["Left Hip"]
  50. local TIME = 0
  51. local sick = Instance.new("Sound",Torso)
  52.  
  53. IT = Instance.new
  54. CF = CFrame.new
  55. VT = Vector3.new
  56. RAD = math.rad
  57. C3 = Color3.new
  58. UD2 = UDim2.new
  59. BRICKC = BrickColor.new
  60. ANGLES = CFrame.Angles
  61. EULER = CFrame.fromEulerAnglesXYZ
  62. COS = math.cos
  63. ACOS = math.acos
  64. SIN = math.sin
  65. ASIN = math.asin
  66. ABS = math.abs
  67. MRANDOM = math.random
  68. FLOOR = math.floor
  69.  
  70. --//=================================\\
  71. --|| USEFUL VALUES
  72. --\\=================================//
  73.  
  74. Animation_Speed = 3
  75. local FORCERESET = false
  76. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  77. local SIZE = 1
  78. local Speed = 16
  79. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  80. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  81. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  82. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  83. local DAMAGEMULTIPLIER = 1
  84. local ANIM = "Idle"
  85. local ATTACK = false
  86. local EQUIPPED = false
  87. local HOLD = false
  88. local COMBO = 1
  89. local Rooted = false
  90. local SINE = 0
  91. local KEYHOLD = false
  92. local CHANGE = 2 / Animation_Speed
  93. local WALKINGANIM = false
  94. local VALUE1 = false
  95. local VALUE2 = false
  96. local ROBLOXIDLEANIMATION = IT("Animation")
  97. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  98. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  99. --ROBLOXIDLEANIMATION.Parent = Humanoid
  100. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  101. WEAPONGUI.Name = "BanishV3Gui"
  102. local Weapon = IT("Model")
  103. Weapon.Name = "Adds"
  104. local Effects = IT("Folder", Weapon)
  105. Effects.Name = "Effects"
  106. local ANIMATOR = Humanoid.Animator
  107. local ANIMATE = Character:FindFirstChild("Animate")
  108. local UNANCHOR = true
  109. local LEFTWINGS = {}
  110. local RIGHTWINGS = {}
  111. local BODY = {}
  112. local TOBANISH = {}
  113. script.Parent = PlayerGui
  114.  
  115. --//=================================\\
  116. --\\=================================//
  117.  
  118.  
  119. --//=================================\\
  120. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  121. --\\=================================//
  122.  
  123. ArtificialHB = Instance.new("BindableEvent", script)
  124. ArtificialHB.Name = "ArtificialHB"
  125.  
  126. script:WaitForChild("ArtificialHB")
  127.  
  128. frame = Frame_Speed
  129. tf = 0
  130. allowframeloss = false
  131. tossremainder = false
  132. lastframe = tick()
  133. script.ArtificialHB:Fire()
  134.  
  135. game:GetService("RunService").Heartbeat:connect(function(s, p)
  136. tf = tf + s
  137. if tf >= frame then
  138. if allowframeloss then
  139. script.ArtificialHB:Fire()
  140. lastframe = tick()
  141. else
  142. for i = 1, math.floor(tf / frame) do
  143. script.ArtificialHB:Fire()
  144. end
  145. lastframe = tick()
  146. end
  147. if tossremainder then
  148. tf = 0
  149. else
  150. tf = tf - frame * math.floor(tf / frame)
  151. end
  152. end
  153. end)
  154.  
  155. --//=================================\\
  156. --\\=================================//
  157.  
  158. --//=================================\\
  159. --|| CUSTOMIZATION
  160. --\\=================================//
  161.  
  162. local function weldBetween(a, b)
  163. local weldd = Instance.new("ManualWeld")
  164. weldd.Part0 = a
  165. weldd.Part1 = b
  166. weldd.C0 = CFrame.new()
  167. weldd.C1 = b.CFrame:inverse() * a.CFrame
  168. weldd.Parent = a
  169. return weldd
  170. end
  171.  
  172. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  173. local acs = Instance.new("Part")
  174. acs.CanCollide = false
  175. acs.Anchored = false
  176. acs.Size = Vector3.new(0,0,0)
  177. acs.CFrame = attachmentpart.CFrame
  178. acs.Parent = Character
  179. acs.BrickColor = color
  180. local meshs = Instance.new("SpecialMesh")
  181. meshs.MeshId = mesh
  182. meshs.TextureId = texture
  183. meshs.Parent = acs
  184. meshs.Scale = scale
  185. meshs.Offset = offset
  186. weldBetween(attachmentpart,acs)
  187. end
  188.  
  189. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  190. if TYPE == "Gem" then
  191. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  192. acs.Anchored = false
  193. acs.CanCollide = false
  194. acs.CFrame = PART.CFrame
  195. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  196. weldBetween(PART,acs)
  197. elseif TYPE == "Skull" then
  198. local acs = CreatePart(3, PART, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  199. acs.Anchored = false
  200. acs.CanCollide = false
  201. acs.CFrame = PART.CFrame
  202. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  203. weldBetween(PART,acs)
  204. elseif TYPE == "Eye" then
  205. local acs = CreatePart(3, PART, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  206. acs.Anchored = false
  207. acs.CanCollide = false
  208. acs.CFrame = PART.CFrame
  209. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  210. weldBetween(PART,acs)
  211. end
  212. end
  213.  
  214.  
  215. Class_Name = "Sin Unleashed"
  216. Weapon_Name = "Add-ons"
  217.  
  218. Custom_Colors = {
  219. Custom_Color_1 = BRICKC("Institutional white"); --1st color for the weapon.
  220. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  221.  
  222. Custom_Color_3 = BRICKC("Institutional white"); --Color for the abilities.
  223. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  224. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  225. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  226. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  227.  
  228. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  229. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  230. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  231. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  232. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  233. }
  234.  
  235.  
  236. Player_Size = 1 --Size of the player.
  237. Animation_Speed = 2
  238. Animation_Speed2 = 1
  239. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  240.  
  241. local Speed = 28
  242. Humanoid.JumpPower = 80
  243. local Effects2 = {}
  244.  
  245. --//=================================\\
  246. --|| END OF CUSTOMIZATION
  247. --\\=================================//
  248.  
  249. --//=================================\\
  250. --|| SOME FUNCTIONS
  251. --\\=================================//
  252.  
  253. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  254. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  255. end
  256.  
  257. function PositiveAngle(NUMBER)
  258. if NUMBER >= 0 then
  259. NUMBER = 0
  260. end
  261. return NUMBER
  262. end
  263.  
  264. function NegativeAngle(NUMBER)
  265. if NUMBER <= 0 then
  266. NUMBER = 0
  267. end
  268. return NUMBER
  269. end
  270.  
  271. function Swait(NUMBER)
  272. if NUMBER == 0 or NUMBER == nil then
  273. ArtificialHB.Event:wait()
  274. else
  275. for i = 1, NUMBER do
  276. ArtificialHB.Event:wait()
  277. end
  278. end
  279. end
  280.  
  281. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  282. local NEWMESH = IT(MESH)
  283. if MESH == "SpecialMesh" then
  284. NEWMESH.MeshType = MESHTYPE
  285. if MESHID ~= "nil" and MESHID ~= "" then
  286. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  287. end
  288. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  289. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  290. end
  291. end
  292. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  293. NEWMESH.Scale = SCALE
  294. NEWMESH.Parent = PARENT
  295. return NEWMESH
  296. end
  297.  
  298. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  299. local NEWPART = IT("Part")
  300. NEWPART.formFactor = FORMFACTOR
  301. NEWPART.Reflectance = REFLECTANCE
  302. NEWPART.Transparency = TRANSPARENCY
  303. NEWPART.CanCollide = false
  304. NEWPART.Locked = true
  305. NEWPART.Anchored = true
  306. if ANCHOR == false then
  307. NEWPART.Anchored = false
  308. end
  309. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  310. NEWPART.Name = NAME
  311. NEWPART.Size = SIZE
  312. NEWPART.Position = Torso.Position
  313. NEWPART.Material = MATERIAL
  314. NEWPART:BreakJoints()
  315. NEWPART.Parent = PARENT
  316. return NEWPART
  317. end
  318.  
  319. local function weldBetween(a, b)
  320. local weldd = Instance.new("ManualWeld")
  321. weldd.Part0 = a
  322. weldd.Part1 = b
  323. weldd.C0 = CFrame.new()
  324. weldd.C1 = b.CFrame:inverse() * a.CFrame
  325. weldd.Parent = a
  326. return weldd
  327. end
  328.  
  329.  
  330. function QuaternionFromCFrame(cf)
  331. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  332. local trace = m00 + m11 + m22
  333. if trace > 0 then
  334. local s = math.sqrt(1 + trace)
  335. local recip = 0.5 / s
  336. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  337. else
  338. local i = 0
  339. if m11 > m00 then
  340. i = 1
  341. end
  342. if m22 > (i == 0 and m00 or m11) then
  343. i = 2
  344. end
  345. if i == 0 then
  346. local s = math.sqrt(m00 - m11 - m22 + 1)
  347. local recip = 0.5 / s
  348. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  349. elseif i == 1 then
  350. local s = math.sqrt(m11 - m22 - m00 + 1)
  351. local recip = 0.5 / s
  352. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  353. elseif i == 2 then
  354. local s = math.sqrt(m22 - m00 - m11 + 1)
  355. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  356. end
  357. end
  358. end
  359.  
  360. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  361. local xs, ys, zs = x + x, y + y, z + z
  362. local wx, wy, wz = w * xs, w * ys, w * zs
  363. local xx = x * xs
  364. local xy = x * ys
  365. local xz = x * zs
  366. local yy = y * ys
  367. local yz = y * zs
  368. local zz = z * zs
  369. 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))
  370. end
  371.  
  372. function QuaternionSlerp(a, b, t)
  373. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  374. local startInterp, finishInterp;
  375. if cosTheta >= 0.0001 then
  376. if (1 - cosTheta) > 0.0001 then
  377. local theta = ACOS(cosTheta)
  378. local invSinTheta = 1 / SIN(theta)
  379. startInterp = SIN((1 - t) * theta) * invSinTheta
  380. finishInterp = SIN(t * theta) * invSinTheta
  381. else
  382. startInterp = 1 - t
  383. finishInterp = t
  384. end
  385. else
  386. if (1 + cosTheta) > 0.0001 then
  387. local theta = ACOS(-cosTheta)
  388. local invSinTheta = 1 / SIN(theta)
  389. startInterp = SIN((t - 1) * theta) * invSinTheta
  390. finishInterp = SIN(t * theta) * invSinTheta
  391. else
  392. startInterp = t - 1
  393. finishInterp = t
  394. end
  395. end
  396. 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
  397. end
  398.  
  399. function Clerp(a, b, t)
  400. local qa = {QuaternionFromCFrame(a)}
  401. local qb = {QuaternionFromCFrame(b)}
  402. local ax, ay, az = a.x, a.y, a.z
  403. local bx, by, bz = b.x, b.y, b.z
  404. local _t = 1 - t
  405. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  406. end
  407.  
  408. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  409. local frame = IT("Frame")
  410. frame.BackgroundTransparency = TRANSPARENCY
  411. frame.BorderSizePixel = BORDERSIZEPIXEL
  412. frame.Position = POSITION
  413. frame.Size = SIZE
  414. frame.BackgroundColor3 = COLOR
  415. frame.BorderColor3 = BORDERCOLOR
  416. frame.Name = NAME
  417. frame.Parent = PARENT
  418. return frame
  419. end
  420.  
  421. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  422. local label = IT("TextLabel")
  423. label.BackgroundTransparency = 1
  424. label.Size = UD2(1, 0, 1, 0)
  425. label.Position = UD2(0, 0, 0, 0)
  426. label.TextColor3 = TEXTCOLOR
  427. label.TextStrokeTransparency = STROKETRANSPARENCY
  428. label.TextTransparency = TRANSPARENCY
  429. label.FontSize = TEXTFONTSIZE
  430. label.Font = TEXTFONT
  431. label.BorderSizePixel = BORDERSIZEPIXEL
  432. label.TextScaled = false
  433. label.Text = TEXT
  434. label.Name = NAME
  435. label.Parent = PARENT
  436. return label
  437. end
  438.  
  439. function NoOutlines(PART)
  440. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  441. end
  442.  
  443. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  444. local NEWWELD = IT(TYPE)
  445. NEWWELD.Part0 = PART0
  446. NEWWELD.Part1 = PART1
  447. NEWWELD.C0 = C0
  448. NEWWELD.C1 = C1
  449. NEWWELD.Parent = PARENT
  450. return NEWWELD
  451. end
  452.  
  453. local S = IT("Sound")
  454. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  455. local NEWSOUND = nil
  456. coroutine.resume(coroutine.create(function()
  457. NEWSOUND = S:Clone()
  458. NEWSOUND.Parent = PARENT
  459. NEWSOUND.Volume = VOLUME
  460. NEWSOUND.Pitch = PITCH
  461. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  462. NEWSOUND:play()
  463. if DOESLOOP == true then
  464. NEWSOUND.Looped = true
  465. else
  466. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  467. NEWSOUND:remove()
  468. end
  469. end))
  470. return NEWSOUND
  471. end
  472.  
  473. function CFrameFromTopBack(at, top, back)
  474. local right = top:Cross(back)
  475. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  476. end
  477.  
  478. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  479. function WACKYEFFECT(Table)
  480. local TYPE = (Table.EffectType or "Sphere")
  481. local SIZE = (Table.Size or VT(1,1,1))
  482. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  483. local TRANSPARENCY = (Table.Transparency or 0)
  484. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  485. local CFRAME = (Table.CFrame or Torso.CFrame)
  486. local MOVEDIRECTION = (Table.MoveToPos or nil)
  487. local ROTATION1 = (Table.RotationX or 0)
  488. local ROTATION2 = (Table.RotationY or 0)
  489. local ROTATION3 = (Table.RotationZ or 0)
  490. local MATERIAL = (Table.Material or "Neon")
  491. local COLOR = (Table.Color or C3(1,1,1))
  492. local TIME = (Table.Time or 45)
  493. local SOUNDID = (Table.SoundID or nil)
  494. local SOUNDPITCH = (Table.SoundPitch or nil)
  495. local SOUNDVOLUME = (Table.SoundVolume or nil)
  496. coroutine.resume(coroutine.create(function()
  497. local PLAYSSOUND = false
  498. local SOUND = nil
  499. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  500. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  501. PLAYSSOUND = true
  502. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  503. end
  504. EFFECT.Color = COLOR
  505. local MSH = nil
  506. if TYPE == "Sphere" then
  507. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  508. elseif TYPE == "Block" then
  509. MSH = IT("BlockMesh",EFFECT)
  510. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  511. elseif TYPE == "Wave" then
  512. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  513. elseif TYPE == "Ring" then
  514. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  515. elseif TYPE == "Slash" then
  516. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  517. elseif TYPE == "Round Slash" then
  518. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  519. elseif TYPE == "Swirl" then
  520. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  521. elseif TYPE == "Skull" then
  522. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  523. elseif TYPE == "Crystal" then
  524. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  525. end
  526. if MSH ~= nil then
  527. local MOVESPEED = nil
  528. if MOVEDIRECTION ~= nil then
  529. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  530. end
  531. local GROWTH = SIZE - ENDSIZE
  532. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  533. if TYPE == "Block" then
  534. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  535. else
  536. EFFECT.CFrame = CFRAME
  537. end
  538. for LOOP = 1, TIME+1 do
  539. Swait()
  540. MSH.Scale = MSH.Scale - GROWTH/TIME
  541. if TYPE == "Wave" then
  542. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  543. end
  544. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  545. if TYPE == "Block" then
  546. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  547. else
  548. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  549. end
  550. if MOVEDIRECTION ~= nil then
  551. local ORI = EFFECT.Orientation
  552. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  553. EFFECT.Orientation = ORI
  554. end
  555. end
  556. if PLAYSSOUND == false then
  557. EFFECT:remove()
  558. else
  559. SOUND.Stopped:Connect(function()
  560. EFFECT:remove()
  561. end)
  562. end
  563. else
  564. if PLAYSSOUND == false then
  565. EFFECT:remove()
  566. else
  567. repeat Swait() until SOUND.Playing == false
  568. EFFECT:remove()
  569. end
  570. end
  571. end))
  572. end
  573. for _, c in pairs(Character:GetChildren()) do
  574. if c.ClassName == "Part" then
  575. table.insert(BODY,{c,Character})
  576. for _, q in pairs(c:GetChildren()) do
  577. if q.ClassName == "Motor6D" or q.ClassName == "Weld" or q.ClassName == "ManualWeld" then
  578. table.insert(BODY,{q,c})
  579. end
  580. end
  581. end
  582. end
  583.  
  584. function refit()
  585. Character.Parent = workspace
  586. for e = 1, #BODY do
  587. if BODY[e] ~= nil then
  588. local STUFF = BODY[e]
  589. local PART = STUFF[1]
  590. local PARENT = STUFF[2]
  591. PART.Parent = PARENT
  592. end
  593. end
  594. end
  595.  
  596. function MakeForm(PART,TYPE)
  597. if TYPE == "Cyl" then
  598. local MSH = IT("CylinderMesh",PART)
  599. elseif TYPE == "Ball" then
  600. local MSH = IT("SpecialMesh",PART)
  601. MSH.MeshType = "Sphere"
  602. elseif TYPE == "Wedge" then
  603. local MSH = IT("SpecialMesh",PART)
  604. MSH.MeshType = "Wedge"
  605. end
  606. end
  607.  
  608. function SpawnTrail(FROM,TO,BIG)
  609. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  610. MakeForm(TRAIL,"Cyl")
  611. local DIST = (FROM - TO).Magnitude
  612. if BIG == true then
  613. TRAIL.Size = VT(0.5,DIST,0.5)
  614. else
  615. TRAIL.Size = VT(0.25,DIST,0.25)
  616. end
  617. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  618. coroutine.resume(coroutine.create(function()
  619. for i = 1, 5 do
  620. Swait()
  621. TRAIL.Transparency = TRAIL.Transparency + 0.1
  622. end
  623. TRAIL:remove()
  624. end))
  625. end
  626.  
  627. Debris = game:GetService("Debris")
  628.  
  629. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  630. local DIRECTION = CF(StartPos,EndPos).lookVector
  631. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  632. end
  633.  
  634. function turnto(position)
  635. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  636. end
  637. local asd = Instance.new("ParticleEmitter")
  638. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  639. asd.LightEmission = .1
  640. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  641. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  642. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  643. asd.Transparency = bbb
  644. asd.Size = aaa
  645. asd.ZOffset = .9
  646. asd.Acceleration = Vector3.new(0, -15, 0)
  647. asd.LockedToPart = false
  648. asd.EmissionDirection = "Back"
  649. asd.Lifetime = NumberRange.new(1, 2)
  650. asd.Rotation = NumberRange.new(-100, 100)
  651. asd.RotSpeed = NumberRange.new(-100, 100)
  652. asd.Speed = NumberRange.new(10)
  653. asd.Enabled = false
  654. asd.VelocitySpread = 999
  655.  
  656. function getbloody(victim,amount)
  657. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  658. PART.CFrame = victim.CFrame
  659. local HITPLAYERSOUNDS = {"356551938","264486467"}
  660. Debris:AddItem(PART,5)
  661. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  662. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  663. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  664. local prtcl = asd:Clone()
  665. prtcl.Parent = PART
  666. prtcl:Emit(amount*10)
  667. end
  668.  
  669. local Particle = IT("ParticleEmitter",nil)
  670. Particle.Enabled = false
  671. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  672. Particle.LightEmission = 0.5
  673. Particle.Rate = 150
  674. Particle.ZOffset = 1
  675. Particle.Rotation = NumberRange.new(-180, 180)
  676. Particle.RotSpeed = NumberRange.new(-180, 180)
  677. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  678. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  679.  
  680. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  681. function ParticleEmitter(Table)
  682. local PRTCL = Particle:Clone()
  683. local Speed = Table.Speed or 5
  684. local Drag = Table.Drag or 0
  685. local Size1 = Table.Size1 or 1
  686. local Size2 = Table.Size2 or 5
  687. local Lifetime1 = Table.Lifetime1 or 1
  688. local Lifetime2 = Table.Lifetime2 or 1.5
  689. local Parent = Table.Parent or Torso
  690. local Emit = Table.Emit or 100
  691. local Offset = Table.Offset or 360
  692. local Acel = Table.Acel or VT(0,0,0)
  693. local Enabled = Table.Enabled or false
  694. PRTCL.Parent = Parent
  695. PRTCL.Size = NumberSequence.new(Size1,Size2)
  696. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  697. PRTCL.Speed = NumberRange.new(Speed)
  698. PRTCL.VelocitySpread = Offset
  699. PRTCL.Drag = Drag
  700. PRTCL.Acceleration = Acel
  701. if Enabled == false then
  702. PRTCL:Emit(Emit)
  703. Debris:AddItem(PRTCL,Lifetime2)
  704. else
  705. PRTCL.Enabled = true
  706. end
  707. return PRTCL
  708. end
  709.  
  710. --//=================================\\
  711. --|| WEAPON CREATION
  712. --\\=================================//
  713.  
  714. createbodypart("Eye","Lime green",Head,VT(0.20, 0, -0.55),VT(2,6,2))
  715. createbodypart("Eye","Lime green",Head,VT(-0.20, 0, -0.55),VT(2,6,2))
  716. createbodypart("Eye","Lime green",Head,VT(0, 0, -0.6),VT(2,8,2))
  717.  
  718. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  719. local mesh = Instance.new("SpecialMesh",gear)
  720. mesh.MeshType = "FileMesh"
  721. mesh.MeshId = "rbxassetid://156292343"
  722. mesh.Scale = VT(8,8,8)
  723. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)), CF(0, 0, 0))
  724.  
  725. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  726. local mesh = Instance.new("SpecialMesh",gear)
  727. mesh.MeshType = "FileMesh"
  728. mesh.MeshId = "rbxassetid://156292343"
  729. mesh.Scale = VT(8,8,8)
  730. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)), CF(0, 0, 0))
  731.  
  732. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  733. local mesh = Instance.new("SpecialMesh",gear)
  734. mesh.MeshType = "FileMesh"
  735. mesh.MeshId = "rbxassetid://156292343"
  736. mesh.Scale = VT(6,6,6)
  737. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 4 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  738. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  739. local mesh = Instance.new("SpecialMesh",gear)
  740. mesh.MeshType = "FileMesh"
  741. mesh.MeshId = "rbxassetid://156292343"
  742. mesh.Scale = VT(4,4,4)
  743. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 6 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  744. local gear = CreatePart(3, Weapon, "Neon", 0, 0, "Really black", "Gear", VT(0.35*Player_Size,0.35*Player_Size,0.35*Player_Size),false)
  745. local mesh = Instance.new("SpecialMesh",gear)
  746. mesh.MeshType = "FileMesh"
  747. mesh.MeshId = "rbxassetid://156292343"
  748. mesh.Scale = VT(2,2,2)
  749. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, gear, RootPart, CF(0 * Player_Size, 0 * Player_Size, 8 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  750. local BottomPart = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Handle", VT(1*Player_Size,6*Player_Size,1*Player_Size),false)
  751. local mesh = Instance.new("SpecialMesh",BottomPart)
  752. mesh.MeshType = "Sphere"
  753. local weld = CreateWeldOrSnapOrMotor("Weld", RootPart, BottomPart, RootPart, CF(0 * Player_Size, 8 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  754.  
  755. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  756. local TORSO = Torso
  757. local HUM = Humanoid
  758. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  759. coroutine.wrap(function()
  760. VT = Vector3.new
  761. MRANDOM = math.random
  762. local A = TIME
  763. local B = INTENSITY
  764. local C = true
  765. local HUMANOID = Humanoid
  766. local TIMER = A or 35
  767. local SHAKE = B or 5
  768. local FADE = C or true
  769. if HUMANOID then
  770. local FADER = SHAKE / TIMER
  771. for i = 1, TIMER do
  772. wait()
  773. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  774. end
  775. HUMANOID.CameraOffset = VT(0, 0, 0)
  776. end
  777.  
  778. end)()
  779. end
  780. end
  781.  
  782.  
  783. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  784. PRT.Color = C3(0,0,0)
  785. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  786. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  787. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  788. PRT.Color = C3(0,0,0)
  789.  
  790. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  791. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  792. MakeForm(Part,"Wedge")
  793.  
  794. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  795. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  796. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  797. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  798. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  799. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  800. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  801. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  802. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false)
  803. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  804.  
  805. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  806. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  807. MakeForm(Part,"Wedge")
  808.  
  809. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  810. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  811. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  812. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  813. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  814. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  815. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  816. CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  817. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false)
  818. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  819.  
  820. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  821. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  822. MakeForm(Part,"Wedge")
  823.  
  824. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  825. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  826. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  827. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  828. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  829. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  830. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  831. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  832. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Lime green", "Eon", VT(0.5,0.5,1.25),false)
  833. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  834.  
  835. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  836. function WACKYEFFECT(Table)
  837. local TYPE = (Table.EffectType or "Sphere")
  838. local SIZE = (Table.Size or VT(1,1,1))
  839. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  840. local TRANSPARENCY = (Table.Transparency or 0)
  841. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  842. local CFRAME = (Table.CFrame or Torso.CFrame)
  843. local MOVEDIRECTION = (Table.MoveToPos or nil)
  844. local ROTATION1 = (Table.RotationX or 0)
  845. local ROTATION2 = (Table.RotationY or 0)
  846. local ROTATION3 = (Table.RotationZ or 0)
  847. local MATERIAL = (Table.Material or "Neon")
  848. local COLOR = (Table.Color or C3(1,1,1))
  849. local TIME = (Table.Time or 45)
  850. local SOUNDID = (Table.SoundID or nil)
  851. local SOUNDPITCH = (Table.SoundPitch or nil)
  852. local SOUNDVOLUME = (Table.SoundVolume or nil)
  853. coroutine.resume(coroutine.create(function()
  854. local PLAYSSOUND = false
  855. local SOUND = nil
  856. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Lime green"), "Effect", VT(1,1,1), true)
  857. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  858. PLAYSSOUND = true
  859. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  860. end
  861. EFFECT.Color = COLOR
  862. local MSH = nil
  863. if TYPE == "Sphere" then
  864. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  865. elseif TYPE == "Block" then
  866. MSH = IT("BlockMesh",EFFECT)
  867. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  868. elseif TYPE == "Wave" then
  869. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  870. elseif TYPE == "Ring" then
  871. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  872. elseif TYPE == "Slash" then
  873. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  874. elseif TYPE == "Round Slash" then
  875. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  876. elseif TYPE == "Swirl" then
  877. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  878. elseif TYPE == "Skull" then
  879. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  880. elseif TYPE == "Crystal" then
  881. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  882. end
  883. if MSH ~= nil then
  884. local MOVESPEED = nil
  885. if MOVEDIRECTION ~= nil then
  886. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  887. end
  888. local GROWTH = SIZE - ENDSIZE
  889. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  890. if TYPE == "Block" then
  891. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  892. else
  893. EFFECT.CFrame = CFRAME
  894. end
  895. for LOOP = 1, TIME+1 do
  896. Swait()
  897. MSH.Scale = MSH.Scale - GROWTH/TIME
  898. if TYPE == "Wave" then
  899. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  900. end
  901. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  902. if TYPE == "Block" then
  903. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  904. else
  905. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  906. end
  907. if MOVEDIRECTION ~= nil then
  908. local ORI = EFFECT.Orientation
  909. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  910. EFFECT.Orientation = ORI
  911. end
  912. end
  913. if PLAYSSOUND == false then
  914. EFFECT:remove()
  915. else
  916. SOUND.Stopped:Connect(function()
  917. EFFECT:remove()
  918. end)
  919. end
  920. else
  921. if PLAYSSOUND == false then
  922. EFFECT:remove()
  923. else
  924. repeat Swait() until SOUND.Playing == false
  925. EFFECT:remove()
  926. end
  927. end
  928. end))
  929. end
  930.  
  931.  
  932. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  933. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  934. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  935. wave.CFrame = CFRAME
  936. coroutine.resume(coroutine.create(function(PART)
  937. for i = 1, WAIT do
  938. Swait()
  939. mesh.Scale = mesh.Scale + GROW
  940. if DOESROT == true then
  941. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  942. end
  943. wave.Transparency = wave.Transparency + 0.5 / WAIT
  944. if wave.Transparency > 0.99 then
  945. wave:remove()
  946. end
  947. end
  948. end))
  949. end
  950. local Back = CreatePart(3, Character, "Granite", 0, 0, "Dark green", "Wing", VT(1,1,0.35),false)
  951. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  952.  
  953. local ANGLE = 35
  954. for i = 1, 5 do
  955. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Dark green", "Wing", VT(0.15,2+(i/2),0.15),false)
  956. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  957. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.25,1,0.25),false)
  958. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  959. ANGLE = ANGLE - 15
  960. table.insert(LEFTWINGS,WingWeld)
  961. end
  962. ANGLE = 35
  963. for i = 1, 5 do
  964. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Wing", VT(0.15,2+(i/2),0.15),false)
  965. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  966. local Wing2 = CreatePart(3, Character, "Neon", 0, 0, "Dark green", "Wing", VT(0.25,1,0.25),false)
  967. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  968. ANGLE = ANGLE - 15
  969. table.insert(RIGHTWINGS,WingWeld)
  970. end
  971. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  972. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  973. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  974. wave.CFrame = CFRAME
  975. coroutine.resume(coroutine.create(function(PART)
  976. for i = 1, WAIT do
  977. Swait()
  978. mesh.Scale = mesh.Scale + GROW
  979. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  980. if DOESROT == true then
  981. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  982. end
  983. wave.Transparency = wave.Transparency + 0.5 / WAIT
  984. if wave.Transparency > 0.99 then
  985. wave:remove()
  986. end
  987. end
  988. end))
  989. end
  990.  
  991. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  992. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  993. local mesh
  994. if KIND == "Base" then
  995. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  996. elseif KIND == "Thin" then
  997. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  998. elseif KIND == "Round" then
  999. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  1000. end
  1001. wave.CFrame = CFRAME
  1002. coroutine.resume(coroutine.create(function(PART)
  1003. for i = 1, WAIT do
  1004. Swait()
  1005. mesh.Scale = mesh.Scale + GROW / 10
  1006. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1007. if wave.Transparency > 0.99 then
  1008. wave:remove()
  1009. end
  1010. end
  1011. end))
  1012. end
  1013.  
  1014. function CreateRing(SIZE, DOESROT, ROT, WAIT, CFRAME, COLOR, GROW)
  1015. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  1016. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0, 0, 0))
  1017. wave.CFrame = CFRAME
  1018. coroutine.resume(coroutine.create(function(PART)
  1019. for i = 1, WAIT do
  1020. Swait()
  1021. mesh.Scale = mesh.Scale + GROW
  1022. if DOESROT == true then
  1023. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  1024. end
  1025. wave.Transparency = wave.Transparency + 0.5 / WAIT
  1026. if wave.Transparency > 0.99 then
  1027. wave:remove()
  1028. end
  1029. end
  1030. end))
  1031. end
  1032. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1033. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1034. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1035. wave.CFrame = CFRAME
  1036. coroutine.resume(coroutine.create(function(PART)
  1037. for i = 1, WAIT do
  1038. Swait()
  1039. mesh.Scale = mesh.Scale + GROW
  1040. wave.Transparency = wave.Transparency + 1 / WAIT
  1041. if wave.Transparency > 0.99 then
  1042. wave:remove()
  1043. end
  1044. end
  1045. end))
  1046. end
  1047.  
  1048. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  1049. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  1050. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1051. wave.CFrame = CFRAME
  1052. coroutine.resume(coroutine.create(function(PART)
  1053. for i = 1, WAIT do
  1054. Swait()
  1055. mesh.Scale = mesh.Scale + GROW
  1056. wave.Transparency = wave.Transparency + 1 / WAIT
  1057. if wave.Transparency > 0.99 then
  1058. wave:remove()
  1059. end
  1060. end
  1061. end))
  1062. end
  1063.  
  1064. local LASTPART = Head
  1065. for i = 1, 20 do
  1066. local MATH = (1-(i/25))
  1067. if LASTPART == Head then
  1068. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1069. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1070. LASTPART = Horn
  1071. Horn.Color = C3((i*3-3)/0,0,0)
  1072. else
  1073. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1074. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1075. LASTPART = Horn
  1076. Horn.Color = C3((i*3-3)/0,127,0)
  1077. end
  1078. end
  1079. local LASTPART = Head
  1080. for i = 1, 20 do
  1081. local MATH = (1-(i/25))
  1082. if LASTPART == Head then
  1083. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1084. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1085. LASTPART = Horn
  1086. Horn.Color = C3((i*3-3)/0,0,0)
  1087. else
  1088. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1089. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1090. LASTPART = Horn
  1091. Horn.Color = C3((i*3-3)/0,127,0)
  1092. end
  1093. end
  1094.  
  1095. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1096. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1097. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1098. MakeForm(Part,"Wedge")
  1099. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1100. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1101. MakeForm(Part,"Wedge")
  1102. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1103. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1104. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1105. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1106. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1107. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1108. MakeForm(Part,"Cyl")
  1109. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1110. for i = 1, 8 do
  1111. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1112. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1113. end
  1114. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1115. MakeForm(Part,"Cyl")
  1116. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1117. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1118. MakeForm(Part,"Ball")
  1119. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1120. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1121. MakeForm(Part,"Wedge")
  1122. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1123. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1124. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1125. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1126. MakeForm(Part,"Cyl")
  1127. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1128. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1129. MakeForm(Part,"Cyl")
  1130. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1131. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1132. MakeForm(Part,"Cyl")
  1133. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1134. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1135. MakeForm(Part,"Wedge")
  1136. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1137. local LASTPART = Handle
  1138. for i = 1, 10 do
  1139. if LASTPART == Handle then
  1140. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1141. LASTPART = Part
  1142. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1143. else
  1144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1145. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1146. LASTPART = Part
  1147. end
  1148. end
  1149.  
  1150. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1151. MakeForm(Barrel,"Cyl")
  1152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1154. MakeForm(Part,"Cyl")
  1155. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1157. MakeForm(Part,"Wedge")
  1158. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1159. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1160. MakeForm(Hole2,"Cyl")
  1161. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1162. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1163. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1164. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1165. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1166. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1167. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1168. coroutine.resume(coroutine.create(function()
  1169. while wait() do
  1170. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1171. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1172. end
  1173. end))
  1174.  
  1175. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1176. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1177.  
  1178. for _, c in pairs(Weapon:GetDescendants()) do
  1179. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1180. c.Material = "Glass"
  1181. c.Color = C3(0,0,0)
  1182. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1183. c.Color = C3(0,1,0)
  1184. c.Material = "Neon"
  1185. end
  1186. end
  1187.  
  1188. Weapon.Parent = Character
  1189. for _, c in pairs(Weapon:GetChildren()) do
  1190. if c.ClassName == "Part" then
  1191. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1192. end
  1193. end
  1194.  
  1195. function ParticleEmitter(Table)
  1196. local PRTCL = Particle:Clone()
  1197. local Speed = Table.Speed or 5
  1198. local Drag = Table.Drag or 0
  1199. local Size1 = Table.Size1 or 1
  1200. local Size2 = Table.Size2 or 5
  1201. local Lifetime1 = Table.Lifetime1 or 1
  1202. local Lifetime2 = Table.Lifetime2 or 1.5
  1203. local Parent = Table.Parent or Torso
  1204. local Emit = Table.Emit or 100
  1205. local Offset = Table.Offset or 360
  1206. local Acel = Table.Acel or VT(0,0,0)
  1207. local Enabled = Table.Enabled or false
  1208. PRTCL.Parent = Parent
  1209. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1210. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1211. PRTCL.Speed = NumberRange.new(Speed)
  1212. PRTCL.VelocitySpread = Offset
  1213. PRTCL.Drag = Drag
  1214. PRTCL.Acceleration = Acel
  1215. if Enabled == false then
  1216. PRTCL:Emit(Emit)
  1217. Debris:AddItem(PRTCL,Lifetime2)
  1218. else
  1219. PRTCL.Enabled = true
  1220. end
  1221. return PRTCL
  1222. end
  1223.  
  1224. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1225. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1226. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1227. MakeForm(Part,"Wedge")
  1228. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1229. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1230. MakeForm(Part,"Wedge")
  1231. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1232. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1233. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1234. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1235. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1236. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1237. MakeForm(Part,"Cyl")
  1238. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1239. for i = 1, 8 do
  1240. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1241. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1242. end
  1243. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1244. MakeForm(Part,"Cyl")
  1245. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1246. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1247. MakeForm(Part,"Ball")
  1248. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1249. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1250. MakeForm(Part,"Wedge")
  1251. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1252. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1253. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1255. MakeForm(Part,"Cyl")
  1256. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1257. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1258. MakeForm(Part,"Cyl")
  1259. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1260. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1261. MakeForm(Part,"Cyl")
  1262. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1263. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1264. MakeForm(Part,"Wedge")
  1265. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1266. local LASTPART = Handle
  1267. for i = 1, 10 do
  1268. if LASTPART == Handle then
  1269. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1270. LASTPART = Part
  1271. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1272. else
  1273. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1274. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1275. LASTPART = Part
  1276. end
  1277. end
  1278.  
  1279. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1280. MakeForm(Barrel,"Cyl")
  1281. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1282. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1283. MakeForm(Part,"Cyl")
  1284. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1285. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1286. MakeForm(Part,"Wedge")
  1287. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1288. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1289. MakeForm(Hole,"Cyl")
  1290. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1291. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1292. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1293. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1294. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1295. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1296. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1297. coroutine.resume(coroutine.create(function()
  1298. while wait() do
  1299. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1300. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1301. end
  1302. end))
  1303.  
  1304. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1305. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1306.  
  1307. for _, c in pairs(Weapon:GetDescendants()) do
  1308. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1309. c.Material = "Glass"
  1310. c.Color = C3(0,0,0)
  1311. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1312. c.Color = C3(0,1,0)
  1313. c.Material = "Neon"
  1314. end
  1315. end
  1316. Weapon.Parent = Character
  1317. for _, c in pairs(Weapon:GetChildren()) do
  1318. if c.ClassName == "Part" then
  1319. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1320. end
  1321. end
  1322.  
  1323. local SKILLTEXTCOLOR = C3(0,1,0)
  1324. local SKILLFONT = "Antique"
  1325. local SKILLTEXTSIZE = 7
  1326.  
  1327. Humanoid.Died:connect(function()
  1328. ATTACK = true
  1329. end)
  1330.  
  1331. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  1332. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  1333. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  1334. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  1335. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  1336. ]]
  1337. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1338. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1339. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1340. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1341. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1342. ]]
  1343. function printbye(Name)
  1344. local MESSAGES = {"NameClan Jail, "}
  1345. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1346. end
  1347.  
  1348. workspace.ChildAdded:connect(function(instance)
  1349. for BANISH = 1, #TOBANISH do
  1350. if TOBANISH[BANISH] ~= nil then
  1351. if instance.Name == TOBANISH[BANISH] then
  1352. coroutine.resume(coroutine.create(function()
  1353. printbye(instance.Name)
  1354. instance:ClearAllChildren()
  1355. Debris:AddItem(instance,0.0005)
  1356. end))
  1357. end
  1358. end
  1359. end
  1360. end)
  1361.  
  1362. --//=================================\\
  1363. --|| DAMAGING
  1364. --\\=================================//
  1365.  
  1366. function Banish(Foe)
  1367. if Foe then
  1368. coroutine.resume(coroutine.create(function()
  1369. --if game.Players:FindFirstChild(Foe.Name) then
  1370. table.insert(TOBANISH,Foe.Name)
  1371. printbye(Foe.Name)
  1372. --end
  1373. Foe.Archivable = true
  1374. local CLONE = Foe:Clone()
  1375. Foe:Destroy()
  1376. CLONE.Parent = Effects
  1377. CLONE:BreakJoints()
  1378. local MATERIALS = {"Glass","Neon"}
  1379. for _, c in pairs(CLONE:GetDescendants()) do
  1380. if c:IsA("BasePart") then
  1381. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1382. CreateSound(340722848, c, 10, 1, false)
  1383. end
  1384. c.Anchored = true
  1385. c.Transparency = c.Transparency + 0.2
  1386. c.Material = MATERIALS[MRANDOM(1,2)]
  1387. c.Color = C3(0,1,0)
  1388. if c.ClassName == "MeshPart" then
  1389. c.TextureID = ""
  1390. end
  1391. if c:FindFirstChildOfClass("SpecialMesh") then
  1392. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1393. end
  1394. if c:FindFirstChildOfClass("Decal") then
  1395. c:FindFirstChildOfClass("Decal"):remove()
  1396. end
  1397. c.Name = "Banished"
  1398. c.CanCollide = false
  1399. else
  1400. c:remove()
  1401. end
  1402. end
  1403. local A = false
  1404. for i = 1, 35 do
  1405. if A == false then
  1406. A = true
  1407. elseif A == true then
  1408. A = false
  1409. end
  1410. for _, c in pairs(CLONE:GetDescendants()) do
  1411. if c:IsA("BasePart") then
  1412. c.Anchored = true
  1413. c.Material = MATERIALS[MRANDOM(1,2)]
  1414. c.Transparency = c.Transparency + 0.8/35
  1415. if A == false then
  1416. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1417. elseif A == true then
  1418. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1419. end
  1420. end
  1421. end
  1422. Swait()
  1423. end
  1424. CLONE:remove()
  1425. end))
  1426. end
  1427. end
  1428.  
  1429. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1430. local CHILDREN = workspace:GetDescendants()
  1431. for index, CHILD in pairs(CHILDREN) do
  1432. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1433. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1434. if HUM then
  1435. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1436. if TORSO then
  1437. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1438. if ISBANISH == true then
  1439. Banish(CHILD)
  1440. else
  1441. if ISBANISH == "Gravity" then
  1442. HUM.PlatformStand = true
  1443. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1444. local grav = Instance.new("BodyPosition",TORSO)
  1445. grav.D = 15
  1446. grav.P = 20000
  1447. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1448. grav.position = TORSO.Position
  1449. grav.Name = "V3BanishForce"..Player.Name
  1450. else
  1451. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1452. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1453. end
  1454. else
  1455. HUM.PlatformStand = false
  1456. end
  1457. end
  1458. elseif ISBANISH == "Gravity" then
  1459. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1460. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1461. HUM.PlatformStand = false
  1462. end
  1463. end
  1464. end
  1465. end
  1466. end
  1467. end
  1468. end
  1469. Void = nil
  1470. VoidParts = {}
  1471. Equipped = false
  1472. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1473. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1474. end
  1475.  
  1476. Player = Player
  1477. Character = Character
  1478.  
  1479. Humanoid = Character:FindFirstChildOfClass("Humanoid")
  1480. Torso = Character:FindFirstChild("Torso")
  1481. if not Player or not Humanoid or Humanoid.Health == 0 or not Torso then
  1482. return
  1483. end
  1484. Equipped = true
  1485. Void = Instance.new("Model")
  1486. Void.Name = "Void"
  1487. Angle = 0
  1488. for i = 1, 1 do
  1489. local VoidPart = Instance.new("Part")
  1490. VoidPart.Name = "VoidPart"
  1491. VoidPart.Transparency = 1
  1492. VoidPart.BrickColor = BrickColor.new("Really black")
  1493. VoidPart.Material = Enum.Material.Plastic
  1494. VoidPart.Shape = Enum.PartType.Block
  1495. VoidPart.FormFactor = Enum.FormFactor.Custom
  1496. VoidPart.TopSurface = Enum.SurfaceType.Smooth
  1497. VoidPart.BottomSurface = Enum.SurfaceType.Smooth
  1498. VoidPart.Anchored = true
  1499. VoidPart.CanCollide = false
  1500. VoidPart.Locked = true
  1501. VoidPart.Size = Vector3.new(18, 0.2, 18)
  1502. local BlockMesh = Instance.new("BlockMesh")
  1503. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  1504. BlockMesh.Parent = VoidPart
  1505. VoidPart.Parent = Void
  1506. local Star = Instance.new("Decal", VoidPart)
  1507. Star.Texture = "http://www.roblox.com/asset/?id=224019254"
  1508. --CricleForTarget
  1509. --121028264 MagicCircle1
  1510. --160506713 MagicCircle2
  1511. --327794305 MagicCircle3 (Death)
  1512. --160508788 MagicCircle4 (Scary)
  1513. --124339738 CoolCircle5
  1514. --268043891 Abyss-Demon-Magic-Circle
  1515. Star.Face = "Top"
  1516. local Light = Instance.new("PointLight", VoidPart)
  1517. Light.Color = Color3.new(0,255,0)
  1518. Light.Brightness = 200
  1519. Light.Range = 35
  1520. table.insert(VoidParts, VoidPart)
  1521. end
  1522. Spawn(function()
  1523. while Equipped and Humanoid.Parent and Humanoid.Health > 0 and Torso.Parent do
  1524. if Angle == 360 then
  1525. Angle = 0
  1526. end
  1527. Angle = Angle + 0.05
  1528. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  1529. if Hit then
  1530. if not Void.Parent then
  1531. Void.Parent = Character
  1532. end
  1533. for i, v in pairs(VoidParts) do
  1534. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  1535. end
  1536. else
  1537. Void.Parent = nil
  1538. end
  1539. wait()
  1540. end
  1541. end)
  1542.  
  1543. --//=================================\\
  1544. --|| ATTACK FUNCTIONS AND STUFF
  1545. --\\=================================//
  1546.  
  1547. function TakeOnMe()
  1548. Speed = 16
  1549. local MEME = CreateSound(935830733, Effects, 2, 1, false)
  1550. ATTACK = true
  1551. Rooted = false
  1552. local DANCE = true
  1553. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1554. if NEWKEY == "p" then
  1555. DANCE = false
  1556. end
  1557. end)
  1558. PLAYSONG = false
  1559. while true do
  1560. for i = 1, 15 do
  1561. Swait()
  1562. MEME.Parent = Effects
  1563. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1564. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1565. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1566. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1567. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1568. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1569. end
  1570. if DANCE == false then
  1571. break
  1572. end
  1573. for i = 1, 15 do
  1574. Swait()
  1575. MEME.Parent = Effects
  1576. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1577. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1578. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1579. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1580. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1581. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1582. end
  1583. end
  1584. PLAYSONG = true
  1585. KEY:Disconnect()
  1586. MEME:remove()
  1587. Speed = 25
  1588. ATTACK = false
  1589. Rooted = false
  1590. end
  1591.  
  1592. function Banisher_Bullet()
  1593. ATTACK = true
  1594. Rooted = false
  1595. for i=0, 0.5, 0.1 / Animation_Speed do
  1596. Swait()
  1597. turnto(Mouse.Hit.p)
  1598. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1599. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1600. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1601. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1602. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1603. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1604. end
  1605. repeat
  1606. for i=0, 0.3, 0.1 / Animation_Speed do
  1607. Swait()
  1608. turnto(Mouse.Hit.p)
  1609. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1610. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1611. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1612. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1613. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1614. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1615. end
  1616. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  1617. SpawnTrail(Hole2.Position,POS)
  1618. if HIT ~= nil then
  1619. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1620. Banish(HIT.Parent)
  1621. end
  1622. end
  1623. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1624. SpawnTrail(Hole.Position,POS)
  1625. if HIT ~= nil then
  1626. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1627. Banish(HIT.Parent)
  1628. end
  1629. end
  1630. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole2.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1631. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1632. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1633. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1634. for i=0, 0.5, 0.1 / Animation_Speed do
  1635. Swait()
  1636. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1637. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1638. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1639. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(130), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1640. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1641. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1642. end
  1643. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1644. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1645. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1646. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1647. until KEYHOLD == false
  1648. ATTACK = false
  1649. Rooted = false
  1650. end
  1651.  
  1652. function AttackTemplate()
  1653. ATTACK = true
  1654. Rooted = false
  1655. for i=0, 5, 0.1 / Animation_Speed do
  1656. Swait()
  1657. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1658. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1659. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1660. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1661. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1662. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1663. end
  1664. ATTACK = false
  1665. Rooted = false
  1666. end
  1667.  
  1668. function oofBeam()
  1669. ATTACK = true
  1670. Rooted = false
  1671. VALUE2 = true
  1672. local GYRO = IT("BodyGyro", RootPart)
  1673. GYRO.D = 20
  1674. GYRO.P = 4000
  1675. GYRO.MaxTorque = VT(0, 40000, 0)
  1676. local POS = RootPart.Position + VT(0, 25, 0)
  1677. CreateSound("1371567007", Effects, 35, MRANDOM(9, 10) / 10)
  1678. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1679. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1680. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1681. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1682. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1683. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1684. coroutine.resume(coroutine.create(function()
  1685. local E = 0
  1686. repeat
  1687. E = E + 5
  1688. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  1689. Swait()
  1690. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1691. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1692. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1693. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1694. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1695. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1696. until ATTACK == false
  1697. GYRO:remove()
  1698. end))
  1699. for i = 1, 50 do
  1700. Swait()
  1701. end
  1702. for i = 1, 25 do
  1703. Swait()
  1704. WACKYEFFECT({
  1705. Time = 15,
  1706. EffectType = "Skull",
  1707. Size = VT(4, 4, 4),
  1708. Size2 = VT(0, 0, 0),
  1709. Transparency = 1,
  1710. Transparency2 = 0,
  1711. CFrame = CF(Eon.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))) * CF(0, 0, 35),
  1712. MoveToPos = Eon.Position,
  1713. RotationX = 0,
  1714. RotationY = 0,
  1715. RotationZ = 0,
  1716. Material = "Neon",
  1717. Color = C3(0, 1, 0),
  1718. SoundID = nil,
  1719. SoundPitch = nil,
  1720. SoundVolume = nil
  1721. })
  1722. end
  1723. local LOOP = 0
  1724. local BEAMO = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beamo", VT(0,0,0))
  1725. MakeForm(BEAMO, "Ball")
  1726. local BEAM = CreatePart(3, Effects, "Neon", 0, 0, BRICKC("Lime green"), "Beam", VT(0, 0, 0), true)
  1727. MakeForm(BEAM, "Cyl")
  1728. repeat
  1729. local DISTANCE = (Eon.Position - Mouse.Hit.p).Magnitude
  1730. if DISTANCE < 2000 then
  1731. BEAMO.Size = VT(3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4), 3 + 1 * COS(SINE / 4))
  1732. BEAMO.CFrame = CF(Eon.Position)
  1733. BEAM.Size = VT(2 + 1 * COS(SINE / 4), DISTANCE, 2 + 1 * COS(SINE / 4))
  1734. BEAM.CFrame = CF(Eon.Position, Mouse.Hit.p) * CF(0, 0, -DISTANCE / 2) * ANGLES(RAD(90), RAD(0), RAD(0))
  1735. ApplyAoE(Mouse.Hit.p, 14,true,false)
  1736. WACKYEFFECT({
  1737. Time = 35,
  1738. EffectType = "Sphere",
  1739. Size = VT(6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4), 6 + 2 * COS(SINE / 4)) * 2,
  1740. Size2 = VT(5, 75, 5),
  1741. Transparency = 0,
  1742. Transparency2 = 1,
  1743. CFrame = CF(Mouse.Hit.p) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1744. MoveToPos = nil,
  1745. RotationX = 0,
  1746. RotationY = 0,
  1747. RotationZ = 0,
  1748. Material = "Neon",
  1749. Color = C3(0, 1, 0),
  1750. SoundID = nil,
  1751. SoundPitch = MRANDOM(9, 12) / 10,
  1752. SoundVolume = 10
  1753. })
  1754. WACKYEFFECT({TIME = 25, EffectType = "Sphere", Size = VT(1.5,1.5,1.5), Size2 = VT(0,0,0), Transparency = 0.5, Transparency2 = 1, CFrame = Eon.CFrame, MoveToPos = Eon.CFrame*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-6).p, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1755. Swait()
  1756. LOOP = LOOP + 1
  1757. end
  1758. until KEYHOLD == false and LOOP >= 35 or DISTANCE >= 2000
  1759. coroutine.resume(coroutine.create(function()
  1760. for i = 1, 15 do
  1761. Swait()
  1762. BEAM.Size = BEAM.Size - VT(0.1, 0, 0.1)
  1763. BEAMO.Size = BEAMO.Size - VT(0.1, 0.1, 0.1)
  1764. BEAM.Transparency = BEAM.Transparency + 0.06666666666666667
  1765. BEAMO.Transparency = BEAMO.Transparency + 0.06666666666666667
  1766. end
  1767. BEAM:remove()
  1768. BEAMO:remove()
  1769. end))
  1770. ATTACK = false
  1771. Rooted = false
  1772. VALUE2 = false
  1773. end
  1774.  
  1775. function Nuke()
  1776. ATTACK = true
  1777. Rooted = true
  1778. local CHARGE = false
  1779. local BLASTS = {468991944, 468991990}
  1780. coroutine.resume(coroutine.create(function()
  1781. repeat
  1782. Swait()
  1783. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1784. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 0.1 / Animation_Speed)
  1785. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 0.1 / Animation_Speed)
  1786. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(140 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.1 / Animation_Speed)
  1787. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1788. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(25 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.1 / Animation_Speed)
  1789. until CHARGE == true
  1790. for i = 0, 0.4, 0.1 / Animation_Speed do
  1791. Swait()
  1792. WACKYEFFECT({
  1793. Time = 15,
  1794. EffectType = "Sphere",
  1795. Size = VT(60, 60, 60),
  1796. Size2 = VT(0, 0, 0),
  1797. Transparency = 1,
  1798. Transparency2 = 0.7,
  1799. CFrame = CF(RootPart.Position),
  1800. MoveToPos = nil,
  1801. RotationX = 0,
  1802. RotationY = 0,
  1803. RotationZ = 0,
  1804. Material = "Neon",
  1805. Color = C3(0, 1, 0),
  1806. SoundID = nil,
  1807. SoundPitch = nil,
  1808. SoundVolume = nil
  1809. })
  1810. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(-7.5 * SIN(SINE / 12)), RAD(-50 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(160 - 7.5 * SIN(SINE / 12)), RAD(7.5 * SIN(SINE / 12)), RAD(50 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(35 - 7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1816. end
  1817. coroutine.resume(coroutine.create(function()
  1818. local POS = RootPart.Position
  1819. wait(0.2)
  1820. for i = 1, 5 do
  1821. WACKYEFFECT({
  1822. Time = 65,
  1823. EffectType = "Sphere",
  1824. Size = VT(2, 2, 2),
  1825. Size2 = VT(0, 0, 500),
  1826. Transparency = 1,
  1827. Transparency2 = 0,
  1828. CFrame = CF(POS),
  1829. MoveToPos = nil,
  1830. RotationX = MRANDOM(-2, 2),
  1831. RotationY = MRANDOM(-12, 12),
  1832. RotationZ = MRANDOM(-2, 2),
  1833. Material = "Neon",
  1834. Color = C3(0, 1, 0),
  1835. SoundID = nil,
  1836. SoundPitch = nil,
  1837. SoundVolume = nil
  1838. })
  1839. end
  1840. wait(1)
  1841. SHAKECAM(POS, 9999999999, 25, 25)
  1842. ApplyAoE(POS, 450, true)
  1843. WACKYEFFECT({
  1844. Time = 85,
  1845. EffectType = "Sphere",
  1846. Size = VT(120, 120, 120),
  1847. Size2 = VT(350, 350, 350),
  1848. Transparency = 0,
  1849. Transparency2 = 1,
  1850. CFrame = CF(POS),
  1851. MoveToPos = nil,
  1852. RotationX = 0,
  1853. RotationY = 0,
  1854. RotationZ = 0,
  1855. Material = "Neon",
  1856. Color = C3(0, 1, 0),
  1857. SoundID = nil,
  1858. SoundPitch = 1,
  1859. SoundVolume = 10
  1860. })
  1861. for i = 1, 20 do
  1862. WACKYEFFECT({
  1863. Time = 85,
  1864. EffectType = "Sphere",
  1865. Size = VT(120, 120, 120),
  1866. Size2 = VT(120, 120, 144) + VT(i * 3, i * 3, i * 3),
  1867. Transparency = 0.8,
  1868. Transparency2 = 1,
  1869. CFrame = CF(POS),
  1870. MoveToPos = nil,
  1871. RotationX = 0,
  1872. RotationY = 0,
  1873. RotationZ = 0,
  1874. Material = "Neon",
  1875. Color = C3(0, 1, 0),
  1876. SoundID = nil,
  1877. SoundPitch = 1,
  1878. SoundVolume = 10
  1879. })
  1880. WACKYEFFECT({
  1881. Time = 100,
  1882. EffectType = "Wave",
  1883. Size = VT(25, 2, 25),
  1884. Size2 = VT(400, 0, 400) * 1.2,
  1885. Transparency = 0,
  1886. Transparency2 = 1,
  1887. CFrame = CF(POS) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  1888. MoveToPos = nil,
  1889. RotationX = 0,
  1890. RotationY = 0,
  1891. RotationZ = 0,
  1892. Material = "Neon",
  1893. Color = C3(0, 1, 0),
  1894. SoundID = nil,
  1895. SoundPitch = nil,
  1896. SoundVolume = nil
  1897. })
  1898. end
  1899. local HITFLOOR, HITPOS = Raycast(POS, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1900. for i = 1, 5 do
  1901. CreateSound(438666077, Effects, 15, 1 - i / 15, false)
  1902. WACKYEFFECT({
  1903. Time = 120,
  1904. EffectType = "Wave",
  1905. Size = VT(150, 2, 150),
  1906. Size2 = VT(300 + i * 170, 0, 300 + i * 170) * 1.2,
  1907. Transparency = 0,
  1908. Transparency2 = 1,
  1909. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  1910. MoveToPos = nil,
  1911. RotationX = 0,
  1912. RotationY = 0,
  1913. RotationZ = 0,
  1914. Material = "Neon",
  1915. Color = C3(0, 1, 0),
  1916. SoundID = nil,
  1917. SoundPitch = nil,
  1918. SoundVolume = nil
  1919. })
  1920. end
  1921. end))
  1922. for i = 0, 1, 0.1 / Animation_Speed do
  1923. Swait()
  1924. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.45 * COS(SINE / 12)) * ANGLES(RAD(7 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 1 * SIN(SINE / 12))), 1 / Animation_Speed)
  1925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(45 - 7.5 * SIN(SINE / 12)), RAD(12 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(45 - 7.5 * SIN(SINE / 12)), RAD(-45 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 + 0.15 * COS(SINE / 12), -0.01) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5 + 0.25 * COS(SINE / 12), -0.5) * ANGLES(RAD(-7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1930. end
  1931. ATTACK = false
  1932. Rooted = false
  1933. end))
  1934. for i = 1, 30 do
  1935. wait(0.01)
  1936. local POS = CF(RootPart.Position) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * CF(0, 0, MRANDOM(10, 150))
  1937. local HITFLOOR, HITPOS = Raycast(POS.p, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 150, Character)
  1938. if HITFLOOR then
  1939. ApplyAoE(HITPOS, 65, true)
  1940. local TURN = ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)) * ANGLES(RAD(MRANDOM(0, 25)), RAD(0), RAD(0))
  1941. WACKYEFFECT({
  1942. Time = 25,
  1943. EffectType = "Sphere",
  1944. Size = VT(22, 22, 22),
  1945. Size2 = VT(85, 85, 85),
  1946. Transparency = 0,
  1947. Transparency2 = 1,
  1948. CFrame = CF(HITPOS),
  1949. MoveToPos = nil,
  1950. RotationX = 0,
  1951. RotationY = 0,
  1952. RotationZ = 0,
  1953. Material = "Neon",
  1954. Color = C3(0, 1, 0),
  1955. SoundID = BLASTS[MRANDOM(1, #BLASTS)],
  1956. SoundPitch = MRANDOM(9, 12) / 10,
  1957. SoundVolume = 10
  1958. })
  1959. for e = 1, 3 do
  1960. WACKYEFFECT({
  1961. EffectType = "Wave",
  1962. Size = VT(25, 0, 25),
  1963. Size2 = VT(40, 0, 40) + VT(e * 6, e / 5, e * 6),
  1964. Transparency = 0,
  1965. Transparency2 = 1,
  1966. CFrame = CF(HITPOS) * ANGLES(RAD(0), RAD(72 * i), RAD(0)),
  1967. MoveToPos = nil,
  1968. RotationX = 0,
  1969. RotationY = 3,
  1970. RotationZ = 0,
  1971. Material = "Neon",
  1972. Color = C3(0, 1, 0),
  1973. SoundID = nil,
  1974. SoundPitch = nil,
  1975. SoundVolume = nil
  1976. })
  1977. WACKYEFFECT({
  1978. Time = 35,
  1979. EffectType = "Sphere",
  1980. Size = VT(22, 45, 22),
  1981. Size2 = VT(25, 45 + e * 75, 25),
  1982. Transparency = 0,
  1983. Transparency2 = 1,
  1984. CFrame = CF(HITPOS) * TURN,
  1985. MoveToPos = nil,
  1986. RotationX = 0,
  1987. RotationY = 0,
  1988. RotationZ = 0,
  1989. Material = "Neon",
  1990. Color = C3(0, 1, 0),
  1991. SoundID = nil,
  1992. SoundPitch = MRANDOM(9, 12) / 10,
  1993. SoundVolume = 10
  1994. })
  1995. end
  1996. end
  1997. end
  1998. CHARGE = true
  1999. end
  2000. function Banish1(Foe)
  2001. if Foe then
  2002. coroutine.resume(coroutine.create(function()
  2003. --if game.Players:FindFirstChild(Foe.Name) then
  2004. table.insert(TOBANISH,Foe.Name)
  2005. printbye(Foe.Name)
  2006. --end
  2007. Foe.Archivable = true
  2008. local CLONE = Foe:Clone()
  2009. Foe:Destroy()
  2010. CLONE.Parent = Effects
  2011. CLONE:BreakJoints()
  2012. local MATERIALS = {"Glass","Neon"}
  2013. for _, c in pairs(CLONE:GetDescendants()) do
  2014. if c:IsA("BasePart") then
  2015. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2016. CreateSound(340722848, c, 10, 1, false)
  2017. end
  2018. c.Anchored = true
  2019. c.Transparency = c.Transparency + 0.2
  2020. c.Material = MATERIALS[MRANDOM(1,2)]
  2021. c.Color = C3(0,255,0)
  2022. if c.ClassName == "MeshPart" then
  2023. c.TextureID = ""
  2024. end
  2025. if c:FindFirstChildOfClass("SpecialMesh") then
  2026. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2027. end
  2028. if c:FindFirstChildOfClass("Decal") then
  2029. c:FindFirstChildOfClass("Decal"):remove()
  2030. end
  2031. c.Name = "Banished"
  2032. c.CanCollide = false
  2033. else
  2034. c:remove()
  2035. end
  2036. end
  2037. local A = false
  2038. for i = 1, 35 do
  2039. if A == false then
  2040. A = true
  2041. elseif A == true then
  2042. A = false
  2043. end
  2044. for _, c in pairs(CLONE:GetDescendants()) do
  2045. if c:IsA("BasePart") then
  2046. c.Anchored = true
  2047. c.Material = MATERIALS[MRANDOM(1,2)]
  2048. c.Transparency = c.Transparency + 0.8/35
  2049. if A == false then
  2050. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2051. elseif A == true then
  2052. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2053. end
  2054. end
  2055. end
  2056. Swait()
  2057. end
  2058. CLONE:remove()
  2059. end))
  2060. end
  2061. end
  2062. local SOUND = IT("Sound")
  2063.  
  2064. function CreateSound0(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  2065. local NEWSOUND = nil
  2066. coroutine.resume(coroutine.create(function()
  2067. NEWSOUND = SOUND:Clone()
  2068. NEWSOUND.Parent = PARENT
  2069. NEWSOUND.Volume = VOLUME
  2070. NEWSOUND.Pitch = PITCH
  2071. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  2072. --Swait()
  2073. NEWSOUND:play()
  2074. if DOESLOOP == false then
  2075. repeat Swait() until NEWSOUND.Playing == false
  2076. NEWSOUND:remove()
  2077. elseif DOESLOOP == true then
  2078. NEWSOUND.Looped = true
  2079. end
  2080. end))
  2081. return NEWSOUND
  2082. end
  2083. function Kill1(Char)
  2084. local NewCharacter = IT("Model",Effects)
  2085. NewCharacter.Name = "Ow im ded ;-;"
  2086. for _, c in pairs(Char:GetDescendants()) do
  2087. if c:IsA("BasePart") and c.Transparency == 0 then
  2088. if c.Parent == Char then
  2089. getbloody(c,5)
  2090. end
  2091. c:BreakJoints()
  2092. c.Material = "Glass"
  2093. c.Color = C3(0.5,0,0)
  2094. c.CanCollide = true
  2095. c.Transparency = 0.3
  2096. if c:FindFirstChildOfClass("SpecialMesh") then
  2097. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2098. end
  2099. if c.Name == "Head" then
  2100. c:ClearAllChildren()
  2101. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  2102. end
  2103. if c.ClassName == "MeshPart" then
  2104. c.TextureID = ""
  2105. end
  2106. if c:FindFirstChildOfClass("BodyPosition") then
  2107. c:FindFirstChildOfClass("BodyPosition"):remove()
  2108. end
  2109. if c:FindFirstChildOfClass("ParticleEmitter") then
  2110. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2111. end
  2112. c.Parent = NewCharacter
  2113. c.Name = "DeadPart"
  2114. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  2115. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  2116. end
  2117. end
  2118. Char:remove()
  2119. Debris:AddItem(NewCharacter,5)
  2120. end
  2121. local TOBANISH = {}
  2122. function printbye(Name)
  2123. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  2124. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2125. end
  2126. function SpawnTrail1(FROM,TO,BIG)
  2127. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  2128. MakeForm(TRAIL,"Cyl")
  2129. local DIST = (FROM - TO).Magnitude
  2130. if BIG == true then
  2131. TRAIL.Size = VT(0.5,DIST,0.5)
  2132. else
  2133. TRAIL.Size = VT(0.25,DIST,0.25)
  2134. end
  2135. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  2136. coroutine.resume(coroutine.create(function()
  2137. for i = 1, 5 do
  2138. Swait()
  2139. TRAIL.Transparency = TRAIL.Transparency + 0.1
  2140. end
  2141. TRAIL:remove()
  2142. end))
  2143. end
  2144.  
  2145. local RightHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2146. MakeForm(RightHole,"Cyl")
  2147. local LeftHole = CreatePart(3, Character, "Metal", 0, 0, "Mid gray", "Eye", VT(0.2,0,0.2),false)
  2148. MakeForm(LeftHole,"Cyl")
  2149. local LAUGHS = {189035381,189035323,189035671,872089905}
  2150. function Deathbound()
  2151. CreateSound0(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  2152. ATTACK = true
  2153. Rooted = true
  2154. for i=0, 1, 0.1 / Animation_Speed do
  2155. Swait()
  2156. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2157. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2158. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2159. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2160. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2161. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2162. end
  2163. local DONE = false
  2164. local GATE = nil
  2165. local GATESPIN = true
  2166. coroutine.resume(coroutine.create(function()
  2167. repeat
  2168. Swait()
  2169. if GATE ~= nil then
  2170. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  2171. end
  2172. until GATESPIN == false
  2173. end))
  2174. coroutine.resume(coroutine.create(function()
  2175. repeat
  2176. Swait()
  2177. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2178. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2179. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2180. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2181. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2182. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2183. until DONE == true
  2184. Swait(50)
  2185. for i = 1, 35 do
  2186. Swait(4)
  2187. local FIRED = false
  2188. local CHILDREN = workspace:GetDescendants()
  2189. for index, CHILD in pairs(CHILDREN) do
  2190. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2191. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2192. if HUM then
  2193. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2194. if TORSO then
  2195. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  2196. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2197. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2198. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  2199. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2200. SpawnTrail1(CFRAME.p,CFRAME*CF(0,1000,0).p)
  2201. Banish1(CHILD)
  2202. FIRED = true
  2203. break
  2204. end
  2205. end
  2206. end
  2207. end
  2208. end
  2209. if FIRED == false then
  2210. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  2211. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = CFRAME*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = 213603013, SoundPitch = 1.5, SoundVolume = 6})
  2212. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CFRAME, MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2213. SpawnTrail1(CFRAME.p,CFRAME*CF(1,1000,1).p)
  2214. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  2215. if HITBOD ~= nil then
  2216. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  2217. Kill1(HITBOD.Parent)
  2218. end
  2219. end
  2220. end
  2221. end
  2222. for i = 1, 45 do
  2223. Swait()
  2224. GATE.Size = GATE.Size - VT(3,0,3)
  2225. end
  2226. GATESPIN = false
  2227. GATE:remove()
  2228. end))
  2229. Swait(15)
  2230. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  2231. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  2232. local DECAL = IT("Decal",GATE)
  2233. DECAL.Texture = "http://www.roblox.com/asset/?id=332014171"
  2234. DECAL.Face = "Top"
  2235. GATE.CFrame = CF(HITPOS)
  2236. CreateSound0(160772554, GATE, 7, 1.3, false)
  2237. for i = 1, 45 do
  2238. Swait()
  2239. GATE.Size = GATE.Size + VT(3,0,3)
  2240. end
  2241. CreateSound0(213603013, RightHole, 7, 1, false)
  2242. CreateSound0(213603013, LeftHole, 7, 1, false)
  2243. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = RightHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2244. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,2,2), Transparency = 0, Transparency2 = 1, CFrame = LeftHole.CFrame*CF(0,-1,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(58,125,21), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2245. ATTACK = false
  2246. Rooted = false
  2247. DONE = true
  2248. end
  2249. local HATWELD = nil
  2250. local PLAYMAINANIM = true
  2251. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  2252. PLAYMAINANIM = false
  2253. if WhichPose == "Cast1" then
  2254. for i=0, Time, 0.1 / Animation_Speed do
  2255. Swait()
  2256. if Magic == true then
  2257. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2258. end
  2259. if Gyro ~= nil and Gyro ~= false then
  2260. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2261. end
  2262. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  2263. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  2264. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2265. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2266. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2267. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2268. end
  2269. elseif WhichPose == "Cast2" then
  2270. for i=0, Time, 0.1 / Animation_Speed do
  2271. Swait()
  2272. if Magic == true then
  2273. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2274. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2275. end
  2276. if Gyro ~= nil and Gyro ~= false then
  2277. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2278. end
  2279. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2280. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2281. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2282. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2283. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2284. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2285. end
  2286. elseif WhichPose == "RightArmUp" then
  2287. for i=0, Time, 0.1 / Animation_Speed do
  2288. Swait()
  2289. if Magic == true then
  2290. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2291. end
  2292. if Gyro ~= nil and Gyro ~= false then
  2293. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2294. end
  2295. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  2296. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2297. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2298. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2299. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2300. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2301. end
  2302. elseif WhichPose == "Taunt" then
  2303. for i=0, Time, 0.1 / Animation_Speed do
  2304. Swait()
  2305. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2306. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2307. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2308. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2309. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2310. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2311. end
  2312. HATWELD.Part0 = RightArm
  2313. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  2314. CreateSound(221057812,Torso,10,1,false)
  2315. for i=0, Time*2, 0.1 / Animation_Speed do
  2316. Swait()
  2317. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2318. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  2319. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2320. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2321. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2322. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2323. end
  2324. for i=0, Time, 0.1 / Animation_Speed do
  2325. Swait()
  2326. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  2327. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  2328. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2329. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2330. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2331. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2332. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  2333. end
  2334. HATWELD.Part0 = Head
  2335. HATWELD.C0 = CF(0,0.35,0)
  2336. elseif WhichPose == "Prepare key" then
  2337. for i=0, Time, 0.1 / Animation_Speed do
  2338. Swait()
  2339. if Gyro ~= nil and Gyro ~= false then
  2340. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  2341. end
  2342. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(65)), Speed / Animation_Speed)
  2343. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-65)), Speed / Animation_Speed)
  2344. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2345. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2346. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2347. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2348. end
  2349. elseif WhichPose == "Turn key" then
  2350. for i=0, Time, 0.1 / Animation_Speed do
  2351. Swait()
  2352. if Gyro ~= nil and Gyro ~= false then
  2353. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  2354. end
  2355. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(75)), Speed / Animation_Speed)
  2356. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-75)), Speed / Animation_Speed)
  2357. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.25) * ANGLES(RAD(90), RAD(0), RAD(75)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  2358. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  2359. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  2360. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  2361. end
  2362. end
  2363. PLAYMAINANIM = true
  2364. end
  2365. function Prison_Key()
  2366. if Mouse.Target ~= nil then
  2367. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2368. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2369. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2370. local GYRO = IT("BodyGyro",RootPart)
  2371. GYRO.D = 750
  2372. GYRO.P = 20000
  2373. GYRO.MaxTorque = VT(0,40000000,0)
  2374. local grav = Instance.new("BodyPosition",TORSO)
  2375. grav.D = 15
  2376. grav.P = 20000
  2377. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2378. grav.position = TORSO.Position
  2379. local GYRO2 = IT("BodyGyro",TORSO)
  2380. GYRO2.D = 750
  2381. GYRO2.P = 20000
  2382. GYRO2.MaxTorque = VT(0,40000000,0)
  2383. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2384. grav.Name = "Jail"
  2385. local LOCKPARTS = {}
  2386. ATTACK = true
  2387. Rooted = false
  2388. local LOCK = IT("Model",Effects)
  2389. LOCK.Name = "Lock"
  2390. local LOCK2 = IT("Model",LOCK)
  2391. LOCK2.Name = "Metal"
  2392. --CREATE LOCK--
  2393. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 2.5, 1))
  2394. LOCK.PrimaryPart = BASE
  2395. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2396. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Gold", "Keylock", VT(3, 1, 3))
  2397. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2398. MakeForm(PRT,"Cyl")
  2399. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(1, 1, 1))
  2400. PRT.Color = C3(0,0,0)
  2401. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2402. MakeForm(PRT,"Cyl")
  2403. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "White", "Hole", VT(0.5, 1, 1))
  2404. PRT.Color = C3(0,0,0)
  2405. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2406. for i = 1, 45 do
  2407. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2408. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2409. end
  2410. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Grey", "Keylock", VT(0.5, 0.5, 0.5))
  2411. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2412. LOCK2.PrimaryPart = PRT
  2413. ---------------
  2414. local CHILDREN = LOCK:GetDescendants()
  2415. for index, CHILD in pairs(CHILDREN) do
  2416. if CHILD:IsA("BasePart") then
  2417. CHILD.Transparency = 1
  2418. end
  2419. end
  2420. for i = 1, 75 do
  2421. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  2422. Swait()
  2423. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2424. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2425. local CHILDREN = LOCK:GetDescendants()
  2426. for index, CHILD in pairs(CHILDREN) do
  2427. if CHILD:IsA("BasePart") then
  2428. CHILD.Transparency = CHILD.Transparency - 1/75
  2429. end
  2430. end
  2431. end
  2432. HUM.DisplayDistanceType = "None"
  2433. local KEY = IT("Model",Effects)
  2434. KEY.Name = "Key"
  2435. --CREATE KEY--
  2436. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "KeyBase", VT(0.1, 1, 0.1),false)
  2437. KEY.PrimaryPart = KBASE
  2438. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  2439. local WLD = weldBetween(RightArm,KBASE)
  2440. for i = 1, 45 do
  2441. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.1, 0.1, 0.1),false)
  2442. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  2443. weldBetween(KBASE,PRT)
  2444. end
  2445. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.3, 0.1, 0.1),false)
  2446. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  2447. weldBetween(KBASE,PRT)
  2448. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Really blue", "Key", VT(0.3, 0.1, 0.1),false)
  2449. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  2450. weldBetween(KBASE,PRT)
  2451. --------------
  2452. Rooted = true
  2453. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  2454. coroutine.resume(coroutine.create(function()
  2455. for i = 1, 10 do
  2456. Swait()
  2457. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2458. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  2459. end
  2460. CreateSound(1149318312,BASE,5,1,false)
  2461. CreateSound(160772554,BASE,3,1,false)
  2462. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  2463. for i = 1, 4 do
  2464. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2465. end
  2466. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really blue".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  2467. wait(1)
  2468. TORSO.Parent.Parent = LOCK
  2469. for i = 1, 75 do
  2470. Swait()
  2471. local CHILDREN = KEY:GetDescendants()
  2472. for index, CHILD in pairs(CHILDREN) do
  2473. if CHILD:IsA("BasePart") then
  2474. CHILD.Transparency = i/25
  2475. end
  2476. end
  2477. local CHILDREN = LOCK:GetDescendants()
  2478. for index, CHILD in pairs(CHILDREN) do
  2479. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  2480. CHILD.Transparency = CHILD.Transparency + 1/75
  2481. elseif CHILD.ClassName == "Decal" then
  2482. CHILD.Transparency = CHILD.Transparency + 1/75
  2483. end
  2484. end
  2485. end
  2486. TORSO.Parent:ClearAllChildren()
  2487. KEY:remove()
  2488. LOCK:remove()
  2489. end))
  2490. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  2491. GYRO:remove()
  2492. ATTACK = false
  2493. Rooted = false
  2494. end
  2495. end
  2496. end
  2497. -----------------------false god skill---------------
  2498. function Petrify(Foe)
  2499. local STONEMODEL = IT("Model", Effects)
  2500. local CHILDREN = Foe:GetDescendants()
  2501. for index, CHILD in pairs(CHILDREN) do
  2502. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  2503. CHILD.Parent = STONEMODEL
  2504. CHILD.Material = "Slate"
  2505. CHILD.Color = C3(0.5, 0.5, 0.5)
  2506. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  2507. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  2508. mesh.TextureId = ""
  2509. end
  2510. if CHILD:FindFirstChildOfClass("Decal") then
  2511. local mesh = CHILD:FindFirstChildOfClass("Decal")
  2512. mesh:remove()
  2513. end
  2514. if CHILD.ClassName == "MeshPart" then
  2515. CHILD.TextureID = ""
  2516. end
  2517. if CHILD.ClassName == "UnionOperation" then
  2518. CHILD.UsePartColor = true
  2519. end
  2520. CHILD.CanCollide = true
  2521. end
  2522. end
  2523. Debris:AddItem(STONEMODEL, 5)
  2524. end
  2525.  
  2526. function Blink()
  2527. coroutine.resume(coroutine.create(function()
  2528. if EYE ~= nil then
  2529. for i = 1, 5 do
  2530. Swait()
  2531. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0,0.2,0)
  2532. EYE2.Mesh.Scale = EYE.Mesh.Scale
  2533. end
  2534. for i = 1, 7 do
  2535. Swait()
  2536. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0,0.2,0)
  2537. EYE2.Mesh.Scale = EYE.Mesh.Scale
  2538. end
  2539. EYE.Mesh.Scale = VT(1,1,1)
  2540. EYE2.Mesh.Scale = EYE.Mesh.Scale
  2541. end
  2542. end))
  2543. end
  2544.  
  2545. function Imperfect_Command()
  2546. ATTACK = true
  2547. Rooted = true
  2548. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2549. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2550. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2551. if TORSO then
  2552. local GYRO = IT("BodyGyro", RootPart)
  2553. GYRO.D = 750
  2554. GYRO.P = 2000
  2555. GYRO.MaxTorque = VT(0, 40000, 0)
  2556. CreateSound("907330103", Torso, 10, 1)
  2557. for i = 0, 1.6, 0.1 / Animation_Speed do
  2558. Swait()
  2559. WACKYEFFECT({
  2560. Time = 5,
  2561. EffectType = "Round Slash",
  2562. Size = VT(0, 0, 0),
  2563. Size2 = VT(0.01, 0, 0.01),
  2564. Transparency = 0.5,
  2565. Transparency2 = 1,
  2566. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2567. MoveToPos = nil,
  2568. RotationX = MRANDOM(-50, 50) / 10,
  2569. RotationY = MRANDOM(-50, 50) / 10,
  2570. RotationZ = MRANDOM(-50, 50) / 10,
  2571. Material = "Neon",
  2572. Color = C3(1, 0, 0),
  2573. SoundID = nil,
  2574. SoundPitch = nil,
  2575. SoundVolume = nil
  2576. })
  2577. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  2578. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  2579. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  2580. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2581. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2582. if ANIM == "Idle" then
  2583. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2584. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2585. elseif ANIM == "Walk" then
  2586. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2587. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2588. elseif ANIM == "Jump" or ANIM == "Fall" then
  2589. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2590. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2591. end
  2592. end
  2593. GYRO:remove()
  2594. for i = 1, 15 do
  2595. WACKYEFFECT({
  2596. Time = MRANDOM(15, 85),
  2597. EffectType = "Round Slash",
  2598. Size = VT(0, 0, 0),
  2599. Size2 = VT(0.3, 0, 0.3),
  2600. Transparency = 0.5,
  2601. Transparency2 = 1,
  2602. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2603. MoveToPos = nil,
  2604. RotationX = MRANDOM(-50, 50) / 10,
  2605. RotationY = MRANDOM(-50, 50) / 10,
  2606. RotationZ = MRANDOM(-50, 50) / 10,
  2607. Material = "Neon",
  2608. Color = C3(1, 0, 0),
  2609. SoundID = nil,
  2610. SoundPitch = nil,
  2611. SoundVolume = nil
  2612. })
  2613. end
  2614. local bv = Instance.new("BodyVelocity")
  2615. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2616. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  2617. bv.Parent = TORSO
  2618. Debris:AddItem(bv, 0.05)
  2619. CreateSound("1222405264", TORSO, 10, 1)
  2620. Petrify(HUM.Parent)
  2621. for i = 0, 0.5, 0.1 / Animation_Speed do
  2622. Swait()
  2623. WACKYEFFECT({
  2624. Time = 5,
  2625. EffectType = "Round Slash",
  2626. Size = VT(0, 0, 0),
  2627. Size2 = VT(0.01, 0, 0.01),
  2628. Transparency = 0.5,
  2629. Transparency2 = 1,
  2630. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2631. MoveToPos = nil,
  2632. RotationX = MRANDOM(-50, 50) / 10,
  2633. RotationY = MRANDOM(-50, 50) / 10,
  2634. RotationZ = MRANDOM(-50, 50) / 10,
  2635. Material = "Neon",
  2636. Color = C3(1, 0, 0),
  2637. SoundID = nil,
  2638. SoundPitch = nil,
  2639. SoundVolume = nil
  2640. })
  2641. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  2642. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  2643. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  2644. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2645. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2646. if ANIM == "Idle" then
  2647. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2648. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2649. elseif ANIM == "Walk" then
  2650. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2651. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2652. elseif ANIM == "Jump" or ANIM == "Fall" then
  2653. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2654. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2655. end
  2656. end
  2657. end
  2658. end
  2659. ATTACK = false
  2660. Rooted = false
  2661. end
  2662. -------------------lol--------
  2663. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  2664. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  2665. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  2666. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  2667. function killnearest(position,range,maxstrength,BRUTAL,RANGE)
  2668. for i,v in ipairs(workspace:GetChildren()) do
  2669. local body = v:GetChildren()
  2670. for part = 1, #body do
  2671. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2672. if(body[part].Position - position).Magnitude < range then
  2673. if v.ClassName == "Model" then
  2674. v:BreakJoints()
  2675. end
  2676. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  2677. local bv = Instance.new("BodyVelocity")
  2678. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2679. bv.velocity = CF(position,body[part].Position).lookVector*maxstrength
  2680. bv.Parent = body[part]
  2681. Debris:AddItem(bv,0.2)
  2682. end
  2683. end
  2684. end
  2685. if v.ClassName == "Part" then
  2686. if v.Anchored == false and (v.Position - position).Magnitude < range then
  2687. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  2688. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  2689. end
  2690. end
  2691. end
  2692. end
  2693. function MakeForm1(PART,TYPE)
  2694. if TYPE == "Cyl" then
  2695. local MSH = IT("CylinderMesh",PART)
  2696. elseif TYPE == "Ball" then
  2697. local MSH = IT("SpecialMesh",PART)
  2698. MSH.MeshType = "Sphere"
  2699. elseif TYPE == "Wedge" then
  2700. local MSH = IT("SpecialMesh",PART)
  2701. MSH.MeshType = "Wedge"
  2702. end
  2703. end
  2704.  
  2705. function Darkness()
  2706. ATTACK = true
  2707. Rooted = true
  2708. local GYRO = IT("BodyGyro",RootPart)
  2709. GYRO.D = 100
  2710. GYRO.P = 2000
  2711. GYRO.MaxTorque = VT(0,4000000,0)
  2712. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2713. CreateSound("429459101", RightArm, 10, 0.8)
  2714. for i=0, 3.5, 0.1 / Animation_Speed do
  2715. Swait()
  2716. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2717. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2718. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2719. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2720. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2721. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2722. end
  2723. GYRO:remove()
  2724. for i=0, 0.15, 0.1 / Animation_Speed do
  2725. Swait()
  2726. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2727. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.3,0.3,0.3), Size2 = VT(0,10,0), Transparency = 0, Transparency2 = 1, CFrame = CF(Hole.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(0,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2728. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2729. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2730. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2732. end
  2733. local BOMBSPOTS = {}
  2734. for i = 1, 25 do
  2735. local SPOT = CreatePart(3, Effects, "Neon", 0, 0, "Relly black", "Blade", VT(8,1,8))
  2736. SPOT.Color = SKILLTEXTCOLOR
  2737. SPOT.CFrame = RootPart.CFrame*CF((MRANDOM(-15,15)/40)*i,-5,-i*5)
  2738. table.insert(BOMBSPOTS,SPOT)
  2739. MakeForm1(SPOT,"Cyl2")
  2740. end
  2741. for i=0, 0.2, 0.1 / Animation_Speed do
  2742. Swait()
  2743. WACKYEFFECT({Time = 15, EffectType = "Block", Size = VT(15,15,15), Size2 = VT(0,0,0), Transparency = 1, Transparency2 = 0.6, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Really black".Color, SoundID = nil, SoundPitch = 1, SoundVolume = 7})
  2744. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2745. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2746. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.75 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(0), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2747. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0.4) * ANGLES(RAD(-5), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2748. end
  2749. ATTACK = false
  2750. Rooted = false
  2751. coroutine.resume(coroutine.create(function()
  2752. Swait(3)
  2753. for i = 1, #BOMBSPOTS do
  2754. if BOMBSPOTS[i] ~= nil then
  2755. local E = BOMBSPOTS[i]
  2756. coroutine.resume(coroutine.create(function()
  2757. local BLADE = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Relly black", "Blade", VT(0,0,0))
  2758. BLADE.Color = SKILLTEXTCOLOR
  2759. CreateMesh("SpecialMesh", BLADE, "FileMesh", "93108071", "", VT(0.6,1,0.4)*3, VT(0,0,0))
  2760. CreateSound(HITWEAPONSOUNDS[MRANDOM(1,#HITWEAPONSOUNDS)], BLADE, 4, 0.6)
  2761. BLADE.CFrame = E.CFrame*CF(0,-3,0)*ANGLES(RAD(MRANDOM(-15,15)),RAD(90),RAD(MRANDOM(-15,15)))
  2762. for i = 1, 10 do
  2763. Swait()
  2764. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.5,0.5,0.5), Size2 = VT(0,50,0), Transparency = 0, Transparency2 = 1, CFrame = CF(BLADE.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-35,35), RotationZ = 0, Material = "Glass", Color = C3(1,0,0), SoundID = nil, SoundPitch = MRANDOM(7,15)/10, SoundVolume = 10})
  2765. killnearest(BLADE.Position,6,80)
  2766. BLADE.CFrame = BLADE.CFrame*CF(0,0.3,0)
  2767. BLADE.Transparency = BLADE.Transparency - 0.1
  2768. end
  2769. Swait(45)
  2770. for i = 1, 100 do
  2771. Swait()
  2772. BLADE.Transparency = BLADE.Transparency + 0.01
  2773. E.Transparency = E.Transparency + 0.01
  2774. end
  2775. BLADE:remove()
  2776. E:remove()
  2777. end))
  2778. end
  2779. end
  2780. end))
  2781. end
  2782. function Shatter(Part)
  2783. if Part.Transparency == 0 then
  2784. local SOUNDPART = CreatePart(3, Effects, "Neon", 0, 1, Part.BrickColor, "OOF", VT(0,0,0))
  2785. Debris:AddItem(SOUNDPART,5)
  2786. CreateSound("84005018", SOUNDPART, 3, MRANDOM(8,12)/10, false)
  2787. local SIZE = Part.Size.X + Part.Size.Y + Part.Size.Z
  2788. local SIZESET = SIZE/4
  2789. local XOffset = Part.Size.X*1.5/SIZESET
  2790. local YOffset = Part.Size.Y*1.5/SIZESET
  2791. local ZOffset = Part.Size.Z*1.5/SIZESET
  2792. for x = 1, math.ceil(XOffset) do
  2793. for y = 1, math.ceil(YOffset) do
  2794. for z = 1, math.ceil(ZOffset) do
  2795. local SHARD = CreatePart(3, Effects, "Neon", 0, 0, Part.BrickColor, "Shard", VT(SIZE,SIZE,SIZE)/10, false)
  2796. SHARD.CanCollide = true
  2797. SHARD.CFrame = Part.CFrame*CF((Part.Size.X/2-x/4),(Part.Size.Y/2-y/4),(Part.Size.Z/2-z/4))
  2798. SHARD.Velocity = VT(MRANDOM(-15,15),MRANDOM(-15,15),MRANDOM(-15,15))*3
  2799. Debris:AddItem(SHARD,MRANDOM(10,25)/3)
  2800. end
  2801. end
  2802. end
  2803. end
  2804. Part:remove()
  2805. end
  2806. function killnearest4(position,range,EFFECT)
  2807. for i,v in ipairs(workspace:GetChildren()) do
  2808. local body = v:GetChildren()
  2809. for part = 1, #body do
  2810. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2811. local SIZE = body[part].Size.Magnitude
  2812. if(body[part].Position - position).Magnitude < range + SIZE/2 then
  2813. if v.ClassName == "Model" then
  2814. if v:FindFirstChildOfClass("Humanoid") ~= nil then
  2815. if v:FindFirstChildOfClass("Humanoid").Health > 0 then
  2816. v:BreakJoints()
  2817. if EFFECT == "Glitch" then
  2818. coroutine.resume(coroutine.create(function()
  2819. local ORIGINPOS = body[part].CFrame
  2820. local SIZE = body[part].Size
  2821. for i = 1, 100 do
  2822. Swait()
  2823. local PART = body[part]
  2824. PART.Anchored = true
  2825. PART.Size = SIZE*MRANDOM(5,15)/10
  2826. PART.CFrame = ORIGINPOS*CF(MRANDOM(-15,15)/15,MRANDOM(-15,15)/15,MRANDOM(-15,15)/15)
  2827. end
  2828. body[part]:remove()
  2829. end))
  2830. elseif EFFECT == "Shatter" then
  2831. for _, c in pairs(v:GetChildren()) do
  2832. if c.ClassName == "Part" or c.ClassName == "MeshPart" then
  2833. Shatter(c)
  2834. end
  2835. end
  2836. end
  2837. end
  2838. end
  2839. end
  2840. end
  2841. end
  2842. end
  2843. end
  2844. end
  2845. function CyberSmash()
  2846. ATTACK = true
  2847. Rooted = false
  2848. local GYRO = IT("BodyGyro",RootPart)
  2849. GYRO.D = 100
  2850. GYRO.P = 2000
  2851. GYRO.MaxTorque = VT(0,4000000,0)
  2852. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2853. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Lime green", "Block", VT(25,25,25))
  2854. SMASH.CanCollide = true
  2855. SMASH.Color = C3(0,0,0)
  2856. local EF = Instance.new("SelectionBox",SMASH)
  2857. EF.Adornee = SMASH
  2858. EF.Color = BrickColor.new("Lime green")
  2859. EF.LineThickness = 0.2
  2860. EF.Transparency = 1
  2861. coroutine.resume(coroutine.create(function()
  2862. for i = 1, 20 do
  2863. Swait()
  2864. SMASH.Transparency = SMASH.Transparency - 0.05
  2865. EF.Transparency = SMASH.Transparency
  2866. end
  2867. end))
  2868. repeat
  2869. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  2870. Swait()
  2871. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  2872. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-15 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2873. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2874. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(130), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2875. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2876. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2877. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2878. until HOLD == true and SMASH.Transparency < 0.99
  2879. for i = 1, 25 do
  2880. Swait()
  2881. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  2882. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2883. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2884. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.75 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(160), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2885. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2886. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2887. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2888. end
  2889. local TOCH = SMASH.Touched:Connect(function(hit)
  2890. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  2891. Shatter(hit)
  2892. end
  2893. end)
  2894. local n0 = nil
  2895. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  2896. if HITFLOOR ~= nil then
  2897. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  2898. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2899. if HITFLOOR.Parent.ClassName == "Model" then
  2900. HITFLOOR.Parent:BreakJoints()
  2901. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  2902. HITFLOOR.Parent.Parent:BreakJoints()
  2903. end
  2904. end
  2905. local POS = HITPOS
  2906. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  2907. end
  2908. end
  2909. killnearest4(HITPOS,SMASH.Size.X/1.3,"Shatter")
  2910. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  2911. WACKYEFFECT({Time = 25, EffectType = "Box", Size = VT(24,0,24), Size2 = VT(75,2,75), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 130972023, SoundPitch = 1, SoundVolume = 10})
  2912. for i = 1, 25 do
  2913. Swait()
  2914. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  2915. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  2916. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 12), -0.5) * ANGLES(RAD(30), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(45 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2917. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.025 * COS(SINE / 12), 0) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(-12 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2918. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2919. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2920. end
  2921. coroutine.resume(coroutine.create(function()
  2922. wait(0.2)
  2923. TOCH:disconnect()
  2924. wait(1.8)
  2925. for i = 1, 100 do
  2926. Swait()
  2927. SMASH.Transparency = i/100
  2928. end
  2929. for i = 1, 10 do
  2930. Swait()
  2931. EF.Transparency = EF.Transparency + 0.1
  2932. end
  2933. SMASH:remove()
  2934. end))
  2935. GYRO:remove()
  2936. ATTACK = false
  2937. Rooted = false
  2938. end
  2939. function CastWarpOutlines(TARGET)
  2940. coroutine.resume(coroutine.create(function()
  2941. local T = TARGET:GetChildren()
  2942. for i = 1, # T do
  2943. local child = T[i]
  2944. if child.ClassName == "Part" or child.ClassName == "MeshPart" then
  2945. local clone = child:Clone()
  2946. clone.Parent = Effects
  2947. clone.Anchored = true
  2948. clone.CanCollide = false
  2949. clone:ClearAllChildren()
  2950. clone.CFrame = child.CFrame
  2951. if clone.Name == "Head" then
  2952. if TARGET:FindFirstChildOfClass("MeshPart") == nil then
  2953. clone.Size = VT(clone.Size.Y,clone.Size.Y,clone.Size.Y)
  2954. end
  2955. end
  2956. if clone.ClassName == "MeshPart" then
  2957. clone.TextureID = ""
  2958. end
  2959. clone.BrickColor = BRICKC"Black"
  2960. clone.Material = "Neon"
  2961. coroutine.resume(coroutine.create(function()
  2962. for i = 1, 200 do
  2963. Swait()
  2964. clone.Transparency = clone.Transparency + 0.005
  2965. clone.Size = clone.Size + VT(0.001,0.001,0.001)
  2966. end
  2967. clone:remove()
  2968. end))
  2969. end
  2970. end
  2971. end))
  2972. end
  2973. function Bloodbath()
  2974. local HASSTARTED = false
  2975. local target = nil
  2976. local targettorso = nil
  2977. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2978. if Mouse.Target.Parent.Humanoid.PlatformStand == false then
  2979. target = Mouse.Target.Parent.Humanoid
  2980. targettorso = Mouse.Target.Parent:FindFirstChild("Torso") or Mouse.Target.Parent:FindFirstChild("UpperTorso")
  2981. end
  2982. end
  2983. if target ~= nil then
  2984. CreateSound("305685800", Head, 10, 1)
  2985. targettorso.Anchored = true
  2986. HASSTARTED = true
  2987. ATTACK = true
  2988. Rooted = true
  2989. CastWarpOutlines(Character)
  2990. RootPart.CFrame = targettorso.CFrame * CF(0,0,2)
  2991. coroutine.resume(coroutine.create(function()
  2992. Swait(10*100)
  2993. if HASSTARTED == true then
  2994. ATTACK = false
  2995. Rooted = false
  2996. UNANCHOR = true
  2997. end
  2998. end))
  2999. UNANCHOR = false
  3000. RootPart.Anchored = true
  3001. coroutine.resume(coroutine.create(function()
  3002. for i=0, 3, 0.1 / Animation_Speed do
  3003. Swait()
  3004. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.05 / Animation_Speed)
  3005. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.05 / Animation_Speed)
  3006. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.05 / Animation_Speed)
  3007. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.05 / Animation_Speed)
  3008. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  3009. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.05 / Animation_Speed)
  3010. end
  3011. for i=0, 3, 0.1 / Animation_Speed do
  3012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(85)), 0.5 / Animation_Speed)
  3013. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-85)), 0.5 / Animation_Speed)
  3014. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(85)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3015. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3016. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3017. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3018. end
  3019. getbloody(targettorso,25)
  3020. Swait(5)
  3021. targettorso:remove()
  3022. Swait(15)
  3023. ATTACK = false
  3024. Rooted = false
  3025. HASSTARTED = false
  3026. UNANCHOR = true
  3027. end))
  3028. end
  3029. end
  3030. ----------------End---------------------lol justkidding
  3031. function Ragdoll(Character2,CharTorso,KeepArms)
  3032. coroutine.resume(coroutine.create(function()
  3033. Character2:BreakJoints()
  3034. local hum = Character2:findFirstChild("Humanoid")
  3035. hum:remove()
  3036. local function Scan(ch)
  3037. local e
  3038. for e = 1,#ch do
  3039. Scan(ch[e]:GetChildren())
  3040. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3041. ch[e]:remove()
  3042. end
  3043. end
  3044. end
  3045. local NEWHUM = IT("Humanoid")
  3046. NEWHUM.Name = "Corpse"
  3047. NEWHUM.Health = 0
  3048. NEWHUM.MaxHealth = 0
  3049. NEWHUM.PlatformStand = true
  3050. NEWHUM.Parent = Character2
  3051. NEWHUM.DisplayDistanceType = "None"
  3052.  
  3053. local ch = Character2:GetChildren()
  3054. local i
  3055. for i = 1,#ch do
  3056. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3057. ch[i]:remove()
  3058. end
  3059. end
  3060.  
  3061. local Torso2 = Character2.Torso
  3062. local movevector = Vector3.new()
  3063.  
  3064. if Torso2 then
  3065. movevector = CFrame.new(CharTorso.Position,Torso2.Position).lookVector
  3066. local Head = Character2:FindFirstChild("Head")
  3067. if Head then
  3068. local Neck = Instance.new("Weld")
  3069. Neck.Name = "Neck"
  3070. Neck.Part0 = Torso2
  3071. Neck.Part1 = Head
  3072. Neck.C0 = CFrame.new(0, 1.5, 0)
  3073. Neck.C1 = CFrame.new()
  3074. Neck.Parent = Torso2
  3075.  
  3076. end
  3077. local Limb = Character2:FindFirstChild("Right Arm")
  3078. if Limb and KeepArms == true then
  3079.  
  3080. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  3081. local Joint = Instance.new("Glue")
  3082. Joint.Name = "RightShoulder"
  3083. Joint.Part0 = Torso2
  3084. Joint.Part1 = Limb
  3085. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3086. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3087. Joint.Parent = Torso2
  3088.  
  3089. local B = Instance.new("Part")
  3090. B.TopSurface = 0
  3091. B.BottomSurface = 0
  3092. B.formFactor = "Symmetric"
  3093. B.Size = Vector3.new(1, 1, 1)
  3094. B.Transparency = 1
  3095. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3096. B.Parent = Character2
  3097. local W = Instance.new("Weld")
  3098. W.Part0 = Limb
  3099. W.Part1 = B
  3100. W.C0 = CFrame.new(0, -0.5, 0)
  3101. W.Parent = Limb
  3102.  
  3103. end
  3104. local Limb = Character2:FindFirstChild("Left Arm")
  3105. if Limb and KeepArms == true then
  3106.  
  3107. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  3108. local Joint = Instance.new("Glue")
  3109. Joint.Name = "LeftShoulder"
  3110. Joint.Part0 = Torso2
  3111. Joint.Part1 = Limb
  3112. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3113. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3114. Joint.Parent = Torso2
  3115.  
  3116. local B = Instance.new("Part")
  3117. B.TopSurface = 0
  3118. B.BottomSurface = 0
  3119. B.formFactor = "Symmetric"
  3120. B.Size = Vector3.new(1, 1, 1)
  3121. B.Transparency = 1
  3122. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3123. B.Parent = Character2
  3124. local W = Instance.new("Weld")
  3125. W.Part0 = Limb
  3126. W.Part1 = B
  3127. W.C0 = CFrame.new(0, -0.5, 0)
  3128. W.Parent = Limb
  3129.  
  3130. end
  3131. local Limb = Character2:FindFirstChild("Right Leg")
  3132. if Limb then
  3133.  
  3134. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  3135. local Joint = Instance.new("Glue")
  3136. Joint.Name = "RightHip"
  3137. Joint.Part0 = Torso2
  3138. Joint.Part1 = Limb
  3139. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3140. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3141. Joint.Parent = Torso2
  3142.  
  3143. local B = Instance.new("Part")
  3144. B.TopSurface = 0
  3145. B.BottomSurface = 0
  3146. B.formFactor = "Symmetric"
  3147. B.Size = Vector3.new(1, 1, 1)
  3148. B.Transparency = 1
  3149. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3150. B.Parent = Character2
  3151. local W = Instance.new("Weld")
  3152. W.Part0 = Limb
  3153. W.Part1 = B
  3154. W.C0 = CFrame.new(0, -0.5, 0)
  3155. W.Parent = Limb
  3156.  
  3157. end
  3158. local Limb = Character2:FindFirstChild("Left Leg")
  3159. if Limb then
  3160.  
  3161. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  3162. local Joint = Instance.new("Glue")
  3163. Joint.Name = "LeftHip"
  3164. Joint.Part0 = Torso2
  3165. Joint.Part1 = Limb
  3166. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3167. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3168. Joint.Parent = Torso2
  3169.  
  3170. local B = Instance.new("Part")
  3171. B.TopSurface = 0
  3172. B.BottomSurface = 0
  3173. B.formFactor = "Symmetric"
  3174. B.Size = Vector3.new(1, 1, 1)
  3175. B.Transparency = 1
  3176. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3177. B.Parent = Character2
  3178. local W = Instance.new("Weld")
  3179. W.Part0 = Limb
  3180. W.Part1 = B
  3181. W.C0 = CFrame.new(0, -0.5, 0)
  3182. W.Parent = Limb
  3183.  
  3184. end
  3185. --[
  3186. local Bar = Instance.new("Part")
  3187. Bar.TopSurface = 0
  3188. Bar.BottomSurface = 0
  3189. Bar.formFactor = "Symmetric"
  3190. Bar.Size = Vector3.new(1, 1, 1)
  3191. Bar.Transparency = 1
  3192. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  3193. Bar.Parent = Character2
  3194. local Weld = Instance.new("Weld")
  3195. Weld.Part0 = Torso2
  3196. Weld.Part1 = Bar
  3197. Weld.C0 = CFrame.new(0, 0.5, 0)
  3198. Weld.Parent = Torso2
  3199. --]]
  3200. end
  3201. Character2.Parent = workspace
  3202. Debris:AddItem(Character2,5)
  3203.  
  3204. return Character2,Torso2
  3205. end))
  3206. end
  3207. function ragdollJoint(character, part0, part1, attachmentName, className, properties)
  3208. attachmentName = attachmentName.."RigAttachment"
  3209. local constraint = Instance.new(className.."Constraint")
  3210. constraint.Attachment0 = part0:FindFirstChild(attachmentName)
  3211. constraint.Attachment1 = part1:FindFirstChild(attachmentName)
  3212. constraint.Name = "RagdollConstraint"..part1.Name
  3213.  
  3214. for _,propertyData in next,properties or {} do
  3215. constraint[propertyData[1]] = propertyData[2]
  3216. end
  3217.  
  3218. constraint.Parent = character
  3219. end
  3220. function recurse(root,callback,i)
  3221. i= i or 0
  3222. for _,v in pairs(root:GetChildren()) do
  3223. i = i + 1
  3224. callback(i,v)
  3225.  
  3226. if #v:GetChildren() > 0 then
  3227. i = recurse(v,callback,i)
  3228. end
  3229. end
  3230.  
  3231. return i
  3232. end
  3233. function ArtificialHitbox(Part)
  3234. local HITBOX = CreatePart(3, Part, "Metal", 0, 1, "Really black", "Hitbox", Part.Size/2, false)
  3235. HITBOX.CanCollide = true
  3236. HITBOX.CFrame = Part.CFrame
  3237. weldBetween(Part,HITBOX)
  3238. end
  3239. function R15Ragdoll(character,KeepArms)
  3240. character:BreakJoints()
  3241. coroutine.resume(coroutine.create(function()
  3242. recurse(character, function(_,v)
  3243. if v:IsA("Attachment") then
  3244. v.Axis = Vector3.new(0, 1, 0)
  3245. v.SecondaryAxis = Vector3.new(0, 0, 1)
  3246. v.Rotation = Vector3.new(0, 0, 0)
  3247. end
  3248. end)
  3249. for _,child in next,character:GetChildren() do
  3250. if child:IsA("Accoutrement") then
  3251. for _,part in next,child:GetChildren() do
  3252. if part:IsA("BasePart") and part.Name ~= "HumanoidRootPart" then
  3253. local attachment1 = part:FindFirstChildOfClass("Attachment")
  3254. local attachment0 = getAttachment0(character,attachment1.Name)
  3255. if attachment0 and attachment1 then
  3256. local constraint = Instance.new("HingeConstraint")
  3257. constraint.Attachment0 = attachment0
  3258. constraint.Attachment1 = attachment1
  3259. constraint.LimitsEnabled = true
  3260. constraint.UpperAngle = 0
  3261. constraint.LowerAngle = 0
  3262. constraint.Parent = character
  3263. end
  3264. ArtificialHitbox(part)
  3265. elseif part.Name == "HumanoidRootPart" then
  3266. part:remove()
  3267. end
  3268. end
  3269. end
  3270. end
  3271.  
  3272. ragdollJoint(character,character.LowerTorso, character.UpperTorso, "Waist", "BallSocket", {
  3273. {"LimitsEnabled",true};
  3274. {"UpperAngle",5};
  3275. })
  3276. if character:FindFirstChild("Head") then
  3277. ragdollJoint(character,character.UpperTorso, character.Head, "Neck", "BallSocket", {
  3278. {"LimitsEnabled",true};
  3279. {"UpperAngle",15};
  3280. })
  3281. end
  3282.  
  3283. local handProperties = {
  3284. {"LimitsEnabled", true};
  3285. {"UpperAngle",0};
  3286. {"LowerAngle",0};
  3287. }
  3288. ragdollJoint(character,character.LeftLowerArm, character.LeftHand, "LeftWrist", "Hinge", handProperties)
  3289. ragdollJoint(character,character.RightLowerArm, character.RightHand, "RightWrist", "Hinge", handProperties)
  3290.  
  3291. local shinProperties = {
  3292. {"LimitsEnabled", true};
  3293. {"UpperAngle", 0};
  3294. {"LowerAngle", -75};
  3295. }
  3296. ragdollJoint(character,character.LeftUpperLeg, character.LeftLowerLeg, "LeftKnee", "Hinge", shinProperties)
  3297. ragdollJoint(character,character.RightUpperLeg, character.RightLowerLeg, "RightKnee", "Hinge", shinProperties)
  3298.  
  3299. local footProperties = {
  3300. {"LimitsEnabled", true};
  3301. {"UpperAngle", 15};
  3302. {"LowerAngle", -45};
  3303. }
  3304. ragdollJoint(character,character.LeftLowerLeg, character.LeftFoot, "LeftAnkle", "Hinge", footProperties)
  3305. ragdollJoint(character,character.RightLowerLeg, character.RightFoot, "RightAnkle", "Hinge", footProperties)
  3306. if KeepArms == true then
  3307. ragdollJoint(character,character.UpperTorso, character.RightUpperArm, "RightShoulder", "BallSocket")
  3308. ragdollJoint(character,character.RightUpperArm, character.RightLowerArm, "RightElbow", "BallSocket")
  3309. ragdollJoint(character,character.UpperTorso, character.LeftUpperArm, "LeftShoulder", "BallSocket")
  3310. ragdollJoint(character,character.LeftUpperArm, character.LeftLowerArm, "LeftElbow", "BallSocket")
  3311. end
  3312. ragdollJoint(character,character.LowerTorso, character.LeftUpperLeg, "LeftHip", "BallSocket")
  3313. ragdollJoint(character,character.LowerTorso, character.RightUpperLeg, "RightHip", "BallSocket")
  3314. Debris:AddItem(character,5)
  3315. end))
  3316. end
  3317. function AHHHH()
  3318. ATTACK = true
  3319. Rooted = false
  3320. Speed = 12
  3321. local FX = CreateSound(198165368, Head, 4, 0.5, false)
  3322. repeat
  3323. Swait()
  3324. FX.Parent = Head
  3325. local CHILDREN = workspace:GetDescendants()
  3326. for index, CHILD in pairs(CHILDREN) do
  3327. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3328. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3329. if HUM then
  3330. local TORSO = CHILD:FindFirstChild("Head")
  3331. if TORSO then
  3332. if (TORSO.Position - Head.Position).Magnitude <= 25 then
  3333. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(1,1,1), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = CF(TORSO.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3334. TORSO:remove()
  3335. if CHILD:FindFirstChild("Torso") then
  3336. Ragdoll(CHILD,Torso,true)
  3337. elseif CHILD:FindFirstChild("UpperTorso") then
  3338. R15Ragdoll(CHILD,true)
  3339. end
  3340. end
  3341. end
  3342. end
  3343. end
  3344. end
  3345. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0.5, 0) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  3346. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-45), RAD(0), RAD(0)), 1 / Animation_Speed)
  3347. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(15)) * ANGLES(RAD(0), RAD(15), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3348. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35), RAD(0), RAD(-15)) * ANGLES(RAD(0), RAD(-15), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3349. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-45), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3350. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(-45), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3351. until FX.Playing == false
  3352. Speed = 16
  3353. ATTACK = false
  3354. Rooted = false
  3355. end
  3356. function CreateDebreeRing(FLOOR,POSITION,SIZE,BLOCKSIZE,SWAIT)
  3357. if FLOOR ~= nil then
  3358. coroutine.resume(coroutine.create(function()
  3359. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0,0,0))
  3360. PART.CFrame = CF(POSITION)
  3361. for i = 1, 45 do
  3362. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3363. RingPiece.Material = FLOOR.Material
  3364. RingPiece.Color = FLOOR.Color
  3365. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i*8), RAD(0)) * CF(SIZE*4, 0, 0) * ANGLES(RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)),RAD(MRANDOM(-360,360)))
  3366. Debris:AddItem(RingPiece,SWAIT/100)
  3367. end
  3368. PART:remove()
  3369. end))
  3370. end
  3371. end
  3372. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  3373. if FLOOR ~= nil then
  3374. for i = 1, AMOUNT do
  3375. do
  3376. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  3377. DEBREE.Material = FLOOR.Material
  3378. DEBREE.Color = FLOOR.Color
  3379. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3380. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  3381. coroutine.resume(coroutine.create(function()
  3382. Swait(15)
  3383. DEBREE.Parent = workspace
  3384. DEBREE.CanCollide = true
  3385. Debris:AddItem(DEBREE, SWAIT)
  3386. end))
  3387. end
  3388. end
  3389. end
  3390. end
  3391. local S = IT("Sound")
  3392. function CreateSound3(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  3393. local NEWSOUND
  3394. coroutine.resume(coroutine.create(function()
  3395. NEWSOUND = S:Clone()
  3396. NEWSOUND.Parent = PARENT
  3397. NEWSOUND.Volume = VOLUME
  3398. NEWSOUND.Pitch = PITCH
  3399. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  3400. NEWSOUND:play()
  3401. if DOESLOOP == true then
  3402. NEWSOUND.Looped = true
  3403. else
  3404. repeat
  3405. Swait()
  3406. until NEWSOUND.Playing == false
  3407. NEWSOUND:remove()
  3408. end
  3409. end))
  3410. return NEWSOUND
  3411. end
  3412. function Extreme_Offset()
  3413. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  3414. if HITFLOOR then
  3415. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  3416. CreateSound3("1295446488", Torso, 5, 1)
  3417. for i = 1, 5 do
  3418. WACKYEFFECT({
  3419. Time = MRANDOM(15, 35),
  3420. EffectType = "Round Slash",
  3421. Size = VT(0, 0, 0),
  3422. Size2 = VT(0.3, 0, 0.3),
  3423. Transparency = 0.5,
  3424. Transparency2 = 1,
  3425. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  3426. MoveToPos = nil,
  3427. RotationX = MRANDOM(-50, 50) / 10,
  3428. RotationY = MRANDOM(-50, 50) / 10,
  3429. RotationZ = MRANDOM(-50, 50) / 10,
  3430. Material = "Neon",
  3431. Color = C3(1, 1, 1),
  3432. SoundID = nil,
  3433. SoundPitch = nil,
  3434. SoundVolume = nil
  3435. })
  3436. end
  3437. ATTACK = true
  3438. Rooted = true
  3439. UNANCHOR = false
  3440. RootPart.Anchored = true
  3441. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  3442. for i = 1, 5 do
  3443. WACKYEFFECT({
  3444. Time = MRANDOM(15, 35),
  3445. EffectType = "Round Slash",
  3446. Size = VT(0, 0, 0),
  3447. Size2 = VT(0.3, 0, 0.3),
  3448. Transparency = 0.5,
  3449. Transparency2 = 1,
  3450. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  3451. MoveToPos = nil,
  3452. RotationX = MRANDOM(-50, 50) / 10,
  3453. RotationY = MRANDOM(-50, 50) / 10,
  3454. RotationZ = MRANDOM(-50, 50) / 10,
  3455. Material = "Neon",
  3456. Color = C3(1, 1, 1),
  3457. SoundID = nil,
  3458. SoundPitch = nil,
  3459. SoundVolume = nil
  3460. })
  3461. end
  3462. for i = 0, 0.2, 0.1 / Animation_Speed do
  3463. Swait()
  3464. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  3465. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3466. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3467. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3468. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3469. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  3470. end
  3471. for i = 0, 1, 0.1 / Animation_Speed do
  3472. Swait()
  3473. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  3474. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  3475. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  3476. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  3477. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  3478. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  3479. end
  3480. for i = 1, 10 do
  3481. Swait()
  3482. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  3483. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  3484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  3485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  3486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  3487. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  3488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  3489. end
  3490. for i = 0, 0.2, 0.1 / Animation_Speed do
  3491. Swait()
  3492. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  3493. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  3494. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3495. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  3496. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3497. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3498. end
  3499. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  3500. if HITFLOOR then
  3501. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3502. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  3503. for index, CHILD in pairs(CHILDREN) do
  3504. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  3505. for i = 1, 5 do
  3506. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  3507. CHILD:remove()
  3508. end
  3509. end
  3510. end
  3511. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3512. SOUNDPART.CFrame = CF(HITPOS)
  3513. Debris:AddItem(SOUNDPART, 5)
  3514. CreateSound3("130972023", SOUNDPART, 6, 3)
  3515. CreateSound3("182765513", SOUNDPART, 6, 1)
  3516. WACKYEFFECT({
  3517. EffectType = "Ring",
  3518. Size = VT(0, 0, 0),
  3519. Size2 = VT(1, 1, 0),
  3520. Transparency = 0.7,
  3521. Transparency2 = 1,
  3522. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  3523. MoveToPos = nil,
  3524. RotationX = 0,
  3525. RotationY = 0,
  3526. RotationZ = 0,
  3527. Material = "Neon",
  3528. Color = C3(1, 1, 1),
  3529. SoundID = nil,
  3530. SoundPitch = nil,
  3531. SoundVolume = nil
  3532. })
  3533. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  3534. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  3535. for index, CHILD in pairs(CHILDREN) do
  3536. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  3537. for i = 1, 5 do
  3538. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  3539. CHILD:remove()
  3540. end
  3541. end
  3542. end
  3543. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3544. SOUNDPART.CFrame = CF(HITPOS)
  3545. Debris:AddItem(SOUNDPART, 5)
  3546. CreateSound3("130972023", SOUNDPART, 6, 3)
  3547. CreateSound3("182765513", SOUNDPART, 6, 1)
  3548. WACKYEFFECT({
  3549. EffectType = "Ring",
  3550. Size = VT(0, 0, 0),
  3551. Size2 = VT(1, 1, 0),
  3552. Transparency = 0.7,
  3553. Transparency2 = 1,
  3554. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  3555. MoveToPos = nil,
  3556. RotationX = 0,
  3557. RotationY = 0,
  3558. RotationZ = 0,
  3559. Material = "Neon",
  3560. Color = C3(1, 1, 1),
  3561. SoundID = nil,
  3562. SoundPitch = nil,
  3563. SoundVolume = nil
  3564. })
  3565. elseif HITFLOOR.Anchored == false then
  3566. if HITFLOOR.Parent ~= workspace then
  3567. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  3568. for index, CHILD in pairs(CHILDREN) do
  3569. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  3570. for i = 1, 5 do
  3571. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  3572. end
  3573. CHILD:remove()
  3574. end
  3575. end
  3576. else
  3577. for i = 1, 5 do
  3578. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  3579. end
  3580. HITFLOOR:remove()
  3581. end
  3582. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3583. SOUNDPART.CFrame = CF(HITPOS)
  3584. Debris:AddItem(SOUNDPART, 5)
  3585. CreateSound3("130972023", SOUNDPART, 10, 3)
  3586. CreateSound3("178452217", SOUNDPART, 6, 1)
  3587. WACKYEFFECT({
  3588. EffectType = "Ring",
  3589. Size = VT(0, 0, 0),
  3590. Size2 = VT(1, 1, 0),
  3591. Transparency = 0.7,
  3592. Transparency2 = 1,
  3593. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  3594. MoveToPos = nil,
  3595. RotationX = 0,
  3596. RotationY = 0,
  3597. RotationZ = 0,
  3598. Material = "Neon",
  3599. Color = C3(1, 1, 1),
  3600. SoundID = nil,
  3601. SoundPitch = nil,
  3602. SoundVolume = nil
  3603. })
  3604. else
  3605. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3606. SOUNDPART.CFrame = CF(HITPOS)
  3607. Debris:AddItem(SOUNDPART, 5)
  3608. CreateSound3("130972023", SOUNDPART, 10, 1)
  3609. CreateSound3("130972023", SOUNDPART, 6, 0.7)
  3610. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  3611. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  3612. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  3613. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  3614. for i = 1, 5 do
  3615. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  3616. end
  3617. for i = 1, 5 do
  3618. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  3619. end
  3620. end
  3621. end
  3622. for i = 0, 1.2, 0.1 / Animation_Speed do
  3623. Swait()
  3624. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  3625. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  3626. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3627. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  3628. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3629. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3630. end
  3631. ATTACK = false
  3632. Rooted = false
  3633. UNANCHOR = true
  3634. RootPart.Anchored = false
  3635. end
  3636. end
  3637. function swait(NUMBER)
  3638. if NUMBER == 0 or NUMBER == nil then
  3639. ArtificialHB.Event:wait()
  3640. else
  3641. for i = 1, NUMBER do
  3642. ArtificialHB.Event:wait()
  3643. end
  3644. end
  3645. end
  3646. function chatfunc(text)
  3647. local chat = coroutine.wrap(function()
  3648. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  3649. Character:FindFirstChild("TalkingBillBoard"):destroy()
  3650. end
  3651. local Bill = Instance.new("BillboardGui",Character)
  3652. Bill.Size = UDim2.new(0,100,0,40)
  3653. Bill.StudsOffset = Vector3.new(0,3,0)
  3654. Bill.Adornee = Character.Head
  3655. Bill.Name = "TalkingBillBoard"
  3656. local Hehe = Instance.new("TextLabel",Bill)
  3657. Hehe.BackgroundTransparency = 1
  3658. Hehe.BorderSizePixel = 0
  3659. Hehe.Text = ""
  3660. Hehe.Font = "Bodoni"
  3661. Hehe.TextSize = 40
  3662. Hehe.TextStrokeTransparency = 0
  3663. Hehe.Size = UDim2.new(1,0,0.5,0)
  3664. coroutine.resume(coroutine.create(function()
  3665. while Hehe ~= nil do
  3666. swait()
  3667. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  3668. Hehe.Rotation = math.random(-5,5)
  3669. Hehe.TextColor3 = Color3.new(0,255,0)
  3670. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  3671. end
  3672. end))
  3673. for i = 1,string.len(text),1 do
  3674. swait()
  3675. Hehe.Text = string.sub(text,1,i)
  3676. end
  3677. swait(90)--Re[math.random(1, 93)]
  3678. for i = 0, 1, .025 do
  3679. swait()
  3680. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  3681. Hehe.TextStrokeTransparency = i
  3682. Hehe.TextTransparency = i
  3683. end
  3684. Bill:Destroy()
  3685. end)
  3686. chat()
  3687. end
  3688. function onChatted(msg)
  3689. chatfunc(msg)
  3690. end
  3691. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  3692.  
  3693. --//=================================\\
  3694. --|| ASSIGN THINGS TO KEYS
  3695. --\\=================================//
  3696.  
  3697. function MouseDown(Mouse)
  3698. HOLD = true
  3699. if ATTACK == false then
  3700. end
  3701. end
  3702.  
  3703. function MouseUp(Mouse)
  3704. HOLD = false
  3705. end
  3706.  
  3707. function KeyDown(Key)
  3708. KEYHOLD = true
  3709. if Key == "z" and ATTACK == false then
  3710. Banisher_Bullet()
  3711. end
  3712.  
  3713. if Key == "b" and ATTACK == false then
  3714. oofBeam()
  3715. end
  3716. if Key == "m" and ATTACK == false then
  3717. chatfunc(UnBanishTaunts[MRANDOM(1,#UnBanishTaunts)])
  3718. TOBANISH = {}
  3719. end
  3720.  
  3721. if Key == "c" and ATTACK == false then
  3722. Nuke()
  3723. end
  3724.  
  3725. if Key == "p" and ATTACK == false then
  3726. TakeOnMe()
  3727. end
  3728.  
  3729. if Key == "g" and ATTACK == false then
  3730. CyberSmash()
  3731. end
  3732. if Key == "e" and ATTACK == false then
  3733. Bloodbath()
  3734. end
  3735.  
  3736. if Key == "n" and ATTACK == false then
  3737. AHHHH()
  3738. end
  3739. if Key == "f" and ATTACK == false then
  3740. Darkness()
  3741. end
  3742. if Key == "v" and ATTACK == false then
  3743. Extreme_Offset()
  3744. end
  3745. if Key == "x" and ATTACK == false then
  3746. Deathbound()
  3747. end
  3748. end
  3749.  
  3750. function KeyUp(Key)
  3751. KEYHOLD = false
  3752. end
  3753.  
  3754. Mouse.Button1Down:connect(function(NEWKEY)
  3755. MouseDown(NEWKEY)
  3756. end)
  3757. Mouse.Button1Up:connect(function(NEWKEY)
  3758. MouseUp(NEWKEY)
  3759. end)
  3760. Mouse.KeyDown:connect(function(NEWKEY)
  3761. KeyDown(NEWKEY)
  3762. end)
  3763. Mouse.KeyUp:connect(function(NEWKEY)
  3764. KeyUp(NEWKEY)
  3765. end)
  3766.  
  3767. --//=================================\\
  3768. --\\=================================//
  3769.  
  3770.  
  3771. function unanchor()
  3772. if UNANCHOR == true then
  3773. g = Character:GetChildren()
  3774. for i = 1, #g do
  3775. if g[i].ClassName == "Part" then
  3776. g[i].Anchored = false
  3777. end
  3778. end
  3779. end
  3780. end
  3781.  
  3782.  
  3783. --//=================================\\
  3784. --|| WRAP THE WHOLE SCRIPT UP
  3785. --\\=================================//
  3786.  
  3787. Humanoid.Changed:connect(function(Jump)
  3788. if Jump == "Jump" and (Disable_Jump == true) then
  3789. Humanoid.Jump = false
  3790. end
  3791. end)
  3792.  
  3793. while true do
  3794. Swait()
  3795. script.Parent = WEAPONGUI
  3796. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3797. v:Stop();
  3798. end
  3799. ANIMATE.Parent = nil
  3800. for LW = 1, #LEFTWINGS do
  3801. if LEFTWINGS[LW] ~= nil then
  3802. LEFTWINGS[LW].C1 = Clerp(LEFTWINGS[LW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(-3 + 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3803. end
  3804. end
  3805. for RW = 1, #RIGHTWINGS do
  3806. if RIGHTWINGS[RW] ~= nil then
  3807. RIGHTWINGS[RW].C1 = Clerp(RIGHTWINGS[RW].C1, CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(2.5 * SIN(SINE / 12)), RAD(0), RAD(3 - 3 * SIN(SINE / 12))), 1 / Animation_Speed)
  3808. end
  3809. end
  3810. SINE = SINE + CHANGE*1.5
  3811. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3812. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3813. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  3814. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  3815. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  3816. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3817. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3818. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3819. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3820. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3821. end
  3822. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3823. ANIM = "Jump"
  3824. if ATTACK == false then
  3825. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3826. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3827. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3828. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3829. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  3830. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  3831. end
  3832. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3833. ANIM = "Fall"
  3834. if ATTACK == false then
  3835. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3836. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3837. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3838. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3839. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  3840. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  3841. end
  3842. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3843. ANIM = "Idle"
  3844. if ATTACK == false then
  3845. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 1 / Animation_Speed)
  3846. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3847. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3848. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3849. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3850. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3851. end
  3852. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3853. ANIM = "Walk"
  3854. if ATTACK == false then
  3855. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3856. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3857. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3858. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3859. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE - 0.05*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3860. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -0.8*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3861. end
  3862. end
  3863. unanchor()
  3864. Humanoid.MaxHealth = "inf"
  3865. Humanoid.Health = "inf"
  3866. if Rooted == false then
  3867. Disable_Jump = false
  3868. Humanoid.WalkSpeed = Speed
  3869. elseif Rooted == true then
  3870. Disable_Jump = true
  3871. Humanoid.WalkSpeed = 0
  3872. end
  3873. q = Character:GetChildren()
  3874. for u = 1, #q do
  3875. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  3876. q[u]:remove()
  3877. end
  3878. end
  3879. if Head:FindFirstChild("face") then
  3880. Head.face:remove()
  3881. end
  3882. sick.Parent = Torso
  3883. sick:resume()
  3884. sick.Volume = 0.5
  3885. sick.Pitch = 0.8
  3886. sick.SoundId = "rbxassetid://1241592221"
  3887. sick.Name = "BanishV3Music"
  3888. end
  3889.  
  3890. --//=================================\\
  3891. --\\=================================//
  3892.  
  3893.  
  3894.  
  3895.  
  3896.  
  3897. --//====================================================\\--
  3898. --|| END OF SCRIPT
  3899. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement