gecksad

Untitled

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