Advertisement
Kermit1900

aaa

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