Advertisement
fescripter159

Untitled

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