Advertisement
Zebula_The_Scripter

FE Wire Pandora

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