Advertisement
Guest_84210423435

เเตก

Jul 16th, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 146.52 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. 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(),Button2Up=c(),Button2Down=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;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")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 typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7.  
  8. Player = game.Players.LocalPlayer
  9. Character = Player.Character
  10. local txt = Instance.new("BillboardGui", Character)
  11. txt.Adornee = Character.Head
  12. txt.Name = "_status"
  13. txt.Size = UDim2.new(2, 0, 1.2, 0)
  14. txt.StudsOffset = Vector3.new(-9, 8, 0)
  15. local text = Instance.new("TextLabel", txt)
  16. text.Size = UDim2.new(10, 0, 7, 0)
  17. text.FontSize = "Size24"
  18. text.TextScaled = true
  19. text.TextTransparency = 0
  20. text.BackgroundTransparency = 1
  21. text.TextTransparency = 0
  22. text.TextStrokeTransparency = 0
  23. text.Font = "Antique"
  24. text.TextStrokeColor3 = Color3.new(20,50,80)
  25. text.Text = "เเตก"
  26. print("Edited by Penien23")
  27. --//====================================================\\--
  28. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN
  29. --\\====================================================//--
  30.  
  31. script:ClearAllChildren()
  32. wait(0.2)
  33.  
  34. Player = game:GetService("Players").LocalPlayer
  35. PlayerGui = Player.PlayerGui
  36. Cam = workspace.CurrentCamera
  37. Backpack = Player.Backpack
  38. Character = Player.Character
  39. Humanoid = Character.Humanoid
  40. Mouse = Player:GetMouse()
  41. RootPart = Character["HumanoidRootPart"]
  42. Torso = Character["Torso"]
  43. Head = Character["Head"]
  44. RightArm = Character["Right Arm"]
  45. LeftArm = Character["Left Arm"]
  46. RightLeg = Character["Right Leg"]
  47. LeftLeg = Character["Left Leg"]
  48. RootJoint = RootPart["RootJoint"]
  49. Neck = Torso["Neck"]
  50. RightShoulder = Torso["Right Shoulder"]
  51. LeftShoulder = Torso["Left Shoulder"]
  52. RightHip = Torso["Right Hip"]
  53. LeftHip = Torso["Left Hip"]
  54. local TIME = 0
  55. local sick = Instance.new("Sound",Torso)
  56.  
  57. IT = Instance.new
  58. CF = CFrame.new
  59. VT = Vector3.new
  60. RAD = math.rad
  61. C3 = Color3.new
  62. UD2 = UDim2.new
  63. BRICKC = BrickColor.new
  64. ANGLES = CFrame.Angles
  65. EULER = CFrame.fromEulerAnglesXYZ
  66. COS = math.cos
  67. ACOS = math.acos
  68. SIN = math.sin
  69. ASIN = math.asin
  70. ABS = math.abs
  71. MRANDOM = math.random
  72. FLOOR = math.floor
  73.  
  74. --//=================================\\
  75. --|| USEFUL VALUES
  76. --\\=================================//
  77.  
  78. Animation_Speed = 5
  79. local FORCERESET = false
  80. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  81. local Speed = 40
  82. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  83. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  84. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  85. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  86. local DAMAGEMULTIPLIER = 1
  87. local ANIM = "Idle"
  88. local ATTACK = false
  89. local EQUIPPED = false
  90. local HOLD = false
  91. local COMBO = 1
  92. local Rooted = false
  93. local SINE = 0
  94. local KEYHOLD = false
  95. local CHANGE = 2 / Animation_Speed
  96. local WALKINGANIM = false
  97. local VALUE1 = false
  98. local VALUE2 = false
  99. local ROBLOXIDLEANIMATION = IT("Animation")
  100. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  101. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  102. --ROBLOXIDLEANIMATION.Parent = Humanoid
  103. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  104. WEAPONGUI.Name = "BanishV3Gui"
  105. local Weapon = IT("Model")
  106. Weapon.Name = "Adds"
  107. local Effects = IT("Folder", Weapon)
  108. Effects.Name = "Effects"
  109. local ANIMATOR = Humanoid.Animator
  110. local ANIMATE = Character:FindFirstChild("Animate")
  111. local UNANCHOR = true
  112. local TOBANISH = {}
  113. script.Parent = PlayerGui
  114.  
  115. --//=================================\\
  116. --\\=================================//
  117.  
  118.  
  119. --//=================================\\
  120. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  121. --\\=================================//
  122.  
  123. ArtificialHB = Instance.new("BindableEvent", script)
  124. ArtificialHB.Name = "ArtificialHB"
  125.  
  126. script:WaitForChild("ArtificialHB")
  127.  
  128. frame = Frame_Speed
  129. tf = 0
  130. allowframeloss = false
  131. tossremainder = false
  132. lastframe = tick()
  133. script.ArtificialHB:Fire()
  134.  
  135. game:GetService("RunService").Heartbeat:connect(function(s, p)
  136. tf = tf + s
  137. if tf >= frame then
  138. if allowframeloss then
  139. script.ArtificialHB:Fire()
  140. lastframe = tick()
  141. else
  142. for i = 1, math.floor(tf / frame) do
  143. script.ArtificialHB:Fire()
  144. end
  145. lastframe = tick()
  146. end
  147. if tossremainder then
  148. tf = 0
  149. else
  150. tf = tf - frame * math.floor(tf / frame)
  151. end
  152. end
  153. end)
  154.  
  155. --//=================================\\
  156. --\\=================================//
  157.  
  158. --//=================================\\
  159. --|| SOME FUNCTIONS
  160. --\\=================================//
  161.  
  162. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  163. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  164. end
  165.  
  166. function PositiveAngle(NUMBER)
  167. if NUMBER >= 0 then
  168. NUMBER = 0
  169. end
  170. return NUMBER
  171. end
  172.  
  173. function NegativeAngle(NUMBER)
  174. if NUMBER <= 0 then
  175. NUMBER = 0
  176. end
  177. return NUMBER
  178. end
  179.  
  180. function Swait(NUMBER)
  181. if NUMBER == 0 or NUMBER == nil then
  182. ArtificialHB.Event:wait()
  183. else
  184. for i = 1, NUMBER do
  185. ArtificialHB.Event:wait()
  186. end
  187. end
  188. end
  189.  
  190. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  191. local NEWMESH = IT(MESH)
  192. if MESH == "SpecialMesh" then
  193. NEWMESH.MeshType = MESHTYPE
  194. if MESHID ~= "nil" and MESHID ~= "" then
  195. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  196. end
  197. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  198. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  199. end
  200. end
  201. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  202. NEWMESH.Scale = SCALE
  203. NEWMESH.Parent = PARENT
  204. return NEWMESH
  205. end
  206.  
  207. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  208. local NEWPART = IT("Part")
  209. NEWPART.formFactor = FORMFACTOR
  210. NEWPART.Reflectance = REFLECTANCE
  211. NEWPART.Transparency = TRANSPARENCY
  212. NEWPART.CanCollide = false
  213. NEWPART.Locked = true
  214. NEWPART.Anchored = true
  215. if ANCHOR == false then
  216. NEWPART.Anchored = false
  217. end
  218. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  219. NEWPART.Name = NAME
  220. NEWPART.Size = SIZE
  221. NEWPART.Position = Torso.Position
  222. NEWPART.Material = MATERIAL
  223. NEWPART:BreakJoints()
  224. NEWPART.Parent = PARENT
  225. return NEWPART
  226. end
  227.  
  228. local function weldBetween(a, b)
  229. local weldd = Instance.new("ManualWeld")
  230. weldd.Part0 = a
  231. weldd.Part1 = b
  232. weldd.C0 = CFrame.new()
  233. weldd.C1 = b.CFrame:inverse() * a.CFrame
  234. weldd.Parent = a
  235. return weldd
  236. end
  237.  
  238.  
  239. function QuaternionFromCFrame(cf)
  240. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  241. local trace = m00 + m11 + m22
  242. if trace > 0 then
  243. local s = math.sqrt(1 + trace)
  244. local recip = 0.5 / s
  245. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  246. else
  247. local i = 0
  248. if m11 > m00 then
  249. i = 1
  250. end
  251. if m22 > (i == 0 and m00 or m11) then
  252. i = 2
  253. end
  254. if i == 0 then
  255. local s = math.sqrt(m00 - m11 - m22 + 1)
  256. local recip = 0.5 / s
  257. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  258. elseif i == 1 then
  259. local s = math.sqrt(m11 - m22 - m00 + 1)
  260. local recip = 0.5 / s
  261. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  262. elseif i == 2 then
  263. local s = math.sqrt(m22 - m00 - m11 + 1)
  264. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  265. end
  266. end
  267. end
  268.  
  269. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  270. local xs, ys, zs = x + x, y + y, z + z
  271. local wx, wy, wz = w * xs, w * ys, w * zs
  272. local xx = x * xs
  273. local xy = x * ys
  274. local xz = x * zs
  275. local yy = y * ys
  276. local yz = y * zs
  277. local zz = z * zs
  278. 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))
  279. end
  280.  
  281. function QuaternionSlerp(a, b, t)
  282. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  283. local startInterp, finishInterp;
  284. if cosTheta >= 0.0001 then
  285. if (1 - cosTheta) > 0.0001 then
  286. local theta = ACOS(cosTheta)
  287. local invSinTheta = 1 / SIN(theta)
  288. startInterp = SIN((1 - t) * theta) * invSinTheta
  289. finishInterp = SIN(t * theta) * invSinTheta
  290. else
  291. startInterp = 1 - t
  292. finishInterp = t
  293. end
  294. else
  295. if (1 + cosTheta) > 0.0001 then
  296. local theta = ACOS(-cosTheta)
  297. local invSinTheta = 1 / SIN(theta)
  298. startInterp = SIN((t - 1) * theta) * invSinTheta
  299. finishInterp = SIN(t * theta) * invSinTheta
  300. else
  301. startInterp = t - 1
  302. finishInterp = t
  303. end
  304. end
  305. 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
  306. end
  307.  
  308. function Clerp(a, b, t)
  309. local qa = {QuaternionFromCFrame(a)}
  310. local qb = {QuaternionFromCFrame(b)}
  311. local ax, ay, az = a.x, a.y, a.z
  312. local bx, by, bz = b.x, b.y, b.z
  313. local _t = 1 - t
  314. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  315. end
  316.  
  317. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  318. local frame = IT("Frame")
  319. frame.BackgroundTransparency = TRANSPARENCY
  320. frame.BorderSizePixel = BORDERSIZEPIXEL
  321. frame.Position = POSITION
  322. frame.Size = SIZE
  323. frame.BackgroundColor3 = COLOR
  324. frame.BorderColor3 = BORDERCOLOR
  325. frame.Name = NAME
  326. frame.Parent = PARENT
  327. return frame
  328. end
  329.  
  330. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  331. local label = IT("TextLabel")
  332. label.BackgroundTransparency = 1
  333. label.Size = UD2(1, 0, 1, 0)
  334. label.Position = UD2(0, 0, 0, 0)
  335. label.TextColor3 = TEXTCOLOR
  336. label.TextStrokeTransparency = STROKETRANSPARENCY
  337. label.TextTransparency = TRANSPARENCY
  338. label.FontSize = TEXTFONTSIZE
  339. label.Font = TEXTFONT
  340. label.BorderSizePixel = BORDERSIZEPIXEL
  341. label.TextScaled = false
  342. label.Text = TEXT
  343. label.Name = NAME
  344. label.Parent = PARENT
  345. return label
  346. end
  347.  
  348. function NoOutlines(PART)
  349. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  350. end
  351.  
  352. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  353. local NEWWELD = IT(TYPE)
  354. NEWWELD.Part0 = PART0
  355. NEWWELD.Part1 = PART1
  356. NEWWELD.C0 = C0
  357. NEWWELD.C1 = C1
  358. NEWWELD.Parent = PARENT
  359. return NEWWELD
  360. end
  361.  
  362. local S = IT("Sound")
  363. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  364. local NEWSOUND = nil
  365. coroutine.resume(coroutine.create(function()
  366. NEWSOUND = S:Clone()
  367. NEWSOUND.Parent = PARENT
  368. NEWSOUND.Volume = VOLUME
  369. NEWSOUND.Pitch = PITCH
  370. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  371. NEWSOUND:play()
  372. if DOESLOOP == true then
  373. NEWSOUND.Looped = true
  374. else
  375. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  376. NEWSOUND:remove()
  377. end
  378. end))
  379. return NEWSOUND
  380. end
  381.  
  382. function CFrameFromTopBack(at, top, back)
  383. local right = top:Cross(back)
  384. 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)
  385. end
  386.  
  387. --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})
  388. function WACKYEFFECT(Table)
  389. local TYPE = (Table.EffectType or "Sphere")
  390. local SIZE = (Table.Size or VT(1,1,1))
  391. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  392. local TRANSPARENCY = (Table.Transparency or 0)
  393. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  394. local CFRAME = (Table.CFrame or Torso.CFrame)
  395. local MOVEDIRECTION = (Table.MoveToPos or nil)
  396. local ROTATION1 = (Table.RotationX or 0)
  397. local ROTATION2 = (Table.RotationY or 0)
  398. local ROTATION3 = (Table.RotationZ or 0)
  399. local MATERIAL = (Table.Material or "Neon")
  400. local COLOR = (Table.Color or C3(1,1,1))
  401. local TIME = (Table.Time or 45)
  402. local SOUNDID = (Table.SoundID or nil)
  403. local SOUNDPITCH = (Table.SoundPitch or nil)
  404. local SOUNDVOLUME = (Table.SoundVolume or nil)
  405. coroutine.resume(coroutine.create(function()
  406. local PLAYSSOUND = false
  407. local SOUND = nil
  408. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  409. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  410. PLAYSSOUND = true
  411. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  412. end
  413. EFFECT.Color = COLOR
  414. local MSH = nil
  415. if TYPE == "Sphere" then
  416. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  417. elseif TYPE == "Block" then
  418. MSH = IT("BlockMesh",EFFECT)
  419. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  420. elseif TYPE == "Wave" then
  421. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  422. elseif TYPE == "Ring" then
  423. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  424. elseif TYPE == "Slash" then
  425. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  426. elseif TYPE == "Round Slash" then
  427. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  428. elseif TYPE == "Swirl" then
  429. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  430. elseif TYPE == "Skull" then
  431. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  432. elseif TYPE == "Crystal" then
  433. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  434. end
  435. if MSH ~= nil then
  436. local MOVESPEED = nil
  437. if MOVEDIRECTION ~= nil then
  438. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  439. end
  440. local GROWTH = SIZE - ENDSIZE
  441. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  442. if TYPE == "Block" then
  443. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  444. else
  445. EFFECT.CFrame = CFRAME
  446. end
  447. for LOOP = 1, TIME+1 do
  448. Swait()
  449. MSH.Scale = MSH.Scale - GROWTH/TIME
  450. if TYPE == "Wave" then
  451. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  452. end
  453. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  454. if TYPE == "Block" then
  455. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  456. else
  457. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  458. end
  459. if MOVEDIRECTION ~= nil then
  460. local ORI = EFFECT.Orientation
  461. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  462. EFFECT.Orientation = ORI
  463. end
  464. end
  465. if PLAYSSOUND == false then
  466. EFFECT:remove()
  467. else
  468. SOUND.Stopped:Connect(function()
  469. EFFECT:remove()
  470. end)
  471. end
  472. else
  473. if PLAYSSOUND == false then
  474. EFFECT:remove()
  475. else
  476. repeat Swait() until SOUND.Playing == false
  477. EFFECT:remove()
  478. end
  479. end
  480. end))
  481. end
  482.  
  483. function MakeForm(PART,TYPE)
  484. if TYPE == "Cyl" then
  485. local MSH = IT("CylinderMesh",PART)
  486. elseif TYPE == "Ball" then
  487. local MSH = IT("SpecialMesh",PART)
  488. MSH.MeshType = "Sphere"
  489. elseif TYPE == "Wedge" then
  490. local MSH = IT("SpecialMesh",PART)
  491. MSH.MeshType = "Wedge"
  492. end
  493. end
  494.  
  495. function SpawnTrail(FROM,TO,BIG)
  496. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Lime green", "Trail", VT(0,0,0))
  497. MakeForm(TRAIL,"Cyl")
  498. local DIST = (FROM - TO).Magnitude
  499. if BIG == true then
  500. TRAIL.Size = VT(5,DIST,5)
  501. else
  502. TRAIL.Size = VT(5,DIST,5)
  503. end
  504. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  505. coroutine.resume(coroutine.create(function()
  506. for i = 1, 5 do
  507. Swait()
  508. TRAIL.Transparency = TRAIL.Transparency + 0.1
  509. end
  510. TRAIL:remove()
  511. end))
  512. end
  513.  
  514. Debris = game:GetService("Debris")
  515.  
  516. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  517. local DIRECTION = CF(StartPos,EndPos).lookVector
  518. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  519. end
  520.  
  521. function turnto(position)
  522. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  523. end
  524. local asd = Instance.new("ParticleEmitter")
  525. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  526. asd.LightEmission = .1
  527. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  528. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  529. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  530. asd.Transparency = bbb
  531. asd.Size = aaa
  532. asd.ZOffset = .9
  533. asd.Acceleration = Vector3.new(0, -15, 0)
  534. asd.LockedToPart = false
  535. asd.EmissionDirection = "Back"
  536. asd.Lifetime = NumberRange.new(1, 2)
  537. asd.Rotation = NumberRange.new(-100, 100)
  538. asd.RotSpeed = NumberRange.new(-100, 100)
  539. asd.Speed = NumberRange.new(10)
  540. asd.Enabled = false
  541. asd.VelocitySpread = 999
  542.  
  543. function getbloody(victim,amount)
  544. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  545. PART.CFrame = victim.CFrame
  546. local HITPLAYERSOUNDS = {"356551938","264486467"}
  547. Debris:AddItem(PART,5)
  548. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  549. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  550. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  551. local prtcl = asd:Clone()
  552. prtcl.Parent = PART
  553. prtcl:Emit(amount*10)
  554. end
  555.  
  556. local Particle = IT("ParticleEmitter",nil)
  557. Particle.Enabled = false
  558. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  559. Particle.LightEmission = 0.5
  560. Particle.Rate = 150
  561. Particle.ZOffset = 1
  562. Particle.Rotation = NumberRange.new(-180, 180)
  563. Particle.RotSpeed = NumberRange.new(-180, 180)
  564. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  565. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  566.  
  567. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  568. function ParticleEmitter(Table)
  569. local PRTCL = Particle:Clone()
  570. local Speed = Table.Speed or 5
  571. local Drag = Table.Drag or 0
  572. local Size1 = Table.Size1 or 1
  573. local Size2 = Table.Size2 or 5
  574. local Lifetime1 = Table.Lifetime1 or 1
  575. local Lifetime2 = Table.Lifetime2 or 1.5
  576. local Parent = Table.Parent or Torso
  577. local Emit = Table.Emit or 100
  578. local Offset = Table.Offset or 360
  579. local Acel = Table.Acel or VT(0,0,0)
  580. local Enabled = Table.Enabled or false
  581. PRTCL.Parent = Parent
  582. PRTCL.Size = NumberSequence.new(Size1,Size2)
  583. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  584. PRTCL.Speed = NumberRange.new(Speed)
  585. PRTCL.VelocitySpread = Offset
  586. PRTCL.Drag = Drag
  587. PRTCL.Acceleration = Acel
  588. if Enabled == false then
  589. PRTCL:Emit(Emit)
  590. Debris:AddItem(PRTCL,Lifetime2)
  591. else
  592. PRTCL.Enabled = true
  593. end
  594. return PRTCL
  595. end
  596.  
  597. function R_RANDOM(CFRAME,DIST)
  598. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  599. end
  600.  
  601. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  602. coroutine.resume(coroutine.create(function()
  603. local FADE = IT("Model",Effects)
  604. if PARENT ~= nil then
  605. FADE.Parent = PARENT
  606. end
  607. FADE.Name = "FadingEffect"
  608. for _, c in pairs(Character:GetChildren()) do
  609. if c.ClassName == "Part" then
  610. c.CanCollide = false
  611. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Lime green"), c.Name, c.Size, true)
  612. FADER.CFrame = c.CFrame
  613. FADER.Color = COLOR
  614. if FADER.Name == "Head" then
  615. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  616. elseif FADER.Name == "HumanoidRootPart" then
  617. FADE.PrimaryPart = FADER
  618. FADER.Transparency = 1
  619. end
  620. end
  621. end
  622. local TRANS = 0.25/TIMER
  623. local DIST = nil
  624. if MOVEDIRECTION ~= nil then
  625. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  626. end
  627. for i = 1, TIMER do
  628. Swait()
  629. for _, c in pairs(FADE:GetChildren()) do
  630. if c.ClassName == "Part" then
  631. c.Transparency = c.Transparency + TRANS
  632. end
  633. end
  634. if MOVEDIRECTION ~= nil then
  635. local ORI = FADE.PrimaryPart.Orientation
  636. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  637. end
  638. end
  639. FADE:remove()
  640. end))
  641. end
  642.  
  643.  
  644. --//=================================\\
  645. --|| WEAPON CREATION
  646. --\\=================================//
  647.  
  648. local SIZE = 1.25
  649.  
  650. local Particle = IT("ParticleEmitter",nil)
  651. Particle.Enabled = false
  652. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  653. Particle.LightEmission = 0.5
  654. Particle.Rate = 150
  655. Particle.ZOffset = 0.2
  656. Particle.Rotation = NumberRange.new(-180, 180)
  657. Particle.RotSpeed = NumberRange.new(-180, 180)
  658. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  659. Particle.Color = ColorSequence.new(C3(0,1,0),C3(0.4,0,0))
  660.  
  661. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  662. function ParticleEmitter(Table)
  663. local PRTCL = Particle:Clone()
  664. local Speed = Table.Speed or 5
  665. local Drag = Table.Drag or 0
  666. local Size1 = Table.Size1 or 1
  667. local Size2 = Table.Size2 or 5
  668. local Lifetime1 = Table.Lifetime1 or 1
  669. local Lifetime2 = Table.Lifetime2 or 1.5
  670. local Parent = Table.Parent or Torso
  671. local Emit = Table.Emit or 100
  672. local Offset = Table.Offset or 360
  673. local Acel = Table.Acel or VT(0,0,0)
  674. local Enabled = Table.Enabled or false
  675. PRTCL.Parent = Parent
  676. PRTCL.Size = NumberSequence.new(Size1,Size2)
  677. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  678. PRTCL.Speed = NumberRange.new(Speed)
  679. PRTCL.VelocitySpread = Offset
  680. PRTCL.Drag = Drag
  681. PRTCL.Acceleration = Acel
  682. if Enabled == false then
  683. PRTCL:Emit(Emit)
  684. Debris:AddItem(PRTCL,Lifetime2)
  685. else
  686. PRTCL.Enabled = true
  687. end
  688. return PRTCL
  689. end
  690.  
  691. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  692. PRT.Color = C3(1,1,1)
  693. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  694. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "15724132", VT(1,1,1)*SIZE, VT(0,0,0))
  695. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  696. PRT.Color = C3(0, 111, 0)
  697. MakeForm(PRT,"Ball")
  698. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  699. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  700. PRT.Color = C3(0, 111, 0)
  701. MakeForm(PRT,"Ball")
  702. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  703. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  704. PRT.Color = C3(0, 111, 0)
  705. MakeForm(PRT,"Ball")
  706. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  707. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  708. PRT.Color = C3(0, 111, 0)
  709. MakeForm(PRT,"Ball")
  710. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  711. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  712. PRT.Color = C3(0, 111, 0)
  713. MakeForm(PRT,"Ball")
  714. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  715. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  716. PRT.Color = C3(0, 111, 0)
  717. MakeForm(PRT,"Ball")
  718. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  719.  
  720.  
  721.  
  722.  
  723. local LASTPART = Head
  724. for i = 1, 20 do
  725. local MATH = (1-(i/25))
  726. if LASTPART == Head then
  727. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  728. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  729. LASTPART = Horn
  730. Horn.Color = C3((i*3-3)/0,0,0)
  731. else
  732. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  733. 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))
  734. LASTPART = Horn
  735. Horn.Color = C3((i*3-3)/0,127,0)
  736. end
  737. end
  738. local LASTPART = Head
  739. for i = 1, 20 do
  740. local MATH = (1-(i/25))
  741. if LASTPART == Head then
  742. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  743. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  744. LASTPART = Horn
  745. Horn.Color = C3((i*3-3)/0,0,0)
  746. else
  747. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Dirt brown", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  748. 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))
  749. LASTPART = Horn
  750. Horn.Color = C3((i*3-3)/0,127,0)
  751. end
  752. end
  753.  
  754. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  755. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  756. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  757. MakeForm(Part,"Wedge")
  758. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  759. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  760. MakeForm(Part,"Wedge")
  761. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  762. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  763. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  764. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  765. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  766. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  767. MakeForm(Part,"Cyl")
  768. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  769. for i = 1, 8 do
  770. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  771. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  772. end
  773. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  774. MakeForm(Part,"Cyl")
  775. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  776. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  777. MakeForm(Part,"Ball")
  778. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  779. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  780. MakeForm(Part,"Wedge")
  781. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  782. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  783. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  784. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  785. MakeForm(Part,"Cyl")
  786. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  788. MakeForm(Part,"Cyl")
  789. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  790. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  791. MakeForm(Part,"Cyl")
  792. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  793. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  794. MakeForm(Part,"Wedge")
  795. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  796. local LASTPART = Handle
  797. for i = 1, 10 do
  798. if LASTPART == Handle then
  799. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  800. LASTPART = Part
  801. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  802. else
  803. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  804. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  805. LASTPART = Part
  806. end
  807. end
  808.  
  809. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  810. MakeForm(Barrel,"Cyl")
  811. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  812. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  813. MakeForm(Part,"Cyl")
  814. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  815. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  816. MakeForm(Part,"Wedge")
  817. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  818. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  819. MakeForm(Hole2,"Cyl")
  820. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  821. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  822. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  823. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  824. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  825. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  826. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  827. coroutine.resume(coroutine.create(function()
  828. while wait() do
  829. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  830. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  831. end
  832. end))
  833.  
  834. 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)})
  835. --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)})
  836.  
  837. for _, c in pairs(Weapon:GetDescendants()) do
  838. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  839. c.Material = "Glass"
  840. c.Color = C3(0,0,0)
  841. elseif c.ClassName == "Part" and c.Name == "Eye" then
  842. c.Color = C3(0,1,0)
  843. c.Material = "Neon"
  844. end
  845. end
  846.  
  847. Weapon.Parent = Character
  848. for _, c in pairs(Weapon:GetChildren()) do
  849. if c.ClassName == "Part" then
  850. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  851. end
  852. end
  853.  
  854. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  855. PRT.Color = C3(0,0,0)
  856. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  857. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  858.  
  859. if Character:FindFirstChildOfClass("Accessory") then
  860. Character:FindFirstChildOfClass("Accessory"):remove()
  861. elseif Character:FindFirstChildOfClass("Hat") then
  862. Character:FindFirstChildOfClass("Hat"):remove()
  863. end
  864. if Head:FindFirstChild("face") then
  865. Head.face.Texture = "rbxassetid://403870689"
  866. if Character:FindFirstChildOfClass("Accessory") then
  867. Character:FindFirstChildOfClass("Accessory"):remove()
  868. elseif Character:FindFirstChildOfClass("Hat") then
  869. Character:FindFirstChildOfClass("Hat"):remove()
  870. end
  871. if Character:FindFirstChildOfClass("Accessory") then
  872. Character:FindFirstChildOfClass("Accessory"):remove()
  873. elseif Character:FindFirstChildOfClass("Hat") then
  874. Character:FindFirstChildOfClass("Hat"):remove()
  875. end
  876. if Character:FindFirstChildOfClass("Accessory") then
  877. Character:FindFirstChildOfClass("Accessory"):remove()
  878. elseif Character:FindFirstChildOfClass("Hat") then
  879. Character:FindFirstChildOfClass("Hat"):remove()
  880. end
  881. if Character:FindFirstChildOfClass("Accessory") then
  882. Character:FindFirstChildOfClass("Accessory"):remove()
  883. elseif Character:FindFirstChildOfClass("Hat") then
  884. Character:FindFirstChildOfClass("Hat"):remove()
  885. end
  886. if Character:FindFirstChildOfClass("Accessory") then
  887. Character:FindFirstChildOfClass("Accessory"):remove()
  888. elseif Character:FindFirstChildOfClass("Hat") then
  889. Character:FindFirstChildOfClass("Hat"):remove()
  890. end
  891. end
  892.  
  893. function ParticleEmitter(Table)
  894. local PRTCL = Particle:Clone()
  895. local Speed = Table.Speed or 5
  896. local Drag = Table.Drag or 0
  897. local Size1 = Table.Size1 or 1
  898. local Size2 = Table.Size2 or 5
  899. local Lifetime1 = Table.Lifetime1 or 1
  900. local Lifetime2 = Table.Lifetime2 or 1.5
  901. local Parent = Table.Parent or Torso
  902. local Emit = Table.Emit or 100
  903. local Offset = Table.Offset or 360
  904. local Acel = Table.Acel or VT(0,0,0)
  905. local Enabled = Table.Enabled or false
  906. PRTCL.Parent = Parent
  907. PRTCL.Size = NumberSequence.new(Size1,Size2)
  908. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  909. PRTCL.Speed = NumberRange.new(Speed)
  910. PRTCL.VelocitySpread = Offset
  911. PRTCL.Drag = Drag
  912. PRTCL.Acceleration = Acel
  913. if Enabled == false then
  914. PRTCL:Emit(Emit)
  915. Debris:AddItem(PRTCL,Lifetime2)
  916. else
  917. PRTCL.Enabled = true
  918. end
  919. return PRTCL
  920. end
  921.  
  922. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  923. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  924. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  925. MakeForm(Part,"Wedge")
  926. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  927. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  928. MakeForm(Part,"Wedge")
  929. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  930. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  931. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  932. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  933. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  934. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  935. MakeForm(Part,"Cyl")
  936. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  937. for i = 1, 8 do
  938. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  939. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  940. end
  941. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  942. MakeForm(Part,"Cyl")
  943. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  944. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  945. MakeForm(Part,"Ball")
  946. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  947. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  948. MakeForm(Part,"Wedge")
  949. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  950. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  951. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  952. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  953. MakeForm(Part,"Cyl")
  954. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  955. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  956. MakeForm(Part,"Cyl")
  957. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  958. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  959. MakeForm(Part,"Cyl")
  960. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  961. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  962. MakeForm(Part,"Wedge")
  963. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  964. local LASTPART = Handle
  965. for i = 1, 10 do
  966. if LASTPART == Handle then
  967. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  968. LASTPART = Part
  969. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  970. else
  971. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  972. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  973. LASTPART = Part
  974. end
  975. end
  976.  
  977. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  978. MakeForm(Barrel,"Cyl")
  979. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  980. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  981. MakeForm(Part,"Cyl")
  982. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  983. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  984. MakeForm(Part,"Wedge")
  985. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  986. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  987. MakeForm(Hole,"Cyl")
  988. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  989. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  990. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  991. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  992. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  993. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  994. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  995. coroutine.resume(coroutine.create(function()
  996. while wait() do
  997. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  998. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  999. end
  1000. end))
  1001.  
  1002. 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)})
  1003. --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)})
  1004.  
  1005. for _, c in pairs(Weapon:GetDescendants()) do
  1006. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1007. c.Material = "Glass"
  1008. c.Color = C3(0.05,0.05,0.05)
  1009. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1010. c.Color = C3(0,1,0)
  1011. c.Material = "Neon"
  1012. end
  1013. end
  1014.  
  1015. Weapon.Parent = Character
  1016. for _, c in pairs(Weapon:GetChildren()) do
  1017. if c.ClassName == "Part" then
  1018. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1019. end
  1020. end
  1021.  
  1022. local SKILLTEXTCOLOR = C3(0,1,0)
  1023. local SKILLFONT = "Antique"
  1024. local SKILLTEXTSIZE = 7
  1025.  
  1026. Humanoid.Died:connect(function()
  1027. ATTACK = true
  1028. end)
  1029.  
  1030.  
  1031. 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")
  1032. --[[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")
  1033. 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")
  1034. 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")
  1035. 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")
  1036. ]]
  1037. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1038. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1039. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1040. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1041. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1042. ]]
  1043. function printbye(Name)
  1044. 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, "}
  1045. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1046. end
  1047.  
  1048. workspace.ChildAdded:connect(function(instance)
  1049. for BANISH = 1, #TOBANISH do
  1050. if TOBANISH[BANISH] ~= nil then
  1051. if instance.Name == TOBANISH[BANISH] then
  1052. coroutine.resume(coroutine.create(function()
  1053. printbye(instance.Name)
  1054. instance:ClearAllChildren()
  1055. Debris:AddItem(instance,0.0005)
  1056. end))
  1057. end
  1058. end
  1059. end
  1060. end)
  1061.  
  1062. --//=================================\\
  1063. --|| DAMAGING
  1064. --\\=================================//
  1065.  
  1066. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1067. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1068. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1069. wave.CFrame = CFRAME
  1070. coroutine.resume(coroutine.create(function(PART)
  1071. for i = 1, WAIT do
  1072. Swait()
  1073. mesh.Scale = mesh.Scale + GROW
  1074. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1075. if DOESROT == true then
  1076. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1077. end
  1078. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1079. if wave.Transparency > 0.99 then
  1080. wave:remove()
  1081. end
  1082. end
  1083. end))
  1084. end
  1085.  
  1086. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1087. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1088. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1089. wave.CFrame = CFRAME
  1090. coroutine.resume(coroutine.create(function(PART)
  1091. for i = 1, WAIT do
  1092. Swait()
  1093. mesh.Scale = mesh.Scale + GROW
  1094. if DOESROT == true then
  1095. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1096. end
  1097. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1098. if wave.Transparency > 0.99 then
  1099. wave:remove()
  1100. end
  1101. end
  1102. end))
  1103. end
  1104.  
  1105. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1106. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1107. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1108. wave.CFrame = CFRAME
  1109. coroutine.resume(coroutine.create(function(PART)
  1110. for i = 1, WAIT do
  1111. Swait()
  1112. mesh.Scale = mesh.Scale + GROW
  1113. wave.Transparency = wave.Transparency + (1/WAIT)
  1114. if wave.Transparency > 0.99 then
  1115. wave:remove()
  1116. end
  1117. end
  1118. end))
  1119. end
  1120.  
  1121. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1122. local mesh = nil
  1123. if KIND == "Base" then
  1124. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1125. elseif KIND == "Thin" then
  1126. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1127. elseif KIND == "Round" then
  1128. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1129. end
  1130. wave.CFrame = CFRAME
  1131. coroutine.resume(coroutine.create(function(PART)
  1132. for i = 1, WAIT do
  1133. Swait()
  1134. mesh.Scale = mesh.Scale + GROW/10
  1135. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1136. if wave.Transparency > 0.99 then
  1137. wave:remove()
  1138. end
  1139. end
  1140. end))
  1141. end
  1142.  
  1143. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1144. local svch = Character2
  1145. Character2:BreakJoints()
  1146. local hum = Character2:findFirstChild("Humanoid")
  1147. local q = Character2:GetChildren()
  1148. local CLONE = IT("Model", Effects)
  1149. for i = 1, #q do
  1150. if q[i].ClassName == "Accessory" and Headless == true then
  1151. q[i]:remove()
  1152. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1153. q[i].Parent = CLONE
  1154. elseif q[i].ClassName ~= "Humanoid" then
  1155. q[i]:remove()
  1156. end
  1157. end
  1158. local chrclone = CLONE
  1159. local ch = chrclone:GetChildren()
  1160. local i
  1161. for i = 1, #ch do
  1162. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1163. ch[i]:remove()
  1164. end
  1165. end
  1166. local function Scan(ch)
  1167. local e
  1168. for e = 1, #ch do
  1169. Scan(ch[e]:GetChildren())
  1170. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1171. ch[e]:remove()
  1172. end
  1173. end
  1174. end
  1175. Character2:remove()
  1176. local NEWHUM = IT("Humanoid")
  1177. NEWHUM.Name = "Corpse"
  1178. NEWHUM.Health = 0
  1179. NEWHUM.MaxHealth = 0
  1180. NEWHUM.PlatformStand = true
  1181. NEWHUM.Parent = CLONE
  1182. NEWHUM.DisplayDistanceType = "None"
  1183. Scan(chrclone:GetChildren())
  1184. local ch = Character2:GetChildren()
  1185. local i
  1186. for i = 1, #ch do
  1187. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1188. ch[i]:remove()
  1189. end
  1190. end
  1191. local ch = Character2:GetChildren()
  1192. local i
  1193. for i = 1, #ch do
  1194. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1195. ch[i]:remove()
  1196. end
  1197. end
  1198. Character2 = chrclone
  1199. local Torso2 = Character2.Torso
  1200. local movevector = Vector3.new()
  1201. if Torso2 then
  1202. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1203. local Head = Character2:FindFirstChild("Head")
  1204. if Head then
  1205. local Neck = Instance.new("Weld")
  1206. Neck.Name = "Neck"
  1207. Neck.Part0 = Torso2
  1208. Neck.Part1 = Head
  1209. Neck.C0 = CFrame.new(0, 1.5, 0)
  1210. Neck.C1 = CFrame.new()
  1211. Neck.Parent = Torso2
  1212. if Headless == true then
  1213. Head.Transparency = 1
  1214. Head:ClearAllChildren()
  1215. end
  1216. end
  1217. local Limb = Character2:FindFirstChild("Right Arm")
  1218. if Limb then
  1219. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1220. local Joint = Instance.new("Glue")
  1221. Joint.Name = "RightShoulder"
  1222. Joint.Part0 = Torso2
  1223. Joint.Part1 = Limb
  1224. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1225. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1226. Joint.Parent = Torso2
  1227. local B = Instance.new("Part")
  1228. B.TopSurface = 0
  1229. B.BottomSurface = 0
  1230. B.formFactor = "Symmetric"
  1231. B.Size = Vector3.new(1, 1, 1)
  1232. B.Transparency = 1
  1233. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1234. B.Parent = Character2
  1235. local W = Instance.new("Weld")
  1236. W.Part0 = Limb
  1237. W.Part1 = B
  1238. W.C0 = CFrame.new(0, -0.5, 0)
  1239. W.Parent = Limb
  1240. end
  1241. local Limb = Character2:FindFirstChild("Left Arm")
  1242. if Limb then
  1243. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1244. local Joint = Instance.new("Glue")
  1245. Joint.Name = "LeftShoulder"
  1246. Joint.Part0 = Torso2
  1247. Joint.Part1 = Limb
  1248. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1249. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1250. Joint.Parent = Torso2
  1251. local B = Instance.new("Part")
  1252. B.TopSurface = 0
  1253. B.BottomSurface = 0
  1254. B.formFactor = "Symmetric"
  1255. B.Size = Vector3.new(1, 1, 1)
  1256. B.Transparency = 1
  1257. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1258. B.Parent = Character2
  1259. local W = Instance.new("Weld")
  1260. W.Part0 = Limb
  1261. W.Part1 = B
  1262. W.C0 = CFrame.new(0, -0.5, 0)
  1263. W.Parent = Limb
  1264. end
  1265. local Limb = Character2:FindFirstChild("Right Leg")
  1266. if Limb then
  1267. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1268. local Joint = Instance.new("Glue")
  1269. Joint.Name = "RightHip"
  1270. Joint.Part0 = Torso2
  1271. Joint.Part1 = Limb
  1272. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1273. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1274. Joint.Parent = Torso2
  1275. local B = Instance.new("Part")
  1276. B.TopSurface = 0
  1277. B.BottomSurface = 0
  1278. B.formFactor = "Symmetric"
  1279. B.Size = Vector3.new(1, 1, 1)
  1280. B.Transparency = 1
  1281. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1282. B.Parent = Character2
  1283. local W = Instance.new("Weld")
  1284. W.Part0 = Limb
  1285. W.Part1 = B
  1286. W.C0 = CFrame.new(0, -0.5, 0)
  1287. W.Parent = Limb
  1288. end
  1289. local Limb = Character2:FindFirstChild("Left Leg")
  1290. if Limb then
  1291. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1292. local Joint = Instance.new("Glue")
  1293. Joint.Name = "LeftHip"
  1294. Joint.Part0 = Torso2
  1295. Joint.Part1 = Limb
  1296. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1297. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1298. Joint.Parent = Torso2
  1299. local B = Instance.new("Part")
  1300. B.TopSurface = 0
  1301. B.BottomSurface = 0
  1302. B.formFactor = "Symmetric"
  1303. B.Size = Vector3.new(1, 1, 1)
  1304. B.Transparency = 1
  1305. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1306. B.Parent = Character2
  1307. local W = Instance.new("Weld")
  1308. W.Part0 = Limb
  1309. W.Part1 = B
  1310. W.C0 = CFrame.new(0, -0.5, 0)
  1311. W.Parent = Limb
  1312. end
  1313. local Bar = Instance.new("Part")
  1314. Bar.TopSurface = 0
  1315. Bar.BottomSurface = 0
  1316. Bar.formFactor = "Symmetric"
  1317. Bar.Size = Vector3.new(1, 1, 1)
  1318. Bar.Transparency = 1
  1319. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1320. Bar.Parent = Character2
  1321. local Weld = Instance.new("Weld")
  1322. Weld.Part0 = Torso2
  1323. Weld.Part1 = Bar
  1324. Weld.C0 = CFrame.new(0, 0.5, 0)
  1325. Weld.Parent = Torso2
  1326. end
  1327. Character2.Parent = Weapon
  1328. if movevector ~= Vector3.new() then
  1329. for i = 1, 10 do
  1330. Torso2.Velocity = movevector * Velocity
  1331. end
  1332. end
  1333. Character2.Name = "Corpse"
  1334. return Character2, Torso2
  1335. end
  1336.  
  1337. function Banish(Foe)
  1338. if Foe then
  1339. coroutine.resume(coroutine.create(function()
  1340. --if game.Players:FindFirstChild(Foe.Name) then
  1341. table.insert(TOBANISH,Foe.Name)
  1342. printbye(Foe.Name)
  1343. --end
  1344. Foe.Archivable = true
  1345. local CLONE = Foe:Clone()
  1346. Foe:Destroy()
  1347. CLONE.Parent = Effects
  1348. CLONE:BreakJoints()
  1349. local MATERIALS = {"Glass","Neon"}
  1350. for _, c in pairs(CLONE:GetDescendants()) do
  1351. if c:IsA("BasePart") then
  1352. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1353. CreateSound(340722848, c, 10, 1, false)
  1354. end
  1355. c.Anchored = true
  1356. c.Transparency = c.Transparency + 0.2
  1357. c.Material = MATERIALS[MRANDOM(1,2)]
  1358. c.Color = C3(0,1,0)
  1359. if c.ClassName == "MeshPart" then
  1360. c.TextureID = ""
  1361. end
  1362. if c:FindFirstChildOfClass("SpecialMesh") then
  1363. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1364. end
  1365. if c:FindFirstChildOfClass("Decal") then
  1366. c:FindFirstChildOfClass("Decal"):remove()
  1367. end
  1368. c.Name = "Banished"
  1369. c.CanCollide = false
  1370. else
  1371. c:remove()
  1372. end
  1373. end
  1374. local A = false
  1375. for i = 1, 35 do
  1376. if A == false then
  1377. A = true
  1378. elseif A == true then
  1379. A = false
  1380. end
  1381. for _, c in pairs(CLONE:GetDescendants()) do
  1382. if c:IsA("BasePart") then
  1383. c.Anchored = true
  1384. c.Material = MATERIALS[MRANDOM(1,2)]
  1385. c.Transparency = c.Transparency + 0.8/35
  1386. if A == false then
  1387. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1388. elseif A == true then
  1389. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1390. end
  1391. end
  1392. end
  1393. Swait()
  1394. end
  1395. CLONE:remove()
  1396. end))
  1397. end
  1398. end
  1399.  
  1400. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1401. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1402. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1403. if HITFLOOR.Name == "BloodPuddle" then
  1404. local DIST = (Position - HITFLOOR.Position).Magnitude
  1405. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  1406. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1407. end
  1408. elseif HITFLOOR.Anchored == true then
  1409. do
  1410. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(2, 0, 2))
  1411. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1412. MakeForm(BLOOD, "Cyl")
  1413. coroutine.resume(coroutine.create(function()
  1414. Swait(75)
  1415. while true do
  1416. Swait()
  1417. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  1418. if BLOOD.Size.Z < 0.051 then
  1419. BLOOD:remove()
  1420. break
  1421. end
  1422. end
  1423. end))
  1424. end
  1425. end
  1426. end
  1427. end
  1428.  
  1429. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1430. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Lime green", "BloodPuddle", VT(1, 1, 1), false)
  1431. BLOOD.CFrame = CF(POSITION)
  1432. MakeForm(BLOOD, "Ball")
  1433. local bv = Instance.new("BodyVelocity", BLOOD)
  1434. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1435. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1436. bv.Name = "MOVE"
  1437. Debris:AddItem(bv, 0.05)
  1438. coroutine.resume(coroutine.create(function()
  1439. local HASTOUCHEDGROUND = false
  1440. local HIT = BLOOD.Touched:Connect(function(hit)
  1441. if hit.Anchored == true then
  1442. HASTOUCHEDGROUND = true
  1443. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1444. end
  1445. end)
  1446. wait(5)
  1447. if HASTOUCHEDGROUND == false then
  1448. BLOOD:remove()
  1449. end
  1450. end))
  1451. end
  1452. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1453. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1454. defence.Name = "HitBy" .. Player.Name
  1455. game:GetService("Debris"):AddItem(defence, 0.001)
  1456. Damage = Damage * DAMAGEMULTIPLIER
  1457. if Humanoid.Health ~= 0 then
  1458. local CritChance = MRANDOM(1, 100)
  1459. if Damage > Humanoid.Health then
  1460. Damage = math.ceil(Humanoid.Health)
  1461. if Damage == 0 then
  1462. Damage = 0.1
  1463. end
  1464. end
  1465. Humanoid.Health = Humanoid.Health - Damage
  1466. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1467. end
  1468. end
  1469.  
  1470. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1471. local CHILDREN = workspace:GetDescendants()
  1472. for index, CHILD in pairs(CHILDREN) do
  1473. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1474. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1475. if HUM then
  1476. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1477. if TORSO then
  1478. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1479. if ISBANISH == true then
  1480. Banish(CHILD)
  1481. else
  1482. if ISBANISH == "Gravity" then
  1483. HUM.PlatformStand = true
  1484. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1485. local grav = Instance.new("BodyPosition",TORSO)
  1486. grav.D = 15
  1487. grav.P = 20000
  1488. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1489. grav.position = TORSO.Position
  1490. grav.Name = "V3BanishForce"..Player.Name
  1491. else
  1492. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1493. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1494. end
  1495. else
  1496. HUM.PlatformStand = false
  1497. end
  1498. end
  1499. elseif ISBANISH == "Gravity" then
  1500. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1501. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1502. HUM.PlatformStand = false
  1503. end
  1504. end
  1505. end
  1506. end
  1507. end
  1508. end
  1509. end
  1510.  
  1511. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1512. local dmg = math.random(min,max)
  1513. for i,v in ipairs(workspace:GetChildren()) do
  1514. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1515. local body = v:GetChildren()
  1516. for part = 1, #body do
  1517. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1518. if(body[part].Position - position).Magnitude < radius then
  1519. if v.ClassName == "Model" then
  1520. if v:FindFirstChildOfClass("Humanoid") then
  1521. if CanBeDodgedByJumping == true then
  1522. if body[part].Position.Y < position.Y+5 then
  1523. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1524. end
  1525. else
  1526. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1527. end
  1528. local bv = Instance.new("BodyVelocity")
  1529. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1530. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1531. bv.Parent = body[part]
  1532. Debris:AddItem(bv,0.2)
  1533. end
  1534. end
  1535. end
  1536. end
  1537. end
  1538. end
  1539. if v:FindFirstChild("HitBy"..Player.Name) then
  1540. v:FindFirstChild("HitBy"..Player.Name):remove()
  1541. end
  1542. end
  1543. end
  1544.  
  1545.  
  1546. --//=================================\\
  1547. --|| ATTACK FUNCTIONS AND STUFF
  1548. --\\=================================//
  1549.  
  1550. function ShadowCloak()
  1551. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  1552. ATTACK = true
  1553. Rooted = false
  1554. UNANCHOR = false
  1555. FADERS = false
  1556. coroutine.resume(coroutine.create(function()
  1557. coroutine.resume(coroutine.create(function()
  1558. for i=1, 25 do
  1559. Swait()
  1560. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  1561. end
  1562. end))
  1563. repeat
  1564. Swait()
  1565. BLADE.Transparency = Torso.Transparency
  1566. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1567. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  1568. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1569. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1570. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  1571. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  1572. until ATTACK == false
  1573. end))
  1574. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 0.6, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 12})
  1575. WACKYEFFECT({Time = 65, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(25,1,25), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position-VT(0,3.5,0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 814168787, SoundPitch = 1, SoundVolume = 6, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 35})
  1576. for i = 1, 50 do
  1577. Swait()
  1578. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1579. for index, CHILD in pairs(Character:GetChildren()) do
  1580. if CHILD:IsA("BasePart") then
  1581. CHILD.Transparency = CHILD.Transparency + 1/50
  1582. elseif CHILD:IsA("Accessory") then
  1583. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  1584. end
  1585. end
  1586. end
  1587. for i = 1, 25 do
  1588. Swait()
  1589. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1590. end
  1591. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  1592. for i = 1, 5 do
  1593. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  1594. end
  1595. ApplyAoE(Torso.Position,15,12,22,150,false)
  1596. CreateSound(331666014,Torso,5,1,false)
  1597. for i = 1, 12 do
  1598. Swait()
  1599. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1600. end
  1601. for i = 1, 50 do
  1602. Swait()
  1603. CharacterFade(C3(0,1,0),12,R_RANDOM(Torso.CFrame,1.25).p)
  1604. for index, CHILD in pairs(Character:GetChildren()) do
  1605. if CHILD:IsA("BasePart") then
  1606. CHILD.Transparency = CHILD.Transparency - 1/50
  1607. elseif CHILD:IsA("Accessory") then
  1608. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  1609. end
  1610. end
  1611. end
  1612. UNANCHOR = true
  1613. ATTACK = false
  1614. Rooted = false
  1615. FADERS = true
  1616. end
  1617. end
  1618.  
  1619. function Neck_Snap()
  1620. ATTACK = true
  1621. Rooted = false
  1622. local TARGET, HUM, WLD
  1623. local HIT = RightArm.Touched:Connect(function(hit)
  1624. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  1625. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  1626. if H.Health > 0 then
  1627. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  1628. if TORSO then
  1629. HUM = H
  1630. TARGET = TORSO
  1631. H.PlatformStand = true
  1632. CreateSound("260411131", TORSO, 10, 1)
  1633. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1634. end
  1635. end
  1636. end
  1637. end)
  1638. for i = 0, 1, 0.1 / Animation_Speed do
  1639. Swait()
  1640. if TARGET ~= nil then
  1641. break
  1642. end
  1643. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  1644. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  1645. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1646. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1647. if ANIM == "Idle" then
  1648. 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)
  1649. 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)
  1650. elseif ANIM == "Walk" then
  1651. 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)
  1652. 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)
  1653. elseif ANIM == "Jump" or ANIM == "Fall" then
  1654. 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)
  1655. 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)
  1656. end
  1657. end
  1658. HIT:disconnect()
  1659. if TARGET ~= nil then
  1660. if TARGET.Name == "Torso" then
  1661. for i = 0, 2, 0.1 / Animation_Speed do
  1662. Swait()
  1663. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1664. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1665. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1666. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1667. if ANIM == "Idle" then
  1668. 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)
  1669. 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)
  1670. elseif ANIM == "Walk" then
  1671. 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)
  1672. 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)
  1673. elseif ANIM == "Jump" or ANIM == "Fall" then
  1674. 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)
  1675. 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)
  1676. end
  1677. end
  1678. WLD:remove()
  1679. local HEAD = TARGET.Parent:FindFirstChild("Head")
  1680. if HEAD then
  1681. UNANCHOR = false
  1682. RootPart.Anchored = true
  1683. local HD = HEAD:Clone()
  1684. HD.Name = "FakeHead"
  1685. for i = 1, 7 do
  1686. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  1687. end
  1688. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  1689. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1690. HD.Parent = RAGDOLL
  1691. CreateSound("264486467", RAGTORSO, 10, 1)
  1692. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  1693. for i = 0, 2, 0.1 / Animation_Speed do
  1694. Swait()
  1695. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1696. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1697. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1698. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1699. if ANIM == "Idle" then
  1700. 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)
  1701. 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)
  1702. elseif ANIM == "Walk" then
  1703. 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)
  1704. 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)
  1705. elseif ANIM == "Jump" or ANIM == "Fall" then
  1706. 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)
  1707. 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)
  1708. end
  1709. end
  1710. HEADWELD:remove()
  1711. for i = 0, 0.5, 0.1 / Animation_Speed do
  1712. Swait()
  1713. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1714. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1717. if ANIM == "Idle" then
  1718. 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)
  1719. 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)
  1720. elseif ANIM == "Walk" then
  1721. 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)
  1722. 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)
  1723. elseif ANIM == "Jump" or ANIM == "Fall" then
  1724. 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)
  1725. 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)
  1726. end
  1727. end
  1728. CreateSound("907333406", Torso, 10, 1)
  1729. for i = 0, 0.25, 0.1 / Animation_Speed do
  1730. Swait()
  1731. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1732. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1733. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1734. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1735. if ANIM == "Idle" then
  1736. 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)
  1737. 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)
  1738. elseif ANIM == "Walk" then
  1739. 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)
  1740. 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)
  1741. elseif ANIM == "Jump" or ANIM == "Fall" then
  1742. 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)
  1743. 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)
  1744. end
  1745. end
  1746. RAGWELD:remove()
  1747. local bv = Instance.new("BodyVelocity")
  1748. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1749. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  1750. bv.Parent = RAGTORSO
  1751. Debris:AddItem(bv, 0.05)
  1752. Debris:AddItem(RAGDOLL, 5)
  1753. for i = 0, 0.15, 0.1 / Animation_Speed do
  1754. Swait()
  1755. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1759. if ANIM == "Idle" then
  1760. 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)
  1761. 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)
  1762. elseif ANIM == "Walk" then
  1763. 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)
  1764. 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)
  1765. elseif ANIM == "Jump" or ANIM == "Fall" then
  1766. 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)
  1767. 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)
  1768. end
  1769. end
  1770. UNANCHOR = true
  1771. RootPart.Anchored = false
  1772. end
  1773. else
  1774. UNANCHOR = false
  1775. RootPart.Anchored = true
  1776. for i = 0, 0.5, 0.1 / Animation_Speed do
  1777. Swait()
  1778. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1779. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1780. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1781. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1782. if ANIM == "Idle" then
  1783. 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)
  1784. 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)
  1785. elseif ANIM == "Walk" then
  1786. 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)
  1787. 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)
  1788. elseif ANIM == "Jump" or ANIM == "Fall" then
  1789. 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)
  1790. 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)
  1791. end
  1792. end
  1793. for i = 0, 0.25, 0.1 / Animation_Speed do
  1794. Swait()
  1795. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1796. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  1798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1799. if ANIM == "Idle" then
  1800. 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)
  1801. 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)
  1802. elseif ANIM == "Walk" then
  1803. 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)
  1804. 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)
  1805. elseif ANIM == "Jump" or ANIM == "Fall" then
  1806. 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)
  1807. 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)
  1808. end
  1809. end
  1810. WLD:remove()
  1811. TARGET.Parent:BreakJoints()
  1812. for _, c in pairs(TARGET.Parent:GetChildren()) do
  1813. if c:IsA("BasePart") then
  1814. local bv = Instance.new("BodyVelocity")
  1815. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1816. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  1817. bv.Parent = c
  1818. Debris:AddItem(bv, 0.05)
  1819. end
  1820. end
  1821. for i = 0, 0.15, 0.1 / Animation_Speed do
  1822. Swait()
  1823. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1824. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  1825. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1826. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1827. if ANIM == "Idle" then
  1828. 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)
  1829. 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)
  1830. elseif ANIM == "Walk" then
  1831. 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)
  1832. 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)
  1833. elseif ANIM == "Jump" or ANIM == "Fall" then
  1834. 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)
  1835. 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)
  1836. end
  1837. end
  1838. UNANCHOR = true
  1839. RootPart.Anchored = false
  1840. end
  1841. end
  1842. ATTACK = false
  1843. Rooted = false
  1844. end
  1845.  
  1846. function CyberSmash()
  1847. ATTACK = true
  1848. Rooted = false
  1849. local GYRO = IT("BodyGyro",RootPart)
  1850. GYRO.D = 100
  1851. GYRO.P = 2000
  1852. GYRO.MaxTorque = VT(0,4000000,0)
  1853. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1854. local SMASH = CreatePart(3, Effects, "Neon", 0, 1, "Earth green", "Block", VT(25,25,25))
  1855. SMASH.CanCollide = true
  1856. SMASH.Color = C3(0,0,0)
  1857. local EF = Instance.new("SelectionBox",SMASH)
  1858. EF.Adornee = SMASH
  1859. EF.Color = BrickColor.new("Earth green")
  1860. EF.LineThickness = 0.2
  1861. EF.Transparency = 1
  1862. coroutine.resume(coroutine.create(function()
  1863. for i = 1, 20 do
  1864. Swait()
  1865. SMASH.Transparency = SMASH.Transparency - 0.05
  1866. EF.Transparency = SMASH.Transparency
  1867. end
  1868. end))
  1869. repeat
  1870. SMASH.CFrame = CF(Mouse.Hit.p)*CF(0,35,0)
  1871. Swait()
  1872. GYRO.cframe = CF(RootPart.Position,SMASH.Position)
  1873. 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)
  1874. 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)
  1875. 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)
  1876. 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)
  1877. 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)
  1878. 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)
  1879. until HOLD == true and SMASH.Transparency < 0.99
  1880. for i = 1, 25 do
  1881. Swait()
  1882. SMASH.CFrame = SMASH.CFrame*CF(0,15/25,0)
  1883. 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)
  1884. 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)
  1885. 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)
  1886. 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)
  1887. 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)
  1888. 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)
  1889. end
  1890. local TOCH = SMASH.Touched:Connect(function(hit)
  1891. if hit.Anchored == false and hit.Parent ~= Head and hit.Parent ~= Character and hit.Parent ~= Effects then
  1892. Shatter(hit)
  1893. end
  1894. end)
  1895. local n0 = nil
  1896. local HITFLOOR,HITPOS = Raycast(SMASH.Position, (CF(SMASH.Position, SMASH.Position + VT(0, -1, 0))).lookVector, 25000, Character)
  1897. if HITFLOOR ~= nil then
  1898. if HITFLOOR.Anchored == false and HITFLOOR.Parent ~= workspace then
  1899. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") or HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1900. if HITFLOOR.Parent.ClassName == "Model" then
  1901. HITFLOOR.Parent:BreakJoints()
  1902. elseif HITFLOOR.Parent.Parent.ClassName == "Model" then
  1903. HITFLOOR.Parent.Parent:BreakJoints()
  1904. end
  1905. end
  1906. local POS = HITPOS
  1907. n0,HITPOS = Raycast(POS, (CF(POS, POS + VT(0, -1, 0))).lookVector, 25000, HITFLOOR.Parent)
  1908. end
  1909. end
  1910. killnearest(HITPOS,SMASH.Size.X/1.3,"Shatter")
  1911. SMASH.CFrame = CF(HITPOS+VT(0,SMASH.Size.Y/2,0))
  1912. 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})
  1913. for i = 1, 25 do
  1914. Swait()
  1915. 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)
  1916. 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)
  1917. 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)
  1918. 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)
  1919. 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)
  1920. 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)
  1921. end
  1922. coroutine.resume(coroutine.create(function()
  1923. wait(0.2)
  1924. TOCH:disconnect()
  1925. wait(1.8)
  1926. for i = 1, 100 do
  1927. Swait()
  1928. SMASH.Transparency = i/100
  1929. end
  1930. for i = 1, 10 do
  1931. Swait()
  1932. EF.Transparency = EF.Transparency + 0.1
  1933. end
  1934. SMASH:remove()
  1935. end))
  1936. GYRO:remove()
  1937. ATTACK = false
  1938. Rooted = false
  1939. end
  1940.  
  1941. function TimesUp()
  1942. CLOCKTARGET = nil
  1943. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1944. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1945. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1946. if TORSO then
  1947. ATTACK = true
  1948. Rooted = false
  1949. coroutine.resume(coroutine.create(function()
  1950. repeat
  1951. Swait()
  1952. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1953. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1954. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.5*SIZE, -0.2*SIZE) * ANGLES(RAD(75), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1955. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1956. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1957. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1958. until ATTACK == false
  1959. end))
  1960. if Effects:FindFirstChild("NeonDoll") then
  1961. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1962. end
  1963. wait(0.5)
  1964. local FAKECHARACTER = IT("Model",Effects)
  1965. FAKECHARACTER.Name = "NeonDoll"
  1966. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
  1967. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1968. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1969. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1970. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1971. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1972. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1973. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1974. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1975. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1976. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
  1977. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1978. CreateSound(201858045, TORS, 5, 0.4, false)
  1979. for i = 1, 50 do
  1980. Swait()
  1981. CLOCKSPEED = 2.5
  1982. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1983. if c.ClassName == "Part" then
  1984. c.Transparency = c.Transparency - 0.5/150
  1985. end
  1986. end
  1987. end
  1988. CLOCKTARGET = HUM
  1989. coroutine.resume(coroutine.create(function()
  1990. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1991. for i = 1, 25 do
  1992. Swait()
  1993. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1994. if c.ClassName == "Part" then
  1995. c.Transparency = c.Transparency + 0.5/25
  1996. end
  1997. end
  1998. end
  1999. CLOCKSPEED = 2.5
  2000. FAKECHARACTER:remove()
  2001. end))
  2002. wait(0.5)
  2003. ATTACK = false
  2004. Rooted = false
  2005. end
  2006. end
  2007. end
  2008.  
  2009. function PandorasBox()
  2010. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2011. if HITFLOOR ~= nil then
  2012. ATTACK = false
  2013. Rooted = false
  2014. local RINGSPIN = true
  2015. local CONSTRUCTING = true
  2016. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  2017. RING.Color = C3(5,6,0)
  2018. MakeForm(RING,"Cyl")
  2019. RING.CFrame = CF(HITPOS)
  2020. CreateSound(402981977, RING, 5, 1.2, false)
  2021. coroutine.resume(coroutine.create(function()
  2022. repeat
  2023. Swait()
  2024. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2025. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2026. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2027. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(115), RAD(45), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2028. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2029. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2030. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2031. until CONSTRUCTING == false
  2032. repeat
  2033. Swait()
  2034. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2035. until RINGSPIN == false
  2036. for i = 1, 25 do
  2037. Swait()
  2038. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2039. RING.Size = RING.Size - VT(0.15,0,0.15)
  2040. --DECAL.Transparency = DECAL.Transparency + 1/25
  2041. RING.Transparency = RING.Transparency + 1/25
  2042. end
  2043. RING:remove()
  2044. end))
  2045. for i = 1, 15 do
  2046. Swait()
  2047. RING.Size = RING.Size + VT(0.75,0,0.75)
  2048. RING.Transparency = RING.Transparency - 1/15
  2049. end
  2050. local BOXSPIN = true
  2051. local PANDORASBOX = IT("Model",Effects)
  2052. PANDORASBOX.Name = "Box of wonders"
  2053. local BOX = IT("Model",PANDORASBOX)
  2054. BOX.Name = "Body"
  2055. local LID = IT("Model",PANDORASBOX)
  2056. LID.Name = "Lid"
  2057. --BUILDING THE BOX--
  2058. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  2059. BASE.Color = C3(0,0,0)
  2060. PANDORASBOX.PrimaryPart = BASE
  2061. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2062. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2063. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  2064. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2065. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  2066. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2067. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  2068. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  2069. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  2070. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2071. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  2072. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2073. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  2074. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2075. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  2076. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2077. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  2078. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2079. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  2080. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2081. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  2082. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2083. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  2084. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2085. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  2086. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2087. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  2088. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  2089. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  2090. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2091. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  2092. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  2093. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  2094. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2095. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  2096. -------------
  2097. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  2098. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  2099. LID.PrimaryPart = LIDPART
  2100. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2101. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  2102. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  2103. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  2104. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2105. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  2106. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  2107. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  2108. local DECAL = IT("Decal",LIDPART)
  2109. DECAL.Face = "Top"
  2110. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  2111. DECAL.Color3 = C3(5,6,0)
  2112. --BUILDING THE BOX--
  2113. coroutine.resume(coroutine.create(function()
  2114. repeat
  2115. Swait()
  2116. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2117. until BOXSPIN == false
  2118. end))
  2119. for i = 1, 25 do
  2120. Swait()
  2121. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2122. end
  2123. wait(0.5)
  2124. BOXSPIN = false
  2125. CONSTRUCTING = false
  2126. coroutine.resume(coroutine.create(function()
  2127. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = LIDPART.Size, Size2 = VT(3,0,3)*4, Transparency = 0, Transparency2 = 1, CFrame = LIDPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 168586586, SoundPitch = 1.3, SoundVolume = 6})
  2128. --[[for i = 1, 45 do
  2129. Swait()
  2130. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2131. end-
  2132. LID:remove()]]--
  2133. for _, c in pairs(LID:GetChildren()) do
  2134. if c.ClassName == "Part" then
  2135. c.Anchored = false
  2136. c.CanCollide = true
  2137. if c ~= LIDPART then
  2138. weldBetween(LIDPART,c)
  2139. end
  2140. end
  2141. end
  2142. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2143. Debris:AddItem(LID,15)
  2144. wait(0.5)
  2145. local RANDOMEFFECT = MRANDOM(1,4)
  2146. if RANDOMEFFECT == 1 then
  2147. for i = 1, 45 do
  2148. wait((2-(i/15))/15)
  2149. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,MRANDOM(12,15),0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))*CF(0,0,MRANDOM(1,5)), MoveToPos = BASE.Position, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = nil, SoundPitch = 0.8, SoundVolume = 6})
  2150. end
  2151. wait(1)
  2152. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35)*12, Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2153. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*10, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 469345336, SoundPitch = 0.75, SoundVolume = 6})
  2154. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(45,3,45)*9, Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2155. for i = 1, 5 do
  2156. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*12, Transparency = 0.5, Transparency2 = 1, CFrame = BASE.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2157. end
  2158. ApplyAoE(BASE.Position,50,1,200,375,false)
  2159. ApplyAoE(BASE.Position,250,35,75,175,false)
  2160. elseif RANDOMEFFECT == 2 then
  2161. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2162. FIELD.CFrame = BASE.CFrame
  2163. MakeForm(FIELD,"Ball")
  2164. for i = 1, 50 do
  2165. Swait()
  2166. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2167. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2168. end
  2169. wait(0.2)
  2170. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2171. coroutine.resume(coroutine.create(function()
  2172. for i = 1, 75 do
  2173. Swait()
  2174. LOOP.Volume = LOOP.Volume + 10/75
  2175. LOOP.Parent = FIELD
  2176. local CHILDREN = workspace:GetDescendants()
  2177. for index, CHILD in pairs(CHILDREN) do
  2178. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2179. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2180. if HUM then
  2181. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2182. if TORSO then
  2183. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2184. HUM.Health = HUM.Health - 0.1
  2185. TORSO.Velocity = VT(0,5,0)
  2186. HUM.PlatformStand = true
  2187. if TORSO.RotVelocity.Magnitude < 15 then
  2188. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2189. end
  2190. end
  2191. end
  2192. end
  2193. end
  2194. end
  2195. FIELD.Size = FIELD.Size + VT(3,3,3)
  2196. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2197. end
  2198. for i = 1, 500 do
  2199. Swait()
  2200. LOOP.Parent = FIELD
  2201. local CHILDREN = workspace:GetDescendants()
  2202. for index, CHILD in pairs(CHILDREN) do
  2203. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2204. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2205. if HUM then
  2206. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2207. if TORSO then
  2208. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2209. TORSO.Velocity = VT(0,5,0)
  2210. HUM.Health = HUM.Health - 0.1
  2211. HUM.PlatformStand = true
  2212. if TORSO.RotVelocity.Magnitude < 15 then
  2213. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2214. end
  2215. end
  2216. end
  2217. end
  2218. end
  2219. end
  2220. end
  2221. for i = 1, 25 do
  2222. Swait()
  2223. LOOP.Volume = LOOP.Volume + 10/25
  2224. LOOP.Parent = FIELD
  2225. local CHILDREN = workspace:GetDescendants()
  2226. for index, CHILD in pairs(CHILDREN) do
  2227. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2228. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2229. if HUM then
  2230. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2231. if TORSO then
  2232. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2233. TORSO.Velocity = VT(0,5,0)
  2234. HUM.Health = HUM.Health - 0.1
  2235. HUM.PlatformStand = false
  2236. if TORSO.RotVelocity.Magnitude < 15 then
  2237. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2238. end
  2239. end
  2240. end
  2241. end
  2242. end
  2243. end
  2244. FIELD.Size = FIELD.Size - VT(3,3,3)
  2245. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2246. end
  2247. FIELD:remove()
  2248. end))
  2249. elseif RANDOMEFFECT == 3 then
  2250. for i = 1, 10 do
  2251. wait(0.15)
  2252. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(3,8,3), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(0,0.3,0), MoveToPos = BASE.Position+VT(0,6,0), RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = 90655239, SoundPitch = 0.8, SoundVolume = 6})
  2253. coroutine.resume(coroutine.create(function()
  2254. local MINION = CLONE:Clone()
  2255. MINION.Parent = Effects
  2256. MINION.Name = "Shadow"
  2257. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2258. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2259. for _, c in pairs(MINION:GetChildren()) do
  2260. if c.ClassName == "Part" then
  2261. c.Material = "Neon"
  2262. c.Color = C3(0,0,0)
  2263. c.Transparency = 0.25
  2264. if c.Name == "Head" then
  2265. c:ClearAllChildren()
  2266. local MSH = IT("BlockMesh",c)
  2267. MSH.Scale = VT(0.5,1,1)
  2268. end
  2269. end
  2270. end
  2271. local TORSO = MINION.Torso
  2272. local HUMAN = MINION.Humanoid
  2273. HUMAN.WalkSpeed = 100
  2274. HUMAN.MaxHealth = math.huge
  2275. HUMAN.Health = math.huge
  2276. HUMAN.DisplayDistanceType = "None"
  2277. HUMAN.Died:connect(function()
  2278. MINION:remove()
  2279. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2280. end)
  2281. wait(1)
  2282. local findNearestTorso = function(POS)
  2283. local list = game.Workspace:GetDescendants()
  2284. local torso = nil
  2285. local dist = 9999
  2286. local temp = nil
  2287. local human = nil
  2288. local temp2 = nil
  2289. for x = 1, #list do
  2290. temp2 = list[x]
  2291. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2292. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2293. human = temp2:findFirstChildOfClass("Humanoid")
  2294. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2295. if (temp.Position - POS).magnitude < dist then
  2296. torso = temp
  2297. dist = (temp.Position - POS).magnitude
  2298. end
  2299. end
  2300. end
  2301. end
  2302. return torso, dist
  2303. end
  2304. for i = 1, 40 do
  2305. if HUMAN.Health == 0 then
  2306. break
  2307. end
  2308. wait(0.3)
  2309. local target,dist= findNearestTorso(TORSO.Position)
  2310. if target then
  2311. HUMAN:MoveTo(target.Position)
  2312. if dist < 999 then
  2313. CreateSound(348663022, TORSO, 10, 1, true)
  2314. wait(0.5)
  2315. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2316. --ANIM:Play()
  2317. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2318. ApplyAoE(TORSO.Position,10,0,0,85,false)
  2319. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(25,25,25), Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SKILLTEXTCOLOR, SoundID = 201858087, SoundPitch = 0.8, SoundVolume = 10})
  2320. for i = 1, 5 do
  2321. WACKYEFFECT({Time = 75, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = TORSO.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-15,15)/7.5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2322. end
  2323. break
  2324. end
  2325. end
  2326. end
  2327. MINION:remove()
  2328. end))
  2329. end
  2330. elseif RANDOMEFFECT == 4 then
  2331. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  2332. FIELD.Color = C3(0,0,0)
  2333. FIELD.CFrame = BASE.CFrame
  2334. MakeForm(FIELD,"Ball")
  2335. FIELD.CanCollide = true
  2336. for i = 1, 50 do
  2337. Swait()
  2338. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2339. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2340. end
  2341. wait(0.2)
  2342. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2343. coroutine.resume(coroutine.create(function()
  2344. local E = 0
  2345. for i = 1, 75 do
  2346. E = E + 1
  2347. Swait()
  2348. if E >= 35 then
  2349. E = 0
  2350. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2351. end
  2352. LOOP.Volume = LOOP.Volume + 10/75
  2353. LOOP.Parent = FIELD
  2354. local CHILDREN = workspace:GetDescendants()
  2355. for index, CHILD in pairs(CHILDREN) do
  2356. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2357. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2358. if HUM then
  2359. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2360. if TORSO then
  2361. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2362. for _, c in pairs(CHILD:GetChildren()) do
  2363. if c:IsA("BasePart") then
  2364. local bv = Instance.new("BodyVelocity")
  2365. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2366. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2367. bv.Parent = c
  2368. Debris:AddItem(bv,0.05)
  2369. end
  2370. end
  2371. HUM.Health = HUM.Health - 0.3
  2372. end
  2373. end
  2374. end
  2375. end
  2376. end
  2377. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2378. end
  2379. for i = 1, 180 do
  2380. E = E + 1
  2381. Swait()
  2382. if E >= 35 then
  2383. E = 0
  2384. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = FIELD.Size*30, Size2 = FIELD.Size, Transparency = 0.8, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = nil, SoundPitch = 1, SoundVolume = 6})
  2385. end
  2386. LOOP.Parent = FIELD
  2387. local CHILDREN = workspace:GetDescendants()
  2388. for index, CHILD in pairs(CHILDREN) do
  2389. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2390. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2391. if HUM then
  2392. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2393. if TORSO then
  2394. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2395. for _, c in pairs(CHILD:GetChildren()) do
  2396. if c:IsA("BasePart") then
  2397. local bv = Instance.new("BodyVelocity")
  2398. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2399. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2400. bv.Parent = c
  2401. Debris:AddItem(bv,0.05)
  2402. end
  2403. end
  2404. HUM.Health = HUM.Health - 0.3
  2405. end
  2406. end
  2407. end
  2408. end
  2409. end
  2410. end
  2411. ApplyAoE(FIELD.Position,40,15,20,375,false)
  2412. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = FIELD.Size, Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = FIELD.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BASE.Color, SoundID = 231917744, SoundPitch = 1, SoundVolume = 6})
  2413. for i = 1, 5 do
  2414. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIELD.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2415. end
  2416. FIELD:remove()
  2417. end))
  2418. elseif RANDOMEFFECT == 5 then
  2419. end
  2420. wait(0.5)
  2421. for i = 1, 25 do
  2422. Swait()
  2423. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2424. end
  2425. PANDORASBOX:remove()
  2426. RINGSPIN = false
  2427. end))
  2428. ATTACK = false
  2429. Rooted = false
  2430. end
  2431. end
  2432.  
  2433. function WarpMeteor()
  2434. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  2435. if DIST > 9999 then
  2436. DIST = 9999
  2437. end
  2438. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  2439. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  2440. if HITFLOOR then
  2441. local POS = HITPOS
  2442. ATTACK = true
  2443. Rooted = false
  2444. local WARPED = false
  2445. local SMASHED = false
  2446. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2447. coroutine.resume(coroutine.create(function()
  2448. repeat
  2449. Swait()
  2450. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2451. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2452. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2453. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2454. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2455. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2456. until WARPED == true
  2457. repeat
  2458. Swait()
  2459. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2460. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2461. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2462. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2463. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -0.5*SIZE + 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.5*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.1*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2465. until SMASHED == true
  2466. repeat
  2467. Swait()
  2468. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  2469. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-40), RAD(0), RAD(0)), 1 / Animation_Speed)
  2470. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(-15), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2471. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(170), RAD(15), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2472. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  2473. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2474. until ATTACK == false
  2475. end))
  2476. VALUE1 = true
  2477. CreateSound(233856115, Torso, 5, 1.6, false)
  2478. for i = 1, 25 do
  2479. Swait()
  2480. for _, c in pairs(Character:GetChildren()) do
  2481. if c.ClassName == "Part" then
  2482. c.Transparency = c.Transparency + 1/25
  2483. end
  2484. end
  2485. for _, c in pairs(Weapon:GetChildren()) do
  2486. if c.ClassName == "Part" then
  2487. c.Transparency = c.Transparency + 1/25
  2488. end
  2489. end
  2490. end
  2491. UNANCHOR = false
  2492. RootPart.Anchored = true
  2493. RootPart.Velocity = VT(0,0,0)
  2494. local ROOTPOS = RootPart.Position
  2495. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  2496. WARPED = true
  2497. for i = 1, 25 do
  2498. Swait()
  2499. for _, c in pairs(Character:GetChildren()) do
  2500. if c.ClassName == "Part" then
  2501. c.Transparency = c.Transparency - 1/25
  2502. end
  2503. end
  2504. for _, c in pairs(Weapon:GetChildren()) do
  2505. if c.ClassName == "Part" then
  2506. c.Transparency = c.Transparency - 1/25
  2507. end
  2508. end
  2509. end
  2510. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Mid grey", "Part", VT(0,0,0))
  2511. SHELL.CFrame = RootPart.CFrame
  2512. MakeForm(SHELL,"Ball")
  2513. CreateSound(402981977, SHELL, 5, 1.6, false)
  2514. for i = 1, 10 do
  2515. Swait()
  2516. SHELL.Transparency = SHELL.Transparency - 1/10
  2517. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  2518. end
  2519. for i = 1, math.ceil(75/2) do
  2520. Swait()
  2521. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  2522. SHELL.CFrame = CF(RootPart.Position)
  2523. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2524. end
  2525. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  2526. SHELL.CFrame = CF(RootPart.Position)
  2527. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  2528. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2529. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  2530. for i = 1, 5 do
  2531. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2532. end
  2533. SHELL:remove()
  2534. ApplyAoE(RootPart.Position,75,35,75,175,false)
  2535. SMASHED = true
  2536. wait(1)
  2537. VALUE1 = false
  2538. UNANCHOR = true
  2539. ATTACK = false
  2540. Rooted = false
  2541. end
  2542. end
  2543.  
  2544. function ChainPunch()
  2545. ATTACK = true
  2546. Rooted = false
  2547. local GYRO = IT("BodyGyro",RootPart)
  2548. GYRO.D = 25
  2549. GYRO.P = 2000
  2550. GYRO.MaxTorque = VT(0,40000,0)
  2551. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2552. repeat
  2553. Swait()
  2554. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2555. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2556. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 4 * SIN(SINE / 12)), RAD(25), RAD(0)), 1 / Animation_Speed)
  2557. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2558. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2559. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2561. until HOLD == true
  2562. local POS = Mouse.Hit.p
  2563. local CHAINS = false
  2564. local CHAINLINKS = {}
  2565. local A = IT("Attachment",RightArm)
  2566. A.Position = VT(1,-1,0)*SIZE
  2567. A.Orientation = VT(-90, -89.982, 0)
  2568. local B = IT("Attachment",RightArm)
  2569. B.Position = VT(-1,-1,0)*SIZE
  2570. B.Orientation = VT(-90, 89.988, 0)
  2571. local C = IT("Attachment",RightArm)
  2572. C.Position = VT(0.5,-1.3,0)*SIZE
  2573. C.Orientation = VT(-90, -89.982, 0)
  2574. local D = IT("Attachment",RightArm)
  2575. D.Position = VT(-0.5,-1.3,0)*SIZE
  2576. D.Orientation = VT(-90, 89.988, 0)
  2577. local LIGHT = IT("Attachment",RightArm)
  2578. LIGHT.Position = VT(0,-1,0)*SIZE
  2579. local LIGHT2 = IT("PointLight",LIGHT)
  2580. LIGHT2.Range = 7
  2581. LIGHT2.Brightness = 5
  2582. LIGHT2.Color = SKILLTEXTCOLOR
  2583. for i = 1, 2 do
  2584. local TWIST = -2
  2585. local START = A
  2586. local END = B
  2587. if i == 1 then
  2588. START = B
  2589. END = A
  2590. end
  2591. local ChainLink = IT("Beam",Torso)
  2592. ChainLink.Texture = "rbxassetid://73042633"
  2593. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2594. ChainLink.TextureSpeed = 1
  2595. ChainLink.Width0 = 1
  2596. ChainLink.Width1 = 1
  2597. ChainLink.TextureLength = 2.5
  2598. ChainLink.Attachment0 = START
  2599. ChainLink.Attachment1 = END
  2600. ChainLink.CurveSize0 = TWIST
  2601. ChainLink.CurveSize1 = TWIST
  2602. --ChainLink.FaceCamera = true
  2603. ChainLink.Segments = 45
  2604. ChainLink.Transparency = NumberSequence.new(1)
  2605. table.insert(CHAINLINKS,ChainLink)
  2606. end
  2607. for i = 1, 2 do
  2608. local TWIST = -1
  2609. local START = C
  2610. local END = D
  2611. if i == 1 then
  2612. START = D
  2613. END = C
  2614. end
  2615. local ChainLink = IT("Beam",Torso)
  2616. ChainLink.Texture = "rbxassetid://73042633"
  2617. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2618. ChainLink.TextureSpeed = 1
  2619. ChainLink.Width0 = 1
  2620. ChainLink.Width1 = 1
  2621. ChainLink.TextureLength = 5
  2622. ChainLink.Attachment0 = START
  2623. ChainLink.Attachment1 = END
  2624. ChainLink.CurveSize0 = TWIST
  2625. ChainLink.CurveSize1 = TWIST
  2626. --ChainLink.FaceCamera = true
  2627. ChainLink.Segments = 25
  2628. ChainLink.LightEmission = 0.5
  2629. ChainLink.Transparency = NumberSequence.new(1)
  2630. table.insert(CHAINLINKS,ChainLink)
  2631. end
  2632. coroutine.resume(coroutine.create(function()
  2633. repeat
  2634. Swait()
  2635. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  2637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2639. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2640. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2641. until CHAINS == true
  2642. repeat
  2643. Swait()
  2644. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  2645. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2646. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2647. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2648. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2649. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  2650. until ATTACK == false
  2651. for e = 1, 15 do
  2652. Swait()
  2653. for i = 1, #CHAINLINKS do
  2654. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  2655. end
  2656. end
  2657. A:remove()
  2658. B:remove()
  2659. C:remove()
  2660. D:remove()
  2661. end))
  2662. CreateSound(233856115, RightArm, 5, 1.2, false)
  2663. for e = 1, 15 do
  2664. Swait()
  2665. for i = 1, #CHAINLINKS do
  2666. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  2667. end
  2668. end
  2669. CHAINS = true
  2670. Rooted = false
  2671. wait(0.25)
  2672. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  2673. FIST.Color = C3(1, 215/255, 1)
  2674. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  2675. local LIGHT3 = IT("PointLight",FIST)
  2676. LIGHT3.Range = 7
  2677. LIGHT3.Brightness = 5
  2678. LIGHT3.Color = SKILLTEXTCOLOR
  2679. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  2680. local FISTA = IT("Attachment",FIST)
  2681. FISTA.Position = VT(0.062, 0.977, 0)
  2682. local ChainLink = IT("Beam",Torso)
  2683. ChainLink.Texture = "rbxassetid://73042633"
  2684. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  2685. ChainLink.TextureSpeed = 0
  2686. ChainLink.Width0 = 3
  2687. ChainLink.Width1 = 3
  2688. ChainLink.TextureLength = 12
  2689. ChainLink.Attachment0 = LIGHT
  2690. ChainLink.Attachment1 = FISTA
  2691. ChainLink.FaceCamera = true
  2692. ChainLink.Segments = 45
  2693. ChainLink.LightEmission = 0.5
  2694. ChainLink.Transparency = NumberSequence.new(0.25)
  2695. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  2696. for i = 1, 85 do
  2697. Swait()
  2698. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  2699. ChainLink.TextureLength = 12+(i*2)
  2700. ApplyAoE(FIST.Position,10,15,25,100,false)
  2701. WACKYEFFECT({Time = 5, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(15,1,15), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame*CF(0,-1,0) * ANGLES(RAD(0), RAD(i*15), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2702. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  2703. if HITFLOOR ~= nil then
  2704. HITFLOOR:BreakJoints()
  2705. coroutine.resume(coroutine.create(function()
  2706. for i = 1, 15 do
  2707. Swait()
  2708. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  2709. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  2710. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35), Transparency = 0.5, Transparency2 = 1, CFrame = FIST.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  2711. end
  2712. end))
  2713. break
  2714. end
  2715. end
  2716. coroutine.resume(coroutine.create(function()
  2717. for i = 1, 50 do
  2718. Swait()
  2719. FIST.Transparency = FIST.Transparency + 0.5/50
  2720. LIGHT3.Range = LIGHT3.Range - 7/50
  2721. end
  2722. FIST:remove()
  2723. end))
  2724. LIGHT:remove()
  2725. GYRO:remove()
  2726. ATTACK = false
  2727. Rooted = false
  2728. end
  2729.  
  2730. function Banisher_Bullet()
  2731. ATTACK = true
  2732. Rooted = false
  2733. for i=0, 0.4, 0.1 / Animation_Speed do
  2734. Swait()
  2735. turnto(Mouse.Hit.p)
  2736. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2737. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2738. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2739. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2740. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2741. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2742. end
  2743. repeat
  2744. for i=0, 0.2, 0.1 / Animation_Speed do
  2745. Swait()
  2746. turnto(Mouse.Hit.p)
  2747. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2748. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2749. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2750. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2751. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2752. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2753. end
  2754. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2755. SpawnTrail(Hole2.Position,POS)
  2756. if HIT ~= nil then
  2757. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2758. Banish(HIT.Parent)
  2759. end
  2760. end
  2761. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2762. SpawnTrail(Hole.Position,POS)
  2763. if HIT ~= nil then
  2764. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2765. Banish(HIT.Parent)
  2766. end
  2767. end
  2768. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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})
  2769. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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})
  2770. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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})
  2771. 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})
  2772. for i=0, 0.3, 0.1 / Animation_Speed do
  2773. Swait()
  2774. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2775. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(106), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2778. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2779. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(-10), RAD(-78), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  2780. end
  2781. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = Hole.CFrame*CF(5,5,5).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(0,1,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2782. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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})
  2783. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(5,5,5), Size2 = VT(5,5,5), 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})
  2784. 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})
  2785. until KEYHOLD == false
  2786. ATTACK = false
  2787. Rooted = false
  2788. end
  2789.  
  2790. function AttackTemplate()
  2791. ATTACK = true
  2792. Rooted = false
  2793. for i=0, 1, 0.1 / Animation_Speed do
  2794. Swait()
  2795. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2796. 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.15 / Animation_Speed)
  2797. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2798. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2799. 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.15 / Animation_Speed)
  2800. 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.15 / Animation_Speed)
  2801. end
  2802. ATTACK = false
  2803. Rooted = false
  2804. end
  2805.  
  2806. --//=================================\\
  2807. --|| ASSIGN THINGS TO KEYS
  2808. --\\=================================//
  2809.  
  2810. function MouseDown(Mouse)
  2811. if ATTACK == false then
  2812. end
  2813. end
  2814.  
  2815. function MouseUp(Mouse)
  2816. HOLD = false
  2817. end
  2818.  
  2819. function KeyDown(Key)
  2820. KEYHOLD = true
  2821. if Key == "z" and ATTACK == false then
  2822. Banisher_Bullet()
  2823. end
  2824.  
  2825. if Key == "k" and ATTACK == false then
  2826. ChainPunch()
  2827. end
  2828.  
  2829. if Key == "u" and ATTACK == false then
  2830. WarpMeteor()
  2831. end
  2832.  
  2833. if Key == "p" and ATTACK == false then
  2834. PandorasBox()
  2835. end
  2836.  
  2837. if Key == "r" and ATTACK == false then
  2838. TimesUp()
  2839. end
  2840.  
  2841. if Key == "b" and ATTACK == false then
  2842. Neck_Snap()
  2843. end
  2844.  
  2845. if Key == "q" and ATTACK == false then
  2846. CyberSmash()
  2847. end
  2848.  
  2849. if Key == "c" and ATTACK == false then
  2850. ShadowCloak()
  2851. end
  2852.  
  2853. if Key == "v" and ATTACK == false then
  2854. end
  2855.  
  2856. if Key == "x" and ATTACK == false then
  2857. end
  2858. end
  2859.  
  2860. function KeyUp(Key)
  2861. KEYHOLD = false
  2862. end
  2863.  
  2864. Mouse.Button1Down:connect(function(NEWKEY)
  2865. MouseDown(NEWKEY)
  2866. end)
  2867. Mouse.Button1Up:connect(function(NEWKEY)
  2868. MouseUp(NEWKEY)
  2869. end)
  2870. Mouse.KeyDown:connect(function(NEWKEY)
  2871. KeyDown(NEWKEY)
  2872. end)
  2873. Mouse.KeyUp:connect(function(NEWKEY)
  2874. KeyUp(NEWKEY)
  2875. end)
  2876.  
  2877. --//=================================\\
  2878. --\\=================================//
  2879.  
  2880.  
  2881. function unanchor()
  2882. if UNANCHOR == true then
  2883. g = Character:GetChildren()
  2884. for i = 1, #g do
  2885. if g[i].ClassName == "Part" then
  2886. g[i].Anchored = false
  2887. end
  2888. end
  2889. end
  2890. end
  2891.  
  2892.  
  2893. --//=================================\\
  2894. --|| WRAP THE WHOLE SCRIPT UP
  2895. --\\=================================//
  2896.  
  2897. Humanoid.Changed:connect(function(Jump)
  2898. if Jump == "Jump" and (Disable_Jump == true) then
  2899. Humanoid.Jump = false
  2900. end
  2901. end)
  2902.  
  2903. local CONNECT = nil
  2904.  
  2905. while true do
  2906. Swait()
  2907. ANIMATE.Parent = nil
  2908. if Character:FindFirstChildOfClass("Humanoid") == nil then
  2909. Humanoid = IT("Humanoid",Character)
  2910. end
  2911. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2912. v:Stop();
  2913. end
  2914. SINE = SINE + CHANGE
  2915. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2916. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2917. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2918. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2919. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2920. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2921. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * 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)
  2922. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2923. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2924. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2925. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2926. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2927. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2928. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2929. end
  2930. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2931. ANIM = "Jump"
  2932. if ATTACK == false then
  2933. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2934. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2935. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2936. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2937. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2938. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2939. end
  2940. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2941. ANIM = "Fall"
  2942. if ATTACK == false then
  2943. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  2944. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2945. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2946. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2947. 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)
  2948. 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)
  2949. end
  2950. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2951. ANIM = "Idle"
  2952. if ATTACK == false then
  2953. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2954. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(25 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2955. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2956. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2957. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2958. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2959. end
  2960. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2961. ANIM = "Walk"
  2962. if ATTACK == false then
  2963. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2964. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2965. 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)
  2966. 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)
  2967. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2968. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2969. end
  2970. end
  2971. unanchor()
  2972. Humanoid.MaxHealth = "inf"
  2973. Humanoid.Health = "inf"
  2974. if Rooted == false then
  2975. Disable_Jump = false
  2976. Humanoid.WalkSpeed = Speed
  2977. elseif Rooted == true then
  2978. Disable_Jump = true
  2979. Humanoid.WalkSpeed = 0
  2980. end
  2981. sick.Parent = Torso
  2982. sick:resume()
  2983. sick.Volume = 5
  2984. sick.Pitch = 1
  2985. sick.SoundId = "rbxassetid://1786749948"
  2986. sick.Name = "BanishV3Music"
  2987. end
  2988.  
  2989. --//=================================\\
  2990. --\\=================================//
  2991.  
  2992.  
  2993.  
  2994.  
  2995.  
  2996. --//====================================================\\--
  2997. --|| END OF SCRIPT
  2998. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement