Advertisement
foxy_game4

hec

Dec 12th, 2019
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 117.15 KB | None | 0 0
  1. local Player = game.Players:WaitForChild(_G.target)
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62.  
  63.  
  64. -- [[[
  65. --000000[[====================================================================================\\
  66. --000000[[ DEIVIS97 EDIT
  67. --000000[[====================================================================================//
  68. -- [[[
  69. -- This script has been converted to FE by iPxter
  70.  
  71.  
  72.  
  73. local Player = Player
  74. repeat
  75. wait()
  76. until Player.Character
  77. local Character = Player.Character
  78. TrailSettings = {
  79. Lifetime = 1,
  80. Texture = "http://www.roblox.com/asset/?id=1097260739",
  81. Color1 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
  82. Color2 = ColorSequence.new(BrickColor.new("Cool yellow").Color),
  83. AllBody = true,
  84. UpperBodyOnly = false,
  85. LowerBodyOnly = false,
  86. Accessories = false,
  87. Extras = true,
  88. R15 = false,
  89. R15Parts = {"UpperTorso", "LowerTorso"}
  90. }
  91. local Trail
  92. function UpperBody()
  93. if TrailSettings.R15 == false then
  94. A0 = Instance.new("Attachment", Character.Torso)
  95. A1 = Instance.new("Attachment", Character.Head)
  96. A2 = Instance.new("Attachment", Character["Right Arm"])
  97. A3 = Instance.new("Attachment", Character["Left Arm"])
  98. Trail = Instance.new("Trail", Character)
  99. Trail.Attachment0 = A0
  100. Trail.Attachment1 = A1
  101. Trail.Texture = TrailSettings.Texture
  102. Trail.Color = TrailSettings.Color1
  103. Trail.Lifetime = TrailSettings.Lifetime
  104. local Trail2 = Trail:Clone()
  105. Trail2.Parent = Character
  106. Trail2.Attachment1 = A2
  107. local Trail3 = Trail:Clone()
  108. Trail3.Parent = Character
  109. Trail3.Attachment1 = A3
  110. local Trail6 = Trail:Clone()
  111. Trail6.Parent = Character
  112. Trail6.Attachment0 = A1
  113. Trail6.Attachment1 = A2
  114. local Trail7 = Trail:Clone()
  115. Trail7.Parent = Character
  116. Trail7.Attachment0 = A1
  117. Trail7.Attachment1 = A3
  118. else
  119. A0 = Instance.new("Attachment", Character[TrailSettings.R15Parts[1]])
  120. A0R = Instance.new("Attachment", Character[TrailSettings.R15Parts[2]])
  121. A1 = Instance.new("Attachment", Character.Head)
  122. A2 = Instance.new("Attachment", Character.RightUpperArm)
  123. A2R = Instance.new("Attachment", Character.RightLowerArm)
  124. A3 = Instance.new("Attachment", Character.LeftUpperArm)
  125. A3R = Instance.new("Attachment", Character.LeftLowerArm)
  126. Trail = Instance.new("Trail", Character)
  127. Trail.Attachment0 = A0
  128. Trail.Attachment1 = A1
  129. Trail.Texture = TrailSettings.Texture
  130. Trail.Color = TrailSettings.Color1
  131. Trail.Lifetime = TrailSettings.Lifetime
  132. local Trail2 = Trail:Clone()
  133. Trail2.Parent = Character
  134. Trail2.Attachment1 = A2
  135. local Trail3 = Trail:Clone()
  136. Trail3.Parent = Character
  137. Trail3.Attachment1 = A3
  138. local Trail6 = Trail:Clone()
  139. Trail6.Parent = Character
  140. Trail6.Attachment0 = A1
  141. Trail6.Attachment1 = A2
  142. local Trail7 = Trail:Clone()
  143. Trail7.Parent = Character
  144. Trail7.Attachment0 = A1
  145. Trail7.Attachment1 = A3
  146. local Trail1R = Trail:Clone()
  147. Trail1R.Parent = Character
  148. Trail1R.Attachment1 = A2R
  149. local Trail2R = Trail:Clone()
  150. Trail2R.Parent = Character
  151. Trail2R.Attachment1 = A3R
  152. local Trail6R = Trail:Clone()
  153. Trail6.Parent = Character
  154. Trail6.Attachment0 = A1
  155. Trail6.Attachment1 = A2R
  156. local Trail7R = Trail:Clone()
  157. Trail7.Parent = Character
  158. Trail7.Attachment0 = A1
  159. Trail7.Attachment1 = A3R
  160. end
  161. end
  162. function LowerBody()
  163. if TrailSettings.R15 == false then
  164. A4 = Instance.new("Attachment", Character["Right Leg"])
  165. A5 = Instance.new("Attachment", Character["Left Leg"])
  166. local Trail4 = Trail:Clone()
  167. Trail4.Parent = Character
  168. Trail4.Attachment1 = A4
  169. local Trail5 = Trail:Clone()
  170. Trail5.Parent = Character
  171. Trail5.Attachment1 = A5
  172. local Trail8 = Trail:Clone()
  173. Trail8.Parent = Character
  174. Trail8.Attachment0 = A2
  175. Trail8.Attachment1 = A4
  176. Trail8.Color = TrailSettings.Color2
  177. local Trail9 = Trail:Clone()
  178. Trail9.Parent = Character
  179. Trail9.Attachment0 = A3
  180. Trail9.Attachment1 = A5
  181. Trail9.Color = TrailSettings.Color2
  182. local FT = Trail:Clone()
  183. FT.Parent = Character
  184. FT.Attachment0 = A4
  185. FT.Attachment1 = A5
  186. FT.Color = TrailSettings.Color2
  187. else
  188. A4 = Instance.new("Attachment", Character.RightLowerLeg)
  189. A4R = Instance.new("Attachment", Character.RightUpperLeg)
  190. A5 = Instance.new("Attachment", Character.LeftLowerLeg)
  191. A5R = Instance.new("Attachment", Character.LeftUpperLeg)
  192. local Trail4 = Trail:Clone()
  193. Trail4.Parent = Character
  194. Trail4.Attachment1 = A4
  195. local Trail5 = Trail:Clone()
  196. Trail5.Parent = Character
  197. Trail5.Attachment1 = A5
  198. local Trail8 = Trail:Clone()
  199. Trail8.Parent = Character
  200. Trail8.Attachment0 = A2
  201. Trail8.Attachment1 = A4
  202. Trail8.Color = TrailSettings.Color2
  203. local Trail9 = Trail:Clone()
  204. Trail9.Parent = Character
  205. Trail9.Attachment0 = A3
  206. Trail9.Attachment1 = A5
  207. Trail9.Color = TrailSettings.Color2
  208. local FT = Trail:Clone()
  209. FT.Parent = Character
  210. FT.Attachment0 = A4
  211. FT.Attachment1 = A5
  212. FT.Color = TrailSettings.Color2
  213. local Trail3R = Trail:Clone()
  214. Trail3R.Parent = Character
  215. Trail3R.Attachment1 = A4R
  216. local Trail4R = Trail:Clone()
  217. Trail4R.Parent = Character
  218. Trail4R.Attachment1 = A5R
  219. local Trail8 = Trail:Clone()
  220. Trail8.Parent = Character
  221. Trail8.Attachment0 = A2R
  222. Trail8.Attachment1 = A4R
  223. Trail8.Color = TrailSettings.Color2
  224. local Trail9 = Trail:Clone()
  225. Trail9.Parent = Character
  226. Trail9.Attachment0 = A3R
  227. Trail9.Attachment1 = A5R
  228. Trail9.Color = TrailSettings.Color2
  229. local FT2R = Trail:Clone()
  230. FT2R.Parent = Character
  231. FT2R.Attachment0 = A4R
  232. FT2R.Attachment1 = A5R
  233. FT2R.Color = TrailSettings.Color2
  234. end
  235. end
  236. function AllBody()
  237. UpperBody()
  238. LowerBody()
  239. end
  240. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  241. TrailSettings.UpperBodyOnly = false
  242. TrailSettings.LowerBodyOnly = false
  243. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  244. TrailSettings.UpperBodyOnly = false
  245. TrailSettings.LowerBodyOnly = false
  246. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  247. TrailSettings.UpperBodyOnly = false
  248. TrailSettings.LowerBodyOnly = false
  249. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  250. TrailSettings.AllBody = true
  251. TrailSettings.UpperBodyOnly = false
  252. TrailSettings.LowerBodyOnly = false
  253. end
  254. if TrailSettings.UpperBodyOnly == true then
  255. UpperBody()
  256. print("Called Upper Body Trail")
  257. elseif TrailSettings.LowerBodyOnly == true then
  258. LowerBody()
  259. print("Called Lower Body Trail")
  260. elseif TrailSettings.AllBody == true then
  261. AllBody()
  262. print("Called Full Body Trail")
  263. end
  264. if TrailSettings.Accessories == true then
  265. for Index, Item in pairs(Character:GetChildren()) do
  266. if Item:IsA("Accessory") then
  267. local AA = Instance.new("Attachment", Item.Handle)
  268. local ATrail = Trail:Clone()
  269. ATrail.Parent = Character
  270. ATrail.Attachment1 = AA
  271. end
  272. end
  273. end
  274. if TrailSettings.Extras == true then
  275. spawn(function()
  276. repeat
  277. wait()
  278. until Trail
  279. local AB = Instance.new("Attachment", a)
  280. local ABT = Trail:Clone()
  281. ABT.Parent = Character
  282. ABT.Attachment0 = A4
  283. ABT.Attachment1 = AB
  284. ABT.Color = TrailSettings.Color2
  285. local ABT2 = Trail:Clone()
  286. ABT2.Parent = Character
  287. ABT2.Attachment0 = A5
  288. ABT2.Attachment1 = AB
  289. ABT2.Color = TrailSettings.Color2
  290. end)
  291. end
  292. wait(0.1)
  293. --//====================================================\\--
  294. --|| CREATED BY SHACKLUSTER
  295. --\\====================================================//--
  296.  
  297. local Player = Player
  298. local Character = Player.Character
  299. local Humanoid = Character.Humanoid
  300. local LeftArm = Character["Left Arm"]
  301. local RightArm = Character["Right Arm"]
  302. local LeftLeg = Character["Left Leg"]
  303. local RightLeg = Character["Right Leg"]
  304. local Head = Character.Head
  305. local Torso = Character.Torso
  306. local Camera = game.Workspace.CurrentCamera
  307. local RootPart = Character.HumanoidRootPart
  308. local RootJoint = RootPart.RootJoint
  309. local attack = false
  310. local Anim = 'Idle'
  311. local Lighty = game:GetService"Lighting"
  312. local attacktype = 1
  313. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  314. local velocity = RootPart.Velocity.y
  315. local sine = 0
  316. local change = 1
  317. local bored = {492070484,1232162751,1534958855,303535614,1117396305,0}
  318. local Create = LoadLibrary("RbxUtility").Create
  319. function swait(num)
  320. if num == 0 or num == nil then
  321. ArtificialHB.Event:wait()
  322. else
  323. for i = 0, num do
  324. ArtificialHB.Event:wait()
  325. end
  326. end
  327. end
  328.  
  329. local chara = Character
  330. local m = Create("Model"){
  331. Parent = Character,
  332. Name = "WeaponModel",
  333. }
  334. function chatfunc(text)
  335. local chat = coroutine.wrap(function()
  336. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  337. Character:FindFirstChild("TalkingBillBoard"):destroy()
  338. end
  339. local Bill = Instance.new("BillboardGui",Character)
  340. Bill.Size = UDim2.new(0,100,0,40)
  341. Bill.StudsOffset = Vector3.new(0,3,0)
  342. Bill.Adornee = Character.Head
  343. Bill.Name = "TalkingBillBoard"
  344. local Hehe = Instance.new("TextLabel",Bill)
  345. Hehe.BackgroundTransparency = 1
  346. Hehe.BorderSizePixel = 0
  347. Hehe.Text = ""
  348. Hehe.Font = "Garamond"
  349. Hehe.TextSize = 40
  350. Hehe.TextStrokeTransparency = 0
  351. Hehe.Size = UDim2.new(1,0,0.5,0)
  352. coroutine.resume(coroutine.create(function()
  353. while Hehe ~= nil do
  354. swait()
  355. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  356. Hehe.Rotation = math.random(-5,5)
  357. Hehe.TextColor3 = Color3.new(255,255,0)
  358. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  359. end
  360. end))
  361. for i = 1,string.len(text),1 do
  362. swait()
  363. Hehe.Text = string.sub(text,1,i)
  364. end
  365. swait(90)--Re[math.random(1, 93)]
  366. for i = 0, 1, .025 do
  367. swait()
  368. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  369. Hehe.TextStrokeTransparency = i
  370. Hehe.TextTransparency = i
  371. end
  372. Bill:Destroy()
  373. end)
  374. chat()
  375. end
  376.  
  377. function onChatted(msg)
  378. chatfunc(msg)
  379. end
  380.  
  381. Player.Chatted:connect(onChatted)
  382. wait(0.2)
  383.  
  384. Player = Player
  385. PlayerGui = Player.PlayerGui
  386. Cam = workspace.CurrentCamera
  387. Backpack = Player.Backpack
  388. Character = Player.Character
  389. Humanoid = Character.Humanoid
  390. RootPart = Character["HumanoidRootPart"]
  391. Torso = Character["Torso"]
  392. Head = Character["Head"]
  393. RightArm = Character["Right Arm"]
  394. LeftArm = Character["Left Arm"]
  395. RightLeg = Character["Right Leg"]
  396. LeftLeg = Character["Left Leg"]
  397. RootJoint = RootPart["RootJoint"]
  398. Neck = Torso["Neck"]
  399. RightShoulder = Torso["Right Shoulder"]
  400. LeftShoulder = Torso["Left Shoulder"]
  401. RightHip = Torso["Right Hip"]
  402. LeftHip = Torso["Left Hip"]
  403. Character.Archivable = true
  404. Player:ClearCharacterAppearance()
  405.  
  406. IT = Instance.new
  407. CF = CFrame.new
  408. VT = Vector3.new
  409. RAD = math.rad
  410. C3 = Color3.new
  411. UD2 = UDim2.new
  412. BRICKC = BrickColor.new
  413. ANGLES = CFrame.Angles
  414. EULER = CFrame.fromEulerAnglesXYZ
  415. COS = math.cos
  416. ACOS = math.acos
  417. SIN = math.sin
  418. ASIN = math.asin
  419. ABS = math.abs
  420. MRANDOM = math.random
  421. FLOOR = math.floor
  422. local CHOICE = MRANDOM(1,5)
  423. --//=================================\\
  424. --|| USEFUL VALUES
  425. --\\=================================//
  426.  
  427. Animation_Speed = 3
  428. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  429. local Speed = 20
  430. local SIZE = 1.4
  431. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  432. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  433. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  434. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  435. local DAMAGEMULTIPLIER = "inf"
  436. local ANIM = "Idle"
  437. local ATTACK = false
  438. local EQUIPPED = false
  439. local HOLD = false
  440. local COMBO = 1
  441. local Rooted = false
  442. local SINE = 0
  443. local KEYHOLD = false
  444. local CHANGE = 2 / Animation_Speed
  445. local WALKINGANIM = false
  446. local VALUE1 = false
  447. local VALUE2 = false
  448. local ROBLOXIDLEANIMATION = IT("Animation")
  449. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  450. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  451. local ATANIM = IT("Animation")
  452. ATANIM.Name = "Attack Animation"
  453. ATANIM.AnimationId = "http://www.roblox.com/asset/?id=74894663"
  454. --ROBLOXIDLEANIMATION.Parent = Humanoid
  455. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  456. WEAPONGUI.Name = "Weapon GUI"
  457. local Weapon = IT("Model")
  458. Weapon.Name = "Adds"
  459. local Effects = IT("Folder", Weapon)
  460. Effects.Name = "Effects"
  461. local ANIMATOR = Humanoid.Animator
  462. local ANIMATE = Character.Animate
  463. local UNANCHOR = true
  464. local CLOCKLOOP = 0
  465. local SONG = 492070484
  466. local CLOCKTARGET = nil
  467. local CLOCKSPEED = 4
  468. script.Parent = WEAPONGUI
  469. local CLONE = Character:Clone()
  470. CLONE.Parent = nil
  471. Character.Archivable = false
  472. local sick = Instance.new("Sound",Torso)
  473. sick.Volume = 50999
  474.  
  475. --//=================================\\
  476. --\\=================================//
  477.  
  478.  
  479. --//=================================\\
  480. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  481. --\\=================================//
  482.  
  483. ArtificialHB = Instance.new("BindableEvent", script)
  484. ArtificialHB.Name = "ArtificialHB"
  485.  
  486. script:WaitForChild("ArtificialHB")
  487.  
  488. frame = Frame_Speed
  489. tf = 0
  490. allowframeloss = false
  491. tossremainder = false
  492. lastframe = tick()
  493. script.ArtificialHB:Fire()
  494.  
  495. game:GetService("RunService").Heartbeat:connect(function(s, p)
  496. tf = tf + s
  497. if tf >= frame then
  498. if allowframeloss then
  499. script.ArtificialHB:Fire()
  500. lastframe = tick()
  501. else
  502. for i = 1, math.floor(tf / frame) do
  503. script.ArtificialHB:Fire()
  504. end
  505. lastframe = tick()
  506. end
  507. if tossremainder then
  508. tf = 0
  509. else
  510. tf = tf - frame * math.floor(tf / frame)
  511. end
  512. end
  513. end)
  514.  
  515. --//=================================\\
  516. --\\=================================//
  517.  
  518. --//=================================\\
  519. --|| SOME FUNCTIONS
  520. --\\=================================//
  521.  
  522. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  523. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  524. end
  525.  
  526. function PositiveAngle(NUMBER)
  527. if NUMBER >= 0 then
  528. NUMBER = 0
  529. end
  530. return NUMBER
  531. end
  532.  
  533. function NegativeAngle(NUMBER)
  534. if NUMBER <= 0 then
  535. NUMBER = 0
  536. end
  537. return NUMBER
  538. end
  539.  
  540. function Swait(NUMBER)
  541. if NUMBER == 0 or NUMBER == nil then
  542. ArtificialHB.Event:wait()
  543. else
  544. for i = 1, NUMBER do
  545. ArtificialHB.Event:wait()
  546. end
  547. end
  548. end
  549.  
  550. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  551. local NEWMESH = IT(MESH)
  552. if MESH == "SpecialMesh" then
  553. NEWMESH.MeshType = MESHTYPE
  554. if MESHID ~= "nil" and MESHID ~= "" then
  555. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  556. end
  557. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  558. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  559. end
  560. end
  561. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  562. NEWMESH.Scale = SCALE
  563. NEWMESH.Parent = PARENT
  564. return NEWMESH
  565. end
  566.  
  567. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  568. local NEWPART = IT("Part")
  569. NEWPART.formFactor = FORMFACTOR
  570. NEWPART.Reflectance = REFLECTANCE
  571. NEWPART.Transparency = TRANSPARENCY
  572. NEWPART.CanCollide = false
  573. NEWPART.Locked = true
  574. NEWPART.Anchored = true
  575. if ANCHOR == false then
  576. NEWPART.Anchored = false
  577. end
  578. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  579. NEWPART.Name = NAME
  580. NEWPART.Size = SIZE
  581. NEWPART.Position = Torso.Position
  582. NEWPART.Material = MATERIAL
  583. NEWPART:BreakJoints()
  584. NEWPART.Parent = PARENT
  585. return NEWPART
  586. end
  587.  
  588. local function weldBetween(a, b)
  589. local weldd = Instance.new("ManualWeld")
  590. weldd.Part0 = a
  591. weldd.Part1 = b
  592. weldd.C0 = CFrame.new()
  593. weldd.C1 = b.CFrame:inverse() * a.CFrame
  594. weldd.Parent = a
  595. return weldd
  596. end
  597.  
  598.  
  599. function QuaternionFromCFrame(cf)
  600. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  601. local trace = m00 + m11 + m22
  602. if trace > 0 then
  603. local s = math.sqrt(1 + trace)
  604. local recip = 0.5 / s
  605. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  606. else
  607. local i = 0
  608. if m11 > m00 then
  609. i = 1
  610. end
  611. if m22 > (i == 0 and m00 or m11) then
  612. i = 2
  613. end
  614. if i == 0 then
  615. local s = math.sqrt(m00 - m11 - m22 + 1)
  616. local recip = 0.5 / s
  617. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  618. elseif i == 1 then
  619. local s = math.sqrt(m11 - m22 - m00 + 1)
  620. local recip = 0.5 / s
  621. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  622. elseif i == 2 then
  623. local s = math.sqrt(m22 - m00 - m11 + 1)
  624. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  625. end
  626. end
  627. end
  628.  
  629. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  630. local xs, ys, zs = x + x, y + y, z + z
  631. local wx, wy, wz = w * xs, w * ys, w * zs
  632. local xx = x * xs
  633. local xy = x * ys
  634. local xz = x * zs
  635. local yy = y * ys
  636. local yz = y * zs
  637. local zz = z * zs
  638. 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))
  639. end
  640.  
  641. function QuaternionSlerp(a, b, t)
  642. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  643. local startInterp, finishInterp;
  644. if cosTheta >= 0.0001 then
  645. if (1 - cosTheta) > 0.0001 then
  646. local theta = ACOS(cosTheta)
  647. local invSinTheta = 1 / SIN(theta)
  648. startInterp = SIN((1 - t) * theta) * invSinTheta
  649. finishInterp = SIN(t * theta) * invSinTheta
  650. else
  651. startInterp = 1 - t
  652. finishInterp = t
  653. end
  654. else
  655. if (1 + cosTheta) > 0.0001 then
  656. local theta = ACOS(-cosTheta)
  657. local invSinTheta = 1 / SIN(theta)
  658. startInterp = SIN((t - 1) * theta) * invSinTheta
  659. finishInterp = SIN(t * theta) * invSinTheta
  660. else
  661. startInterp = t - 1
  662. finishInterp = t
  663. end
  664. end
  665. 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
  666. end
  667.  
  668. function Clerp(a, b, t)
  669. local qa = {QuaternionFromCFrame(a)}
  670. local qb = {QuaternionFromCFrame(b)}
  671. local ax, ay, az = a.x, a.y, a.z
  672. local bx, by, bz = b.x, b.y, b.z
  673. local _t = 1 - t
  674. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  675. end
  676.  
  677. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  678. local frame = IT("Frame")
  679. frame.BackgroundTransparency = TRANSPARENCY
  680. frame.BorderSizePixel = BORDERSIZEPIXEL
  681. frame.Position = POSITION
  682. frame.Size = SIZE
  683. frame.BackgroundColor3 = COLOR
  684. frame.BorderColor3 = BORDERCOLOR
  685. frame.Name = NAME
  686. frame.Parent = PARENT
  687. return frame
  688. end
  689.  
  690. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  691. local label = IT("TextLabel")
  692. label.BackgroundTransparency = 1
  693. label.Size = UD2(1, 0, 1, 0)
  694. label.Position = UD2(0, 0, 0, 0)
  695. label.TextColor3 = TEXTCOLOR
  696. label.TextStrokeTransparency = STROKETRANSPARENCY
  697. label.TextTransparency = TRANSPARENCY
  698. label.FontSize = TEXTFONTSIZE
  699. label.Font = TEXTFONT
  700. label.BorderSizePixel = BORDERSIZEPIXEL
  701. label.TextStrokeColor3 = C3(1,1,1)
  702. label.TextScaled = false
  703. label.Text = TEXT
  704. label.Name = NAME
  705. label.Parent = PARENT
  706. return label
  707. end
  708.  
  709. function NoOutlines(PART)
  710. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  711. end
  712.  
  713. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  714. local NEWWELD = IT(TYPE)
  715. NEWWELD.Part0 = PART0
  716. NEWWELD.Part1 = PART1
  717. NEWWELD.C0 = C0
  718. NEWWELD.C1 = C1
  719. NEWWELD.Parent = PARENT
  720. return NEWWELD
  721. end
  722.  
  723. local S = IT("Sound")
  724. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  725. local NEWSOUND = nil
  726. coroutine.resume(coroutine.create(function()
  727. NEWSOUND = S:Clone()
  728. NEWSOUND.Parent = PARENT
  729. NEWSOUND.Volume = VOLUME
  730. NEWSOUND.Pitch = PITCH
  731. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  732. NEWSOUND:play()
  733. if DOESLOOP == true then
  734. NEWSOUND.Looped = true
  735. else
  736. repeat wait(1) until NEWSOUND.Playing == false
  737. NEWSOUND:remove()
  738. end
  739. end))
  740. return NEWSOUND
  741. end
  742.  
  743. function CFrameFromTopBack(at, top, back)
  744. local right = top:Cross(back)
  745. 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)
  746. end
  747.  
  748. --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})
  749. function WACKYEFFECT(Table)
  750. local TYPE = (Table.EffectType or "Sphere")
  751. local SIZE = (Table.Size or VT(1,1,1))
  752. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  753. local TRANSPARENCY = (Table.Transparency or 0)
  754. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  755. local CFRAME = (Table.CFrame or Torso.CFrame)
  756. local MOVEDIRECTION = (Table.MoveToPos or nil)
  757. local ROTATION1 = (Table.RotationX or 0)
  758. local ROTATION2 = (Table.RotationY or 0)
  759. local ROTATION3 = (Table.RotationZ or 0)
  760. local MATERIAL = (Table.Material or "Neon")
  761. local COLOR = (Table.Color or C3(66/255, 0/255, 127/2551))
  762. local TIME = (Table.Time or 45)
  763. local SOUNDID = (Table.SoundID or nil)
  764. local SOUNDPITCH = (Table.SoundPitch or nil)
  765. local SOUNDVOLUME = (Table.SoundVolume or nil)
  766. coroutine.resume(coroutine.create(function()
  767. local PLAYSSOUND = false
  768. local SOUND = nil
  769. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Dark indigo"), "Effect", VT(1,1,1), true)
  770. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  771. PLAYSSOUND = true
  772. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  773. end
  774. EFFECT.Color = COLOR
  775. local MSH = nil
  776. if TYPE == "Sphere" then
  777. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  778. elseif TYPE == "Block" then
  779. MSH = IT("BlockMesh",EFFECT)
  780. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  781. elseif TYPE == "Wave" then
  782. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  783. elseif TYPE == "Ring" then
  784. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  785. elseif TYPE == "Slash" then
  786. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  787. elseif TYPE == "Round Slash" then
  788. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  789. elseif TYPE == "Swirl" then
  790. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  791. elseif TYPE == "Skull" then
  792. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  793. elseif TYPE == "Crystal" then
  794. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  795. end
  796. if MSH ~= nil then
  797. local MOVESPEED = nil
  798. if MOVEDIRECTION ~= nil then
  799. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  800. end
  801. local GROWTH = SIZE - ENDSIZE
  802. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  803. if TYPE == "Block" then
  804. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  805. else
  806. EFFECT.CFrame = CFRAME
  807. end
  808. for LOOP = 1, TIME+1 do
  809. Swait()
  810. MSH.Scale = MSH.Scale - GROWTH/TIME
  811. if TYPE == "Wave" then
  812. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  813. end
  814. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  815. if TYPE == "Block" then
  816. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  817. else
  818. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  819. end
  820. if MOVEDIRECTION ~= nil then
  821. local ORI = EFFECT.Orientation
  822. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  823. EFFECT.Orientation = ORI
  824. end
  825. end
  826. if PLAYSSOUND == false then
  827. EFFECT:remove()
  828. else
  829. repeat Swait() until SOUND.Playing == false
  830. EFFECT:remove()
  831. end
  832. else
  833. if PLAYSSOUND == false then
  834. EFFECT:remove()
  835. else
  836. repeat Swait() until SOUND.Playing == false
  837. EFFECT:remove()
  838. end
  839. end
  840. end))
  841. end
  842.  
  843. function MakeForm(PART,TYPE)
  844. if TYPE == "Cyl" then
  845. local MSH = IT("CylinderMesh",PART)
  846. elseif TYPE == "Ball" then
  847. local MSH = IT("SpecialMesh",PART)
  848. MSH.MeshType = "Sphere"
  849. elseif TYPE == "Wedge" then
  850. local MSH = IT("SpecialMesh",PART)
  851. MSH.MeshType = "Wedge"
  852. end
  853. end
  854.  
  855. Debris = game:GetService("Debris")
  856.  
  857. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  858. local DIRECTION = CF(StartPos,EndPos).lookVector
  859. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  860. end
  861.  
  862. function turnto(position)
  863. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  864. end
  865.  
  866. --//=================================\\
  867. --|| WEAPON CREATION
  868. --\\=================================//
  869.  
  870. Humanoid.Parent = nil
  871. RootPart.Size = RootPart.Size*SIZE
  872. Torso.Size = Torso.Size*SIZE
  873. RightArm.Size = RightArm.Size*SIZE
  874. RightLeg.Size = RightLeg.Size*SIZE
  875. LeftArm.Size = LeftArm.Size*SIZE
  876. LeftLeg.Size = LeftLeg.Size*SIZE
  877. RootJoint.C0 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  878. RootJoint.C1 = ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(0))
  879. Neck.C0 = NECKC0 * CF(0 * SIZE, 0 * SIZE, 0 + ((1 * SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  880. Neck.C1 = CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180))
  881. RightShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  882. LeftShoulder.C1 = CF(0 * SIZE, 0.5 * SIZE, -0.35 * SIZE)
  883. RightHip.C0 = CF(1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  884. LeftHip.C0 = CF(-1 * SIZE, -1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  885. RightHip.C1 = CF(0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  886. LeftHip.C1 = CF(-0.5 * SIZE, 1 * SIZE, 0 * SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  887. Head.Size = Head.Size*SIZE
  888. RootJoint.Parent = RootPart
  889. Neck.Parent = Torso
  890. RightShoulder.Parent = Torso
  891. LeftShoulder.Parent = Torso
  892. RightHip.Parent = Torso
  893. LeftHip.Parent = Torso
  894.  
  895. Humanoid.DisplayDistanceType = "None"
  896. local naeeym2 = IT("BillboardGui",Character)
  897. naeeym2.AlwaysOnTop = true
  898. naeeym2.Size = UDim2.new(5,35,2,15)
  899. naeeym2.StudsOffset = Vector3.new(0,2,0)
  900. naeeym2.MaxDistance = 75
  901. naeeym2.Adornee = Character.Head
  902. naeeym2.Name = "Name"
  903. local tecks2 = IT("TextLabel",naeeym2)
  904. tecks2.BackgroundTransparency = 1
  905. tecks2.TextScaled = true
  906. tecks2.BorderSizePixel = 0
  907. tecks2.Text = "Master of Time"
  908. tecks2.Font = "Fantasy"
  909. tecks2.TextSize = 30
  910. tecks2.TextStrokeTransparency = 0
  911. tecks2.TextColor3 = C3(0,0,0)
  912. tecks2.TextStrokeColor3 = C3(255/255, 255/255, 0/255)
  913. tecks2.Size = UDim2.new(1,0,0.5,0)
  914. tecks2.Parent = naeeym2
  915. local top = Instance.new("Shirt")
  916. top.ShirtTemplate = "rbxassetid://45695443"
  917. top.Parent = Character
  918. top.Name = "Cloth"
  919. local bottom = Instance.new("Pants")
  920. bottom.PantsTemplate = "rbxassetid://45696190"
  921. bottom.Parent = Character
  922. bottom.Name = "Cloth"
  923. local PRT = CreatePart(3, Weapon, "Fabric", 0, 0, "Really black", "Hat", VT(1,1,1),false)
  924. PRT.Color = C3(0,0,0)
  925. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.72*SIZE,0.1) * ANGLES(RAD(15), RAD(0), RAD(0)), CF(0, 0, 0))
  926. CreateMesh("SpecialMesh", PRT, "FileMesh", "26768040", "82907376", VT(1,1,1)*SIZE, VT(0,0,0))
  927. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Detail", VT(1,1,1),false)
  928. PRT.Color = C3(0,0,0)
  929. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  930. CreateMesh("SpecialMesh", PRT, "FileMesh", "13520257", "", VT(1,1,1)*SIZE, VT(0,0,0))
  931. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(1,1.2,0.2),false)
  932. PRT.Color = C3(255/255, 0/255, 0/255)
  933. MakeForm(PRT,"Ball")
  934. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0,-.5*SIZE), CF(0, 0, 0))
  935. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.4,0.5),false)
  936. PRT.Color = C3(255/255, 255/255, 0/255)
  937. MakeForm(PRT,"Ball")
  938. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,-0.3,-.5*SIZE), CF(0, 0, 0))
  939. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  940. PRT.Color = C3(255/255, 255/255, 0/255)
  941. MakeForm(PRT,"Ball")
  942. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  943. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.5,0.3,0.3),false)
  944. PRT.Color = C3(255/255, 255/255, 0/255)
  945. MakeForm(PRT,"Ball")
  946. local Aura = Instance.new('ParticleEmitter')
  947. Aura.Name = "Aura"
  948. Aura.Texture = "rbxassetid://131765579"
  949. Aura.Parent = PRT
  950. Aura.LightEmission = 0.3
  951. Aura.Transparency = NumberSequence.new(0,0.6,1)
  952. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(255/255, 0/255, 0/255))
  953. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  954. Aura.LockedToPart = false
  955. Aura.Lifetime = NumberRange.new(2)
  956. Aura.Rate = 30
  957. Aura.Speed = NumberRange.new(1)
  958. Aura.EmissionDirection = "Top"
  959. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.25,0.25,-.5*SIZE), CF(0, 0, 0))
  960. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  961. PRT.Color = C3(255/255, 255/255, 0/255)
  962. MakeForm(PRT,"Ball")
  963. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(-0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(15), RAD(0)), CF(0, 0, 0))
  964. local PRT = CreatePart(3, Character, "Neon", 0, 0, "Really black", "Detail", VT(0.4,0.4,0.3),false)
  965. PRT.Color = C3(255/255, 255/255, 0/255)
  966. MakeForm(PRT,"Ball")
  967. CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0.17,-0.25,-.5*SIZE) * ANGLES(RAD(-15), RAD(-15), RAD(0)), CF(0, 0, 0))
  968.  
  969. local LASTPART = Head
  970. for i = 1, 24 do
  971. local MATH = (1-(i/30))
  972. if LASTPART == Head then
  973. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  974. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(220), RAD(90)), CF(0, 0, 0))
  975. LASTPART = Horn
  976. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  977. local Aura = Instance.new('ParticleEmitter')
  978. Aura.Name = "Aura"
  979. Aura.Texture = "rbxassetid://242997264"
  980. Aura.Parent = Horn
  981. Aura.LightEmission = 0.8
  982. Aura.Transparency = NumberSequence.new(0,0.6,1)
  983. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  984. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  985. Aura.LockedToPart = true
  986. Aura.Lifetime = NumberRange.new(2)
  987. Aura.Rate = 25
  988. Aura.Speed = NumberRange.new(0.1)
  989. Aura.EmissionDirection = "Top"
  990. else
  991. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  992. 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))
  993. LASTPART = Horn
  994. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  995. local Aura = Instance.new('ParticleEmitter')
  996. Aura.Name = "Aura"
  997. Aura.Texture = "rbxassetid://242997264"
  998. Aura.Parent = Horn
  999. Aura.LightEmission = 0.8
  1000. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1001. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1002. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1003. Aura.LockedToPart = true
  1004. Aura.Lifetime = NumberRange.new(2)
  1005. Aura.Rate = 25
  1006. Aura.Speed = NumberRange.new(0.1)
  1007. Aura.EmissionDirection = "Top"
  1008. end
  1009. end
  1010. local LASTPART = Head
  1011. for i = 1, 24 do
  1012. local MATH = (1-(i/30))
  1013. if LASTPART == Head then
  1014. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1015. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.8, 0.3, -0.4) * ANGLES(RAD(-25), RAD(-220), RAD(-90)), CF(0, 0, 0))
  1016. LASTPART = Horn
  1017. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1018. local Aura = Instance.new('ParticleEmitter')
  1019. Aura.Name = "Aura"
  1020. Aura.Texture = "rbxassetid://242997264"
  1021. Aura.Parent = Horn
  1022. Aura.LightEmission = 0.8
  1023. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1024. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1025. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1026. Aura.LockedToPart = true
  1027. Aura.Lifetime = NumberRange.new(2)
  1028. Aura.Rate = 25
  1029. Aura.Speed = NumberRange.new(0.1)
  1030. Aura.EmissionDirection = "Top"
  1031. else
  1032. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1033. 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))
  1034. LASTPART = Horn
  1035. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1036. local Aura = Instance.new('ParticleEmitter')
  1037. Aura.Name = "Aura"
  1038. Aura.Texture = "rbxassetid://242997264"
  1039. Aura.Parent = Horn
  1040. Aura.LightEmission = 0.8
  1041. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1042. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1043. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1044. Aura.LockedToPart = true
  1045. Aura.Lifetime = NumberRange.new(2)
  1046. Aura.Rate = 25
  1047. Aura.Speed = NumberRange.new(0.1)
  1048. Aura.EmissionDirection = "Top"
  1049. end
  1050. end
  1051. local LASTPART = Head
  1052. for i = 1, 8 do
  1053. local MATH = (1-(i/14))
  1054. if LASTPART == Head then
  1055. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1056. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(250), RAD(90)), CF(0, 0, 0))
  1057. LASTPART = Horn
  1058. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1059. local Aura = Instance.new('ParticleEmitter')
  1060. Aura.Name = "Aura"
  1061. Aura.Texture = "rbxassetid://242997264"
  1062. Aura.Parent = Horn
  1063. Aura.LightEmission = 0.8
  1064. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1065. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1066. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1067. Aura.LockedToPart = true
  1068. Aura.Lifetime = NumberRange.new(2)
  1069. Aura.Rate = 25
  1070. Aura.Speed = NumberRange.new(0.1)
  1071. Aura.EmissionDirection = "Top"
  1072. else
  1073. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1074. 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))
  1075. LASTPART = Horn
  1076. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1077. local Aura = Instance.new('ParticleEmitter')
  1078. Aura.Name = "Aura"
  1079. Aura.Texture = "rbxassetid://242997264"
  1080. Aura.Parent = Horn
  1081. Aura.LightEmission = 0.8
  1082. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1083. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1084. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1085. Aura.LockedToPart = true
  1086. Aura.Lifetime = NumberRange.new(2)
  1087. Aura.Rate = 25
  1088. Aura.Speed = NumberRange.new(0.1)
  1089. Aura.EmissionDirection = "Top"
  1090. end
  1091. end
  1092. local LASTPART = Head
  1093. for i = 1, 8 do
  1094. local MATH = (1-(i/14))
  1095. if LASTPART == Head then
  1096. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1097. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.65, -0.3, -0.4) * ANGLES(RAD(-25), RAD(-250), RAD(-90)), CF(0, 0, 0))
  1098. LASTPART = Horn
  1099. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1100. local Aura = Instance.new('ParticleEmitter')
  1101. Aura.Name = "Aura"
  1102. Aura.Texture = "rbxassetid://242997264"
  1103. Aura.Parent = Horn
  1104. Aura.LightEmission = 0.8
  1105. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1106. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1107. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1108. Aura.LockedToPart = true
  1109. Aura.Lifetime = NumberRange.new(2)
  1110. Aura.Rate = 25
  1111. Aura.Speed = NumberRange.new(0.1)
  1112. Aura.EmissionDirection = "Top"
  1113. else
  1114. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Dirt brown", "Detail", VT(0.25*MATH,0.15,0.25*MATH),false)
  1115. 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))
  1116. LASTPART = Horn
  1117. Horn.Color = C3(1-((i*4-4)/255),1-((i*6-6)/255),0/255)
  1118. local Aura = Instance.new('ParticleEmitter')
  1119. Aura.Name = "Aura"
  1120. Aura.Texture = "rbxassetid://242997264"
  1121. Aura.Parent = Horn
  1122. Aura.LightEmission = 0.8
  1123. Aura.Transparency = NumberSequence.new(0,0.6,1)
  1124. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 255/255),Color3.new(0/255, 0/255, 0/255))
  1125. Aura.Size = NumberSequence.new(0.3,0.2,0.1)
  1126. Aura.LockedToPart = true
  1127. Aura.Lifetime = NumberRange.new(2)
  1128. Aura.Rate = 25
  1129. Aura.Speed = NumberRange.new(0.1)
  1130. Aura.EmissionDirection = "Top"
  1131. end
  1132. end
  1133. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(1.05,0.06,1.05)*SIZE,false)
  1134. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1135. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.5,0.1,0.5)*SIZE,false)
  1136. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1137. MakeForm(PRT,"Cyl")
  1138. local PRT = CreatePart(3, Weapon, "Neon", 0, 0, "Mid gray", "Watch", VT(0.45,0.11,0.45)*SIZE,false)
  1139. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, PRT, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1140. MakeForm(PRT,"Cyl")
  1141. PRT.Color = C3(255/255, 255/255, 0/255)
  1142. local RING = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0.055,0.15,0.055)*SIZE,false)
  1143. CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RING, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, -0.5*SIZE, 0))
  1144. MakeForm(RING,"Cyl")
  1145. RING.Color = C3(0,0,0)
  1146. for i = 1, 12 do
  1147. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0)*SIZE,false)
  1148. PRT.Color = C3(0,0,0)
  1149. local MSH = IT("BlockMesh",PRT)
  1150. MSH.Scale = VT(0.6,1,1)
  1151. 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))
  1152. end
  1153. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15)*SIZE,false)
  1154. PRT.Color = C3(0,0,0)
  1155. local MSH = IT("BlockMesh",PRT)
  1156. MSH.Scale = VT(0.4,1,1)
  1157. 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))
  1158. local PRT = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Watch", VT(0,0.15,0.15/1.5)*SIZE,false)
  1159. PRT.Color = C3(0,0,0)
  1160. local MSH = IT("BlockMesh",PRT)
  1161. MSH.Scale = VT(0.4,1,1)
  1162. 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))
  1163. coroutine.resume(coroutine.create(function()
  1164. while true do
  1165. Swait()
  1166. CLOCKLOOP = CLOCKLOOP - 1*CLOCKSPEED
  1167. WATCH1.C0 = Clerp(WATCH1.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5), RAD(0)), 1 / Animation_Speed)
  1168. WATCH2.C0 = Clerp(WATCH2.C0, CF(0,-0.5*SIZE,0) * ANGLES(RAD(90), RAD(CLOCKLOOP*5/2), RAD(0)), 1 / Animation_Speed)
  1169. if CLOCKLOOP <= -150 then
  1170. if VALUE1 == false then
  1171. CLOCKLOOP = 0
  1172. 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(255, 255, 0), SoundID = 743521450, SoundPitch = 1.2, SoundVolume = 2})
  1173. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1174. ApplyAoE(HITPOS,10,15,45,75,true)
  1175. 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(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  1176. 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(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 4})
  1177. if CLOCKTARGET ~= nil then
  1178. CLOCKTARGET.Health = CLOCKTARGET.Health - 20
  1179. if CLOCKTARGET.Torso ~= nil then
  1180. CLOCKTARGET.Torso.CFrame = CLOCKTARGET.Torso.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)))
  1181. end
  1182. if CLOCKTARGET.Health == 0 then
  1183. CLOCKTARGET = nil
  1184. end
  1185. end
  1186. end
  1187. end
  1188. end
  1189. end))
  1190.  
  1191. for _, c in pairs(Weapon:GetChildren()) do
  1192. if c.ClassName == "Part" then
  1193. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1194. end
  1195. end
  1196.  
  1197. Neck.Name = "Weld"
  1198. RootJoint.Name = "Weld"
  1199. RightShoulder.Name = "Weld"
  1200. LeftShoulder.Name = "Weld"
  1201. RightHip.Name = "Weld"
  1202. LeftHip.Name = "Weld"
  1203.  
  1204. local BODY = {}
  1205. for _, c in pairs(Character:GetDescendants()) do
  1206. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1207. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1208. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1209. end
  1210. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  1211. elseif c:IsA("JointInstance") then
  1212. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  1213. end
  1214. end
  1215. for e = 1, #BODY do
  1216. if BODY[e] ~= nil then
  1217. local STUFF = BODY[e]
  1218. local PART = STUFF[1]
  1219. local PARENT = STUFF[2]
  1220. local MATERIAL = STUFF[3]
  1221. local COLOR = STUFF[4]
  1222. local TRANSPARENCY = STUFF[5]
  1223. if PART.ClassName == "Part" and PART ~= RootPart then
  1224. PART.Material = MATERIAL
  1225. PART.Color = COLOR
  1226. PART.Transparency = TRANSPARENCY
  1227. end
  1228. PART.AncestryChanged:Connect(function()
  1229. PART.Parent = PARENT
  1230. end)
  1231. end
  1232. end
  1233.  
  1234. function refit()
  1235. Character.Parent = workspace
  1236. for e = 1, #BODY do
  1237. if BODY[e] ~= nil then
  1238. local STUFF = BODY[e]
  1239. local PART = STUFF[1]
  1240. local PARENT = STUFF[2]
  1241. local MATERIAL = STUFF[3]
  1242. local COLOR = STUFF[4]
  1243. local TRANSPARENCY = STUFF[5]
  1244. if PART.ClassName == "Part" and PART ~= RootPart then
  1245. PART.Material = MATERIAL
  1246. PART.Color = COLOR
  1247. PART.Transparency = TRANSPARENCY
  1248. end
  1249. if PART.Parent ~= PARENT then
  1250. Humanoid:remove()
  1251. PART.Parent = PARENT
  1252. Humanoid = IT("Humanoid",Character)
  1253. chatfunc ("I dont have time to die...")
  1254. end
  1255. end
  1256. end
  1257. end
  1258. local SKILLTEXTCOLOR = C3(255/255, 255/255, 0/255)
  1259. local SKILLFONT = "Fantasy"
  1260. local SKILLTEXTSIZE = 7
  1261.  
  1262. Weapon.Parent = Character
  1263. Humanoid.Parent = Character
  1264.  
  1265. Humanoid.Died:connect(function()
  1266. refit()
  1267. end)
  1268. chatfunc("Gentlemen, you just annoyed me")
  1269. warn("deivis97 edit")
  1270. 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")
  1271. 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")
  1272. 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")
  1273. 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")
  1274. 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")
  1275. local SKILL6FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 6 Frame")
  1276. local SKILL7FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.10, 0, 0.76, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 7 Frame")
  1277.  
  1278.  
  1279. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Nuke Missiles", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 1")
  1280. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Times up", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1281. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Chained Punch", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1282. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Warp Meteor", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 4")
  1283. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Pandora's Box", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 5")
  1284. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[G] Time Stop", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 6")
  1285. local SKILL6TEXT = CreateLabel(SKILL7FRAME, "[{1-5}] Musics [{6}] off", Color3.new(0/255, 0/255, 0/255), SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 7")
  1286.  
  1287. --//=================================\\
  1288. --|| DAMAGING
  1289. --\\=================================//
  1290.  
  1291. function ApplyDamage(Humanoid,Damage,TorsoPart)
  1292. local defence = Instance.new("BoolValue",Humanoid.Parent)
  1293. defence.Name = ("HitBy"..Player.Name)
  1294. game:GetService("Debris"):AddItem(defence, 0.001)
  1295. Damage = Damage * DAMAGEMULTIPLIER
  1296. if Humanoid.Health ~= 0 then
  1297. local CritChance = MRANDOM(1,100)
  1298. if Damage > Humanoid.Health then
  1299. Damage = math.ceil(Humanoid.Health)
  1300. if Damage == 0 then
  1301. Damage = 0.1
  1302. end
  1303. end
  1304. Humanoid.Health = Humanoid.Health - Damage
  1305. end
  1306. end
  1307.  
  1308. function ApplyAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1309. local CHILDREN = workspace:GetDescendants()
  1310. for index, CHILD in pairs(CHILDREN) do
  1311. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1312. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1313. if HUM then
  1314. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1315. if TORSO then
  1316. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1317. if INSTAKILL == false then
  1318. CHILD:BreakJoints()
  1319. else
  1320. local DMG = MRANDOM(MINDMG,MAXDMG)
  1321. ApplyDamage(HUM,DMG,TORSO)
  1322. end
  1323. if FLING > 0 then
  1324. for _, c in pairs(CHILD:GetChildren()) do
  1325. if c:IsA("BasePart") then
  1326. local bv = Instance.new("BodyVelocity")
  1327. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1328. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1329. bv.Parent = c
  1330. Debris:AddItem(bv,0.05)
  1331. end
  1332. end
  1333. end
  1334. end
  1335. end
  1336. end
  1337. end
  1338. end
  1339. end
  1340.  
  1341. --//=================================\\
  1342. --|| ATTACK FUNCTIONS AND STUFF
  1343. --\\=================================//
  1344.  
  1345. Circle = nil
  1346. CircleParts = {}
  1347. Equipped = false
  1348.  
  1349. function RayCast(Position, Direction, MaxDistance, IgnoreList)
  1350. return game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(Position, Direction.unit * (MaxDistance or 999.999)), IgnoreList)
  1351. end
  1352. Equipped = true
  1353. Circle = Instance.new("Model")
  1354. Circle.Name = "Circle"
  1355. Angle = 0
  1356. for i = 1, 1 do
  1357. local CirclePart = Instance.new("Part")
  1358. CirclePart.Name = "CirclePart"
  1359. CirclePart.Transparency = 1
  1360. CirclePart.BrickColor = BrickColor.new("Really black")
  1361. CirclePart.Material = Enum.Material.Plastic
  1362. CirclePart.Shape = Enum.PartType.Block
  1363. CirclePart.FormFactor = Enum.FormFactor.Custom
  1364. CirclePart.TopSurface = Enum.SurfaceType.Smooth
  1365. CirclePart.BottomSurface = Enum.SurfaceType.Smooth
  1366. CirclePart.Anchored = true
  1367. CirclePart.CanCollide = false
  1368. CirclePart.Locked = true
  1369. CirclePart.Size = Vector3.new(10, 0.2, 10)
  1370. local Aura = Instance.new('ParticleEmitter')
  1371. Aura.Name = "Aura"
  1372. Aura.Texture = "rbxassetid://641078192"
  1373. Aura.Parent = CirclePart
  1374. Aura.LightEmission = 0
  1375. Aura.Transparency = NumberSequence.new(0.2,0.4,1)
  1376. Aura.Color = ColorSequence.new(Color3.new(255/255, 255/255, 0/255),Color3.new(255/200, 200/200, 200/200))
  1377. Aura.Size = NumberSequence.new(0.9,0.5,0.3)
  1378. Aura.LockedToPart = false
  1379. Aura.Lifetime = NumberRange.new(1)
  1380. Aura.Rate = 50
  1381. Aura.Speed = NumberRange.new(2.5)
  1382. Aura.SpreadAngle = Vector2.new(80,80)
  1383. local BlockMesh = Instance.new("BlockMesh")
  1384. BlockMesh.Scale = Vector3.new(1, (1 + (0.005 * i)), 1)
  1385. BlockMesh.Parent = CirclePart
  1386. CirclePart.Parent = Circle
  1387. local Star = Instance.new("Decal", CirclePart)
  1388. Star.Texture = "http://www.roblox.com/asset/?id=253215684"
  1389. Star.Face = "Top"
  1390. local Light = Instance.new("PointLight", CirclePart)
  1391. Light.Color = Color3.new(.20,0,0)
  1392. Light.Brightness = 100
  1393. Light.Range = 15
  1394. table.insert(CircleParts, CirclePart)
  1395. end
  1396. Spawn(function()
  1397. while Equipped and Humanoid.Parent and Torso.Parent do
  1398. if Angle == 360 then
  1399. Angle = 0
  1400. end
  1401. Angle = Angle + 0.05
  1402. local Hit, EndPosition = RayCast(Torso.Position, Vector3.new(0, -1, 0), (Torso.Size.Y * 6.5), {Character})
  1403. if Hit then
  1404. if not Circle.Parent then
  1405. Circle.Parent = Character
  1406. end
  1407. for i, v in pairs(CircleParts) do
  1408. v.CFrame = CFrame.new(Torso.Position.X, EndPosition.Y, Torso.Position.Z) * CFrame.Angles(0, (Angle + i), 0)
  1409. end
  1410. else
  1411. Circle.Parent = nil
  1412. end
  1413. wait()
  1414. end
  1415. end)
  1416.  
  1417.  
  1418.  
  1419. function MagicMissiles()
  1420. ATTACK = true
  1421. Rooted = false
  1422. local SELECTING = true
  1423. local SPOTS = {}
  1424. coroutine.resume(coroutine.create(function()
  1425. local LOOP = 0
  1426. repeat
  1427. LOOP = LOOP + 1
  1428. Swait()
  1429. if LOOP >= 15 then
  1430. LOOP = 0
  1431. for i = 1, #SPOTS do
  1432. if SPOTS[i] ~= nil then
  1433. 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(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1434. 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(255, 255, 0), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1435. end
  1436. end
  1437. end
  1438. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1439. 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)
  1440. 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)
  1441. 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)
  1442. 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)
  1443. 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)
  1444. until SELECTING == false
  1445. Rooted = false
  1446. repeat
  1447. LOOP = LOOP + 1
  1448. Swait()
  1449. if LOOP >= 15 then
  1450. LOOP = 0
  1451. for i = 1, #SPOTS do
  1452. if SPOTS[i] ~= nil then
  1453. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1454. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1455. end
  1456. end
  1457. end
  1458. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. until ATTACK == false
  1465. end))
  1466. repeat
  1467. repeat Swait() until HOLD == true
  1468. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1469. if DIST > 9999 then
  1470. DIST = 9999
  1471. end
  1472. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1473. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1474. if HITFLOOR ~= nil then
  1475. table.insert(SPOTS,CF(HITPOS,HITPOS+NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0)))
  1476. 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(255/255, 255/255, 0/255), SoundID = 90655239, SoundPitch = 1, SoundVolume = 6})
  1477. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1478. end
  1479. repeat Swait() until HOLD == false
  1480. until #SPOTS == 5
  1481. SELECTING = false
  1482. for i = 1, #SPOTS do
  1483. if SPOTS[i] ~= nil then
  1484. local POS = SPOTS[i]
  1485. coroutine.resume(coroutine.create(function()
  1486. local MISSILE = IT("Model",Effects)
  1487. MISSILE.Name = "Missile"
  1488. local BASEPART = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,2,2))
  1489. MakeForm(BASEPART,"Cyl")
  1490. MISSILE.PrimaryPart = BASEPART
  1491. BASEPART.CFrame = POS*CF(0,-30*3,0)
  1492. local HEAD = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2,4,2))
  1493. MakeForm(HEAD,"Ball")
  1494. HEAD.CFrame = BASEPART.CFrame*CF(0,1,0)
  1495. local TAIL = CreatePart(3, MISSILE, "Neon", 0, 1, "Lime green", "Part", VT(2.5,0.1,2.5))
  1496. MakeForm(TAIL,"Cyl")
  1497. TAIL.CFrame = BASEPART.CFrame*CF(0,-1,0)
  1498. chatfunc("you like nukes?")
  1499. for i = 1, 15 do
  1500. Swait()
  1501. for _, c in pairs(MISSILE:GetChildren()) do
  1502. if c.ClassName == "Part" then
  1503. c.Transparency = c.Transparency - 1/10
  1504. end
  1505. end
  1506. end
  1507. for i = 1, 15*1.5 do
  1508. Swait()
  1509. MISSILE:SetPrimaryPartCFrame(BASEPART.CFrame*CF(0,1.35*3,0))
  1510. end
  1511. ApplyAoE(BASEPART.CFrame.p,200,350,450,750,true)
  1512. WACKYEFFECT({Time = 25, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(750,350,750), Transparency = 0.5, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 1.2, SoundVolume = 4})
  1513. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(350,350,350), Transparency = 0, Transparency2 = 1, CFrame = BASEPART.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0/255, 255/255, 0/255), SoundID = 165970126, SoundPitch = MRANDOM(13,15)/10, SoundVolume = 4})
  1514. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(220,2,220), 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(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1515. WACKYEFFECT({Time = 45, EffectType = "Wave", Size = VT(0,0,0)*SIZE, Size2 = VT(200,3,200), 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(0/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1516. MISSILE:remove()
  1517. end))
  1518. end
  1519. end
  1520. wait(0.6)
  1521. ATTACK = false
  1522. Rooted = false
  1523. end
  1524.  
  1525. function TimesUp()
  1526. CLOCKTARGET = nil
  1527. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  1528. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  1529. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  1530. if TORSO then
  1531. ATTACK = true
  1532. Rooted = false
  1533. coroutine.resume(coroutine.create(function()
  1534. repeat
  1535. Swait()
  1536. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1537. 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)
  1538. 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)
  1539. 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)
  1540. 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)
  1541. 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)
  1542. until ATTACK == false
  1543. end))
  1544. if Effects:FindFirstChild("NeonDoll") then
  1545. repeat Swait() until Effects:FindFirstChild("NeonDoll") == nil
  1546. end
  1547. wait(0.5)
  1548. local FAKECHARACTER = IT("Model",Effects)
  1549. FAKECHARACTER.Name = "NeonDoll"
  1550. local TORS = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.3,0.3,0.15),false)
  1551. CreateWeldOrSnapOrMotor("Weld", RING, RING, TORS, CF(0,0.6,0), CF(0,0,0))
  1552. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1553. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0,0.15,0))
  1554. local LEG = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1555. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, LEG, CF(-0.15/2,-0.15,0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0,0.15,0))
  1556. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1557. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(90)), CF(0,0.15,0))
  1558. local ARM = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.3,0.15),false)
  1559. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, ARM, CF(-0.15,0.15/2,0) * ANGLES(RAD(0), RAD(0), RAD(-90)), CF(0,0.15,0))
  1560. local HEAD = CreatePart(3, FAKECHARACTER, "Neon", 0, 1, "Cool yellow", "Part", VT(0.15,0.15,0.15),false)
  1561. CreateWeldOrSnapOrMotor("Weld", TORS, TORS, HEAD, CF(0,0.225,0), CF(0,0,0))
  1562. CreateSound(201858045, TORS, 5, 0.4, false)
  1563. for i = 1, 50 do
  1564. Swait()
  1565. CLOCKSPEED = 2.5
  1566. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1567. if c.ClassName == "Part" then
  1568. c.Transparency = c.Transparency - 0.5/150
  1569. end
  1570. end
  1571. end
  1572. CLOCKTARGET = HUM
  1573. coroutine.resume(coroutine.create(function()
  1574. repeat Swait() CLOCKSPEED = 2 until CLOCKTARGET == nil
  1575. for i = 1, 25 do
  1576. Swait()
  1577. for _, c in pairs(FAKECHARACTER:GetChildren()) do
  1578. if c.ClassName == "Part" then
  1579. c.Transparency = c.Transparency + 0.5/25
  1580. end
  1581. end
  1582. end
  1583. CLOCKSPEED = 4
  1584. FAKECHARACTER:remove()
  1585. end))
  1586. wait(0.5)
  1587. ATTACK = false
  1588. Rooted = false
  1589. end
  1590. end
  1591. end
  1592.  
  1593. function ChainPunch()
  1594. ATTACK = true
  1595. Rooted = false
  1596. local GYRO = IT("BodyGyro",RootPart)
  1597. GYRO.D = 25
  1598. GYRO.P = 2000
  1599. GYRO.MaxTorque = VT(0,40000,0)
  1600. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1601. repeat
  1602. Swait()
  1603. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1604. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1605. 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)
  1606. 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)
  1607. 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)
  1608. 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)
  1609. 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)
  1610. until HOLD == true
  1611. local POS = Mouse.Hit.p
  1612. local CHAINS = false
  1613. local CHAINLINKS = {}
  1614. local A = IT("Attachment",RightArm)
  1615. A.Position = VT(1,-1,0)*SIZE
  1616. A.Orientation = VT(-90, -89.982, 0)
  1617. local B = IT("Attachment",RightArm)
  1618. B.Position = VT(-1,-1,0)*SIZE
  1619. B.Orientation = VT(-90, 89.988, 0)
  1620. local C = IT("Attachment",RightArm)
  1621. C.Position = VT(0.5,-1.3,0)*SIZE
  1622. C.Orientation = VT(-90, -89.982, 0)
  1623. local D = IT("Attachment",RightArm)
  1624. D.Position = VT(-0.5,-1.3,0)*SIZE
  1625. D.Orientation = VT(-90, 89.988, 0)
  1626. local LIGHT = IT("Attachment",RightArm)
  1627. LIGHT.Position = VT(0,-1,0)*SIZE
  1628. local LIGHT2 = IT("PointLight",LIGHT)
  1629. LIGHT2.Range = 7
  1630. LIGHT2.Brightness = 5
  1631. LIGHT2.Color = SKILLTEXTCOLOR
  1632. chatfunc("Falcon...")
  1633. for i = 1, 2 do
  1634. local TWIST = -2
  1635. local START = A
  1636. local END = B
  1637. if i == 1 then
  1638. START = B
  1639. END = A
  1640. end
  1641. local ChainLink = IT("Beam",Torso)
  1642. ChainLink.Texture = "rbxassetid://73042633"
  1643. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1644. ChainLink.TextureSpeed = 1
  1645. ChainLink.Width0 = 1
  1646. ChainLink.Width1 = 1
  1647. ChainLink.TextureLength = 2.5
  1648. ChainLink.Attachment0 = START
  1649. ChainLink.Attachment1 = END
  1650. ChainLink.CurveSize0 = TWIST
  1651. ChainLink.CurveSize1 = TWIST
  1652. --ChainLink.FaceCamera = true
  1653. ChainLink.Segments = 45
  1654. ChainLink.Transparency = NumberSequence.new(1)
  1655. table.insert(CHAINLINKS,ChainLink)
  1656. end
  1657. for i = 1, 2 do
  1658. local TWIST = -1
  1659. local START = C
  1660. local END = D
  1661. if i == 1 then
  1662. START = D
  1663. END = C
  1664. end
  1665. local ChainLink = IT("Beam",Torso)
  1666. ChainLink.Texture = "rbxassetid://73042633"
  1667. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1668. ChainLink.TextureSpeed = 1
  1669. ChainLink.Width0 = 1
  1670. ChainLink.Width1 = 1
  1671. ChainLink.TextureLength = 5
  1672. ChainLink.Attachment0 = START
  1673. ChainLink.Attachment1 = END
  1674. ChainLink.CurveSize0 = TWIST
  1675. ChainLink.CurveSize1 = TWIST
  1676. --ChainLink.FaceCamera = true
  1677. ChainLink.Segments = 25
  1678. ChainLink.LightEmission = 0.5
  1679. ChainLink.Transparency = NumberSequence.new(1)
  1680. table.insert(CHAINLINKS,ChainLink)
  1681. end
  1682. coroutine.resume(coroutine.create(function()
  1683. repeat
  1684. Swait()
  1685. 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)
  1686. 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)
  1687. 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)
  1688. 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)
  1689. 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)
  1690. 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)
  1691. until CHAINS == true
  1692. repeat
  1693. Swait()
  1694. 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)
  1695. 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)
  1696. 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)
  1697. 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)
  1698. 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)
  1699. 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)
  1700. until ATTACK == false
  1701. for e = 1, 15 do
  1702. Swait()
  1703. chatfunc("PUNCH!!!")
  1704. for i = 1, #CHAINLINKS do
  1705. CHAINLINKS[i].Transparency = NumberSequence.new((e/15))
  1706. end
  1707. end
  1708. A:remove()
  1709. B:remove()
  1710. C:remove()
  1711. D:remove()
  1712. end))
  1713. CreateSound(233856115, RightArm, 5, 1.2, false)
  1714. for e = 1, 15 do
  1715. Swait()
  1716. for i = 1, #CHAINLINKS do
  1717. CHAINLINKS[i].Transparency = NumberSequence.new(1-(e/15))
  1718. end
  1719. end
  1720. CHAINS = true
  1721. Rooted = true
  1722. wait(0.25)
  1723. local FIST = CreatePart(3, Effects, "Neon", 0, 0.5, "New Yeller", "Part", VT(2,2,2))
  1724. FIST.Color = C3(1, 215/255, 1)
  1725. FIST.CFrame = CF(RightArm.CFrame*CF(0,-1.3*SIZE,0).p,POS) * ANGLES(RAD(90), RAD(0), RAD(0))
  1726. local LIGHT3 = IT("PointLight",FIST)
  1727. LIGHT3.Range = 7
  1728. LIGHT3.Brightness = 5
  1729. LIGHT3.Color = SKILLTEXTCOLOR
  1730. CreateMesh("SpecialMesh", FIST, "FileMesh", "90718752", "", VT(10,10,10), VT(0,0,0))
  1731. local FISTA = IT("Attachment",FIST)
  1732. FISTA.Position = VT(0.062, 0.977, 0)
  1733. local ChainLink = IT("Beam",Torso)
  1734. ChainLink.Texture = "rbxassetid://73042633"
  1735. ChainLink.Color = ColorSequence.new(SKILLTEXTCOLOR)
  1736. ChainLink.TextureSpeed = 2
  1737. ChainLink.Width0 = 3
  1738. ChainLink.Width1 = 3
  1739. ChainLink.TextureLength = 12
  1740. ChainLink.Attachment0 = LIGHT
  1741. ChainLink.Attachment1 = FISTA
  1742. ChainLink.FaceCamera = true
  1743. ChainLink.Segments = 45
  1744. ChainLink.LightEmission = 0.5
  1745. ChainLink.Transparency = NumberSequence.new(0.25)
  1746. local FISTSOUND = CreateSound(288641686, FIST, 5, 1.2, false)
  1747. for i = 1, 85 do
  1748. Swait()
  1749. FIST.CFrame = FIST.CFrame*CF(0,-2,0)
  1750. ChainLink.TextureLength = 12+(i*2)
  1751. ApplyAoE(FIST.Position,10,15,25,100,true)
  1752. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1753. local HITFLOOR = Raycast(FIST.Position, (CF(FIST.Position, FIST.CFrame*CF(0,-1,0).p)).lookVector, 2.1, Character)
  1754. if HITFLOOR ~= nil then
  1755. HITFLOOR:BreakJoints()
  1756. coroutine.resume(coroutine.create(function()
  1757. for i = 1, 15 do
  1758. Swait()
  1759. FISTSOUND.Volume = FISTSOUND.Volume - 0.15
  1760. ApplyAoE(FIST.Position,10+(i*2),5,15,5,true)
  1761. 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(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1762. end
  1763. end))
  1764. break
  1765. end
  1766. end
  1767. coroutine.resume(coroutine.create(function()
  1768. for i = 1, 50 do
  1769. Swait()
  1770. FIST.Transparency = FIST.Transparency + 0.5/50
  1771. LIGHT3.Range = LIGHT3.Range - 7/50
  1772. end
  1773. FIST:remove()
  1774. end))
  1775. LIGHT:remove()
  1776. GYRO:remove()
  1777. ATTACK = false
  1778. Rooted = false
  1779. end
  1780.  
  1781. function WarpMeteor()
  1782. local DIST = (RootPart.Position - Mouse.Hit.p).Magnitude
  1783. if DIST > 9999 then
  1784. DIST = 9999
  1785. end
  1786. local RAY,RAYPOS = Raycast(RootPart.Position, (CF(RootPart.Position, Mouse.Hit.p)).lookVector, DIST, workspace)
  1787. local HITFLOOR,HITPOS,NORMAL = Raycast(RAYPOS+VT(0,45,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 75*SIZE, Character)
  1788. if HITFLOOR then
  1789. local POS = HITPOS
  1790. ATTACK = true
  1791. Rooted = false
  1792. local WARPED = false
  1793. local SMASHED = false
  1794. local HITFLOOR,HITPOS,NORMAL = Raycast(RootPart.Position+VT(0,1,0), (CF(RAYPOS, RAYPOS + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  1795. coroutine.resume(coroutine.create(function()
  1796. repeat
  1797. Swait()
  1798. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1799. 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)
  1800. 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)
  1801. 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)
  1802. 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)
  1803. 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)
  1804. until WARPED == true
  1805. repeat
  1806. Swait()
  1807. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1808. 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)
  1809. 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)
  1810. 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)
  1811. 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)
  1812. 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)
  1813. until SMASHED == true
  1814. repeat
  1815. Swait()
  1816. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  1817. 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)
  1818. 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)
  1819. 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)
  1820. 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)
  1821. 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)
  1822. until ATTACK == false
  1823. end))
  1824. VALUE1 = true
  1825. CreateSound(233856115, Torso, 5, 1.6, false)
  1826. chatfunc("This hurt more than you think")
  1827. for i = 1, 25 do
  1828. Swait()
  1829. for _, c in pairs(Character:GetChildren()) do
  1830. if c.ClassName == "Part" then
  1831. c.Transparency = c.Transparency + 1/25
  1832. end
  1833. end
  1834. for _, c in pairs(Weapon:GetChildren()) do
  1835. if c.ClassName == "Part" then
  1836. c.Transparency = c.Transparency + 1/25
  1837. end
  1838. end
  1839. end
  1840. UNANCHOR = false
  1841. RootPart.Anchored = true
  1842. RootPart.Velocity = VT(0,0,0)
  1843. local ROOTPOS = RootPart.Position
  1844. RootPart.CFrame = CF(POS+VT(0,300,0),VT(ROOTPOS.X,POS.Y+300,ROOTPOS.Z))
  1845. WARPED = true
  1846. for i = 1, 25 do
  1847. Swait()
  1848. for _, c in pairs(Character:GetChildren()) do
  1849. if c.ClassName == "Part" then
  1850. c.Transparency = c.Transparency - 1/25
  1851. end
  1852. end
  1853. for _, c in pairs(Weapon:GetChildren()) do
  1854. if c.ClassName == "Part" then
  1855. c.Transparency = c.Transparency - 1/25
  1856. end
  1857. end
  1858. end
  1859. local SHELL = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Part", VT(0,0,0))
  1860. SHELL.CFrame = RootPart.CFrame
  1861. MakeForm(SHELL,"Ball")
  1862. CreateSound(402981977, SHELL, 5, 1.6, false)
  1863. for i = 1, 10 do
  1864. Swait()
  1865. SHELL.Transparency = SHELL.Transparency - 1/10
  1866. SHELL.Size = SHELL.Size + VT(0.6,0.6,0.6)*1.8
  1867. end
  1868. for i = 1, math.ceil(75/2) do
  1869. Swait()
  1870. RootPart.CFrame = RootPart.CFrame*CF(0,-3.5*2,0)
  1871. SHELL.CFrame = CF(RootPart.Position)
  1872. WACKYEFFECT({Time = 5, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(5,3,5), Transparency = 0.5, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = SHELL.Position+VT(0,15,0), RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1873. end
  1874. RootPart.CFrame = CF(POS+VT(0,1,0),VT(ROOTPOS.X,HITPOS.Y+1,ROOTPOS.Z))
  1875. SHELL.CFrame = CF(RootPart.Position)
  1876. WACKYEFFECT({Time = 45, EffectType = "Sphere", Size = SHELL.Size, Size2 = VT(35,35,35)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = 165970126, SoundPitch = 0.75, SoundVolume = 6})
  1877. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*3.8, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1878. WACKYEFFECT({Time = 55, EffectType = "Wave", Size = VT(SHELL.Size.X,5,SHELL.Size.Z), Size2 = VT(45,3,45)*4, Transparency = 0, Transparency2 = 1, CFrame = SHELL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = SHELL.Color, SoundID = nil, SoundPitch = 0.75, SoundVolume = 6})
  1879. for i = 1, 5 do
  1880. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(5,0,5)*SIZE, Size2 = VT(35,3,35)*4, Transparency = 0.5, Transparency2 = 1, CFrame = RootPart.CFrame * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(255/255, 255/255, 0/255), SoundID = nil, SoundPitch = 0.5, SoundVolume = 6})
  1881. end
  1882. SHELL:remove()
  1883. ApplyAoE(RootPart.Position,75,35,75,175,true)
  1884. SMASHED = true
  1885. wait(1)
  1886. VALUE1 = false
  1887. UNANCHOR = true
  1888. ATTACK = false
  1889. Rooted = false
  1890. end
  1891. end
  1892.  
  1893. function PandorasBox()
  1894. 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)
  1895. if HITFLOOR ~= nil then
  1896. ATTACK = false
  1897. Rooted = false
  1898. local RINGSPIN = true
  1899. local CONSTRUCTING = true
  1900. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  1901. RING.Color = C3(0,0,0)
  1902. MakeForm(RING,"Cyl")
  1903. RING.CFrame = CF(HITPOS)
  1904. CreateSound(402981977, RING, 5, 1.2, false)
  1905. coroutine.resume(coroutine.create(function()
  1906. repeat
  1907. Swait()
  1908. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1909. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1910. 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)
  1911. 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)
  1912. 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)
  1913. 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)
  1914. 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)
  1915. until CONSTRUCTING == false
  1916. repeat
  1917. Swait()
  1918. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1919. until RINGSPIN == false
  1920. for i = 1, 25 do
  1921. Swait()
  1922. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1923. RING.Size = RING.Size - VT(0.15,0,0.15)
  1924. --DECAL.Transparency = DECAL.Transparency + 1/25
  1925. RING.Transparency = RING.Transparency + 1/25
  1926. end
  1927. RING:remove()
  1928. end))
  1929. for i = 1, 15 do
  1930. Swait()
  1931. RING.Size = RING.Size + VT(0.75,0,0.75)
  1932. RING.Transparency = RING.Transparency - 1/15
  1933. end
  1934. chatfunc("let's see your prize...")
  1935. local BOXSPIN = true
  1936. local PANDORASBOX = IT("Model",Effects)
  1937. PANDORASBOX.Name = "Pandora's Box"
  1938. local BOX = IT("Model",PANDORASBOX)
  1939. BOX.Name = "Body"
  1940. local LID = IT("Model",PANDORASBOX)
  1941. LID.Name = "Lid"
  1942. --BUILDING THE BOX--
  1943. local BASE = CreatePart(3, BOX, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  1944. BASE.Color = C3(0,0,0)
  1945. PANDORASBOX.PrimaryPart = BASE
  1946. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1947. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1948. WOOD.CFrame = BASE.CFrame*CF(1,0,1)
  1949. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1950. WOOD.CFrame = BASE.CFrame*CF(1,0,-1)
  1951. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1952. WOOD.CFrame = BASE.CFrame*CF(-1,0,1)
  1953. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,1.9,0.2))
  1954. WOOD.CFrame = BASE.CFrame*CF(-1,0,-1)
  1955. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1956. WOOD.CFrame = BASE.CFrame*CF(0,0.9,1)
  1957. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1958. WOOD.CFrame = BASE.CFrame*CF(0,0.9,-1)
  1959. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1960. WOOD.CFrame = BASE.CFrame*CF(1,0.9,0)
  1961. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1962. WOOD.CFrame = BASE.CFrame*CF(-1,0.9,0)
  1963. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1964. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,1)
  1965. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1966. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,-1)
  1967. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1968. WOOD.CFrame = BASE.CFrame*CF(1,-0.9,0)
  1969. local WOOD = CreatePart(3, BOX, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1970. WOOD.CFrame = BASE.CFrame*CF(-1,-0.9,0)
  1971. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1972. WOOD.CFrame = BASE.CFrame*CF(0,0,1)
  1973. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,1.9,0.1))
  1974. WOOD.CFrame = BASE.CFrame*CF(0,0,-1)
  1975. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1976. WOOD.CFrame = BASE.CFrame*CF(1,0,0)
  1977. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(0.1,1.9,2.1))
  1978. WOOD.CFrame = BASE.CFrame*CF(-1,0,0)
  1979. local WOOD = CreatePart(3, BOX, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1980. WOOD.CFrame = BASE.CFrame*CF(0,-0.9,0)
  1981. -------------
  1982. local LIDPART = CreatePart(3, LID, "Marble", 0, 0, "Really black", "Marble", VT(2.1,0.1,2.1))
  1983. LIDPART.CFrame = BASE.CFrame*CF(0,1,0)
  1984. LID.PrimaryPart = LIDPART
  1985. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1986. WOOD.CFrame = LIDPART.CFrame*CF(0,0,-1)
  1987. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(2.1,0.2,0.2))
  1988. WOOD.CFrame = LIDPART.CFrame*CF(0,0,1)
  1989. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1990. WOOD.CFrame = LIDPART.CFrame*CF(1,0,0)
  1991. local WOOD = CreatePart(3, LID, "Neon", 0, 0, "Bright yellow", "Marble", VT(0.2,0.2,2.1))
  1992. WOOD.CFrame = LIDPART.CFrame*CF(-1,0,0)
  1993. local DECAL = IT("Decal",LIDPART)
  1994. DECAL.Face = "Top"
  1995. DECAL.Texture = "http://www.roblox.com/asset/?id=1501226061"
  1996. DECAL.Color3 = C3(0,0,0)
  1997. --BUILDING THE BOX--
  1998. coroutine.resume(coroutine.create(function()
  1999. repeat
  2000. Swait()
  2001. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * ANGLES(RAD(0), RAD(2.45), RAD(0)))
  2002. until BOXSPIN == false
  2003. end))
  2004. for i = 1, 25 do
  2005. Swait()
  2006. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,1.5-(i/12.5),0))
  2007. end
  2008. wait(0.5)
  2009. BOXSPIN = false
  2010. CONSTRUCTING = false
  2011. coroutine.resume(coroutine.create(function()
  2012. 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})
  2013. --[[for i = 1, 45 do
  2014. Swait()
  2015. LID:SetPrimaryPartCFrame(LIDPART.CFrame * CF(0,1.5-(i/12.5),0.5) * ANGLES(RAD(0.7), RAD(0), RAD(0)))
  2016. end-
  2017. LID:remove()]]--
  2018. for _, c in pairs(LID:GetChildren()) do
  2019. if c.ClassName == "Part" then
  2020. c.Anchored = false
  2021. c.CanCollide = true
  2022. if c ~= LIDPART then
  2023. weldBetween(LIDPART,c)
  2024. end
  2025. end
  2026. end
  2027. LIDPART.Velocity = CF(LIDPART.Position,LIDPART.CFrame*CF(15,25,0).p).lookVector*65
  2028. Debris:AddItem(LID,15)
  2029. wait(0.5)
  2030. local RANDOMEFFECT = MRANDOM(1,4)
  2031. if RANDOMEFFECT == 1 then
  2032. for i = 1, 45 do
  2033. wait((2-(i/15))/15)
  2034. 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})
  2035. end
  2036. wait(1)
  2037. 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})
  2038. 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})
  2039. 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})
  2040. for i = 1, 5 do
  2041. 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})
  2042. end
  2043. ApplyAoE(BASE.Position,50,1,200,375,true)
  2044. ApplyAoE(BASE.Position,250,35,75,175,true)
  2045. elseif RANDOMEFFECT == 2 then
  2046. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2047. FIELD.CFrame = BASE.CFrame
  2048. MakeForm(FIELD,"Ball")
  2049. for i = 1, 50 do
  2050. Swait()
  2051. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2052. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2053. end
  2054. wait(0.2)
  2055. local LOOP = CreateSound(1393698948, FIELD, 0, 1.2, true)
  2056. coroutine.resume(coroutine.create(function()
  2057. for i = 1, 75 do
  2058. Swait()
  2059. LOOP.Volume = LOOP.Volume + 10/75
  2060. LOOP.Parent = FIELD
  2061. local CHILDREN = workspace:GetDescendants()
  2062. for index, CHILD in pairs(CHILDREN) do
  2063. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2064. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2065. if HUM then
  2066. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2067. if TORSO then
  2068. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2069. HUM.Health = HUM.Health - 1.5
  2070. TORSO.Velocity = VT(0,5,0)
  2071. HUM.PlatformStand = true
  2072. if TORSO.RotVelocity.Magnitude < 15 then
  2073. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2074. end
  2075. end
  2076. end
  2077. end
  2078. end
  2079. end
  2080. FIELD.Size = FIELD.Size + VT(9,9,9)
  2081. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2082. end
  2083. for i = 1, 500 do
  2084. Swait()
  2085. LOOP.Parent = FIELD
  2086. local CHILDREN = workspace:GetDescendants()
  2087. for index, CHILD in pairs(CHILDREN) do
  2088. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2089. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2090. if HUM then
  2091. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2092. if TORSO then
  2093. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2094. TORSO.Velocity = VT(0,5,0)
  2095. HUM.Health = HUM.Health - 1.5
  2096. HUM.PlatformStand = true
  2097. if TORSO.RotVelocity.Magnitude < 15 then
  2098. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2099. end
  2100. end
  2101. end
  2102. end
  2103. end
  2104. end
  2105. end
  2106. for i = 1, 25 do
  2107. Swait()
  2108. LOOP.Volume = LOOP.Volume + 10/25
  2109. LOOP.Parent = FIELD
  2110. local CHILDREN = workspace:GetDescendants()
  2111. for index, CHILD in pairs(CHILDREN) do
  2112. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2113. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2114. if HUM then
  2115. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2116. if TORSO then
  2117. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2118. TORSO.Velocity = VT(0,5,0)
  2119. HUM.Health = HUM.Health - 1.5
  2120. HUM.PlatformStand = false
  2121. if TORSO.RotVelocity.Magnitude < 15 then
  2122. TORSO.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))
  2123. end
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end
  2129. FIELD.Size = FIELD.Size - VT(3,3,3)
  2130. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2131. end
  2132. FIELD:remove()
  2133. end))
  2134. elseif RANDOMEFFECT == 3 then
  2135. for i = 1, 10 do
  2136. wait(0.15)
  2137. 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})
  2138. coroutine.resume(coroutine.create(function()
  2139. local MINION = CLONE:Clone()
  2140. MINION.Parent = Effects
  2141. MINION.Name = "Shadow"
  2142. MINION.HumanoidRootPart.CFrame = BASE.CFrame*CF(0,5,0) * ANGLES(RAD(0), RAD(MRANDOM(0,360)), RAD(0))
  2143. MINION.HumanoidRootPart.Velocity = CF(MINION.HumanoidRootPart.Position,MINION.HumanoidRootPart.CFrame*CF(0,8,-15).p).lookVector*MRANDOM(55,100)
  2144. for _, c in pairs(MINION:GetChildren()) do
  2145. if c.ClassName == "Part" then
  2146. c.Material = "Neon"
  2147. c.Color = C3(0,0,0)
  2148. c.Transparency = 0.25
  2149. if c.Name == "Head" then
  2150. c:ClearAllChildren()
  2151. local MSH = IT("BlockMesh",c)
  2152. MSH.Scale = VT(0.5,1,1)
  2153. end
  2154. end
  2155. end
  2156. local TORSO = MINION.Torso
  2157. local HUMAN = MINION.Humanoid
  2158. HUMAN.WalkSpeed = 20
  2159. HUMAN.MaxHealth = math.huge
  2160. HUMAN.Health = math.huge
  2161. HUMAN.DisplayDistanceType = "None"
  2162. HUMAN.Died:connect(function()
  2163. MINION:remove()
  2164. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 3, 0.5, false)
  2165. end)
  2166. wait(1)
  2167. local findNearestTorso = function(POS)
  2168. local list = game.Workspace:GetDescendants()
  2169. local torso = nil
  2170. local dist = 500
  2171. local temp = nil
  2172. local human = nil
  2173. local temp2 = nil
  2174. for x = 1, #list do
  2175. temp2 = list[x]
  2176. if (temp2.className == "Model") and (temp2 ~= Character) and (temp2.Parent ~= Effects) then
  2177. temp = temp2:findFirstChild("Torso") or temp2:findFirstChild("UpperTorso")
  2178. human = temp2:findFirstChildOfClass("Humanoid")
  2179. if (temp ~= nil) and (human ~= nil) and (human.Health > 0) then
  2180. if (temp.Position - POS).magnitude < dist then
  2181. torso = temp
  2182. dist = (temp.Position - POS).magnitude
  2183. end
  2184. end
  2185. end
  2186. end
  2187. return torso, dist
  2188. end
  2189. for i = 1, 40 do
  2190. if HUMAN.Health == 0 then
  2191. break
  2192. end
  2193. wait(0.3)
  2194. local target,dist= findNearestTorso(TORSO.Position)
  2195. if target then
  2196. HUMAN:MoveTo(target.Position)
  2197. if dist < 25 then
  2198. CreateSound(348663022, TORSO, 10, 1, true)
  2199. wait(2)
  2200. --local ANIM = HUMAN:LoadAnimation(ATANIM)
  2201. --ANIM:Play()
  2202. --CreateSound(SHOUTS[MRANDOM(1,3)], TORSO, 1, 1, false)
  2203. ApplyAoE(TORSO.Position,10,0,0,85,true)
  2204. 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})
  2205. for i = 1, 5 do
  2206. 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})
  2207. end
  2208. break
  2209. end
  2210. end
  2211. end
  2212. MINION:remove()
  2213. end))
  2214. end
  2215. elseif RANDOMEFFECT == 4 then
  2216. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2217. FIELD.Color = C3(0,0,0)
  2218. FIELD.CFrame = BASE.CFrame
  2219. MakeForm(FIELD,"Ball")
  2220. FIELD.CanCollide = true
  2221. for i = 1, 50 do
  2222. Swait()
  2223. FIELD.Size = FIELD.Size + VT(0.01,0.01,0.01)
  2224. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2225. end
  2226. wait(0.2)
  2227. local LOOP = CreateSound(487214658, FIELD, 0, 1, true)
  2228. coroutine.resume(coroutine.create(function()
  2229. local E = 0
  2230. for i = 1, 75 do
  2231. E = E + 1
  2232. Swait()
  2233. if E >= 35 then
  2234. E = 0
  2235. 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})
  2236. end
  2237. LOOP.Volume = LOOP.Volume + 10/75
  2238. LOOP.Parent = FIELD
  2239. local CHILDREN = workspace:GetDescendants()
  2240. for index, CHILD in pairs(CHILDREN) do
  2241. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2242. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2243. if HUM then
  2244. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2245. if TORSO then
  2246. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2247. for _, c in pairs(CHILD:GetChildren()) do
  2248. if c:IsA("BasePart") then
  2249. local bv = Instance.new("BodyVelocity")
  2250. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2251. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2252. bv.Parent = c
  2253. Debris:AddItem(bv,0.05)
  2254. end
  2255. end
  2256. HUM.Health = HUM.Health - 0.3
  2257. end
  2258. end
  2259. end
  2260. end
  2261. end
  2262. FIELD.Size = FIELD.Size + VT(0.3,0.3,0.3)/5
  2263. end
  2264. for i = 1, 180 do
  2265. E = E + 1
  2266. Swait()
  2267. if E >= 35 then
  2268. E = 0
  2269. 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})
  2270. end
  2271. LOOP.Parent = FIELD
  2272. local CHILDREN = workspace:GetDescendants()
  2273. for index, CHILD in pairs(CHILDREN) do
  2274. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2275. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2276. if HUM then
  2277. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2278. if TORSO then
  2279. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X*30 then
  2280. for _, c in pairs(CHILD:GetChildren()) do
  2281. if c:IsA("BasePart") then
  2282. local bv = Instance.new("BodyVelocity")
  2283. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2284. bv.velocity = CF(FIELD.Position,c.Position).lookVector*-50
  2285. bv.Parent = c
  2286. Debris:AddItem(bv,0.05)
  2287. end
  2288. end
  2289. HUM.Health = HUM.Health - 0.3
  2290. end
  2291. end
  2292. end
  2293. end
  2294. end
  2295. end
  2296. ApplyAoE(FIELD.Position,40,15,20,375,true)
  2297. 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})
  2298. for i = 1, 5 do
  2299. 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})
  2300. end
  2301. FIELD:remove()
  2302. end))
  2303. elseif RANDOMEFFECT == 5 then
  2304. end
  2305. wait(0.5)
  2306. for i = 1, 25 do
  2307. Swait()
  2308. PANDORASBOX:SetPrimaryPartCFrame(BASE.CFrame * CF(0,-0.3,0))
  2309. end
  2310. PANDORASBOX:remove()
  2311. RINGSPIN = false
  2312. end))
  2313. ATTACK = false
  2314. Rooted = false
  2315. end
  2316. end
  2317.  
  2318. function TimeStop ()
  2319. 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)
  2320. CHOICE = 6
  2321. CreateSound(1193182658, Character, 5, 1, false)
  2322. chatfunc ("Za warudo...")
  2323. back = CreateSound(1841228386, Character, 9999, 1, false)
  2324. local killsky = Instance.new('Sky', game:GetService'Lighting')
  2325. killsky.SkyboxBk = "rbxassetid://1013852"
  2326. killsky.SkyboxDn = "rbxassetid://1013853"
  2327. killsky.SkyboxFt = "rbxassetid://1013850"
  2328. killsky.SkyboxLf = "rbxassetid://1013851"
  2329. killsky.SkyboxRt = "rbxassetid://1013849"
  2330. killsky.SkyboxUp = "rbxassetid://1013854"
  2331. killsky.StarCount = 0
  2332. killsky.SunAngularSize = 0
  2333. killsky.MoonAngularSize = 0
  2334. killsky.MoonTextureId = ""
  2335. killsky.CelestialBodiesShown = false
  2336. game.Lighting.FogColor = Color3.new(1,1,0)
  2337. game.Lighting.FogEnd = 1400
  2338. if HITFLOOR ~= nil then
  2339. ATTACK = false
  2340. Rooted = false
  2341. local RINGSPIN = true
  2342. local CONSTRUCTING = true
  2343. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  2344. RING.Color = C3(0,0,0)
  2345. MakeForm(RING,"Cyl")
  2346. RING.CFrame = CF(HITPOS)
  2347. coroutine.resume(coroutine.create(function()
  2348. repeat
  2349. Swait()
  2350. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2351. until CONSTRUCTING == false
  2352. repeat
  2353. Swait()
  2354. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2355. until RINGSPIN == false
  2356. for i = 1, 25 do
  2357. Swait()
  2358. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  2359. RING.Size = RING.Size - VT(0.15,0,0.15)
  2360. --DECAL.Transparency = DECAL.Transparency + 1/25
  2361. RING.Transparency = RING.Transparency + 1/25
  2362. end
  2363. RING:remove()
  2364. end))
  2365. for i = 1, 15 do
  2366. Swait()
  2367. RING.Size = RING.Size + VT(0,0,0)
  2368. RING.Transparency = RING.Transparency - 1/15
  2369. end
  2370. end
  2371. local RANDOMEFFECT = MRANDOM(1)
  2372. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  2373. BASE.Color = C3(0,0,0)
  2374. BASE.Transparency = 1
  2375. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  2376. if RANDOMEFFECT == 1 then
  2377. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2378. FIELD.CFrame = BASE.CFrame
  2379. MakeForm(FIELD,"Ball")
  2380. for i = 1, 50 do
  2381. Swait()
  2382. FIELD.Size = VT(0,0,0)
  2383. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  2384. end
  2385. end
  2386. wait(0.2)
  2387. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  2388. FIELD.CFrame = BASE.CFrame
  2389. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  2390. coroutine.resume(coroutine.create(function()
  2391. for i = 1, 75 do
  2392. Swait()
  2393. LOOP.Volume = LOOP.Volume + 10/75
  2394. LOOP.Parent = FIELD
  2395. local CHILDREN = workspace:GetDescendants()
  2396. for index, CHILD in pairs(CHILDREN) do
  2397. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2398. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2399. if HUM then
  2400. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2401. if TORSO then
  2402. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2403. HUM.Health = HUM.Health - 0
  2404. TORSO.Velocity = VT(0,5,0)
  2405. HUM.PlatformStand = true
  2406. if TORSO.RotVelocity.Magnitude < 15 then
  2407. TORSO.Anchored = true
  2408. end
  2409. end
  2410. end
  2411. end
  2412. end
  2413. end
  2414. FIELD.Size = FIELD.Size + VT(90,90,90)
  2415. FIELD.Transparency = FIELD.Transparency + 0.8/75
  2416. end
  2417. for i = 1, 500 do
  2418. Swait()
  2419. LOOP.Parent = FIELD
  2420. local CHILDREN = workspace:GetDescendants()
  2421. for index, CHILD in pairs(CHILDREN) do
  2422. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2423. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2424. if HUM then
  2425. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2426. if TORSO then
  2427. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  2428. TORSO.Velocity = VT(0,5,0)
  2429. HUM.Health = HUM.Health - 0
  2430. HUM.PlatformStand = true
  2431. if TORSO.RotVelocity.Magnitude < 15 then
  2432. TORSO.Anchored = true
  2433. end
  2434. end
  2435. end
  2436. end
  2437. end
  2438. end
  2439. end
  2440. wait (20)
  2441. back:Remove()
  2442. CreateSound(1538466750, Character, 99999, 1, false)
  2443. chatfunc ("the time rusume")
  2444. killsky:Remove()
  2445. game.Lighting.FogEnd = 90000000
  2446. wait (5)
  2447. CHOICE = MRANDOM (1,5)
  2448. for i = 1, 25 do
  2449. Swait()
  2450. LOOP.Volume = LOOP.Volume + 10/25
  2451. LOOP.Parent = FIELD
  2452. local CHILDREN = workspace:GetDescendants()
  2453. for index, CHILD in pairs(CHILDREN) do
  2454. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2455. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2456. if HUM then
  2457. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2458. if TORSO then
  2459. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  2460. TORSO.Velocity = VT(0,5,0)
  2461. HUM.Health = HUM.Health - 0
  2462. HUM.PlatformStand = false
  2463. if TORSO.RotVelocity.Magnitude < 15 then
  2464. TORSO.Anchored = false
  2465. end
  2466. end
  2467. end
  2468. end
  2469. end
  2470. FIELD.Size = FIELD.Size - VT(3,3,3)
  2471. FIELD.Transparency = FIELD.Transparency + 0.2/25
  2472. end
  2473. end
  2474. end))
  2475. FIELD:Remove()
  2476. ATTACK = false
  2477. Rooted = false
  2478. end
  2479.  
  2480.  
  2481. function Taunt()
  2482. ATTACK = true
  2483. local LAUGH = nil
  2484. coroutine.resume(coroutine.create(function()
  2485. repeat
  2486. Swait()
  2487. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2488. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2489. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE, -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2490. 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)
  2491. 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)
  2492. 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)
  2493. until LAUGH ~= nil
  2494. repeat
  2495. Swait()
  2496. LAUGH.Parent = Head
  2497. 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)
  2498. 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(0)), 1 / Animation_Speed)
  2499. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25*SIZE, 0.15*SIZE+(0.1*LAUGH.PlaybackLoudness/75), -0.5*SIZE) * ANGLES(RAD(75), RAD(50), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2500. 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)
  2501. 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)
  2502. 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)
  2503. until LAUGH.Playing == false
  2504. ATTACK = false
  2505. end))
  2506. wait(0.1)
  2507. CHOICE = 6
  2508. chatfunc("I HATE YOU...")
  2509. LAUGH = CreateSound(212000587, Character, 8099999, 1, false)
  2510. wait(1.5)
  2511. CHOICE = MRANDOM (1,5)
  2512. end
  2513.  
  2514. --//=================================\\
  2515. --|| ASSIGN THINGS TO KEYS
  2516. --\\=================================//
  2517.  
  2518. function MouseDown(Mouse)
  2519. HOLD = true
  2520. if ATTACK == false then
  2521. end
  2522. end
  2523.  
  2524. function MouseUp(Mouse)
  2525. HOLD = false
  2526. end
  2527.  
  2528. function KeyDown(Key)
  2529. KEYHOLD = true
  2530. if Key == "z" and ATTACK == false then
  2531. MagicMissiles()
  2532. end
  2533.  
  2534. if Key == "b" and ATTACK == false then
  2535. TimesUp()
  2536. end
  2537.  
  2538. if Key == "c" and ATTACK == false then
  2539. ChainPunch()
  2540. end
  2541.  
  2542. if Key == "v" and ATTACK == false then
  2543. WarpMeteor()
  2544. end
  2545.  
  2546. if Key == "x" and ATTACK == false then
  2547. PandorasBox()
  2548. end
  2549.  
  2550. if Key == "g" and ATTACK == false then
  2551. TimeStop()
  2552. end
  2553.  
  2554. if Key == "t" and ATTACK == false then
  2555. Taunt()
  2556. elseif Key == "1" and ATTACK == false then
  2557. if CHOICE ~= 1 then
  2558. CHOICE = 1
  2559. sick:Play()
  2560. chatfunc("original song")
  2561. end
  2562. elseif Key == "2" and ATTACK == false then
  2563. if CHOICE ~= 2 then
  2564. CHOICE = 2
  2565. sick:Play()
  2566. chatfunc("no comments...")
  2567. end
  2568. elseif Key == "3" and ATTACK == false then
  2569. if CHOICE ~= 3 then
  2570. CHOICE = 3
  2571. sick:Play()
  2572. chatfunc("Now the fight really begins...")
  2573. tecks2.Color = Color3.new (255,0,0)
  2574. end
  2575. elseif Key == "4" and ATTACK == false then
  2576. if CHOICE ~= 4 then
  2577. CHOICE = 4
  2578. sick:Play()
  2579. chatfunc("Just let me relax a little")
  2580. end
  2581. elseif Key == "5" and ATTACK == false then
  2582. if CHOICE ~= 5 then
  2583. CHOICE = 5
  2584. sick:Play()
  2585. chatfunc("Why not this sound, i like it")
  2586. end
  2587. elseif Key == "6" and ATTACK == false then
  2588. if CHOICE ~= 6 then
  2589. CHOICE = 6
  2590. sick:Play()
  2591. chatfunc("music off")
  2592. end
  2593. end
  2594. end
  2595.  
  2596. function KeyUp(Key)
  2597. KEYHOLD = false
  2598. end
  2599.  
  2600. Mouse.Button1Down:connect(function(NEWKEY)
  2601. MouseDown(NEWKEY)
  2602. end)
  2603. Mouse.Button1Up:connect(function(NEWKEY)
  2604. MouseUp(NEWKEY)
  2605. end)
  2606. Mouse.KeyDown:connect(function(NEWKEY)
  2607. KeyDown(NEWKEY)
  2608. end)
  2609. Mouse.KeyUp:connect(function(NEWKEY)
  2610. KeyUp(NEWKEY)
  2611. end)
  2612.  
  2613. --//=================================\\
  2614. --\\=================================//
  2615.  
  2616.  
  2617. function unanchor()
  2618. if UNANCHOR == true then
  2619. RootPart.Anchored = false
  2620. end
  2621. g = Character:GetChildren()
  2622. for i = 1, #g do
  2623. if g[i].ClassName == "Part" and g[i] ~= RootPart then
  2624. g[i].Anchored = false
  2625. end
  2626. end
  2627. g = Weapon:GetChildren()
  2628. for i = 1, #g do
  2629. if g[i].ClassName == "Part" then
  2630. g[i].Anchored = false
  2631. end
  2632. end
  2633. end
  2634.  
  2635.  
  2636. --//=================================\\
  2637. --|| WRAP THE WHOLE SCRIPT UP
  2638. --\\=================================//
  2639.  
  2640. Humanoid.Changed:connect(function(Jump)
  2641. if Jump == "Jump" and (Disable_Jump == true) then
  2642. Humanoid.Jump = false
  2643. end
  2644. end)
  2645.  
  2646. while true do
  2647. Swait()
  2648. refit()
  2649. script.Parent = WEAPONGUI
  2650. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  2651. v:Stop();
  2652. end
  2653. ANIMATE.Parent = nil
  2654. SINE = SINE + CHANGE*1.5
  2655. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2656. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2657. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  2658. local WALKSPEEDVALUE = 10 / (Humanoid.WalkSpeed / 16)
  2659. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  2660. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0 * COS(SINE / (WALKSPEEDVALUE / 2)) * SIZE) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  2661. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * 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)
  2662. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  2663. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2664. Neck.C1 = Clerp(Neck.C1, CF(0 * SIZE, -0.5 * SIZE, 0 * SIZE) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2665. end
  2666. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2667. ANIM = "Jump"
  2668. if ATTACK == false then
  2669. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2670. 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)
  2671. 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)
  2672. 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)
  2673. 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)
  2674. 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)
  2675. end
  2676. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2677. ANIM = "Fall"
  2678. if ATTACK == false then
  2679. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2680. 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)
  2681. 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)
  2682. 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)
  2683. 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)
  2684. 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)
  2685. end
  2686. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2687. ANIM = "Idle"
  2688. if ATTACK == false then
  2689. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0 - 3 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2690. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2691. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75*SIZE, 0.5*SIZE, -1*SIZE) * ANGLES(RAD(70), RAD(0), RAD(-70)) * ANGLES(RAD(20), RAD(25), RAD(-15)) * RIGHTSHOULDERC0, 0.4 / Animation_Speed)
  2692. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1*SIZE, 0.2*SIZE, -0.5*SIZE) * ANGLES(RAD(25), RAD(0), RAD(85)) * LEFTSHOULDERC0, 0.4 / Animation_Speed)
  2693. 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)
  2694. 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)
  2695. end
  2696. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2697. ANIM = "Walk"
  2698. if ATTACK == false then
  2699. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2700. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2701. 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)
  2702. 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)
  2703. 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)
  2704. 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)
  2705. end
  2706. end
  2707. unanchor()
  2708. Humanoid.MaxHealth = "inf"
  2709. Humanoid.Health = "inf"
  2710. if Rooted == false then
  2711. Disable_Jump = false
  2712. Humanoid.WalkSpeed = Speed
  2713. elseif Rooted == true then
  2714. Disable_Jump = true
  2715. Humanoid.WalkSpeed = 0
  2716. end
  2717. for _, c in pairs(Character:GetChildren()) do
  2718. if c.ClassName == "Part" and c.Name ~= "Detail" then
  2719. c.Material = "Fabric"
  2720. if c:FindFirstChildOfClass("ParticleEmitter") then
  2721. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  2722. end
  2723. if c ~= Head then
  2724. c.Color = C3(0,0,0)
  2725. else
  2726. c.Color = C3(0,0,0)
  2727. end
  2728. if c == Head then
  2729. if c:FindFirstChild("face") then
  2730. c.face:remove()
  2731. end
  2732. end
  2733. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  2734. c:remove()
  2735. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  2736. c:remove()
  2737. end
  2738. end
  2739. sick.SoundId = "rbxassetid://"..bored[CHOICE]
  2740. sick.Looped = true
  2741. sick.Pitch = 1
  2742. sick.Volume = 999999
  2743. sick.Parent = Character
  2744. sick:Resume()
  2745. --sick.Playing = false
  2746. Humanoid.Name = "Master of Time = "..Player.Name
  2747. end
  2748.  
  2749. --//=================================\\
  2750. --\\=================================//
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756. --//====================================================\\--
  2757. --|| END OF SCRIPT
  2758. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement