Advertisement
Goo345

Untitled

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