Advertisement
Hermaxs

Untitled

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