Advertisement
Hermaxs

Untitled

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