Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 97.38 KB | None | 0 0
  1.  
  2. --edit by code B)
  3. --//====================================================\\--
  4. --|| CREATED BY SHACKLUSTER
  5. --\\====================================================//--
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,game,owner = owner,game
  8. local RealPlayer = Player
  9. do
  10. local rp = RealPlayer
  11. script.Parent = rp.Character
  12.  
  13. --RemoteEvent for communicating
  14. local Event = Instance.new("RemoteEvent")
  15. Event.Name = "UserInput_Event"
  16.  
  17. --Fake event to make stuff like Mouse.KeyDown work
  18. local function fakeEvent()
  19. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  20. t.connect = t.Connect
  21. return t
  22. end
  23.  
  24. --Creating fake input objects with fake variables
  25. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  26. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  27. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  28. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  29. end}
  30. --Merged 2 functions into one by checking amount of arguments
  31. CAS.UnbindAction = CAS.BindAction
  32.  
  33. --This function will trigger the events that have been :Connect()'ed
  34. local function te(self,ev,...)
  35. local t = m[ev]
  36. if t and t._fakeEvent then
  37. for _,f in pairs(t.Functions) do
  38. f(...)
  39. end
  40. end
  41. end
  42. m.TrigEvent = te
  43. UIS.TrigEvent = te
  44.  
  45. Event.OnServerEvent:Connect(function(plr,io)
  46. if plr~=rp then return end
  47. m.Target = io.Target
  48. m.Hit = io.Hit
  49. if not io.isMouse then
  50. local b = io.UserInputState == Enum.UserInputState.Begin
  51. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  52. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  53. end
  54. for _,t in pairs(CAS.Actions) do
  55. for _,k in pairs(t.Keys) do
  56. if k==io.KeyCode then
  57. t.Function(t.Name,io.UserInputState,io)
  58. end
  59. end
  60. end
  61. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  62. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  63. end
  64. end)
  65. Event.Parent = NLS([==[
  66. local Player = game:GetService("Players").LocalPlayer
  67. local Event = script:WaitForChild("UserInput_Event")
  68.  
  69. local Mouse = Player:GetMouse()
  70. local UIS = game:GetService("UserInputService")
  71. local input = function(io,a)
  72. if a then return end
  73. --Since InputObject is a client-side instance, we create and pass table instead
  74. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  75. end
  76. UIS.InputBegan:Connect(input)
  77. UIS.InputEnded:Connect(input)
  78.  
  79. local h,t
  80. --Give the server mouse data 30 times every second, but only if the values changed
  81. --If player is not moving their mouse, client won't fire events
  82. while wait(1/30) do
  83. if h~=Mouse.Hit or t~=Mouse.Target then
  84. h,t=Mouse.Hit,Mouse.Target
  85. Event:FireServer({isMouse=true,Target=t,Hit=h})
  86. end
  87. end]==],Player.Character)
  88.  
  89. ----Sandboxed game object that allows the usage of client-side methods and services
  90. --Real game object
  91. local _rg = game
  92.  
  93. --Metatable for fake service
  94. local fsmt = {
  95. __index = function(self,k)
  96. local s = rawget(self,"_RealService")
  97. if s then return s[k] end
  98. end,
  99. __newindex = function(self,k,v)
  100. local s = rawget(self,"_RealService")
  101. if s then s[k]=v end
  102. end,
  103. __call = function(self,...)
  104. local s = rawget(self,"_RealService")
  105. if s then return s(...) end
  106. end
  107. }
  108. local function FakeService(t,RealService)
  109. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  110. return setmetatable(t,fsmt)
  111. end
  112.  
  113. --Fake game object
  114. local g = {
  115. GetService = function(self,s)
  116. return self[s]
  117. end,
  118. Players = FakeService({
  119. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  120. },"Players"),
  121. UserInputService = FakeService(UIS,"UserInputService"),
  122. ContextActionService = FakeService(CAS,"ContextActionService"),
  123. }
  124. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  125. g.service = g.GetService
  126.  
  127. g.RunService = FakeService({
  128. RenderStepped = _rg:GetService("RunService").Heartbeat,
  129. BindToRenderStep = function(self,name,_,fun)
  130. self._btrs[name] = self.Heartbeat:Connect(fun)
  131. end,
  132. UnbindFromRenderStep = function(self,name)
  133. self._btrs[name]:Disconnect()
  134. end,
  135. },"RunService")
  136.  
  137. setmetatable(g,{
  138. __index=function(self,s)
  139. return _rg:GetService(s) or typeof(_rg[s])=="function"
  140. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  141. end,
  142. __newindex = fsmt.__newindex,
  143. __call = fsmt.__call
  144. })
  145. --Changing owner to fake player object to support owner:GetMouse()
  146. game,owner = g,g.Players.LocalPlayer
  147. end
  148.  
  149. wait(0.2)
  150.  
  151. Player = owner
  152. PlayerGui = Player.PlayerGui
  153. Cam = workspace.CurrentCamera
  154. Backpack = Player.Backpack
  155. Character = Player.Character
  156. Humanoid = Character.Humanoid
  157. Mouse = Player:GetMouse()
  158. RootPart = Character["HumanoidRootPart"]
  159. Torso = Character["Torso"]
  160. Head = Character["Head"]
  161. RightArm = Character["Right Arm"]
  162. LeftArm = Character["Left Arm"]
  163. RightLeg = Character["Right Leg"]
  164. LeftLeg = Character["Left Leg"]
  165. RootJoint = RootPart["RootJoint"]
  166. Neck = Torso["Neck"]
  167. RightShoulder = Torso["Right Shoulder"]
  168. LeftShoulder = Torso["Left Shoulder"]
  169. RightHip = Torso["Right Hip"]
  170. LeftHip = Torso["Left Hip"]
  171. Character.Archivable = true
  172. Player:ClearCharacterAppearance()
  173.  
  174. IT = Instance.new
  175. CF = CFrame.new
  176. VT = Vector3.new
  177. RAD = math.rad
  178. C3 = Color3.new
  179. UD2 = UDim2.new
  180. BRICKC = BrickColor.new
  181. ANGLES = CFrame.Angles
  182. EULER = CFrame.fromEulerAnglesXYZ
  183. COS = math.cos
  184. ACOS = math.acos
  185. SIN = math.sin
  186. ASIN = math.asin
  187. ABS = math.abs
  188. MRANDOM = math.random
  189. FLOOR = math.floor
  190.  
  191. --//=================================\\
  192. --|| USEFUL VALUES
  193. --\\=================================//
  194.  
  195. Animation_Speed = 4.2
  196. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  197. local Speed = 18
  198. local SIZE = 1.4
  199. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  200. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  201. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  202. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  203. local DAMAGEMULTIPLIER = 1
  204. local ANIM = "Idle"
  205. local ATTACK = false
  206. local EQUIPPED = false
  207. local HOLD = false
  208. local COMBO = 1
  209. local Rooted = false
  210. local SINE = 0
  211. local KEYHOLD = false
  212. local CHANGE = 2 / Animation_Speed
  213. local WALKINGANIM = false
  214. local VALUE1 = false
  215. local VALUE2 = false
  216. local ROBLOXIDLEANIMATION = IT("Animation")
  217. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  218. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  219. local ATANIM = IT("Animation")
  220. ATANIM.Name = "Attack Animation"
  221. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  222. --ROBLOXIDLEANIMATION.Parent = Humanoid
  223. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  224. WEAPONGUI.Name = "Weapon GUI"
  225. local Weapon = IT("Model")
  226. Weapon.Name = "Adds"
  227. local Effects = IT("Folder", Weapon)
  228. Effects.Name = "Effects"
  229. local ANIMATOR = Humanoid.Animator
  230. local ANIMATE = Character.Animate
  231. local UNANCHOR = true
  232. local CLOCKLOOP = 0
  233. local SONG = 2372056506
  234. local CLOCKTARGET = nil
  235. local CLOCKSPEED = 0.5
  236. script.Parent = WEAPONGUI
  237. local CLONE = Character:Clone()
  238. CLONE.Parent = nil
  239. Character.Archivable = false
  240. local sick = Instance.new("Sound",Torso)
  241.  
  242. --//=================================\\
  243. --\\=================================//
  244.  
  245.  
  246. --//=================================\\
  247. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  248. --\\=================================//
  249.  
  250. ArtificialHB = Instance.new("BindableEvent", script)
  251. ArtificialHB.Name = "ArtificialHB"
  252.  
  253. script:WaitForChild("ArtificialHB")
  254.  
  255. frame = Frame_Speed
  256. tf = 0
  257. allowframeloss = false
  258. tossremainder = false
  259. lastframe = tick()
  260. script.ArtificialHB:Fire()
  261.  
  262. game:GetService("RunService").Heartbeat:connect(function(s, p)
  263. tf = tf + s
  264. if tf >= frame then
  265. if allowframeloss then
  266. script.ArtificialHB:Fire()
  267. lastframe = tick()
  268. else
  269. for i = 1, math.floor(tf / frame) do
  270. script.ArtificialHB:Fire()
  271. end
  272. lastframe = tick()
  273. end
  274. if tossremainder then
  275. tf = 0
  276. else
  277. tf = tf - frame * math.floor(tf / frame)
  278. end
  279. end
  280. end)
  281.  
  282. --//=================================\\
  283. --\\=================================//
  284.  
  285. --//=================================\\
  286. --|| SOME FUNCTIONS
  287. --\\=================================//
  288.  
  289. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  290. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  291. end
  292.  
  293. function PositiveAngle(NUMBER)
  294. if NUMBER >= 0 then
  295. NUMBER = 0
  296. end
  297. return NUMBER
  298. end
  299.  
  300. function NegativeAngle(NUMBER)
  301. if NUMBER <= 0 then
  302. NUMBER = 0
  303. end
  304. return NUMBER
  305. end
  306.  
  307. function Swait(NUMBER)
  308. if NUMBER == 0 or NUMBER == nil then
  309. ArtificialHB.Event:wait()
  310. else
  311. for i = 1, NUMBER do
  312. ArtificialHB.Event:wait()
  313. end
  314. end
  315. end
  316.  
  317. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  318. local NEWMESH = IT(MESH)
  319. if MESH == "SpecialMesh" then
  320. NEWMESH.MeshType = MESHTYPE
  321. if MESHID ~= "nil" and MESHID ~= "" then
  322. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  323. end
  324. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  325. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  326. end
  327. end
  328. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  329. NEWMESH.Scale = SCALE
  330. NEWMESH.Parent = PARENT
  331. return NEWMESH
  332. end
  333.  
  334. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  335. local NEWPART = IT("Part")
  336. NEWPART.formFactor = FORMFACTOR
  337. NEWPART.Reflectance = REFLECTANCE
  338. NEWPART.Transparency = TRANSPARENCY
  339. NEWPART.CanCollide = false
  340. NEWPART.Locked = true
  341. NEWPART.Anchored = true
  342. if ANCHOR == false then
  343. NEWPART.Anchored = false
  344. end
  345. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  346. NEWPART.Name = NAME
  347. NEWPART.Size = SIZE
  348. NEWPART.Position = Torso.Position
  349. NEWPART.Material = MATERIAL
  350. NEWPART:BreakJoints()
  351. NEWPART.Parent = PARENT
  352. return NEWPART
  353. end
  354.  
  355. local function weldBetween(a, b)
  356. local weldd = Instance.new("ManualWeld")
  357. weldd.Part0 = a
  358. weldd.Part1 = b
  359. weldd.C0 = CFrame.new()
  360. weldd.C1 = b.CFrame:inverse() * a.CFrame
  361. weldd.Parent = a
  362. return weldd
  363. end
  364.  
  365.  
  366. function QuaternionFromCFrame(cf)
  367. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  368. local trace = m00 + m11 + m22
  369. if trace > 0 then
  370. local s = math.sqrt(1 + trace)
  371. local recip = 0.5 / s
  372. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  373. else
  374. local i = 0
  375. if m11 > m00 then
  376. i = 1
  377. end
  378. if m22 > (i == 0 and m00 or m11) then
  379. i = 2
  380. end
  381. if i == 0 then
  382. local s = math.sqrt(m00 - m11 - m22 + 1)
  383. local recip = 0.5 / s
  384. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  385. elseif i == 1 then
  386. local s = math.sqrt(m11 - m22 - m00 + 1)
  387. local recip = 0.5 / s
  388. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  389. elseif i == 2 then
  390. local s = math.sqrt(m22 - m00 - m11 + 1)
  391. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  392. end
  393. end
  394. end
  395.  
  396. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  397. local xs, ys, zs = x + x, y + y, z + z
  398. local wx, wy, wz = w * xs, w * ys, w * zs
  399. local xx = x * xs
  400. local xy = x * ys
  401. local xz = x * zs
  402. local yy = y * ys
  403. local yz = y * zs
  404. local zz = z * zs
  405. 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))
  406. end
  407.  
  408. function QuaternionSlerp(a, b, t)
  409. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  410. local startInterp, finishInterp;
  411. if cosTheta >= 0.0001 then
  412. if (1 - cosTheta) > 0.0001 then
  413. local theta = ACOS(cosTheta)
  414. local invSinTheta = 1 / SIN(theta)
  415. startInterp = SIN((1 - t) * theta) * invSinTheta
  416. finishInterp = SIN(t * theta) * invSinTheta
  417. else
  418. startInterp = 1 - t
  419. finishInterp = t
  420. end
  421. else
  422. if (1 + cosTheta) > 0.0001 then
  423. local theta = ACOS(-cosTheta)
  424. local invSinTheta = 1 / SIN(theta)
  425. startInterp = SIN((t - 1) * theta) * invSinTheta
  426. finishInterp = SIN(t * theta) * invSinTheta
  427. else
  428. startInterp = t - 1
  429. finishInterp = t
  430. end
  431. end
  432. 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
  433. end
  434.  
  435. function Clerp(a, b, t)
  436. local qa = {QuaternionFromCFrame(a)}
  437. local qb = {QuaternionFromCFrame(b)}
  438. local ax, ay, az = a.x, a.y, a.z
  439. local bx, by, bz = b.x, b.y, b.z
  440. local _t = 1 - t
  441. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  442. end
  443.  
  444. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  445. local frame = IT("Frame")
  446. frame.BackgroundTransparency = TRANSPARENCY
  447. frame.BorderSizePixel = BORDERSIZEPIXEL
  448. frame.Position = POSITION
  449. frame.Size = SIZE
  450. frame.BackgroundColor3 = COLOR
  451. frame.BorderColor3 = BORDERCOLOR
  452. frame.Name = NAME
  453. frame.Parent = PARENT
  454. return frame
  455. end
  456.  
  457. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  458. local label = IT("TextLabel")
  459. label.BackgroundTransparency = 1
  460. label.Size = UD2(1, 0, 1, 0)
  461. label.Position = UD2(0, 0, 0, 0)
  462. label.TextColor3 = TEXTCOLOR
  463. label.TextStrokeTransparency = STROKETRANSPARENCY
  464. label.TextTransparency = TRANSPARENCY
  465. label.FontSize = TEXTFONTSIZE
  466. label.Font = TEXTFONT
  467. label.BorderSizePixel = BORDERSIZEPIXEL
  468. label.TextStrokeColor3 = C3(1,1,1)
  469. label.TextScaled = false
  470. label.Text = TEXT
  471. label.Name = NAME
  472. label.Parent = PARENT
  473. return label
  474. end
  475.  
  476. function NoOutlines(PART)
  477. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  478. end
  479.  
  480. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  481. local NEWWELD = IT(TYPE)
  482. NEWWELD.Part0 = PART0
  483. NEWWELD.Part1 = PART1
  484. NEWWELD.C0 = C0
  485. NEWWELD.C1 = C1
  486. NEWWELD.Parent = PARENT
  487. return NEWWELD
  488. end
  489.  
  490. local S = IT("Sound")
  491. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  492. local NEWSOUND = nil
  493. coroutine.resume(coroutine.create(function()
  494. NEWSOUND = S:Clone()
  495. NEWSOUND.Parent = PARENT
  496. NEWSOUND.Volume = VOLUME
  497. NEWSOUND.Pitch = PITCH
  498. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  499. NEWSOUND:play()
  500. if DOESLOOP == true then
  501. NEWSOUND.Looped = true
  502. else
  503. repeat wait(1) until NEWSOUND.Playing == false
  504. NEWSOUND:remove()
  505. end
  506. end))
  507. return NEWSOUND
  508. end
  509.  
  510. function CFrameFromTopBack(at, top, back)
  511. local right = top:Cross(back)
  512. 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)
  513. end
  514.  
  515. --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})
  516. function WACKYEFFECT(Table)
  517. local TYPE = (Table.EffectType or "Sphere")
  518. local SIZE = (Table.Size or VT(1,1,1))
  519. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  520. local TRANSPARENCY = (Table.Transparency or 0)
  521. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  522. local CFRAME = (Table.CFrame or Torso.CFrame)
  523. local MOVEDIRECTION = (Table.MoveToPos or nil)
  524. local ROTATION1 = (Table.RotationX or 0)
  525. local ROTATION2 = (Table.RotationY or 0)
  526. local ROTATION3 = (Table.RotationZ or 0)
  527. local MATERIAL = (Table.Material or "Neon")
  528. local COLOR = (Table.Color or C3(1,1,1))
  529. local TIME = (Table.Time or 45)
  530. local SOUNDID = (Table.SoundID or nil)
  531. local SOUNDPITCH = (Table.SoundPitch or nil)
  532. local SOUNDVOLUME = (Table.SoundVolume or nil)
  533. coroutine.resume(coroutine.create(function()
  534. local PLAYSSOUND = false
  535. local SOUND = nil
  536. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  537. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  538. PLAYSSOUND = true
  539. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  540. end
  541. EFFECT.Color = COLOR
  542. local MSH = nil
  543. if TYPE == "Sphere" then
  544. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  545. elseif TYPE == "Block" then
  546. MSH = IT("BlockMesh",EFFECT)
  547. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  548. elseif TYPE == "Wave" then
  549. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  550. elseif TYPE == "Ring" then
  551. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  552. elseif TYPE == "Slash" then
  553. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  554. elseif TYPE == "Round Slash" then
  555. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  556. elseif TYPE == "Swirl" then
  557. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  558. elseif TYPE == "Skull" then
  559. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  560. elseif TYPE == "Crystal" then
  561. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  562. end
  563. if MSH ~= nil then
  564. local MOVESPEED = nil
  565. if MOVEDIRECTION ~= nil then
  566. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  567. end
  568. local GROWTH = SIZE - ENDSIZE
  569. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  570. if TYPE == "Block" then
  571. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  572. else
  573. EFFECT.CFrame = CFRAME
  574. end
  575. for LOOP = 1, TIME+1 do
  576. Swait()
  577. MSH.Scale = MSH.Scale - GROWTH/TIME
  578. if TYPE == "Wave" then
  579. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  580. end
  581. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  582. if TYPE == "Block" then
  583. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  584. else
  585. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  586. end
  587. if MOVEDIRECTION ~= nil then
  588. local ORI = EFFECT.Orientation
  589. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  590. EFFECT.Orientation = ORI
  591. end
  592. end
  593. if PLAYSSOUND == false then
  594. EFFECT:remove()
  595. else
  596. repeat Swait() until SOUND.Playing == false
  597. EFFECT:remove()
  598. end
  599. else
  600. if PLAYSSOUND == false then
  601. EFFECT:remove()
  602. else
  603. repeat Swait() until SOUND.Playing == false
  604. EFFECT:remove()
  605. end
  606. end
  607. end))
  608. end
  609.  
  610. function MakeForm(PART,TYPE)
  611. if TYPE == "Cyl" then
  612. local MSH = IT("CylinderMesh",PART)
  613. elseif TYPE == "Ball" then
  614. local MSH = IT("SpecialMesh",PART)
  615. MSH.MeshType = "Sphere"
  616. elseif TYPE == "Wedge" then
  617. local MSH = IT("SpecialMesh",PART)
  618. MSH.MeshType = "Wedge"
  619. end
  620. end
  621.  
  622. Debris = game:GetService("Debris")
  623.  
  624. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  625. local DIRECTION = CF(StartPos,EndPos).lookVector
  626. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  627. end
  628.  
  629. function turnto(position)
  630. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  631. end
  632.  
  633. --//=================================\\
  634. --|| WEAPON CREATION
  635. --\\=================================//
  636.  
  637. Humanoid.Parent = nil
  638. RootPart.Size = RootPart.Size*SIZE
  639. Torso.Size = Torso.Size*SIZE
  640. RightArm.Size = RightArm.Size*SIZE
  641. RightLeg.Size = RightLeg.Size*SIZE
  642. LeftArm.Size = LeftArm.Size*SIZE
  643. LeftLeg.Size = LeftLeg.Size*SIZE
  644. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  645. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  646. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  647. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  648. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  649. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  650. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  651. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  652. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  653. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  654. Head.Size = Head.Size*SIZE
  655. RootJoint.Parent = RootPart
  656. Neck.Parent = Torso
  657. RightShoulder.Parent = Torso
  658. LeftShoulder.Parent = Torso
  659. RightHip.Parent = Torso
  660. LeftHip.Parent = Torso
  661.  
  662. Humanoid.DisplayDistanceType = "None"
  663. local naeeym2 = IT("BillboardGui",Character)
  664. naeeym2.AlwaysOnTop = true
  665. naeeym2.Size = UDim2.new(5,35,2,15)
  666. naeeym2.StudsOffset = Vector3.new(0,2,0)
  667. naeeym2.MaxDistance = 75
  668. naeeym2.Adornee = Character.Head
  669. naeeym2.Name = "Name"
  670. naeeym2.PlayerToHideFrom = Player
  671. local tecks2 = IT("TextLabel",naeeym2)
  672. tecks2.BackgroundTransparency = 1
  673. tecks2.TextScaled = true
  674. tecks2.BorderSizePixel = 0
  675. tecks2.Text = "Coded"
  676. tecks2.Font = "Fantasy"
  677. tecks2.TextSize = 30
  678. tecks2.TextStrokeTransparency = 0
  679. tecks2.TextColor3 = C3(1,1,1)
  680. tecks2.TextStrokeColor3 = C3(159/255, 111/255, 183/255)
  681. tecks2.Size = UDim2.new(1,0,0.5,0)
  682. tecks2.Parent = naeeym2
  683. local top = Instance.new("Shirt")
  684. top.ShirtTemplate = "rbxassetid://12786196"
  685. top.Parent = Character
  686. top.Name = "Cloth"
  687. local bottom = Instance.new("Pants")
  688. bottom.PantsTemplate = "rbxassetid://326190288"
  689. bottom.Parent = Character
  690. bottom.Name = "Cloth"
  691. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  692. PRT.Color = C3(0,0,0)
  693. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, -0.4, 0))
  694. CreateMesh("SpecialMesh", PRT, "FileMesh", "11144636", "1416342992", VT(1,1,1)*SIZE, VT(0,0,0))
  695. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  696. PRT.Color = C3(1,1,1)
  697. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  698. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "1416342992", VT(1,1,1)*SIZE, VT(0,0,0)) --totally didn't just use like the domino hat mesh ;-;
  699. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  700. PRT.Color = C3(159/255, 111/255, 183/255)
  701. --PRT.Color = C3(0/0, 0/0, 0/0)
  702. --PRT.Color = C3(0,0,0)
  703. MakeForm(PRT,"Ball")
  704. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  705. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  706. PRT.Color = C3(159/255, 111/255, 183/255)
  707. MakeForm(PRT,"Ball")
  708. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  709. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  710. PRT.Color = C3(159/255, 111/255, 183/255)
  711. MakeForm(PRT,"Ball")
  712. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.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.4,0.4,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.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), 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.  
  726. local LASTPART = Head
  727. for i = 1, 24 do
  728. local MATH = (1-(i/30))
  729. if LASTPART == Head then
  730. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  731. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  732. LASTPART = Horn
  733. --Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  734. Horn.Color = C3(1-((i*4-4)/0),1-((i*6-6)/0),1-((i*3-3)/0))
  735. else
  736. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  737. 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))
  738. LASTPART = Horn
  739. --Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  740. Horn.Color = C3(1-((i*4-4)/0),1-((i*6-6)/0),1-((i*3-3)/0))
  741. end
  742. end
  743. local LASTPART = Head
  744. for i = 1, 24 do
  745. local MATH = (1-(i/30))
  746. if LASTPART == Head then
  747. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  748. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  749. LASTPART = Horn
  750. --Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  751. Horn.Color = C3(1-((i*4-4)/0),1-((i*6-6)/0),1-((i*3-3)/0))
  752. else
  753. local Horn = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  754. 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))
  755. LASTPART = Horn
  756. --Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),1-((i*3-3)/255))
  757. Horn.Color = C3(1-((i*4-4)/0),1-((i*6-6)/0),1-((i*3-3)/0))
  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, "Neon", 0, 0, "Really black", "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, "Neon", 0, 0, "Really black", "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, "Neon", 0, 0, "Really black", "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, "Neon", 0, 0, "Really black", "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, "Crimson", "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, "Crimson", "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, "Fossil", "Watch", VT(0.45,0.11,0.45)*SIZE,false) --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, "Crimson", "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, "Crimson", "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, "Crimson", "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, "Crimson", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  816. PRT.Color = C3(0,0,0)
  817. local MSH = IT("BlockMesh",PRT)
  818. MSH.Scale = VT(0.4,1,1)
  819. local WATCH2 = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.49*SIZE, 0) * CF(0, 0, -(0.075/1.5)*SIZE))
  820. coroutine.resume(coroutine.create(function()
  821. while true do
  822. Swait()
  823. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  824. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  825. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  826. if CLOCKLOOP <= -150 then
  827. if VALUE1 == false then
  828. CLOCKLOOP = 0
  829. WACKYEFFECT({Time = 15, EffectType = "Sphere", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(3,3,3), Transparency = 0, Transparency2 = 1, CFrame = RING.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 4})
  830. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  831. ApplyAoE(HITPOS,10,15,45,75,false)
  832. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(15,2,15), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  833. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0.45,0.11,0.45)*SIZE, Size2 = VT(12,3,12), Transparency = 0, Transparency2 = 1, CFrame = CF(HITPOS), MoveToPos = nil, RotationX = 0, RotationY = 15, RotationZ = 0, Material = "Neon", Color = C3(159/255, 111/255, 183/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  834. if CLOCKTARGET ~= nil then
  835. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  836. if CLOCKTARGET.Torso ~= nil then
  837. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  838. end
  839. if CLOCKTARGET.Health == 0 then
  840. CLOCKTARGET = nil
  841. end
  842. end
  843. end
  844. end
  845. end
  846. end))
  847.  
  848. for _, c in pairs(Weapon:GetChildren()) do
  849. if c.ClassName == "Part" then
  850. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  851. end
  852. end
  853.  
  854. Neck.Name = "Weld"
  855. RootJoint.Name = "Weld"
  856. RightShoulder.Name = "Weld"
  857. LeftShoulder.Name = "Weld"
  858. RightHip.Name = "Weld"
  859. LeftHip.Name = "Weld"
  860.  
  861. local SKILLTEXTCOLOR = C3(159/255, 111/255, 183/255)
  862. local SKILLFONT = "Fantasy"
  863. local SKILLTEXTSIZE = 7
  864.  
  865. Weapon.Parent = Character
  866. Humanoid.Parent = Character
  867.  
  868. Humanoid.Died:connect(function()
  869. ATTACK = true
  870. end)
  871.  
  872. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23-.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  873. local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50+.20, 0, 0.84, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  874. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.23, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  875. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.50, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  876. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.86, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  877.  
  878. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Pain Bringer", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  879. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Submit Now", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  880. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Bullet's Anger", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  881. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Teleporting Death", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  882. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Hidden Fate", 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(12.68, -57.15, -52.99)
  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. LAUGH = CreateSound(178038408, Head, 10, 1, false)
  1863. end
  1864.  
  1865. --//=================================\\
  1866. --|| ASSIGN THINGS TO KEYS
  1867. --\\=================================//
  1868.  
  1869. function MouseDown(Mouse)
  1870. HOLD = true
  1871. if ATTACK == false then
  1872. end
  1873. end
  1874.  
  1875. function MouseUp(Mouse)
  1876. HOLD = false
  1877. end
  1878.  
  1879. function KeyDown(Key)
  1880. KEYHOLD = true
  1881. if Key == "z" and ATTACK == false then
  1882. MagicMissiles()
  1883. end
  1884.  
  1885. if Key == "b" and ATTACK == false then
  1886. TimesUp()
  1887. end
  1888.  
  1889. if Key == "c" and ATTACK == false then
  1890. ChainPunch()
  1891. end
  1892.  
  1893. if Key == "v" and ATTACK == false then
  1894. WarpMeteor()
  1895. end
  1896.  
  1897. if Key == "x" and ATTACK == false then
  1898. PandorasBox()
  1899. end
  1900.  
  1901. if Key == "t" and ATTACK == false then
  1902. Taunt()
  1903. end
  1904. end
  1905.  
  1906. function KeyUp(Key)
  1907. KEYHOLD = false
  1908. end
  1909.  
  1910. Mouse.Button1Down:connect(function(NEWKEY)
  1911. MouseDown(NEWKEY)
  1912. end)
  1913. Mouse.Button1Up:connect(function(NEWKEY)
  1914. MouseUp(NEWKEY)
  1915. end)
  1916. Mouse.KeyDown:connect(function(NEWKEY)
  1917. KeyDown(NEWKEY)
  1918. end)
  1919. Mouse.KeyUp:connect(function(NEWKEY)
  1920. KeyUp(NEWKEY)
  1921. end)
  1922.  
  1923. --//=================================\\
  1924. --\\=================================//
  1925.  
  1926.  
  1927. function unanchor()
  1928. if UNANCHOR == true then
  1929. RootPart.Anchored = false
  1930. end
  1931. g = Character:GetChildren()
  1932. for i = 1, #g do
  1933. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  1934. g[i].Anchored = false
  1935. end
  1936. end
  1937. g = Weapon:GetChildren()
  1938. for i = 1, #g do
  1939. if g[i].ClassName == "Part" then
  1940. g[i].Anchored = false
  1941. end
  1942. end
  1943. end
  1944.  
  1945.  
  1946. --//=================================\\
  1947. --|| WRAP THE WHOLE SCRIPT UP
  1948. --\\=================================//
  1949.  
  1950. Humanoid.Changed:connect(function(Jump)
  1951. if Jump == "Jump" and (Disable_Jump == true) then
  1952. Humanoid.Jump = false
  1953. end
  1954. end)
  1955.  
  1956. while true do
  1957. Swait()
  1958. script.Parent = WEAPONGUI
  1959. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1960. v:Stop();
  1961. end
  1962. ANIMATE.Parent = nil
  1963. SINE = SINE + CHANGE*1.5
  1964. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1965. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1966. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1967. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  1968. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1969. 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)
  1970. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1971. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1972. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1973. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1974. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1975. 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)
  1976. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1977. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1978. end
  1979. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1980. ANIM = "Jump"
  1981. if ATTACK == false then
  1982. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1983. 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)
  1984. 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)
  1985. 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)
  1986. 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)
  1987. 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)
  1988. end
  1989. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1990. ANIM = "Fall"
  1991. if ATTACK == false then
  1992. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1993. 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)
  1994. 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)
  1995. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1996. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 1 / Animation_Speed)
  1997. 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)
  1998. end
  1999. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2000. ANIM = "Idle"
  2001. if ATTACK == false then
  2002. 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)
  2003. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(-5.4 - 4 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2004. 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)
  2005. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1 *SIZE, 0.65*SIZE, -0.9*SIZE) * ANGLES(RAD(-25), RAD(10 - 4.5 * SIN(SINE / 12)), RAD(90 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2006. 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)
  2007. 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)
  2008. end
  2009. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2010. ANIM = "Walk"
  2011. if ATTACK == false then
  2012. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2013. 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)
  2014. 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)
  2015. 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)
  2016. 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)
  2017. 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)
  2018. end
  2019. end
  2020. unanchor()
  2021. Humanoid.MaxHealth = "inf"
  2022. Humanoid.Health = "inf"
  2023. if Rooted == false then
  2024. Disable_Jump = false
  2025. Humanoid.WalkSpeed = Speed
  2026. elseif Rooted == true then
  2027. Disable_Jump = true
  2028. Humanoid.WalkSpeed = 0
  2029. end
  2030. for _, c in pairs(Character:GetChildren()) do
  2031. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2032. c.Material = "Fabric"
  2033. if c:FindFirstChildOfClass("ParticleEmitter") then
  2034. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2035. end
  2036. if c ~= Head then
  2037. c.Color = C3(0,0,0)
  2038. else
  2039. c.Color = C3(0,0,0)
  2040. end
  2041. if c == Head then
  2042. if c:FindFirstChild("face") then
  2043. c.face:remove()
  2044. end
  2045. end
  2046. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2047. c:remove()
  2048. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2049. c:remove()
  2050. end
  2051. end
  2052. sick.SoundId = "rbxassetid://"..SONG
  2053. sick.Looped = true
  2054. sick.Pitch = 1
  2055. sick.Volume = 5
  2056. sick.Parent = Torso
  2057. sick:Resume()
  2058. --sick.Playing = false
  2059. Humanoid.Name = "Pandora = "..Player.Name
  2060. end
  2061.  
  2062. --//=================================\\
  2063. --\\=================================//
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069. --//====================================================\\--
  2070. --|| END OF SCRIPT
  2071. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement