PerpetualZblack

Untitled

Mar 23rd, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 96.48 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. Character = game.Players.LocalPlayer.Character
  7. Head = Character.Head
  8.  
  9. --|| CREATED BY THE BOI TEAM
  10. --\\====================================================//--
  11.  
  12. local Player = game.Players.localPlayer
  13. local Character = Player.Character
  14. local Humanoid = Character.Humanoid
  15. local Mouse = Player:GetMouse()
  16. local LeftArm = Character["Left Arm"]
  17. local RightArm = Character["Right Arm"]
  18. local LeftLeg = Character["Left Leg"]
  19. local RightLeg = Character["Right Leg"]
  20. local Head = Character.Head
  21. local Torso = Character.Torso
  22. local Camera = game.Workspace.CurrentCamera
  23. local RootPart = Character.HumanoidRootPart
  24. local RootJoint = RootPart.RootJoint
  25. local attack = false
  26. local Anim = 'Idle'
  27. local Lighty = game:GetService"Lighting"
  28. local attacktype = 1
  29. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  30. local velocity = RootPart.Velocity.y
  31. local sine = 0
  32. local change = 1
  33. local Create = LoadLibrary("RbxUtility").Create
  34.  
  35. local chara = Character
  36. local m = Create("Model"){
  37. Parent = Character,
  38. Name = "WeaponModel",
  39. }
  40. function chat(...)
  41. local txxt = {...}
  42. local ch = coroutine.wrap(function()
  43. if chara:FindFirstChild("Chatt")~= nil then
  44. Character:FindFirstChild("Chatt"):destroy()
  45. end
  46. local txt = Instance.new("BillboardGui", chara)
  47. txt.Adornee = chara.Head
  48. txt.Name = "Chatt"
  49. txt.Size = UDim2.new(2, 0, 1.2, 0)
  50. txt.StudsOffset = Vector3.new(-9, 7, 0)
  51. local text = Instance.new("TextLabel", txt)
  52. text.Size = UDim2.new(10, 0, 7, 0)
  53. text.TextSize = 32
  54. text.Font = Enum.Font.Antique
  55. text.TextScaled = false
  56. text.BackgroundTransparency = 1
  57. text.TextColor3 = Color3.new(0,0,0)
  58. text.TextStrokeTransparency = 0
  59. text.TextStrokeColor3 = Color3.new(66/255, 0/255, 127/255)
  60. text.Text = ""
  61. txxt = table.concat(txxt,"\t")
  62. for i = 1, #txxt do
  63. text.Text = txxt:sub(1,i)
  64.  
  65. end
  66. wait(2)
  67. for trans = 0,1,00.1 do
  68. text.TextTransparency = trans
  69. text.TextStrokeTransparency = trans
  70. wait()
  71. end
  72. wait()
  73. txt:destroy()
  74. end)
  75.  
  76. ch(...)
  77. end
  78. Player.Chatted:connect(chat)
  79.  
  80. wait(0.2)
  81.  
  82. Player = game:GetService("Players").LocalPlayer
  83. PlayerGui = Player.PlayerGui
  84. Cam = workspace.CurrentCamera
  85. Backpack = Player.Backpack
  86. Character = Player.Character
  87. Humanoid = Character.Humanoid
  88. Mouse = Player:GetMouse()
  89. RootPart = Character["HumanoidRootPart"]
  90. Torso = Character["Torso"]
  91. Head = Character["Head"]
  92. RightArm = Character["Right Arm"]
  93. LeftArm = Character["Left Arm"]
  94. RightLeg = Character["Right Leg"]
  95. LeftLeg = Character["Left Leg"]
  96. RootJoint = RootPart["RootJoint"]
  97. Neck = Torso["Neck"]
  98. RightShoulder = Torso["Right Shoulder"]
  99. LeftShoulder = Torso["Left Shoulder"]
  100. RightHip = Torso["Right Hip"]
  101. LeftHip = Torso["Left Hip"]
  102. Character.Archivable = true
  103. Player:ClearCharacterAppearance()
  104.  
  105. IT = Instance.new
  106. CF = CFrame.new
  107. VT = Vector3.new
  108. RAD = math.rad
  109. C3 = Color3.new
  110. UD2 = UDim2.new
  111. BRICKC = BrickColor.new
  112. ANGLES = CFrame.Angles
  113. EULER = CFrame.fromEulerAnglesXYZ
  114. COS = math.cos
  115. ACOS = math.acos
  116. SIN = math.sin
  117. ASIN = math.asin
  118. ABS = math.abs
  119. MRANDOM = math.random
  120. FLOOR = math.floor
  121.  
  122.  
  123. Animation_Speed = 3
  124. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  125. local Speed = 20
  126. local SIZE = 1.0
  127. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  128. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  129. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  130. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  131. local DAMAGEMULTIPLIER = 5
  132. local ANIM = "Idle"
  133. local ATTACK = false
  134. local EQUIPPED = false
  135. local HOLD = false
  136. local COMBO = 1
  137. local Rooted = false
  138. local SINE = 0
  139. local KEYHOLD = false
  140. local CHANGE = 2 / Animation_Speed
  141. local WALKINGANIM = false
  142. local VALUE1 = false
  143. local VALUE2 = false
  144. local ROBLOXIDLEANIMATION = IT("Animation")
  145. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  146. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  147. local ATANIM = IT("Animation")
  148. ATANIM.Name = "Attack Animation"
  149. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  150. --ROBLOXIDLEANIMATION.Parent = Humanoid
  151. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  152. WEAPONGUI.Name = "Weapon GUI"
  153. local Weapon = IT("Model")
  154. Weapon.Name = "Adds"
  155. local Effects = IT("Folder", Weapon)
  156. Effects.Name = "Effects"
  157. local ANIMATOR = Humanoid.Animator
  158. local ANIMATE = Character.Animate
  159. local UNANCHOR = true
  160. local CLOCKLOOP = 0
  161. local SONG = 1382488262
  162. local CLOCKTARGET = nil
  163. local CLOCKSPEED = 2.5
  164. script.Parent = WEAPONGUI
  165. local CLONE = Character:Clone()
  166. CLONE.Parent = nil
  167. Character.Archivable = false
  168. local sick = Instance.new("Sound",Torso)
  169. sick.Volume = 50
  170.  
  171.  
  172. ArtificialHB = Instance.new("BindableEvent", script)
  173. ArtificialHB.Name = "ArtificialHB"
  174.  
  175. script:WaitForChild("ArtificialHB")
  176.  
  177. frame = Frame_Speed
  178. tf = 0
  179. allowframeloss = false
  180. tossremainder = false
  181. lastframe = tick()
  182. script.ArtificialHB:Fire()
  183.  
  184. game:GetService("RunService").Heartbeat:connect(function(s, p)
  185. tf = tf + s
  186. if tf >= frame then
  187. if allowframeloss then
  188. script.ArtificialHB:Fire()
  189. lastframe = tick()
  190. else
  191. for i = 1, math.floor(tf / frame) do
  192. script.ArtificialHB:Fire()
  193. end
  194. lastframe = tick()
  195. end
  196. if tossremainder then
  197. tf = 0
  198. else
  199. tf = tf - frame * math.floor(tf / frame)
  200. end
  201. end
  202. end)
  203.  
  204.  
  205. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  206. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  207. end
  208.  
  209. function PositiveAngle(NUMBER)
  210. if NUMBER >= 0 then
  211. NUMBER = 0
  212. end
  213. return NUMBER
  214. end
  215.  
  216. function NegativeAngle(NUMBER)
  217. if NUMBER <= 0 then
  218. NUMBER = 0
  219. end
  220. return NUMBER
  221. end
  222.  
  223. function Swait(NUMBER)
  224. if NUMBER == 0 or NUMBER == nil then
  225. ArtificialHB.Event:wait()
  226. else
  227. for i = 1, NUMBER do
  228. ArtificialHB.Event:wait()
  229. end
  230. end
  231. end
  232.  
  233. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  234. local NEWMESH = IT(MESH)
  235. if MESH == "SpecialMesh" then
  236. NEWMESH.MeshType = MESHTYPE
  237. if MESHID ~= "nil" and MESHID ~= "" then
  238. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  239. end
  240. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  241. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  242. end
  243. end
  244. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  245. NEWMESH.Scale = SCALE
  246. NEWMESH.Parent = PARENT
  247. return NEWMESH
  248. end
  249.  
  250. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  251. local NEWPART = IT("Part")
  252. NEWPART.formFactor = FORMFACTOR
  253. NEWPART.Reflectance = REFLECTANCE
  254. NEWPART.Transparency = TRANSPARENCY
  255. NEWPART.CanCollide = false
  256. NEWPART.Locked = true
  257. NEWPART.Anchored = true
  258. if ANCHOR == false then
  259. NEWPART.Anchored = false
  260. end
  261. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  262. NEWPART.Name = NAME
  263. NEWPART.Size = SIZE
  264. NEWPART.Position = Torso.Position
  265. NEWPART.Material = MATERIAL
  266. NEWPART:BreakJoints()
  267. NEWPART.Parent = PARENT
  268. return NEWPART
  269. end
  270.  
  271. local function weldBetween(a, b)
  272. local weldd = Instance.new("ManualWeld")
  273. weldd.Part0 = a
  274. weldd.Part1 = b
  275. weldd.C0 = CFrame.new()
  276. weldd.C1 = b.CFrame:inverse() * a.CFrame
  277. weldd.Parent = a
  278. return weldd
  279. end
  280.  
  281.  
  282. function QuaternionFromCFrame(cf)
  283. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  284. local trace = m00 + m11 + m22
  285. if trace > 0 then
  286. local s = math.sqrt(1 + trace)
  287. local recip = 0.5 / s
  288. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  289. else
  290. local i = 0
  291. if m11 > m00 then
  292. i = 1
  293. end
  294. if m22 > (i == 0 and m00 or m11) then
  295. i = 2
  296. end
  297. if i == 0 then
  298. local s = math.sqrt(m00 - m11 - m22 + 1)
  299. local recip = 0.5 / s
  300. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  301. elseif i == 1 then
  302. local s = math.sqrt(m11 - m22 - m00 + 1)
  303. local recip = 0.5 / s
  304. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  305. elseif i == 2 then
  306. local s = math.sqrt(m22 - m00 - m11 + 1)
  307. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  308. end
  309. end
  310. end
  311.  
  312. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  313. local xs, ys, zs = x + x, y + y, z + z
  314. local wx, wy, wz = w * xs, w * ys, w * zs
  315. local xx = x * xs
  316. local xy = x * ys
  317. local xz = x * zs
  318. local yy = y * ys
  319. local yz = y * zs
  320. local zz = z * zs
  321. 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))
  322. end
  323.  
  324. function QuaternionSlerp(a, b, t)
  325. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  326. local startInterp, finishInterp;
  327. if cosTheta >= 0.0001 then
  328. if (1 - cosTheta) > 0.0001 then
  329. local theta = ACOS(cosTheta)
  330. local invSinTheta = 1 / SIN(theta)
  331. startInterp = SIN((1 - t) * theta) * invSinTheta
  332. finishInterp = SIN(t * theta) * invSinTheta
  333. else
  334. startInterp = 1 - t
  335. finishInterp = t
  336. end
  337. else
  338. if (1 + cosTheta) > 0.0001 then
  339. local theta = ACOS(-cosTheta)
  340. local invSinTheta = 1 / SIN(theta)
  341. startInterp = SIN((t - 1) * theta) * invSinTheta
  342. finishInterp = SIN(t * theta) * invSinTheta
  343. else
  344. startInterp = t - 1
  345. finishInterp = t
  346. end
  347. end
  348. 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
  349. end
  350.  
  351. function Clerp(a, b, t)
  352. local qa = {QuaternionFromCFrame(a)}
  353. local qb = {QuaternionFromCFrame(b)}
  354. local ax, ay, az = a.x, a.y, a.z
  355. local bx, by, bz = b.x, b.y, b.z
  356. local _t = 1 - t
  357. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  358. end
  359.  
  360. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  361. local frame = IT("Frame")
  362. frame.BackgroundTransparency = TRANSPARENCY
  363. frame.BorderSizePixel = BORDERSIZEPIXEL
  364. frame.Position = POSITION
  365. frame.Size = SIZE
  366. frame.BackgroundColor3 = COLOR
  367. frame.BorderColor3 = BORDERCOLOR
  368. frame.Name = NAME
  369. frame.Parent = PARENT
  370. return frame
  371. end
  372.  
  373. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  374. local label = IT("TextLabel")
  375. label.BackgroundTransparency = 1
  376. label.Size = UD2(1, 0, 1, 0)
  377. label.Position = UD2(0, 0, 0, 0)
  378. label.TextColor3 = TEXTCOLOR
  379. label.TextStrokeTransparency = STROKETRANSPARENCY
  380. label.TextTransparency = TRANSPARENCY
  381. label.FontSize = TEXTFONTSIZE
  382. label.Font = TEXTFONT
  383. label.BorderSizePixel = BORDERSIZEPIXEL
  384. label.TextStrokeColor3 = C3(1,1,1)
  385. label.TextScaled = false
  386. label.Text = TEXT
  387. label.Name = NAME
  388. label.Parent = PARENT
  389. return label
  390. end
  391.  
  392. function NoOutlines(PART)
  393. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  394. end
  395.  
  396. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  397. local NEWWELD = IT(TYPE)
  398. NEWWELD.Part0 = PART0
  399. NEWWELD.Part1 = PART1
  400. NEWWELD.C0 = C0
  401. NEWWELD.C1 = C1
  402. NEWWELD.Parent = PARENT
  403. return NEWWELD
  404. end
  405.  
  406. local S = IT("Sound")
  407. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  408. local NEWSOUND = nil
  409. coroutine.resume(coroutine.create(function()
  410. NEWSOUND = S:Clone()
  411. NEWSOUND.Parent = PARENT
  412. NEWSOUND.Volume = VOLUME
  413. NEWSOUND.Pitch = PITCH
  414. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  415. NEWSOUND:play()
  416. if DOESLOOP == true then
  417. NEWSOUND.Looped = true
  418. else
  419. repeat wait(1) until NEWSOUND.Playing == false
  420. NEWSOUND:remove()
  421. end
  422. end))
  423. return NEWSOUND
  424. end
  425.  
  426. function CFrameFromTopBack(at, top, back)
  427. local right = top:Cross(back)
  428. 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)
  429. end
  430.  
  431. --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})
  432. function WACKYEFFECT(Table)
  433. local TYPE = (Table.EffectType or "Sphere")
  434. local SIZE = (Table.Size or VT(1,1,1))
  435. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  436. local TRANSPARENCY = (Table.Transparency or 0)
  437. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  438. local CFRAME = (Table.CFrame or Torso.CFrame)
  439. local MOVEDIRECTION = (Table.MoveToPos or nil)
  440. local ROTATION1 = (Table.RotationX or 0)
  441. local ROTATION2 = (Table.RotationY or 0)
  442. local ROTATION3 = (Table.RotationZ or 0)
  443. local MATERIAL = (Table.Material or "Neon")
  444. local COLOR = (Table.Color or C3(1,1,1))
  445. local TIME = (Table.Time or 45)
  446. local SOUNDID = (Table.SoundID or nil)
  447. local SOUNDPITCH = (Table.SoundPitch or nil)
  448. local SOUNDVOLUME = (Table.SoundVolume or nil)
  449. coroutine.resume(coroutine.create(function()
  450. local PLAYSSOUND = false
  451. local SOUND = nil
  452. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  453. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  454. PLAYSSOUND = true
  455. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  456. end
  457. EFFECT.Color = COLOR
  458. local MSH = nil
  459. if TYPE == "Sphere" then
  460. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  461. elseif TYPE == "Block" then
  462. MSH = IT("BlockMesh",EFFECT)
  463. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  464. elseif TYPE == "Wave" then
  465. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  466. elseif TYPE == "Ring" then
  467. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  468. elseif TYPE == "Slash" then
  469. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  470. elseif TYPE == "Round Slash" then
  471. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  472. elseif TYPE == "Swirl" then
  473. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  474. elseif TYPE == "Skull" then
  475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  476. elseif TYPE == "Crystal" then
  477. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  478. end
  479. if MSH ~= nil then
  480. local MOVESPEED = nil
  481. if MOVEDIRECTION ~= nil then
  482. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  483. end
  484. local GROWTH = SIZE - ENDSIZE
  485. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  486. if TYPE == "Block" then
  487. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  488. else
  489. EFFECT.CFrame = CFRAME
  490. end
  491. for LOOP = 1, TIME+1 do
  492. Swait()
  493. MSH.Scale = MSH.Scale - GROWTH/TIME
  494. if TYPE == "Wave" then
  495. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  496. end
  497. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  498. if TYPE == "Block" then
  499. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  500. else
  501. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  502. end
  503. if MOVEDIRECTION ~= nil then
  504. local ORI = EFFECT.Orientation
  505. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  506. EFFECT.Orientation = ORI
  507. end
  508. end
  509. if PLAYSSOUND == false then
  510. EFFECT:remove()
  511. else
  512. repeat Swait() until SOUND.Playing == false
  513. EFFECT:remove()
  514. end
  515. else
  516. if PLAYSSOUND == false then
  517. EFFECT:remove()
  518. else
  519. repeat Swait() until SOUND.Playing == false
  520. EFFECT:remove()
  521. end
  522. end
  523. end))
  524. end
  525.  
  526. function MakeForm(PART,TYPE)
  527. if TYPE == "Cyl" then
  528. local MSH = IT("CylinderMesh",PART)
  529. elseif TYPE == "Ball" then
  530. local MSH = IT("SpecialMesh",PART)
  531. MSH.MeshType = "Sphere"
  532. elseif TYPE == "Wedge" then
  533. local MSH = IT("SpecialMesh",PART)
  534. MSH.MeshType = "Wedge"
  535. end
  536. end
  537.  
  538. Debris = game:GetService("Debris")
  539.  
  540. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  541. local DIRECTION = CF(StartPos,EndPos).lookVector
  542. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  543. end
  544.  
  545. function turnto(position)
  546. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  547. end
  548. function SpawnTrail(FROM,TO)
  549. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Pearl", "Arrow", VT(0,0,0))
  550. MakeForm(TRAIL,"Cyl")
  551. local DIST = (FROM - TO).Magnitude
  552. TRAIL.Size = VT(0.1,DIST,0.1)
  553. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  554. coroutine.resume(coroutine.create(function()
  555. for i = 1, 5 do
  556. Swait()
  557. TRAIL.Transparency = TRAIL.Transparency + 0.1
  558. end
  559. TRAIL:remove()
  560. end))
  561. end
  562. function BulletDetection(FROM,TO)
  563. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  564. coroutine.resume(coroutine.create(function()
  565. if AIMHIT ~= nil then
  566. if AIMHIT.Parent ~= Character then
  567. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  568. if AIMHIT.Name ~= "Head" and AIMHIT.Parent.ClassName ~= "Accessory" then
  569. ApplyDamage(AIMHIT.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(15,25),AIMHIT)
  570. elseif AIMHIT.Name == "Head" or AIMHIT.Parent.ClassName == "Accessory" then
  571. if AIMHIT.Parent.ClassName == "Accessory" then
  572. if AIMHIT:FindFirstChild("HatAttachment") or AIMHIT:FindFirstChild("FaceFrontAttachment") or AIMHIT:FindFirstChild("HairAttachment") then
  573. AIMHIT.Parent.Parent:BreakJoints()
  574. if AIMHIT.Parent.Parent:FindFirstChild("Head") then
  575. getbloody(AIMHIT.Parent.Parent.Head,15)
  576. AIMHIT.Parent.Parent.Head:remove()
  577. StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0))
  578. end
  579. else
  580. ApplyDamage(AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid"),MRANDOM(25,65),AIMHIT)
  581. end
  582. elseif AIMHIT.Name == "Head" then
  583. getbloody(AIMHIT,15)
  584. AIMHIT.Parent:BreakJoints()
  585. AIMHIT:remove()
  586. StatLabel(AIMHIT.CFrame * CF(0, 0 + (AIMHIT.Size.z - 1), 0), "Headshot!", C3(1,0,0))
  587. end
  588. end
  589. else
  590. CreateFlyingDebree(AIMHIT,CF(AIMPOS),7,VT(0.1,0.1,0.1),5,35,true)
  591. SpawnBulletHole(CF(AIMPOS,AIMPOS+NORMAL)*ANGLES(RAD(90),RAD(0),RAD(0)))
  592. end
  593. end
  594. end
  595. end))
  596. return AIMHIT,AIMPOS,NORMAL
  597. end
  598. local Decal = IT("Decal")
  599. function SpawnBulletHole(POSITION)
  600. local O1 = CreatePart(3, Effects, "Neon", 0, 1, "Really red", "Bullet hole", VT(0.2,0,0.2))
  601. local decal = Decal:Clone()
  602. decal.Parent = O1
  603. decal.Face = "Top"
  604. decal.Texture = "http://www.roblox.com/asset/?id=130624105"
  605. local decal2 = Decal:Clone()
  606. decal2.Parent = O1
  607. decal2.Face = "Bottom"
  608. decal2.Texture = "http://www.roblox.com/asset/?id=130624105"
  609. O1.CFrame = POSITION*ANGLES(RAD(0),RAD(MRANDOM(-180,180)),RAD(0))
  610. Debris:AddItem(O1,5)
  611. end
  612.  
  613. for i = 1, 35 do
  614. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  615. FACE.Color = C3(0,0,0)
  616. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  617. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  618. end
  619. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  620. MakeForm(EYE,"Ball")
  621. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  622. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15,0.15,0.15),false)
  623. MakeForm(EYE2,"Ball")
  624. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  625. local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
  626. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
  627. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  628.  
  629. local BODY = {}
  630.  
  631. for _, c in pairs(Character:GetDescendants()) do
  632. if c:IsA("BasePart") and c.Name ~= "Handle" then
  633. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  634. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  635. end
  636. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  637. elseif c:IsA("JointInstance") then
  638. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  639. end
  640. end
  641.  
  642. Humanoid.Parent = nil
  643. RootPart.Size = RootPart.Size*SIZE
  644. Torso.Size = Torso.Size*SIZE
  645. RightArm.Size = RightArm.Size*SIZE
  646. RightLeg.Size = RightLeg.Size*SIZE
  647. LeftArm.Size = LeftArm.Size*SIZE
  648. LeftLeg.Size = LeftLeg.Size*SIZE
  649. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  650. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  651. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  652. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  653. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  654. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  655. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  656. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  657. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  658. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  659. Head.Size = Head.Size*SIZE
  660. RootJoint.Parent = RootPart
  661. Neck.Parent = Torso
  662. RightShoulder.Parent = Torso
  663. LeftShoulder.Parent = Torso
  664. RightHip.Parent = Torso
  665. LeftHip.Parent = Torso
  666.  
  667. Humanoid.DisplayDistanceType = "None"
  668. local naeeym2 = IT("BillboardGui",Character)
  669. naeeym2.AlwaysOnTop = true
  670. naeeym2.Size = UDim2.new(5,35,2,15)
  671. naeeym2.StudsOffset = Vector3.new(0,2,0)
  672. naeeym2.MaxDistance = 75
  673. naeeym2.Adornee = Character.Head
  674. naeeym2.Name = "Name"
  675. local tecks2 = IT("TextLabel",naeeym2)
  676. tecks2.BackgroundTransparency = 1
  677. tecks2.TextScaled = true
  678. tecks2.BorderSizePixel = 0
  679. tecks2.Text = "Small Boi"
  680. tecks2.Font = "Fantasy"
  681. tecks2.TextSize = 15
  682. tecks2.TextStrokeTransparency = 0
  683. tecks2.TextColor3 = C3(0,0,0)
  684. tecks2.TextStrokeColor3 = C3(66/255, 0/255, 127/255)
  685. tecks2.Size = UDim2.new(1,0,0.5,0)
  686. tecks2.Parent = naeeym2
  687.  
  688.  
  689. local top = Instance.new("Shirt")
  690. top.ShirtTemplate = "rbxassetid://732361529"
  691. top.Parent = Character
  692. top.Name = "Cloth"
  693. local bottom = Instance.new("Pants")
  694. bottom.PantsTemplate = "rbxassetid://465384174"
  695. bottom.Parent = Character
  696. bottom.Name = "Cloth"
  697. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  698. PRT.Color = C3(0,0,0)
  699. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  700. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "", VT(1,1,1)*SIZE, VT(0,0,0))
  701. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really Red", "Detail", VT(1,1,1),false)
  702. PRT.Color = C3(0,0,0)
  703.  
  704.  
  705.  
  706. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  707. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  708. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  709. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  710. MakeForm(PRT,"Cyl")
  711. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Really Black", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  712. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  713. MakeForm(PRT,"Cyl")
  714. PRT.Color = C3(66/255, 0/255, 127/255)
  715. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  716. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  717. MakeForm(RING,"Cyl")
  718. RING.Color = C3(0,0,0)
  719. for i = 1, 12 do
  720. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0)*SIZE,false)
  721. PRT.Color = C3(0,0,0)
  722. local MSH = IT("BlockMesh",PRT)
  723. MSH.Scale = VT(0.6,1,1)
  724. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD((360/12)*i), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.2*SIZE))
  725. end
  726. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0.15)*SIZE,false)
  727. PRT.Color = C3(0,0,0)
  728. local MSH = IT("BlockMesh",PRT)
  729. MSH.Scale = VT(0.4,1,1)
  730. local WATCH1 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -0.075*SIZE))
  731. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Really Black", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  732. PRT.Color = C3(0,0,0)
  733. local MSH = IT("BlockMesh",PRT)
  734. MSH.Scale = VT(0.4,1,1)
  735. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  736. coroutine.resume(coroutine.create(function()
  737. while true do
  738. Swait()
  739. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  740. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  741. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  742. if CLOCKLOOP <= -150 then
  743. if VALUE1 == false then
  744. CLOCKLOOP = 0
  745. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  746. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  747. ApplyAoE(HITPOS,10,15,45,75,false)
  748. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  749. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  750. if CLOCKTARGET ~= nil then
  751. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  752. if CLOCKTARGET.Torso ~= nil then
  753. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  754. end
  755. if CLOCKTARGET.Health == 0 then
  756. CLOCKTARGET = nil
  757. end
  758. end
  759. end
  760. end
  761. end
  762. end))
  763.  
  764. for _, c in pairs(Weapon:GetChildren()) do
  765. if c.ClassName == "Part" then
  766. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  767. end
  768. end
  769.  
  770. Neck.Name = "Weld"
  771. RootJoint.Name = "Weld"
  772. RightShoulder.Name = "Weld"
  773. LeftShoulder.Name = "Weld"
  774. RightHip.Name = "Weld"
  775. LeftHip.Name = "Weld"
  776.  
  777. local BODY = {}
  778. for _, c in pairs(Character:GetDescendants()) do
  779. if c:IsA("BasePart") and c.Name ~= "Handle" then
  780. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  781. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  782. end
  783. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  784. elseif c:IsA("JointInstance") then
  785. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  786. end
  787. end
  788. for e = 1, #BODY do
  789. if BODY[e] ~= nil then
  790. local STUFF = BODY[e]
  791. local PART = STUFF[1]
  792. local PARENT = STUFF[2]
  793. local MATERIAL = STUFF[3]
  794. local COLOR = STUFF[4]
  795. local TRANSPARENCY = STUFF[5]
  796. if PART.ClassName == "Part" and PART ~= RootPart then
  797. PART.Material = MATERIAL
  798. PART.Color = COLOR
  799. PART.Transparency = TRANSPARENCY
  800. end
  801. PART.AncestryChanged:Connect(function()
  802. PART.Parent = PARENT
  803. end)
  804. end
  805. end
  806.  
  807. function refit()
  808. Character.Parent = workspace
  809. for e = 1, #BODY do
  810. if BODY[e] ~= nil then
  811. local STUFF = BODY[e]
  812. local PART = STUFF[1]
  813. local PARENT = STUFF[2]
  814. local MATERIAL = STUFF[3]
  815. local COLOR = STUFF[4]
  816. local TRANSPARENCY = STUFF[5]
  817. if PART.ClassName == "Part" and PART ~= RootPart then
  818. PART.Material = MATERIAL
  819. PART.Color = COLOR
  820. PART.Transparency = TRANSPARENCY
  821. end
  822. if PART.Parent ~= PARENT then
  823. Humanoid:remove()
  824. PART.Parent = PARENT
  825. Humanoid = IT("Humanoid",Character)
  826. end
  827. end
  828. end
  829. end
  830. local SKILLTEXTCOLOR = C3(66/255, 0/255, 127/255)
  831. local SKILLFONT = "Fantasy"
  832. local SKILLTEXTSIZE = 7
  833.  
  834. Weapon.Parent = Character
  835. Humanoid.Parent = Character
  836.  
  837. Humanoid.Died:connect(function()
  838. refit()
  839. end)
  840.  
  841. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  842. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  843. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  844. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  845. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  846.  
  847. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Magic Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  848. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  849. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  850. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  851. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  852.  
  853.  
  854.  
  855. function ApplyDamage(Humanoid,Damage,TorsoPart)
  856. local defence = Instance.new("BoolValue",Humanoid.Parent)
  857. defence.Name = ("HitBy"..Player.Name)
  858. game:GetService("Debris"):AddItem(defence, 0.001)
  859. Damage = Damage * DAMAGEMULTIPLIER
  860. if Humanoid.Health ~= 0 then
  861. local CritChance = MRANDOM(1,100)
  862. if Damage > Humanoid.Health then
  863. Damage = math.ceil(Humanoid.Health)
  864. if Damage == 0 then
  865. Damage = 0.1
  866. end
  867. end
  868. Humanoid.Health = Humanoid.Health - Damage
  869. end
  870. end
  871.  
  872. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  873. local CHILDREN = workspace:GetDescendants()
  874. for index, CHILD in pairs(CHILDREN) do
  875. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  876. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  877. if HUM then
  878. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  879. if TORSO then
  880. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  881. if INSTAKILL == false then
  882. CHILD:BreakJoints()
  883. else
  884. local DMG = MRANDOM(MINDMG,MAXDMG)
  885. ApplyDamage(HUM,DMG,TORSO)
  886. end
  887. if FLING > 0 then
  888. for _, c in pairs(CHILD:GetChildren()) do
  889. if c:IsA("BasePart") then
  890. local bv = Instance.new("BodyVelocity")
  891. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  892. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  893. bv.Parent = c
  894. Debris:AddItem(bv,0.05)
  895. end
  896. end
  897. end
  898. end
  899. end
  900. end
  901. end
  902. end
  903. end
  904.  
  905.  
  906.  
  907. function MagicMissiles()
  908. ATTACK = true
  909. Rooted = false
  910. local SELECTING = true
  911. local SPOTS = {}
  912. coroutine.resume(coroutine.create(function()
  913. local LOOP = 0
  914. repeat
  915. LOOP = LOOP + 1
  916. Swait()
  917. if LOOP >= 15 then
  918. LOOP = 0
  919. for i = 1, #SPOTS do
  920. if SPOTS[i] ~= nil then
  921. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  922. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(192,192,192), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  923. end
  924. end
  925. end
  926. 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)
  927. 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)
  928. 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)
  929. 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)
  930. 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)
  931. 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)
  932. until SELECTING == false
  933. Rooted = false
  934. repeat
  935. LOOP = LOOP + 1
  936. Swait()
  937. if LOOP >= 15 then
  938. LOOP = 0
  939. for i = 1, #SPOTS do
  940. if SPOTS[i] ~= nil then
  941. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(8,2,8), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  942. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,3,6), Transparency = 0, Transparency2 = 1, CFrame = SPOTS[i], MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  943. end
  944. end
  945. end
  946. 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)
  947. 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)
  948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  949. 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)
  950. 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)
  951. 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)
  952. until ATTACK == false
  953. end))
  954. repeat
  955. repeat Swait() until HOLD == true
  956. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  957. if DIST > 65 then
  958. DIST = 65
  959. end
  960. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  961. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  962. if HITFLOOR ~= nil then
  963. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  964. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(6,2,6), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  965. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(4,3,4), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1.2,0) * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  966. end
  967. repeat Swait() until HOLD == false
  968. until #SPOTS == 5
  969. SELECTING = false
  970. for i = 1, #SPOTS do
  971. if SPOTS[i] ~= nil then
  972. local POS = SPOTS[i]
  973. coroutine.resume(coroutine.create(function()
  974. local MISSILE = IT("Model",Effects)
  975. MISSILE.Name = "Missile"
  976. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2,2,2))
  977. MakeForm(BASEPART,"Cyl")
  978. MISSILE.PrimaryPart = BASEPART
  979. BASEPART.CFrame = POS*CF(0,-30*3,0)
  980. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2,4,2))
  981. MakeForm(HEAD,"Ball")
  982. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  983. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Mid grey", "Part", VT(2.5,0.1,2.5))
  984. MakeForm(TAIL,"Cyl")
  985. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  986. for i = 1, 15 do
  987. Swait()
  988. for _, c in pairs(MISSILE:GetChildren()) do
  989. if c.ClassName == "Part" then
  990. c.Transparency = c.Transparency - 1/10
  991. end
  992. end
  993. end
  994. for i = 1, 15*1.5 do
  995. Swait()
  996. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  997. end
  998. ApplyAoE(BASEPART.CFrame.p,20,35,45,75,false)
  999. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(75,1,75), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1000. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(35,35,35), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1001. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(22,2,22), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1002. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(20,3,20), Transparency = 0, Transparency2 = 1, CFrame = POS * ANGLES(RAD(180), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1003. MISSILE:remove()
  1004. end))
  1005. end
  1006. end
  1007. wait(0.6)
  1008. ATTACK = false
  1009. Rooted = false
  1010. end
  1011.  
  1012. function TimesUp()
  1013. CLOCKTARGET = nil
  1014. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1015. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1016. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1017. if TORSO then
  1018. ATTACK = true
  1019. Rooted = false
  1020. coroutine.resume(coroutine.create(function()
  1021. repeat
  1022. Swait()
  1023. 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)
  1024. 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)
  1025. 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)
  1026. 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)
  1027. 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)
  1028. 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)
  1029. until ATTACK == false
  1030. end))
  1031. if Effects:FindFirstChild("NeonDoll") then
  1032. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1033. end
  1034. wait(0.5)
  1035. local FAKECHARACTER = IT("Model",Effects)
  1036. FAKECHARACTER.Name = "NeonDoll"
  1037. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.3,0.3,0.15),false)
  1038. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1039. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1040. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1041. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1042. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1043. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1044. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1045. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.3,0.15),false)
  1046. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1047. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Mid grey", "Part", VT(0.15,0.15,0.15),false)
  1048. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1049. CreateSound(201858045, TORS, 5, 0.4, false)
  1050. for i = 1, 50 do
  1051. Swait()
  1052. CLOCKSPEED = 2.5
  1053. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1054. if c.ClassName == "Part" then
  1055. c.Transparency = c.Transparency - 0.5/150
  1056. end
  1057. end
  1058. end
  1059. CLOCKTARGET = HUM
  1060. coroutine.resume(coroutine.create(function()
  1061. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1062. for i = 1, 25 do
  1063. Swait()
  1064. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1065. if c.ClassName == "Part" then
  1066. c.Transparency = c.Transparency + 0.5/25
  1067. end
  1068. end
  1069. end
  1070. CLOCKSPEED = 2.5
  1071. FAKECHARACTER:remove()
  1072. end))
  1073. wait(0.5)
  1074. ATTACK = false
  1075. Rooted = false
  1076. end
  1077. end
  1078. end
  1079.  
  1080. function ChainPunch()
  1081. ATTACK = true
  1082. Rooted = false
  1083. local GYRO = IT("BodyGyro",RootPart)
  1084. GYRO.D = 25
  1085. GYRO.P = 2000
  1086. GYRO.MaxTorque = VT(0,40000,0)
  1087. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1088. repeat
  1089. Swait()
  1090. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1091. 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)
  1092. 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)
  1093. 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)
  1094. 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)
  1095. 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)
  1096. 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)
  1097. until HOLD == true
  1098. local POS = Mouse.Hit.p
  1099. local CHAINS = false
  1100. local CHAINLINKS = {}
  1101. local A = IT("Attachment",RightArm)
  1102. A.Position = VT(1,-1,0)*SIZE
  1103. A.Orientation = VT(-90, -89.982, 0)
  1104. local B = IT("Attachment",RightArm)
  1105. B.Position = VT(-1,-1,0)*SIZE
  1106. B.Orientation = VT(-90, 89.988, 0)
  1107. local C = IT("Attachment",RightArm)
  1108. C.Position = VT(0.5,-1.3,0)*SIZE
  1109. C.Orientation = VT(-90, -89.982, 0)
  1110. local D = IT("Attachment",RightArm)
  1111. D.Position = VT(-0.5,-1.3,0)*SIZE
  1112. D.Orientation = VT(-90, 89.988, 0)
  1113. local LIGHT = IT("Attachment",RightArm)
  1114. LIGHT.Position = VT(0,-1,0)*SIZE
  1115. local LIGHT2 = IT("PointLight",LIGHT)
  1116. LIGHT2.Range = 7
  1117. LIGHT2.Brightness = 5
  1118. LIGHT2.Color = SKILLTEXTCOLOR
  1119. for i = 1, 2 do
  1120. local TWIST = -2
  1121. local START = A
  1122. local END = B
  1123. if i == 1 then
  1124. START = B
  1125. END = A
  1126. end
  1127. local ChainLink = IT("Beam",Torso)
  1128. ChainLink.Texture = "rbxassetid://73042633"
  1129. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1130. ChainLink.TextureSpeed = 1
  1131. ChainLink.Width0 = 1
  1132. ChainLink.Width1 = 1
  1133. ChainLink.TextureLength = 2.5
  1134. ChainLink.Attachment0 = START
  1135. ChainLink.Attachment1 = END
  1136. ChainLink.CurveSize0 = TWIST
  1137. ChainLink.CurveSize1 = TWIST
  1138. --ChainLink.FaceCamera = true
  1139. ChainLink.Segments = 45
  1140. ChainLink.Transparency = NumberSequence.new(1)
  1141. table.insert(CHAINLINKS,ChainLink)
  1142. end
  1143. for i = 1, 2 do
  1144. local TWIST = -1
  1145. local START = C
  1146. local END = D
  1147. if i == 1 then
  1148. START = D
  1149. END = C
  1150. end
  1151. local ChainLink = IT("Beam",Torso)
  1152. ChainLink.Texture = "rbxassetid://73042633"
  1153. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1154. ChainLink.TextureSpeed = 1
  1155. ChainLink.Width0 = 1
  1156. ChainLink.Width1 = 1
  1157. ChainLink.TextureLength = 5
  1158. ChainLink.Attachment0 = START
  1159. ChainLink.Attachment1 = END
  1160. ChainLink.CurveSize0 = TWIST
  1161. ChainLink.CurveSize1 = TWIST
  1162. --ChainLink.FaceCamera = true
  1163. ChainLink.Segments = 25
  1164. ChainLink.LightEmission = 0.5
  1165. ChainLink.Transparency = NumberSequence.new(1)
  1166. table.insert(CHAINLINKS,ChainLink)
  1167. end
  1168. coroutine.resume(coroutine.create(function()
  1169. repeat
  1170. Swait()
  1171. 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)
  1172. 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)
  1173. 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)
  1174. 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)
  1175. 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)
  1176. 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)
  1177. until CHAINS == true
  1178. repeat
  1179. Swait()
  1180. 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)
  1181. 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)
  1182. 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)
  1183. 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)
  1184. 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)
  1185. 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)
  1186. until ATTACK == false
  1187. for e = 1, 15 do
  1188. Swait()
  1189. for i = 1, #CHAINLINKS do
  1190. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1191. end
  1192. end
  1193. A:remove()
  1194. B:remove()
  1195. C:remove()
  1196. D:remove()
  1197. end))
  1198. CreateSound(233856115, RightArm, 5, 1.2, false)
  1199. for e = 1, 15 do
  1200. Swait()
  1201. for i = 1, #CHAINLINKS do
  1202. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1203. end
  1204. end
  1205. CHAINS = true
  1206. Rooted = false
  1207. wait(0.25)
  1208. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "Mid grey", "Part", VT(2,2,2))
  1209. FIST.Color = C3(1, 215/255, 1)
  1210. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1211. local LIGHT3 = IT("PointLight",FIST)
  1212. LIGHT3.Range = 7
  1213. LIGHT3.Brightness = 5
  1214. LIGHT3.Color = SKILLTEXTCOLOR
  1215. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1216. local FISTA = IT("Attachment",FIST)
  1217. FISTA.Position = VT(0.062, 0.977, 0)
  1218. local ChainLink = IT("Beam",Torso)
  1219. ChainLink.Texture = "rbxassetid://73042633"
  1220. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1221. ChainLink.TextureSpeed = 0
  1222. ChainLink.Width0 = 3
  1223. ChainLink.Width1 = 3
  1224. ChainLink.TextureLength = 12
  1225. ChainLink.Attachment0 = LIGHT
  1226. ChainLink.Attachment1 = FISTA
  1227. ChainLink.FaceCamera = true
  1228. ChainLink.Segments = 45
  1229. ChainLink.LightEmission = 0.5
  1230. ChainLink.Transparency = NumberSequence.new(0.25)
  1231. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1232. for i = 1, 85 do
  1233. Swait()
  1234. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1235. ChainLink.TextureLength = 12+(i*2)
  1236. ApplyAoE(FIST.Position,10,15,25,100,false)
  1237. 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})
  1238. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1239. if HITFLOOR ~= nil then
  1240. HITFLOOR:BreakJoints()
  1241. coroutine.resume(coroutine.create(function()
  1242. for i = 1, 15 do
  1243. Swait()
  1244. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1245. ApplyAoE(FIST.Position,10+(i*2),5,15,5,false)
  1246. 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})
  1247. end
  1248. end))
  1249. break
  1250. end
  1251. end
  1252. coroutine.resume(coroutine.create(function()
  1253. for i = 1, 50 do
  1254. Swait()
  1255. FIST.Transparency = FIST.Transparency + 0.5/50
  1256. LIGHT3.Range = LIGHT3.Range - 7/50
  1257. end
  1258. FIST:remove()
  1259. end))
  1260. LIGHT:remove()
  1261. GYRO:remove()
  1262. ATTACK = false
  1263. Rooted = false
  1264. end
  1265.  
  1266. function WarpMeteor()
  1267. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1268. if DIST > 180 then
  1269. DIST = 180
  1270. end
  1271. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1272. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1273. if HITFLOOR then
  1274. local POS = HITPOS
  1275. ATTACK = true
  1276. Rooted = false
  1277. local WARPED = false
  1278. local SMASHED = false
  1279. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1280. coroutine.resume(coroutine.create(function()
  1281. repeat
  1282. Swait()
  1283. 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)
  1284. 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)
  1285. 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)
  1286. 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)
  1287. 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)
  1288. 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)
  1289. until WARPED == true
  1290. repeat
  1291. Swait()
  1292. 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)
  1293. 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)
  1294. 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)
  1295. 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)
  1296. 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)
  1297. 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)
  1298. until SMASHED == true
  1299. repeat
  1300. Swait()
  1301. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1302. 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)
  1303. 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)
  1304. 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)
  1305. 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)
  1306. 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)
  1307. until ATTACK == false
  1308. end))
  1309. VALUE1 = true
  1310. CreateSound(233856115, Torso, 5, 1.6, false)
  1311. for i = 1, 25 do
  1312. Swait()
  1313. for _, c in pairs(Character:GetChildren()) do
  1314. if c.ClassName == "Part" then
  1315. c.Transparency = c.Transparency + 1/25
  1316. end
  1317. end
  1318. for _, c in pairs(Weapon:GetChildren()) do
  1319. if c.ClassName == "Part" then
  1320. c.Transparency = c.Transparency + 1/25
  1321. end
  1322. end
  1323. end
  1324. UNANCHOR = false
  1325. RootPart.Anchored = true
  1326. RootPart.Velocity = VT(0,0,0)
  1327. local ROOTPOS = RootPart.Position
  1328. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1329. WARPED = true
  1330. for i = 1, 25 do
  1331. Swait()
  1332. for _, c in pairs(Character:GetChildren()) do
  1333. if c.ClassName == "Part" then
  1334. c.Transparency = c.Transparency - 1/25
  1335. end
  1336. end
  1337. for _, c in pairs(Weapon:GetChildren()) do
  1338. if c.ClassName == "Part" then
  1339. c.Transparency = c.Transparency - 1/25
  1340. end
  1341. end
  1342. end
  1343. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "Mid grey", "Part", VT(0,0,0))
  1344. SHELL.CFrame = RootPart.CFrame
  1345. MakeForm(SHELL,"Ball")
  1346. CreateSound(402981977, SHELL, 5, 1.6, false)
  1347. for i = 1, 10 do
  1348. Swait()
  1349. SHELL.Transparency = SHELL.Transparency - 1/10
  1350. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1351. end
  1352. for i = 1, math.ceil(75/2) do
  1353. Swait()
  1354. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1355. SHELL.CFrame = CF(RootPart.Position)
  1356. 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})
  1357. end
  1358. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1359. SHELL.CFrame = CF(RootPart.Position)
  1360. 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})
  1361. 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})
  1362. 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})
  1363. for i = 1, 5 do
  1364. 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})
  1365. end
  1366. SHELL:remove()
  1367. ApplyAoE(RootPart.Position,75,35,75,175,false)
  1368. SMASHED = true
  1369. wait(1)
  1370. VALUE1 = false
  1371. UNANCHOR = true
  1372. ATTACK = false
  1373. Rooted = false
  1374. end
  1375. end
  1376.  
  1377. function PandorasBox()
  1378. 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)
  1379. if HITFLOOR ~= nil then
  1380. ATTACK = false
  1381. Rooted = false
  1382. local RINGSPIN = true
  1383. local CONSTRUCTING = true
  1384. local RING = CreatePart(3, Effects, "Neon", 0, 1, "Alder", "Ring", VT(0,0,0))
  1385. RING.Color = C3(0,0,0)
  1386. MakeForm(RING,"Cyl")
  1387. RING.CFrame = CF(HITPOS)
  1388. CreateSound(402981977, RING, 5, 1.2, false)
  1389. coroutine.resume(coroutine.create(function()
  1390. repeat
  1391. Swait()
  1392. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1393. 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)
  1394. 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)
  1395. 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)
  1396. 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)
  1397. 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)
  1398. 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)
  1399. until CONSTRUCTING == false
  1400. repeat
  1401. Swait()
  1402. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1403. until RINGSPIN == false
  1404. for i = 1, 25 do
  1405. Swait()
  1406. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1407. RING.Size = RING.Size - VT(0.15,0,0.15)
  1408. --DECAL.Transparency = DECAL.Transparency + 1/25
  1409. RING.Transparency = RING.Transparency + 1/25
  1410. end
  1411. RING:remove()
  1412. end))
  1413. for i = 1, 15 do
  1414. Swait()
  1415. RING.Size = RING.Size + VT(0.75,0,0.75)
  1416. RING.Transparency = RING.Transparency - 1/15
  1417. end
  1418. local BOXSPIN = true
  1419. local PANDORASBOX = IT("Model",Effects)
  1420. PANDORASBOX.Name = "Pandora's Box"
  1421. local BOX = IT("Model",PANDORASBOX)
  1422. BOX.Name = "Body"
  1423. local LID = IT("Model",PANDORASBOX)
  1424. LID.Name = "Lid"
  1425. --BUILDING THE BOX--
  1426. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "Alder", "Black", VT(2,1.8,2))
  1427. BASE.Color = C3(0,0,0)
  1428. PANDORASBOX.PrimaryPart = BASE
  1429. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1430. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1431. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1432. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1433. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1434. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1435. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1436. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1437. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1438. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1439. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1440. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1441. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1442. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1443. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1444. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1445. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1446. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1447. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1448. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1449. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1450. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1451. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1452. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1453. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1454. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1455. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1456. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,1.9,0.1))
  1457. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1458. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1459. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1460. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(0.1,1.9,2.1))
  1461. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1462. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1463. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1464. -------------
  1465. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Daisy orange", "Marble", VT(2.1,0.1,2.1))
  1466. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1467. LID.PrimaryPart = LIDPART
  1468. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1469. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1470. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1471. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1472. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1473. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1474. local WOOD = CreatePart(3, LID, "Marble", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1475. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1476. local DECAL = IT("Decal",LIDPART)
  1477. DECAL.Face = "Top"
  1478. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1479. DECAL.Color3 = C3(0,0,0)
  1480. --BUILDING THE BOX--
  1481. coroutine.resume(coroutine.create(function()
  1482. repeat
  1483. Swait()
  1484. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  1485. until BOXSPIN == false
  1486. end))
  1487. for i = 1, 25 do
  1488. Swait()
  1489. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  1490. end
  1491. wait(0.5)
  1492. BOXSPIN = false
  1493. CONSTRUCTING = false
  1494. coroutine.resume(coroutine.create(function()
  1495. 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})
  1496. --[[for i = 1, 45 do
  1497. Swait()
  1498. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  1499. end-
  1500. LID:remove()]]--
  1501. for _, c in pairs(LID:GetChildren()) do
  1502. if c.ClassName == "Part" then
  1503. c.Anchored = false
  1504. c.CanCollide = true
  1505. if c ~= LIDPART then
  1506. weldBetween(LIDPART,c)
  1507. end
  1508. end
  1509. end
  1510. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  1511. Debris:AddItem(LID,15)
  1512. wait(0.5)
  1513. local RANDOMEFFECT = MRANDOM(1,4)
  1514. if RANDOMEFFECT == 1 then
  1515. for i = 1, 45 do
  1516. wait((2-(i/15))/15)
  1517. 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})
  1518. end
  1519. wait(1)
  1520. 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})
  1521. 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})
  1522. 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})
  1523. for i = 1, 5 do
  1524. 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})
  1525. end
  1526. ApplyAoE(BASE.Position,50,1,200,375,false)
  1527. ApplyAoE(BASE.Position,250,35,75,175,false)
  1528. elseif RANDOMEFFECT == 2 then
  1529. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1530. FIELD.CFrame = BASE.CFrame
  1531. MakeForm(FIELD,"Ball")
  1532. for i = 1, 50 do
  1533. Swait()
  1534. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1535. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1536. end
  1537. wait(0.2)
  1538. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  1539. coroutine.resume(coroutine.create(function()
  1540. for i = 1, 75 do
  1541. Swait()
  1542. LOOP.Volume = LOOP.Volume + 10/75
  1543. LOOP.Parent = FIELD
  1544. local CHILDREN = workspace:GetDescendants()
  1545. for index, CHILD in pairs(CHILDREN) do
  1546. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1547. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1548. if HUM then
  1549. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1550. if TORSO then
  1551. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1552. HUM.Health = HUM.Health - 0.1
  1553. TORSO.Velocity = VT(0,5,0)
  1554. HUM.PlatformStand = true
  1555. if TORSO.RotVelocity.Magnitude < 15 then
  1556. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1557. end
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end
  1563. FIELD.Size = FIELD.Size + VT(3,3,3)
  1564. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1565. end
  1566. for i = 1, 500 do
  1567. Swait()
  1568. LOOP.Parent = FIELD
  1569. local CHILDREN = workspace:GetDescendants()
  1570. for index, CHILD in pairs(CHILDREN) do
  1571. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1572. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1573. if HUM then
  1574. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1575. if TORSO then
  1576. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1577. TORSO.Velocity = VT(0,5,0)
  1578. HUM.Health = HUM.Health - 0.1
  1579. HUM.PlatformStand = true
  1580. if TORSO.RotVelocity.Magnitude < 15 then
  1581. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1582. end
  1583. end
  1584. end
  1585. end
  1586. end
  1587. end
  1588. end
  1589. for i = 1, 25 do
  1590. Swait()
  1591. LOOP.Volume = LOOP.Volume + 10/25
  1592. LOOP.Parent = FIELD
  1593. local CHILDREN = workspace:GetDescendants()
  1594. for index, CHILD in pairs(CHILDREN) do
  1595. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1596. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1597. if HUM then
  1598. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1599. if TORSO then
  1600. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1601. TORSO.Velocity = VT(0,5,0)
  1602. HUM.Health = HUM.Health - 0.1
  1603. HUM.PlatformStand = false
  1604. if TORSO.RotVelocity.Magnitude < 15 then
  1605. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  1606. end
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. FIELD.Size = FIELD.Size - VT(3,3,3)
  1613. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1614. end
  1615. FIELD:remove()
  1616. end))
  1617. elseif RANDOMEFFECT == 3 then
  1618. for i = 1, 10 do
  1619. wait(0.15)
  1620. 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})
  1621. coroutine.resume(coroutine.create(function()
  1622. local MINION = CLONE:Clone()
  1623. MINION.Parent = Effects
  1624. MINION.Name = "Shadow"
  1625. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  1626. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  1627. for _, c in pairs(MINION:GetChildren()) do
  1628. if c.ClassName == "Part" then
  1629. c.Material = "Neon"
  1630. c.Color = C3(0,0,0)
  1631. c.Transparency = 0.25
  1632. if c.Name == "Head" then
  1633. c:ClearAllChildren()
  1634. local MSH = IT("BlockMesh",c)
  1635. MSH.Scale = VT(0.5,1,1)
  1636. end
  1637. end
  1638. end
  1639. local TORSO = MINION.Torso
  1640. local HUMAN = MINION.Humanoid
  1641. HUMAN.WalkSpeed = 100
  1642. HUMAN.MaxHealth = math.huge
  1643. HUMAN.Health = math.huge
  1644. HUMAN.DisplayDistanceType = "None"
  1645. HUMAN.Died:connect(function()
  1646. MINION:remove()
  1647. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  1648. end)
  1649. wait(1)
  1650. local findNearestTorso = function(POS)
  1651. local list = game.Workspace:GetDescendants()
  1652. local torso = nil
  1653. local dist = 500
  1654. local temp = nil
  1655. local human = nil
  1656. local temp2 = nil
  1657. for x = 1, #list do
  1658. temp2 = list[x]
  1659. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  1660. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  1661. human = temp2:findFirstChildOfClass("Humanoid")
  1662. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  1663. if (temp.Position - POS).magnitude < dist then
  1664. torso = temp
  1665. dist = (temp.Position - POS).magnitude
  1666. end
  1667. end
  1668. end
  1669. end
  1670. return torso, dist
  1671. end
  1672. for i = 1, 40 do
  1673. if HUMAN.Health == 0 then
  1674. break
  1675. end
  1676. wait(0.3)
  1677. local target,dist= findNearestTorso(TORSO.Position)
  1678. if target then
  1679. HUMAN:MoveTo(target.Position)
  1680. if dist < 25 then
  1681. CreateSound(348663022, TORSO, 10, 1, true)
  1682. wait(0.5)
  1683. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  1684. --ANIM:Play()
  1685. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  1686. ApplyAoE(TORSO.Position,10,0,0,85,false)
  1687. 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})
  1688. for i = 1, 5 do
  1689. 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})
  1690. end
  1691. break
  1692. end
  1693. end
  1694. end
  1695. MINION:remove()
  1696. end))
  1697. end
  1698. elseif RANDOMEFFECT == 4 then
  1699. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "Alder", "Field", VT(0.3,0.3,0.3))
  1700. FIELD.Color = C3(0,0,0)
  1701. FIELD.CFrame = BASE.CFrame
  1702. MakeForm(FIELD,"Ball")
  1703. FIELD.CanCollide = true
  1704. for i = 1, 50 do
  1705. Swait()
  1706. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  1707. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1708. end
  1709. wait(0.2)
  1710. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  1711. coroutine.resume(coroutine.create(function()
  1712. local E = 0
  1713. for i = 1, 75 do
  1714. E = E + 1
  1715. Swait()
  1716. if E >= 35 then
  1717. E = 0
  1718. 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})
  1719. end
  1720. LOOP.Volume = LOOP.Volume + 10/75
  1721. LOOP.Parent = FIELD
  1722. local CHILDREN = workspace:GetDescendants()
  1723. for index, CHILD in pairs(CHILDREN) do
  1724. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1725. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1726. if HUM then
  1727. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1728. if TORSO then
  1729. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1730. for _, c in pairs(CHILD:GetChildren()) do
  1731. if c:IsA("BasePart") then
  1732. local bv = Instance.new("BodyVelocity")
  1733. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1734. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1735. bv.Parent = c
  1736. Debris:AddItem(bv,0.05)
  1737. end
  1738. end
  1739. HUM.Health = HUM.Health - 0.3
  1740. end
  1741. end
  1742. end
  1743. end
  1744. end
  1745. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  1746. end
  1747. for i = 1, 180 do
  1748. E = E + 1
  1749. Swait()
  1750. if E >= 35 then
  1751. E = 0
  1752. 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})
  1753. end
  1754. LOOP.Parent = FIELD
  1755. local CHILDREN = workspace:GetDescendants()
  1756. for index, CHILD in pairs(CHILDREN) do
  1757. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1758. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1759. if HUM then
  1760. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1761. if TORSO then
  1762. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  1763. for _, c in pairs(CHILD:GetChildren()) do
  1764. if c:IsA("BasePart") then
  1765. local bv = Instance.new("BodyVelocity")
  1766. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1767. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  1768. bv.Parent = c
  1769. Debris:AddItem(bv,0.05)
  1770. end
  1771. end
  1772. HUM.Health = HUM.Health - 0.3
  1773. end
  1774. end
  1775. end
  1776. end
  1777. end
  1778. end
  1779. ApplyAoE(FIELD.Position,40,15,20,375,false)
  1780. 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})
  1781. for i = 1, 5 do
  1782. 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})
  1783. end
  1784. FIELD:remove()
  1785. end))
  1786. elseif RANDOMEFFECT == 5 then
  1787. end
  1788. wait(0.5)
  1789. for i = 1, 25 do
  1790. Swait()
  1791. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  1792. end
  1793. PANDORASBOX:remove()
  1794. RINGSPIN = false
  1795. end))
  1796. ATTACK = false
  1797. Rooted = false
  1798. end
  1799. end
  1800.  
  1801. function Taunt()
  1802. ATTACK = true
  1803. local LAUGH = nil
  1804. coroutine.resume(coroutine.create(function()
  1805. repeat
  1806. Swait()
  1807. 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)
  1808. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1809. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1810. 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)
  1811. 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)
  1812. 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)
  1813. until LAUGH ~= nil
  1814. repeat
  1815. Swait()
  1816. LAUGH.Parent = Head
  1817. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 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)
  1818. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1819. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1820. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1821. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 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)
  1822. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 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)
  1823. until LAUGH.Playing == false
  1824. ATTACK = false
  1825. end))
  1826. wait(0.1)
  1827. sick:Pause()
  1828. LAUGH = CreateSound(333446256, Head, 10, 1, false)
  1829. wait(1.5)
  1830. sick:Resume()
  1831. end
  1832.  
  1833.  
  1834.  
  1835. function MouseDown(Mouse)
  1836. HOLD = true
  1837. if ATTACK == false then
  1838. end
  1839. end
  1840.  
  1841. function MouseUp(Mouse)
  1842. HOLD = false
  1843. end
  1844.  
  1845. function KeyDown(Key)
  1846. KEYHOLD = true
  1847. if Key == "z" and ATTACK == false then
  1848. MagicMissiles()
  1849. end
  1850.  
  1851. if Key == "b" and ATTACK == false then
  1852. TimesUp()
  1853. end
  1854.  
  1855. if Key == "c" and ATTACK == false then
  1856. ChainPunch()
  1857. end
  1858.  
  1859. if Key == "v" and ATTACK == false then
  1860. WarpMeteor()
  1861. end
  1862.  
  1863. if Key == "x" and ATTACK == false then
  1864. PandorasBox()
  1865. end
  1866.  
  1867. if Key == "t" and ATTACK == false then
  1868. Taunt()
  1869. end
  1870. end
  1871.  
  1872. function KeyUp(Key)
  1873. KEYHOLD = false
  1874. end
  1875.  
  1876. Mouse.Button1Down:connect(function(NEWKEY)
  1877. MouseDown(NEWKEY)
  1878. end)
  1879. Mouse.Button1Up:connect(function(NEWKEY)
  1880. MouseUp(NEWKEY)
  1881. end)
  1882. Mouse.KeyDown:connect(function(NEWKEY)
  1883. KeyDown(NEWKEY)
  1884. end)
  1885. Mouse.KeyUp:connect(function(NEWKEY)
  1886. KeyUp(NEWKEY)
  1887. end)
  1888.  
  1889.  
  1890.  
  1891.  
  1892. function unanchor()
  1893. if UNANCHOR == true then
  1894. RootPart.Anchored = false
  1895. end
  1896. g = Character:GetChildren()
  1897. for i = 1, #g do
  1898. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1899. g[i].Anchored = false
  1900. end
  1901. end
  1902. g = Weapon:GetChildren()
  1903. for i = 1, #g do
  1904. if g[i].ClassName == "Part" then
  1905. g[i].Anchored = false
  1906. end
  1907. end
  1908. end
  1909.  
  1910.  
  1911.  
  1912.  
  1913. Humanoid.Changed:connect(function(Jump)
  1914. if Jump == "Jump" and (Disable_Jump == true) then
  1915. Humanoid.Jump = false
  1916. end
  1917. end)
  1918.  
  1919. while true do
  1920. Swait()
  1921. refit()
  1922. script.Parent = WEAPONGUI
  1923. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1924. v:Stop();
  1925. end
  1926. ANIMATE.Parent = nil
  1927. SINE = SINE + CHANGE*1.5
  1928. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1929. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1930. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1931. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1932. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1933. 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)
  1934. 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)
  1935. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1936. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1937. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1938. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1939. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1940. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1941. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1942. end
  1943. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1944. ANIM = "Jump"
  1945. if ATTACK == false then
  1946. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1947. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1948. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1949. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1950. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 1 / Animation_Speed)
  1951. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, -0.3*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 1 / Animation_Speed)
  1952. end
  1953. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1954. ANIM = "Fall"
  1955. if ATTACK == false then
  1956. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1957. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0*SIZE, 0*SIZE, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  1958. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1959. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1960. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1961. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 1 / Animation_Speed)
  1962. end
  1963. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1964. ANIM = "Idle"
  1965. if ATTACK == false then
  1966. 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)
  1967. 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)
  1968. 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)
  1969. 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)
  1970. 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)
  1971. 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)
  1972. end
  1973. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1974. ANIM = "Walk"
  1975. if ATTACK == false then
  1976. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  1977. 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)
  1978. 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)
  1979. 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)
  1980. 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)
  1981. 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)
  1982. end
  1983. end
  1984. unanchor()
  1985. Humanoid.MaxHealth = "inf"
  1986. Humanoid.Health = "inf"
  1987. if Rooted == false then
  1988. Disable_Jump = false
  1989. Humanoid.WalkSpeed = Speed
  1990. elseif Rooted == true then
  1991. Disable_Jump = true
  1992. Humanoid.WalkSpeed = 0
  1993. end
  1994. for _, c in pairs(Character:GetChildren()) do
  1995. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1996. c.Material = "Fabric"
  1997. if c:FindFirstChildOfClass("ParticleEmitter") then
  1998. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1999. end
  2000. if c ~= Head then
  2001. c.Color = C3(0,0,0)
  2002. else
  2003. c.Color = C3(0,0,0)
  2004. end
  2005. if c == Head then
  2006. if c:FindFirstChild("face") then
  2007. c.face:remove()
  2008. end
  2009. end
  2010. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2011. c:remove()
  2012. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2013. c:remove()
  2014. end
  2015. end
  2016. sick.SoundId = "rbxassetid://"..SONG
  2017. sick.Looped = true
  2018. sick.Pitch = 1
  2019. sick.Volume = 10
  2020. sick.Parent = Torso
  2021. sick:Resume()
  2022. --sick.Playing = false
  2023. Humanoid.Name = "Corrupted Pandora = "..Player.Name
  2024. end
  2025.  
  2026. --//=================================\\
  2027. --\\=================================//
  2028.  
  2029.  
  2030.  
  2031.  
  2032.  
  2033. --//====================================================\\--
  2034. --|| END OF SCRIPT
  2035. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment