Advertisement
gecksad

Untitled

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