Advertisement
DaOMEGAa32

CT

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