Advertisement
Christoffer07700Extr

Master Of Nukes FE

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