Advertisement
kilcrafter

Untitled

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