Advertisement
fescripter159

Untitled

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