Advertisement
DaOMEGAa32

tara

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