Advertisement
JacksoMykalJunior

Virus

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