Advertisement
rohanboi

another injustice edit (by comfortable)

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