Advertisement
Tetezaza1542

PANDODEN

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