Advertisement
Tetezaza1542

VirusV3

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