caca2312131232131

SCRIPTING KIDDIE

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