rcubed1003

Virus V.3 fe ver

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