Advertisement
DaOMEGAa32

maaaaaaaaaaaaaa

Nov 9th, 2019
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.23 KB | None | 0 0
  1. --//====================================================\\-----------
  2. --|| edited by me. dont trust anyone who reupload 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(0.2)
  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 = 2
  203. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  204. local Speed = 20
  205. local SIZE = 1.6
  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 = 2532772005
  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 = "Redish.."
  682. tecks2.Font = "Arcade"
  683. tecks2.TextSize = 30
  684. tecks2.TextStrokeTransparency = 0
  685. tecks2.TextColor3 = C3(117, 0, 0)
  686. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  687. tecks2.Size = UDim2.new(1,0,0.5,0)
  688. tecks2.Parent = naeeym2
  689. local top = Instance.new("Shirt")
  690. top.ShirtTemplate = "rbxassetid://1240896343"
  691. top.Parent = Character
  692. top.Name = "Cloth"
  693. local bottom = Instance.new("Pants")
  694. bottom.PantsTemplate = "http://www.roblox.com/asset/?id=95417572"
  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(255, 0, 0)
  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 black", "Detail", VT(1,1.2,0.2),false)
  706. PRT.Color = C3(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(159/255, 111/255, 183/255)
  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(255, 0, 0)
  862. local SKILLFONT = "Arcade"
  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 lava Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  879. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] THE FLOOR IS LAVA.", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  880. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Red punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  881. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] red Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  882. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Lava 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 Taunt()
  1837. ATTACK = true
  1838. local LAUGH = nil
  1839. coroutine.resume(coroutine.create(function()
  1840. repeat
  1841. Swait()
  1842. 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)
  1843. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1844. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1845. 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)
  1846. 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)
  1847. 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)
  1848. until LAUGH ~= nil
  1849. repeat
  1850. Swait()
  1851. LAUGH.Parent = Head
  1852. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24)*SIZE, 0 + 0.04 * SIN(SINE / 12)*SIZE, 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  1853. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1854. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1855. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE+(0.1*LAUGH.PlaybackLoudness/75), 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1856. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) + 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1857. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE-(0.1*LAUGH.PlaybackLoudness/75) - 0.06 * SIN(SINE / 24) - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(-75), RAD(0)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  1858. until LAUGH.Playing == false
  1859. ATTACK = false
  1860. end))
  1861. wait(0.1)
  1862. sick:Pause()
  1863. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  1864. wait(1)
  1865. sick:Resume()
  1866. end
  1867.  
  1868. --//=================================\\
  1869. --|| ASSIGN THINGS TO KEYS
  1870. --\\=================================//
  1871.  
  1872. function MouseDown(Mouse)
  1873. HOLD = true
  1874. if ATTACK == false then
  1875. end
  1876. end
  1877.  
  1878. function MouseUp(Mouse)
  1879. HOLD = false
  1880. end
  1881.  
  1882. function KeyDown(Key)
  1883. KEYHOLD = true
  1884. if Key == "z" and ATTACK == false then
  1885. MagicMissiles()
  1886. end
  1887.  
  1888. if Key == "b" and ATTACK == false then
  1889. TimesUp()
  1890. end
  1891.  
  1892. if Key == "c" and ATTACK == false then
  1893. ChainPunch()
  1894. end
  1895.  
  1896. if Key == "v" and ATTACK == false then
  1897. WarpMeteor()
  1898. end
  1899.  
  1900. if Key == "x" and ATTACK == false then
  1901. PandorasBox()
  1902. end
  1903.  
  1904. if Key == "t" and ATTACK == false then
  1905. Taunt()
  1906. end
  1907. end
  1908.  
  1909. function KeyUp(Key)
  1910. KEYHOLD = false
  1911. end
  1912.  
  1913. Mouse.Button1Down:connect(function(NEWKEY)
  1914. MouseDown(NEWKEY)
  1915. end)
  1916. Mouse.Button1Up:connect(function(NEWKEY)
  1917. MouseUp(NEWKEY)
  1918. end)
  1919. Mouse.KeyDown:connect(function(NEWKEY)
  1920. KeyDown(NEWKEY)
  1921. end)
  1922. Mouse.KeyUp:connect(function(NEWKEY)
  1923. KeyUp(NEWKEY)
  1924. end)
  1925.  
  1926. --//=================================\\
  1927. --\\=================================//
  1928.  
  1929.  
  1930. function unanchor()
  1931. if UNANCHOR == true then
  1932. RootPart.Anchored = false
  1933. end
  1934. g = Character:GetChildren()
  1935. for i = 1, #g do
  1936. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1937. g[i].Anchored = false
  1938. end
  1939. end
  1940. g = Weapon:GetChildren()
  1941. for i = 1, #g do
  1942. if g[i].ClassName == "Part" then
  1943. g[i].Anchored = false
  1944. end
  1945. end
  1946. end
  1947.  
  1948.  
  1949. --//=================================\\
  1950. --|| WRAP THE WHOLE SCRIPT UP
  1951. --\\=================================//
  1952.  
  1953. Humanoid.Changed:connect(function(Jump)
  1954. if Jump == "Jump" and (Disable_Jump == true) then
  1955. Humanoid.Jump = false
  1956. end
  1957. end)
  1958.  
  1959. while true do
  1960. Swait()
  1961. script.Parent = WEAPONGUI
  1962. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1963. v:Stop();
  1964. end
  1965. ANIMATE.Parent = nil
  1966. SINE = SINE + CHANGE*1.5
  1967. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1968. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1969. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1970. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1971. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1972. 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)
  1973. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(131)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1974. 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(73), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1975. 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(-43), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1976. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1977. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1978. 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)
  1979. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(64), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1980. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-43), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1981. end
  1982. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1983. ANIM = "Jump"
  1984. if ATTACK == false then
  1985. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1986. 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)
  1987. 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)
  1988. 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)
  1989. 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)
  1990. 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)
  1991. end
  1992. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1993. ANIM = "Fall"
  1994. if ATTACK == false then
  1995. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1996. 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)
  1997. 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)
  1998. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-43)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1999. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5), RAD(0), RAD(20)), 1 / Animation_Speed)
  2000. 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)
  2001. end
  2002. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2003. ANIM = "Idle"
  2004. if ATTACK == false then
  2005. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.07 * 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)
  2006. 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)
  2007. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-43 + 5.5 * SIN(SINE / 12)), RAD(-55 + 2.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2008. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(76 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2009. 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(43)) * ANGLES(RAD(-2 - 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2010. 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(4)) * ANGLES(RAD(-2 + 2.5 * SIN(SINE / 24)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2011. end
  2012. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2013. ANIM = "Walk"
  2014. if ATTACK == false then
  2015. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2016. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(15 - 1 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0)), 1/ Animation_Speed)
  2017. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(-25 + 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(-55 + 2.5 * SIN(SINE / WALKSPEEDVALUE))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2018. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / WALKSPEEDVALUE)), RAD(55 - 2.5 * SIN(SINE / WALKSPEEDVALUE))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2019. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2020. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2021. end
  2022. end
  2023. unanchor()
  2024. Humanoid.MaxHealth = "inf"
  2025. Humanoid.Health = "inf"
  2026. if Rooted == false then
  2027. Disable_Jump = false
  2028. Humanoid.WalkSpeed = Speed
  2029. elseif Rooted == true then
  2030. Disable_Jump = true
  2031. Humanoid.WalkSpeed = 0
  2032. end
  2033. for _, c in pairs(Character:GetChildren()) do
  2034. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2035. c.Material = "Fabric"
  2036. if c:FindFirstChildOfClass("ParticleEmitter") then
  2037. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2038. end
  2039. if c ~= Head then
  2040. c.Color = C3(0,0,0)
  2041. else
  2042. c.Color = C3(1,1,1)
  2043. end
  2044. if c == Head then
  2045. if c:FindFirstChild("face") then
  2046. c.face:remove()
  2047. end
  2048. end
  2049. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2050. c:remove()
  2051. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2052. c:remove()
  2053. end
  2054. end
  2055. sick.SoundId = "rbxassetid://"..SONG
  2056. sick.Looped = true
  2057. sick.Pitch = 1
  2058. sick.Volume = 5
  2059. sick.Parent = Torso
  2060. sick:Resume()
  2061. --sick.Playing = false
  2062. Humanoid.Name = "Pandora = "..Player.Name
  2063. end
  2064.  
  2065. --//=================================\\
  2066. --\\=================================//
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072. --//====================================================\\--
  2073. --|| END OF SCRIPT
  2074. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement