Advertisement
pasterultimate22

Cyber Banisher

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