Advertisement
Mediakiller7Cool

Hello51

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