Advertisement
MrSlakyx

Smity

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