Advertisement
yabagaba

Untitled

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