Advertisement
Mitko1223tm

pandora FE test

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