PacMan2009yo

Troll GUI

Apr 4th, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 398.96 KB | None | 0 0
  1. -- Created by PacMan2009yo
  2. -- Version: 1.0.0
  3. -- oof
  4. print("shit loaded")
  5. local CoolBypass = Instance.new("ScreenGui")
  6. local guiframe = Instance.new("Frame")
  7. local c00lgui = Instance.new("TextButton")
  8. local roxploit = Instance.new("TextButton")
  9. local TOPK3K30 = Instance.new("TextButton")
  10. local TOPK3K40 = Instance.new("TextButton")
  11. local credits = Instance.new("TextLabel")
  12. --Properties:
  13. CoolBypass.Name = "CoolBypass"
  14. CoolBypass.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  15. CoolBypass.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  16.  
  17. guiframe.Name = "guiframe"
  18. guiframe.Parent = CoolBypass
  19. guiframe.BackgroundColor3 = Color3.new(1, 0.00784314, 0.00784314)
  20. guiframe.Position = UDim2.new(0.581689, 0, 0, 0)
  21. guiframe.Size = UDim2.new(0, 530, 0, 347)
  22.  
  23. c00lgui.Name = "c00lgui"
  24. c00lgui.Parent = CoolBypass
  25. c00lgui.BackgroundColor3 = Color3.new(1, 1, 1)
  26. c00lgui.Position = UDim2.new(0.852407217, 0, 0.00982800126, 0)
  27. c00lgui.Size = UDim2.new(0, 200, 0, 50)
  28. c00lgui.Font = Enum.Font.SourceSans
  29. c00lgui.Text = "c00lkidd"
  30. c00lgui.TextColor3 = Color3.new(0, 0, 0)
  31. c00lgui.TextSize = 14
  32. c00lgui.MouseButton1Down:connect(function()
  33. k : --leaked by LeakingProScripts
  34. local p = game.Players.LocalPlayer
  35. local char = p.Character
  36. local mouse = p:GetMouse()
  37. local larm = char["Left Arm"]
  38. local rarm = char["Right Arm"]
  39. local lleg = char["Left Leg"]
  40. local rleg = char["Right Leg"]
  41. local hed = char.Head
  42. local torso = char.Torso
  43. local hum = char.Humanoid
  44. local cam = game.Workspace.CurrentCamera
  45. local root = char.HumanoidRootPart
  46. local deb = false
  47. local shot = 0
  48. local l = game:GetService("Lighting")
  49. local rs = game:GetService("RunService").RenderStepped
  50. local stanceToggle = "Normal"
  51. math.randomseed(os.time())
  52. hum.WalkSpeed = 7
  53. char.Health:Destroy()
  54. hum.MaxHealth = 50000
  55. wait(0.1)
  56. hum.Health = 50000
  57. ----------------------------------------------------
  58. pcall(function()char.Shirt:Destroy()
  59. char.Pants:Destroy()
  60. end)
  61. shirt = Instance.new("Shirt", char)
  62. shirt.Name = "Shirt"
  63. pants = Instance.new("Pants", char)
  64. pants.Name = "Pants"
  65. char.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=268303759"
  66. char.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=268303786"
  67. ----------------------------------------------------
  68. Debounces = {
  69. on = false;
  70. ks = false;
  71. CanAttack = true;
  72. CanJoke = true;
  73. NoIdl = false;
  74. Slashing = false;
  75. Slashed = false;
  76. Grabbing = false;
  77. Grabbed = false;
  78. }
  79. local Touche = {char.Name, }
  80. ----------------------------------------------------
  81. function lerp(a, b, t) -- Linear interpolation
  82. return a + (b - a)*t
  83. end
  84.  
  85. function slerp(a, b, t) --Spherical interpolation
  86. dot = a:Dot(b)
  87. if dot > 0.99999 or dot < -0.99999 then
  88. return t <= 0.5 and a or b
  89. else
  90. r = math.acos(dot)
  91. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  92. end
  93. end
  94.  
  95. function matrixInterpolate(a, b, t)
  96. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  97. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  98. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  99. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  100. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  101. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  102. local t = v1:Dot(v2)
  103. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  104. return CFrame.new()
  105. end
  106. return CFrame.new(
  107. v0.x, v0.y, v0.z,
  108. v1.x, v1.y, v1.z,
  109. v2.x, v2.y, v2.z,
  110. v3.x, v3.y, v3.z)
  111. end
  112. ----------------------------------------------------
  113. function genWeld(a,b)
  114. local w = Instance.new("Weld",a)
  115. w.Part0 = a
  116. w.Part1 = b
  117. return w
  118. end
  119. function weld(a, b)
  120. local weld = Instance.new("Weld")
  121. weld.Name = "W"
  122. weld.Part0 = a
  123. weld.Part1 = b
  124. weld.C0 = a.CFrame:inverse() * b.CFrame
  125. weld.Parent = a
  126. return weld;
  127. end
  128. ----------------------------------------------------
  129. function Lerp(c1,c2,al)
  130. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  131. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  132. for i,v in pairs(com1) do
  133. com1[i] = v+(com2[i]-v)*al
  134. end
  135. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  136. end
  137. ----------------------------------------------------
  138. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  139. local wld = Instance.new("Weld", wp1)
  140. wld.Part0 = wp0
  141. wld.Part1 = wp1
  142. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  143. end
  144. ----------------------------------------------------
  145. for i,v in pairs(char:children()) do
  146. if v:IsA("Hat") then
  147. v:Destroy()
  148. end
  149. end
  150. for i,v in pairs(hed:children()) do
  151. if v:IsA("Sound") then
  152. v:Destroy()
  153. end
  154. end
  155. ----------------------------------------------------
  156. function HasntTouched(plrname)
  157. local ret = true
  158. for _, v in pairs(Touche) do
  159. if v == plrname then
  160. ret = false
  161. end
  162. end
  163. return ret
  164. end
  165. ----------------------------------------------------
  166. larm.Size = larm.Size * 2
  167. rarm.Size = rarm.Size * 2
  168. lleg.Size = lleg.Size * 2
  169. rleg.Size = rleg.Size * 2
  170. torso.Size = torso.Size * 2
  171. hed.Size = hed.Size * 2
  172. root.Size = root.Size * 2
  173. ----------------------------------------------------
  174. newWeld(torso, larm, -1.5, 0.5, 0)
  175. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  176. newWeld(torso, rarm, 1.5, 0.5, 0)
  177. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  178. newWeld(torso, hed, 0, 1.5, 0)
  179. newWeld(torso, lleg, -0.5, -1, 0)
  180. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  181. newWeld(torso, rleg, 0.5, -1, 0)
  182. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  183. newWeld(root, torso, 0, -1, 0)
  184. torso.Weld.C1 = CFrame.new(0, -1, 0)
  185. ----------------------------------------------------
  186. game:service'InsertService':LoadAsset(250405532):children()[1].Parent=char
  187. char.GildedWings.Handle.Mesh.Scale = char.GildedWings.Handle.Mesh.Scale * 1.8
  188. char.GildedWings.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
  189. hed.face.Texture = "rbxassetid://127498555"
  190. z=Instance.new('Decal',hed)
  191. z.Face = 'Front'
  192. z.Texture='rbxassetid://36527091'
  193. hed.BrickColor = BrickColor.new("Institutional white")
  194. lite = Instance.new("PointLight", torso)
  195. lite.Brightness = 14
  196. lite.Range = 10
  197. lite.Color = Color3.new(1, 0, 0)
  198. --[[local hed2 = hed:Clone()
  199. hed2.CanCollide = false
  200. hed2.Parent = char
  201. hed2:ClearAllChildren()
  202. hed2.Transparency = 1
  203. hed2.Name = "DARP"
  204. local w = Instance.new("Weld",hed2)
  205. w.Part0 = hed
  206. w.Part1 = hed2
  207. w.C0 = CFrame.new(0,0,-0.175)
  208. z=Instance.new("SurfaceGui",hed2)
  209. z.Enabled = true
  210. z.Face = "Front"
  211. z.Adornee = hed2
  212. z.CanvasSize = Vector2.new(100,100)
  213. local face = Instance.new("ImageLabel",z)
  214. face.Size = UDim2.new(1,-30,1,0)
  215. face.Position = UDim2.new(0,15,0,0)
  216. face.BackgroundTransparency = 1
  217. face.Image='rbxassetid://46282671']]--
  218. ----------------------------------------------------
  219. game:service'InsertService':LoadAsset(134822899):children()[1].Parent=char
  220. char.LightStudent.Handle.Mesh.Scale = char.LightStudent.Handle.Mesh.Scale * 1.8
  221. char.LightStudent.Handle.Mesh.VertexColor = Vector3.new(1,1,1)
  222. ----------------------------------------------------
  223.  
  224. z = Instance.new("Sound", char)
  225. z.SoundId = "rbxassetid://190470714 "--242463565
  226. z.Looped = true
  227. z.Pitch = 1
  228. z.Volume = 1
  229. wait(.01)
  230. z:Play()
  231. ----------------------------------------------------
  232. local m = Instance.new("Model")
  233. m.Name = "Absolution"
  234. p1 = Instance.new("Part", m)
  235. p1.BrickColor = BrickColor.new("New Yeller")
  236. p1.FormFactor = Enum.FormFactor.Custom
  237. p1.Size = Vector3.new(1, 0.600000024, 1.5)
  238. p1.CFrame = CFrame.new(67.4994888, 12.1560526, 73.0205841, 0.999972522, -3.59117985e-005, -8.00192356e-006, -1.39250187e-005, 0.358383715, -0.933530986, 5.28097153e-005, 0.933500648, 0.358406395)
  239. p1.CanCollide = false
  240. p1.Locked = true
  241. p1.Elasticity = 0
  242. p1.BottomSurface = Enum.SurfaceType.Smooth
  243. p1.TopSurface = Enum.SurfaceType.Smooth
  244. b1 = Instance.new("SpecialMesh", p1)
  245. b1.MeshType = Enum.MeshType.Wedge
  246. b1.Name = "Mesh"
  247. b1.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  248. p2 = Instance.new("Part", m)
  249. p2.BrickColor = BrickColor.new("Institutional white")
  250. p2.FormFactor = Enum.FormFactor.Custom
  251. p2.Size = Vector3.new(1, 2.9000001, 1)
  252. p2.CFrame = CFrame.new(67.4995728, 11.7633543, 74.2129135, -1.30959779e-005, 2.79811252e-006, 0.999972522, 0.961226642, 0.275612593, -7.50799518e-006, -0.275637805, 0.96119839, 1.01176247e-005)
  253. p2.CanCollide = false
  254. p2.Locked = true
  255. p2.Elasticity = 0
  256. p2.BottomSurface = Enum.SurfaceType.Smooth
  257. p2.TopSurface = Enum.SurfaceType.Smooth
  258. b2 = Instance.new("BlockMesh", p2)
  259. b2.Name = "Mesh"
  260. b2.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  261. p3 = Instance.new("Part", m)
  262. p3.BrickColor = BrickColor.new("New Yeller")
  263. p3.FormFactor = Enum.FormFactor.Custom
  264. p3.Size = Vector3.new(1, 1.20000005, 2.0999999)
  265. p3.CFrame = CFrame.new(67.4994965, 12.6401453, 73.9670334, 0.999972522, -3.52207899e-005, -8.10639358e-006, -1.61500211e-005, 0.309035271, -0.951007903, 5.24176576e-005, 0.950978875, 0.309059501)
  266. p3.CanCollide = false
  267. p3.Locked = true
  268. p3.Elasticity = 0
  269. p3.BottomSurface = Enum.SurfaceType.Smooth
  270. p3.TopSurface = Enum.SurfaceType.Smooth
  271. b3 = Instance.new("SpecialMesh", p3)
  272. b3.MeshType = Enum.MeshType.Wedge
  273. b3.Name = "Mesh"
  274. b3.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  275. p4 = Instance.new("Part", m)
  276. p4.BrickColor = BrickColor.new("New Yeller")
  277. p4.FormFactor = Enum.FormFactor.Custom
  278. p4.Size = Vector3.new(1, 1.43999994, 2.05000019)
  279. p4.CFrame = CFrame.new(67.4995575, 11.8683414, 76.1565704, 0.999972522, -2.5085672e-005, -1.53700166e-005, -4.86194367e-005, -0.800831437, -0.598821938, 1.9131101e-005, 0.598835468, -0.800796151)
  280. p4.CanCollide = false
  281. p4.Locked = true
  282. p4.Elasticity = 0
  283. p4.BottomSurface = Enum.SurfaceType.Smooth
  284. p4.TopSurface = Enum.SurfaceType.Smooth
  285. b4 = Instance.new("SpecialMesh", p4)
  286. b4.MeshType = Enum.MeshType.Wedge
  287. b4.Name = "Mesh"
  288. b4.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  289. p5 = Instance.new("Part", m)
  290. p5.BrickColor = BrickColor.new("New Yeller")
  291. p5.FormFactor = Enum.FormFactor.Custom
  292. p5.Size = Vector3.new(1, 1.20000005, 3.20000005)
  293. p5.CFrame = CFrame.new(67.4995193, 13.241991, 74.8357468, 0.999972522, -3.59118021e-005, -8.00191992e-006, -1.39250224e-005, 0.358383656, -0.933530807, 5.2809708e-005, 0.933500469, 0.358406246)
  294. p5.CanCollide = false
  295. p5.Locked = true
  296. p5.Elasticity = 0
  297. p5.BottomSurface = Enum.SurfaceType.Smooth
  298. p5.TopSurface = Enum.SurfaceType.Smooth
  299. b5 = Instance.new("SpecialMesh", p5)
  300. b5.MeshType = Enum.MeshType.Wedge
  301. b5.Name = "Mesh"
  302. b5.Scale = Vector3.new(0.400000006, 0.600000024, 0.699999928)
  303. p6 = Instance.new("Part", m)
  304. p6.Name = "Handle"
  305. p6.BrickColor = BrickColor.new("Institutional white")
  306. p6.FormFactor = Enum.FormFactor.Custom
  307. p6.Size = Vector3.new(1.5999999, 13.6000004, 1)
  308. p6.CFrame = CFrame.new(67.5017471, 11.2780685, 66.1421967, -1.18190947e-005, 6.28741009e-006, 0.999972522, 0.99995929, -1.39772892e-005, -7.50630716e-006, -1.79708004e-005, 0.999939024, 1.01296728e-005)
  309. p6.CanCollide = false
  310. p6.Locked = true
  311. p6.Elasticity = 0
  312. p6.BottomSurface = Enum.SurfaceType.Smooth
  313. p6.TopSurface = Enum.SurfaceType.Smooth
  314. b6 = Instance.new("BlockMesh", p6)
  315. b6.Name = "Mesh"
  316. b6.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  317. p7 = Instance.new("Part", m)
  318. p7.BrickColor = BrickColor.new("New Yeller")
  319. p7.FormFactor = Enum.FormFactor.Custom
  320. p7.Size = Vector3.new(1, 1.00999999, 1.05000019)
  321. p7.CFrame = CFrame.new(67.5174179, 10.5228004, 76.3114471, 0.999972522, -2.76626724e-005, -6.72184569e-006, -4.7347472e-005, -0.91489929, -0.403581172, 2.14323372e-005, 0.403602213, -0.914867818)
  322. p7.CanCollide = false
  323. p7.Locked = true
  324. p7.Elasticity = 0
  325. p7.BottomSurface = Enum.SurfaceType.Smooth
  326. p7.TopSurface = Enum.SurfaceType.Smooth
  327. b7 = Instance.new("SpecialMesh", p7)
  328. b7.MeshType = Enum.MeshType.Wedge
  329. b7.Name = "Mesh"
  330. b7.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  331. p8 = Instance.new("Part", m)
  332. p8.BrickColor = BrickColor.new("New Yeller")
  333. p8.FormFactor = Enum.FormFactor.Custom
  334. p8.Size = Vector3.new(1, 1.00999999, 1.05000019)
  335. p8.CFrame = CFrame.new(67.5074387, 8.51285458, 76.8714371, 0.999972522, -2.76626724e-005, -6.72184387e-006, -4.73474684e-005, -0.91489917, -0.403581113, 2.14323354e-005, 0.403602153, -0.914867699)
  336. p8.CanCollide = false
  337. p8.Locked = true
  338. p8.Elasticity = 0
  339. p8.BottomSurface = Enum.SurfaceType.Smooth
  340. p8.TopSurface = Enum.SurfaceType.Smooth
  341. b8 = Instance.new("SpecialMesh", p8)
  342. b8.MeshType = Enum.MeshType.Wedge
  343. b8.Name = "Mesh"
  344. b8.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  345. p9 = Instance.new("Part", m)
  346. p9.BrickColor = BrickColor.new("Institutional white")
  347. p9.FormFactor = Enum.FormFactor.Custom
  348. p9.Size = Vector3.new(1, 1.07999957, 1)
  349. p9.CFrame = CFrame.new(67.5095749, 7.1092, 74.5051422, -2.60536999e-005, -5.21559741e-006, 0.999972522, 0.35323599, -0.935490847, -1.50012565e-005, 0.935460567, 0.353258699, 4.2632455e-005)
  350. p9.CanCollide = false
  351. p9.Locked = true
  352. p9.Elasticity = 0
  353. p9.BottomSurface = Enum.SurfaceType.Smooth
  354. p9.TopSurface = Enum.SurfaceType.Smooth
  355. b9 = Instance.new("BlockMesh", p9)
  356. b9.Name = "Mesh"
  357. b9.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  358. p10 = Instance.new("Part", m)
  359. p10.BrickColor = BrickColor.new("Institutional white")
  360. p10.FormFactor = Enum.FormFactor.Custom
  361. p10.Size = Vector3.new(1, 1.41999948, 1)
  362. p10.CFrame = CFrame.new(67.489624, 8.67401791, 72.7929764, -9.47785156e-006, -9.42233055e-006, 0.999972522, 0.292371064, 0.956263304, -7.54374832e-006, -0.956253231, 0.292334616, 1.01081387e-005)
  363. p10.CanCollide = false
  364. p10.Locked = true
  365. p10.Elasticity = 0
  366. p10.BottomSurface = Enum.SurfaceType.Smooth
  367. p10.TopSurface = Enum.SurfaceType.Smooth
  368. b10 = Instance.new("BlockMesh", p10)
  369. b10.Name = "Mesh"
  370. b10.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  371. p11 = Instance.new("Part", m)
  372. p11.BrickColor = BrickColor.new("Institutional white")
  373. p11.FormFactor = Enum.FormFactor.Custom
  374. p11.Size = Vector3.new(1, 1.50999951, 1)
  375. p11.CFrame = CFrame.new(67.509552, 7.11887455, 70.3475952, -1.87569385e-005, 1.80455972e-005, 0.999972522, -0.36222899, -0.932047009, -9.30004444e-006, 0.932039678, -0.362191886, 4.04359016e-005)
  376. p11.CanCollide = false
  377. p11.Locked = true
  378. p11.Elasticity = 0
  379. p11.BottomSurface = Enum.SurfaceType.Smooth
  380. p11.TopSurface = Enum.SurfaceType.Smooth
  381. b11 = Instance.new("BlockMesh", p11)
  382. b11.Name = "Mesh"
  383. b11.Scale = Vector3.new(0.550000012, 1, 0.550000012)
  384. p12 = Instance.new("Part", m)
  385. p12.Name = "BladeCenter"
  386. p12.BrickColor = BrickColor.new("Dark stone grey")
  387. p12.Material = Enum.Material.Concrete
  388. p12.FormFactor = Enum.FormFactor.Symmetric
  389. p12.Size = Vector3.new(1, 2, 2)
  390. p12.CFrame = CFrame.new(67.4995346, 6.83217764, 72.2514038, -0.999972522, 2.42275873e-005, 0.000103325896, -8.39982677e-005, 4.44650614e-005, -0.999960959, -4.06451727e-005, -0.999940753, -1.25430051e-005)
  391. p12.CanCollide = false
  392. p12.Locked = true
  393. p12.BottomSurface = Enum.SurfaceType.Smooth
  394. p12.TopSurface = Enum.SurfaceType.Smooth
  395. b12 = Instance.new("SpecialMesh", p12)
  396. b12.MeshType = Enum.MeshType.Brick
  397. b12.Name = "Mesh"
  398. b12.Scale = Vector3.new(0.499999911, 1, 0.699999928)
  399. p13 = Instance.new("Part", m)
  400. p13.BrickColor = BrickColor.new("Institutional white")
  401. p13.FormFactor = Enum.FormFactor.Custom
  402. p13.Size = Vector3.new(2.91000009, 4.3300004, 1)
  403. p13.CFrame = CFrame.new(67.5096359, 9.31026554, 73.9751816, 7.60371313e-006, 1.0943455e-005, 0.999972522, -0.119072244, -0.99284631, -7.55448127e-006, 0.992830038, -0.119038157, 1.01703836e-005)
  404. p13.CanCollide = false
  405. p13.Locked = true
  406. p13.Elasticity = 0
  407. p13.BottomSurface = Enum.SurfaceType.Smooth
  408. p13.TopSurface = Enum.SurfaceType.Smooth
  409. b13 = Instance.new("BlockMesh", p13)
  410. b13.Name = "Mesh"
  411. b13.Scale = Vector3.new(1, 1, 0.400000006)
  412. p14 = Instance.new("Part", m)
  413. p14.BrickColor = BrickColor.new("Institutional white")
  414. p14.FormFactor = Enum.FormFactor.Custom
  415. p14.Size = Vector3.new(2.5, 2.17999935, 1)
  416. p14.CFrame = CFrame.new(67.4896011, 10.1621294, 72.6420059, -1.55498967e-007, -1.33476442e-005, 0.999972522, -0.462319613, 0.886669755, -7.56198779e-006, -0.886637092, -0.462338567, 1.01078904e-005)
  417. p14.CanCollide = false
  418. p14.Locked = true
  419. p14.Elasticity = 0
  420. p14.BottomSurface = Enum.SurfaceType.Smooth
  421. p14.TopSurface = Enum.SurfaceType.Smooth
  422. b14 = Instance.new("BlockMesh", p14)
  423. b14.Name = "Mesh"
  424. b14.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  425. p15 = Instance.new("Part", m)
  426. p15.BrickColor = BrickColor.new("Institutional white")
  427. p15.FormFactor = Enum.FormFactor.Custom
  428. p15.Size = Vector3.new(1.16999996, 4.2699995, 1)
  429. p15.CFrame = CFrame.new(67.5095901, 9.35303593, 70.6884613, -1.24399676e-005, -4.94209144e-006, 0.999972522, 0.645082474, 0.764063478, -7.52419282e-006, -0.764068604, 0.645045042, 1.0099785e-005)
  430. p15.CanCollide = false
  431. p15.Locked = true
  432. p15.Elasticity = 0
  433. p15.BottomSurface = Enum.SurfaceType.Smooth
  434. p15.TopSurface = Enum.SurfaceType.Smooth
  435. b15 = Instance.new("BlockMesh", p15)
  436. b15.Name = "Mesh"
  437. b15.Scale = Vector3.new(1, 1, 0.400000006)
  438. p16 = Instance.new("Part", m)
  439. p16.BrickColor = BrickColor.new("Institutional white")
  440. p16.FormFactor = Enum.FormFactor.Custom
  441. p16.Size = Vector3.new(1.68999994, 4.76000023, 1)
  442. p16.CFrame = CFrame.new(67.4996033, 9.63990211, 75.3800278, 2.98175655e-006, 1.30014914e-005, 0.999972522, 0.258795738, -0.965893507, -7.53869244e-006, 0.965865672, 0.258821338, 1.01718706e-005)
  443. p16.CanCollide = false
  444. p16.Locked = true
  445. p16.Elasticity = 0
  446. p16.BottomSurface = Enum.SurfaceType.Smooth
  447. p16.TopSurface = Enum.SurfaceType.Smooth
  448. b16 = Instance.new("BlockMesh", p16)
  449. b16.Name = "Mesh"
  450. b16.Scale = Vector3.new(1, 1, 0.400000006)
  451. p17 = Instance.new("Part", m)
  452. p17.BrickColor = BrickColor.new("Institutional white")
  453. p17.FormFactor = Enum.FormFactor.Custom
  454. p17.Size = Vector3.new(1.78999996, 4.21999979, 1)
  455. p17.CFrame = CFrame.new(67.499588, 9.28996372, 69.8789978, -9.50601952e-006, -9.41252802e-006, 0.999972522, 0.293352425, 0.955965877, -7.53842551e-006, -0.955955863, 0.293315947, 1.00904235e-005)
  456. p17.CanCollide = false
  457. p17.Locked = true
  458. p17.Elasticity = 0
  459. p17.BottomSurface = Enum.SurfaceType.Smooth
  460. p17.TopSurface = Enum.SurfaceType.Smooth
  461. b17 = Instance.new("BlockMesh", p17)
  462. b17.Name = "Mesh"
  463. b17.Scale = Vector3.new(1, 1, 0.400000006)
  464. p18 = Instance.new("WedgePart", m)
  465. p18.BrickColor = BrickColor.new("Dark stone grey")
  466. p18.Name = "BladePart1"
  467. p18.Material = Enum.Material.Concrete
  468. p18.Name = "Wedge"
  469. p18.FormFactor = Enum.FormFactor.Symmetric
  470. p18.Size = Vector3.new(1, 4, 2)
  471. p18.CFrame = CFrame.new(67.499321, 6.83199787, 69.4816895, 0.999972522, -3.68033288e-005, -4.22928351e-005, 2.29664256e-005, -1.65102574e-005, 0.999963701, -2.03872096e-005, -0.999943435, -4.84290831e-005)
  472. p18.CanCollide = false
  473. p18.Locked = true
  474. p18.BottomSurface = Enum.SurfaceType.Smooth
  475. p18.TopSurface = Enum.SurfaceType.Smooth
  476. b18 = Instance.new("SpecialMesh", p18)
  477. b18.MeshType = Enum.MeshType.Wedge
  478. b18.Name = "Mesh"
  479. b18.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  480. p19 = Instance.new("WedgePart", m)
  481. p19.BrickColor = BrickColor.new("Dark stone grey")
  482. p19.Name = "BladePart2"
  483. p19.Material = Enum.Material.Concrete
  484. p19.Name = "Wedge"
  485. p19.FormFactor = Enum.FormFactor.Symmetric
  486. p19.Size = Vector3.new(1, 4, 2)
  487. p19.CFrame = CFrame.new(67.4994736, 6.83213568, 75.0314102, -0.999972522, 3.68059118e-005, -0.000103325001, -8.40002976e-005, -4.4521752e-005, 0.999963701, 2.03864402e-005, 0.999943435, 1.26029336e-005)
  488. p19.CanCollide = false
  489. p19.Locked = true
  490. p19.BottomSurface = Enum.SurfaceType.Smooth
  491. p19.TopSurface = Enum.SurfaceType.Smooth
  492. b19 = Instance.new("SpecialMesh", p19)
  493. b19.MeshType = Enum.MeshType.Wedge
  494. b19.Name = "Mesh"
  495. b19.Scale = Vector3.new(0.499999911, 0.899999976, 0.699999928)
  496. p20 = Instance.new("Part", m)
  497. p20.BrickColor = BrickColor.new("Institutional white")
  498. p20.FormFactor = Enum.FormFactor.Custom
  499. p20.Size = Vector3.new(2.53000021, 2.39999938, 1)
  500. p20.CFrame = CFrame.new(67.4996414, 7.91898966, 71.4148178, -1.09432585e-005, 7.6432425e-006, 0.999972522, 0.992849231, -0.119072601, -7.55000656e-006, 0.119038492, 0.992832959, 1.01311334e-005)
  501. p20.CanCollide = false
  502. p20.Locked = true
  503. p20.Elasticity = 0
  504. p20.BottomSurface = Enum.SurfaceType.Smooth
  505. p20.TopSurface = Enum.SurfaceType.Smooth
  506. b20 = Instance.new("BlockMesh", p20)
  507. b20.Name = "Mesh"
  508. b20.Scale = Vector3.new(0.400000006, 1, 0.400000006)
  509. p21 = Instance.new("Part", m)
  510. p21.BrickColor = BrickColor.new("New Yeller")
  511. p21.FormFactor = Enum.FormFactor.Custom
  512. p21.Size = Vector3.new(1, 1.43999994, 1.59000015)
  513. p21.CFrame = CFrame.new(67.509613, 9.57073689, 76.6228256, 0.999972522, -2.50856156e-005, -1.53699839e-005, -4.86196222e-005, -0.800835371, -0.598824739, 1.91311228e-005, 0.59883821, -0.800800025)
  514. p21.CanCollide = false
  515. p21.Locked = true
  516. p21.Elasticity = 0
  517. p21.BottomSurface = Enum.SurfaceType.Smooth
  518. p21.TopSurface = Enum.SurfaceType.Smooth
  519. b21 = Instance.new("SpecialMesh", p21)
  520. b21.MeshType = Enum.MeshType.Wedge
  521. b21.Name = "Mesh"
  522. b21.Scale = Vector3.new(0.300000012, 0.600000024, 0.699999988)
  523. w1 = Instance.new("Weld", p1)
  524. w1.Name = "Part_Weld"
  525. w1.Part0 = p1
  526. w1.C0 = CFrame.new(-67.5030899, -72.5280457, -14.8209743, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  527. w1.Part1 = p2
  528. w1.C1 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  529. w2 = Instance.new("Weld", p2)
  530. w2.Name = "Part_Weld"
  531. w2.Part0 = p2
  532. w2.C0 = CFrame.new(9.14727688, -74.5847855, -67.5001221, -4.37113883e-008, 0.961261749, -0.27563718, 0, 0.27563718, 0.961261749, 1, 4.20180868e-008, -1.2048484e-008)
  533. w2.Part1 = p3
  534. w2.C1 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  535. w3 = Instance.new("Weld", p3)
  536. w3.Name = "Part_Weld"
  537. w3.Part0 = p3
  538. w3.C0 = CFrame.new(-67.5030823, -74.2541809, -10.8368053, 1, -8.59976626e-006, 4.22903977e-005, -3.75621021e-005, 0.30906105, 0.951042175, -2.12490559e-005, -0.951042175, 0.30906105)
  539. w3.Part1 = p4
  540. w3.C1 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  541. w4 = Instance.new("Weld", p4)
  542. w4.Name = "Part_Weld"
  543. w4.Part0 = p4
  544. w4.C0 = CFrame.new(-67.5002975, -36.1002579, 68.1035233, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  545. w4.Part1 = p5
  546. w4.C1 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  547. w5 = Instance.new("Weld", p5)
  548. w5.Name = "Part_Weld"
  549. w5.Part0 = p5
  550. w5.C0 = CFrame.new(-67.5031891, -74.611969, -14.457736, 1, -6.37466928e-006, 4.26825172e-005, -3.75621021e-005, 0.358411252, 0.933563769, -2.12490559e-005, -0.933563769, 0.358411252)
  551. w5.Part1 = p6
  552. w5.C1 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  553. w6 = Instance.new("Weld", p6)
  554. w6.Name = "Part_Weld"
  555. w6.Part0 = p6
  556. w6.C0 = CFrame.new(-11.2799978, -66.1456223, -67.5023346, -4.37113883e-008, 1, 4.37113883e-008, 0, -4.37113883e-008, 1, 1, 4.37113883e-008, 1.91068547e-015)
  557. w6.Part1 = p7
  558. w6.C1 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  559. w7 = Instance.new("Weld", p7)
  560. w7.Name = "Part_Weld"
  561. w7.Part0 = p7
  562. w7.C0 = CFrame.new(-67.5183792, -21.1694489, 74.0717163, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  563. w7.Part1 = p8
  564. w7.C1 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  565. w8 = Instance.new("Weld", p8)
  566. w8.Name = "Part_Weld"
  567. w8.Part0 = p8
  568. w8.C0 = CFrame.new(-67.508461, -23.234499, 73.7728119, 1, -3.97989206e-005, 1.13026372e-005, -4.09751265e-005, -0.91493088, 0.403610349, -5.72212457e-006, -0.403610349, -0.91493088)
  569. w8.Part1 = p9
  570. w8.C1 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  571. w9 = Instance.new("Weld", p9)
  572. w9.Name = "Part_Weld"
  573. w9.Part0 = p9
  574. w9.C0 = CFrame.new(-72.2151413, -19.6674671, -67.5124359, -2.77766703e-005, 0.353263557, 0.935524285, -1.84533783e-005, -0.935524285, 0.353263557, 1, -7.4510931e-006, 3.25046385e-005)
  575. w9.Part1 = p10
  576. w9.C1 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  577. w10 = Instance.new("Weld", p10)
  578. w10.Name = "Part_Weld"
  579. w10.Part0 = p10
  580. w10.C0 = CFrame.new(67.0792923, -29.5803547, -67.4901428, -2.24114753e-008, 0.292369425, -0.956305802, 3.04095332e-010, 0.956305802, 0.292369425, 1, 6.26159258e-009, -2.15211493e-008)
  581. w10.Part1 = p11
  582. w10.C1 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  583. w11 = Instance.new("Weld", p11)
  584. w11.Name = "Part_Weld"
  585. w11.Part0 = p11
  586. w11.C0 = CFrame.new(-62.9921722, 32.1197624, -67.5121918, -2.88835581e-005, -0.362230271, 0.932088912, 9.3476192e-006, -0.932088912, -0.362230271, 1, -1.74967965e-006, 3.03080251e-005)
  587. w11.Part1 = p12
  588. w11.C1 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  589. w12 = Instance.new("Weld", p12)
  590. w12.Name = "Part_Weld"
  591. w12.Part0 = p12
  592. w12.C0 = CFrame.new(67.5028763, 72.2527161, 6.8300252, -1, -9.15522687e-005, -3.05189751e-005, 3.05161811e-005, 3.05189751e-005, -1, 9.15532e-005, -1, -3.05161811e-005)
  593. w12.Part1 = p13
  594. w12.C1 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  595. w13 = Instance.new("Weld", p13)
  596. w13.Name = "Part_Weld"
  597. w13.Part0 = p13
  598. w13.C0 = CFrame.new(-72.3439255, 18.054121, -67.5101624, -4.09776035e-008, -0.11906305, 0.992886722, 4.05430745e-010, -0.992886722, -0.11906305, 1, -4.47637571e-009, 4.0734399e-008)
  599. w13.Part1 = p14
  600. w13.C1 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  601. w14 = Instance.new("Weld", p14)
  602. w14.Name = "Part_Weld"
  603. w14.Part0 = p14
  604. w14.C0 = CFrame.new(69.1140671, 24.5752277, -67.4901428, -2.4837334e-008, -0.462350011, -0.886697888, 5.64353009e-010, 0.886697888, -0.462350011, 1, -1.19839818e-008, -2.17623022e-008)
  605. w14.Part1 = p15
  606. w14.C1 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  607. w15 = Instance.new("Weld", p15)
  608. w15.Name = "Part_Weld"
  609. w15.Part0 = p15
  610. w15.C0 = CFrame.new(47.9809418, -52.7511749, -67.5101318, -3.94735267e-008, 0.64509654, -0.764101744, -4.55740418e-010, 0.764101744, 0.64509654, 1, 2.58124242e-008, -2.98677882e-008)
  611. w15.Part1 = p16
  612. w15.C1 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  613. w16 = Instance.new("Weld", p16)
  614. w16.Name = "Part_Weld"
  615. w16.Part0 = p16
  616. w16.C0 = CFrame.new(-75.3105469, -10.1974039, -67.5001221, -4.37113883e-008, 0.258818924, 0.965925872, 0, -0.965925872, 0.258818924, 1, 1.13133343e-008, 4.22219593e-008)
  617. w16.Part1 = p17
  618. w16.C1 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  619. w17 = Instance.new("Weld", p17)
  620. w17.Name = "Wedge_Weld"
  621. w17.Part0 = p17
  622. w17.C0 = CFrame.new(64.0820847, -29.3829937, -67.5001373, -4.09009289e-008, 0.293349952, -0.956005633, 4.38312497e-010, 0.956005633, 0.293349952, 1, 1.15792238e-008, -3.92300876e-008)
  623. w17.Part1 = p18
  624. w17.C1 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  625. w18 = Instance.new("Weld", p18)
  626. w18.Name = "Wedge_Weld"
  627. w18.Part0 = p18
  628. w18.C0 = CFrame.new(-67.4979324, 69.4871521, -6.82958078, 1, 3.05171125e-005, -3.05180438e-005, -3.05171125e-005, -3.05180438e-005, -1, -3.05180438e-005, 1, -3.05171125e-005)
  629. w18.Part1 = p19
  630. w18.C1 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  631. w19 = Instance.new("Weld", p19)
  632. w19.Name = "Part_Weld"
  633. w19.Part0 = p19
  634. w19.C0 = CFrame.new(67.4982986, -75.0367737, -6.83008671, -1, -9.15532e-005, 3.05161811e-005, 3.05189751e-005, -3.05161811e-005, 1, -9.15522687e-005, 1, 3.05189751e-005)
  635. w19.Part1 = p20
  636. w19.C1 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  637. w20 = Instance.new("Weld", p20)
  638. w20.Name = "Part_Weld"
  639. w20.Part0 = p20
  640. w20.C0 = CFrame.new(-16.3677292, -69.9670334, -67.5001678, -1.77821063e-010, 0.992886961, 0.119063012, -1.46926671e-009, -0.119063012, 0.992886961, 1, 1.59595731e-012, 1.47997492e-009)
  641. w20.Part1 = p21
  642. w20.C1 = CFrame.new(-67.5104218, -38.2193756, 67.100563, 1, -4.10709617e-005, 9.00123541e-006, -3.82823673e-005, -0.800855637, 0.598857403, -1.73869594e-005, -0.598857403, -0.800855637)
  643. m.Parent = char
  644. m:MakeJoints()
  645. ----------------------------------------------------
  646. local cor = Instance.new("Part", char.Absolution)
  647. cor.Name = "Thingy"
  648. cor.Locked = true
  649. cor.BottomSurface = 0
  650. cor.CanCollide = false
  651. cor.Size = Vector3.new(1, 13, 1)
  652. cor.Transparency = 1
  653. cor.TopSurface = 0
  654. corw = Instance.new("Weld", cor)
  655. corw.Part0 = rarm
  656. corw.Part1 = cor
  657. corw.C0 = CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  658. corw.C1 = CFrame.new(0, 0, 0)
  659. weld1 = Instance.new("Weld", char.Absolution)
  660. weld1.Part0 = cor
  661. weld1.Part1 = p6
  662. weld1.C0 = CFrame.new(0, 0, 0)
  663. ----------------------------------------------------
  664. hitb = Instance.new("Part", char.Absolution)
  665. hitb.Name = "Thingy2"
  666. hitb.Locked = true
  667. hitb.BottomSurface = 0
  668. hitb.CanCollide = false
  669. hitb.Size = Vector3.new(0, 8, 6)
  670. hitb.Transparency = 1
  671. hitb.TopSurface = 0
  672. weld2 = Instance.new("Weld", char.Absolution)
  673. weld2.Part0 = hitb
  674. weld2.Part1 = p12
  675. weld2.C0 = CFrame.new(0, .6, 1)
  676. ----------------------------------------------------
  677. local m = Instance.new("Model")
  678. m.Name = "Claw"
  679. p1 = Instance.new("Part", m)
  680. p1.BrickColor = BrickColor.new("Institutional white")
  681. p1.FormFactor = Enum.FormFactor.Custom
  682. p1.Size = Vector3.new(1.5, 0.5, 0.5)
  683. p1.CFrame = CFrame.new(2.91120553, 6.79703379, -19.5339718, -0.205515206, -0.209888965, 0.955883741, 0.52527827, -0.847774804, -0.0732159689, 0.825741529, 0.487057745, 0.284480691)
  684. p1.CanCollide = false
  685. p1.Locked = true
  686. p1.BottomSurface = Enum.SurfaceType.Smooth
  687. p1.TopSurface = Enum.SurfaceType.Smooth
  688. b1 = Instance.new("BlockMesh", p1)
  689. b1.Name = "Mesh"
  690. p2 = Instance.new("WedgePart", m)
  691. p2.BrickColor = BrickColor.new("Institutional white")
  692. p2.Name = "Wedge"
  693. p2.FormFactor = Enum.FormFactor.Custom
  694. p2.Size = Vector3.new(3, 1, 0.5)
  695. p2.CFrame = CFrame.new(2.94872427, 6.13246727, -16.5004997, -5.96046448e-008, -4.47034836e-008, -1.00000358, -1.3615936e-005, 0.99999994, 4.47034836e-008, 1.00000358, 1.41002238e-005, 0)
  696. p2.CanCollide = false
  697. p2.Locked = true
  698. p2.BottomSurface = Enum.SurfaceType.Smooth
  699. p2.TopSurface = Enum.SurfaceType.Smooth
  700. p3 = Instance.new("Part", m)
  701. p3.BrickColor = BrickColor.new("Institutional white")
  702. p3.FormFactor = Enum.FormFactor.Custom
  703. p3.Size = Vector3.new(1.5, 0.5, 0.5)
  704. p3.CFrame = CFrame.new(1.84869456, 6.79700661, -18.5422173, -5.06400113e-008, 1.07230136e-007, 1.00000715, -0.499905825, -0.866079628, -1.1125789e-007, 0.86608547, -0.499910295, -2.17476881e-008)
  705. p3.CanCollide = false
  706. p3.Locked = true
  707. p3.BottomSurface = Enum.SurfaceType.Smooth
  708. p3.TopSurface = Enum.SurfaceType.Smooth
  709. b2 = Instance.new("BlockMesh", p3)
  710. b2.Name = "Mesh"
  711. p4 = Instance.new("WedgePart", m)
  712. p4.BrickColor = BrickColor.new("Institutional white")
  713. p4.Name = "Wedge"
  714. p4.FormFactor = Enum.FormFactor.Custom
  715. p4.Size = Vector3.new(3, 1, 0.5)
  716. p4.CFrame = CFrame.new(0.0487272739, 4.13279819, -16.5004959, -1.62921424e-007, 1.78814929e-007, 1.00001431, -1.2755394e-005, -0.999999762, -1.78813849e-007, 1.00001431, -1.46627426e-005, -7.54998553e-008)
  717. p4.CanCollide = false
  718. p4.Locked = true
  719. p4.BottomSurface = Enum.SurfaceType.Smooth
  720. p4.TopSurface = Enum.SurfaceType.Smooth
  721. p5 = Instance.new("Part", m)
  722. p5.BrickColor = BrickColor.new("Institutional white")
  723. p5.FormFactor = Enum.FormFactor.Custom
  724. p5.Size = Vector3.new(1.5, 0.5, 0.5)
  725. p5.CFrame = CFrame.new(1.84874606, 6.79701567, -19.6422844, -4.29027068e-007, 1.9046513e-007, 1.00001431, 0.500089467, -0.865973532, 2.18601315e-008, 0.865987122, 0.50009501, 3.78533827e-008)
  726. p5.CanCollide = false
  727. p5.Locked = true
  728. p5.BottomSurface = Enum.SurfaceType.Smooth
  729. p5.TopSurface = Enum.SurfaceType.Smooth
  730. b3 = Instance.new("BlockMesh", p5)
  731. b3.Name = "Mesh"
  732. p6 = Instance.new("Part", m)
  733. p6.BrickColor = BrickColor.new("Institutional white")
  734. p6.FormFactor = Enum.FormFactor.Custom
  735. p6.Size = Vector3.new(1.5, 0.5, 0.5)
  736. p6.CFrame = CFrame.new(2.61122823, 6.79701757, -18.433939, -0.250001401, 0.0669622123, 0.965941966, -0.491382152, -0.868364573, -0.0669801831, 0.834303975, -0.491393685, 0.249996051)
  737. p6.CanCollide = false
  738. p6.Locked = true
  739. p6.BottomSurface = Enum.SurfaceType.Smooth
  740. p6.TopSurface = Enum.SurfaceType.Smooth
  741. b4 = Instance.new("BlockMesh", p6)
  742. b4.Name = "Mesh"
  743. p7 = Instance.new("Part", m)
  744. p7.BrickColor = BrickColor.new("Institutional white")
  745. p7.FormFactor = Enum.FormFactor.Custom
  746. p7.Size = Vector3.new(3, 1, 1.20000005)
  747. p7.CFrame = CFrame.new(2.59874034, 5.13276958, -16.5005379, -3.27825546e-007, -3.57627869e-007, -1.00001431, -0.000133868307, 0.99999994, 1.49011612e-008, 1.00001442, 0.000135900453, -5.96046448e-008)
  748. p7.CanCollide = false
  749. p7.Locked = true
  750. p7.BottomSurface = Enum.SurfaceType.Smooth
  751. p7.TopSurface = Enum.SurfaceType.Smooth
  752. b5 = Instance.new("BlockMesh", p7)
  753. b5.Name = "Mesh"
  754. p8 = Instance.new("Part", m)
  755. p8.BrickColor = BrickColor.new("New Yeller")
  756. p8.FormFactor = Enum.FormFactor.Symmetric
  757. p8.Size = Vector3.new(1, 1, 1)
  758. p8.CFrame = CFrame.new(1.84841466, 6.25537968, -20.3997307, -1.42129729e-005, 0.00428489037, -1.00000513, 0.965967655, 0.258660465, 0.00109496934, 0.258668512, -0.965972245, -0.00414247159)
  759. p8.CanCollide = false
  760. p8.Locked = true
  761. b6 = Instance.new("SpecialMesh", p8)
  762. b6.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  763. b6.TextureId = ""
  764. b6.MeshType = Enum.MeshType.FileMesh
  765. b6.Name = "Mesh"
  766. b6.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  767. p9 = Instance.new("Part", m)
  768. p9.BrickColor = BrickColor.new("Institutional white")
  769. p9.FormFactor = Enum.FormFactor.Custom
  770. p9.Size = Vector3.new(1.5, 0.5, 0.5)
  771. p9.CFrame = CFrame.new(2.79691935, 3.68131566, -18.264101, -0.277095288, -0.561500967, -0.779720128, 0.631033003, 0.505603611, -0.58835566, 0.724593103, -0.655058563, 0.214224264)
  772. p9.CanCollide = false
  773. p9.Locked = true
  774. p9.BottomSurface = Enum.SurfaceType.Smooth
  775. p9.TopSurface = Enum.SurfaceType.Smooth
  776. b7 = Instance.new("BlockMesh", p9)
  777. b7.Name = "Mesh"
  778. p10 = Instance.new("Part", m)
  779. p10.BrickColor = BrickColor.new("New Yeller")
  780. p10.FormFactor = Enum.FormFactor.Symmetric
  781. p10.Size = Vector3.new(1, 1, 1)
  782. p10.CFrame = CFrame.new(3.09846497, 6.25236273, -20.2996788, -0.0669716895, 0.254178405, -0.964850724, 0.96595335, 0.258713901, 0.00110733509, 0.249903828, -0.93192625, -0.262850702)
  783. p10.CanCollide = false
  784. p10.Locked = true
  785. b8 = Instance.new("SpecialMesh", p10)
  786. b8.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  787. b8.TextureId = ""
  788. b8.MeshType = Enum.MeshType.FileMesh
  789. b8.Name = "Mesh"
  790. b8.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  791. p11 = Instance.new("Part", m)
  792. p11.BrickColor = BrickColor.new("Institutional white")
  793. p11.FormFactor = Enum.FormFactor.Custom
  794. p11.Size = Vector3.new(1.5, 0.5, 0.5)
  795. p11.CFrame = CFrame.new(0.386122227, 6.79699421, -18.533905, 0.250022948, -0.0669473261, 0.965937555, -0.491377324, -0.868365645, 0.0670026764, 0.834300399, -0.491393894, -0.250007868)
  796. p11.CanCollide = false
  797. p11.Locked = true
  798. p11.BottomSurface = Enum.SurfaceType.Smooth
  799. p11.TopSurface = Enum.SurfaceType.Smooth
  800. b9 = Instance.new("BlockMesh", p11)
  801. b9.Name = "Mesh"
  802. p12 = Instance.new("Part", m)
  803. p12.BrickColor = BrickColor.new("Institutional white")
  804. p12.FormFactor = Enum.FormFactor.Custom
  805. p12.Size = Vector3.new(1.5, 0.5, 0.5)
  806. p12.CFrame = CFrame.new(1.14871967, 6.79700947, -19.6422291, -4.76837158e-007, 2.83122063e-007, 1.00001442, 0.500089884, -0.865973473, 4.47034836e-008, 0.865987122, 0.500095367, 1.49011612e-008)
  807. p12.CanCollide = false
  808. p12.Locked = true
  809. p12.BottomSurface = Enum.SurfaceType.Smooth
  810. p12.TopSurface = Enum.SurfaceType.Smooth
  811. b10 = Instance.new("BlockMesh", p12)
  812. b10.Name = "Mesh"
  813. p13 = Instance.new("Part", m)
  814. p13.BrickColor = BrickColor.new("Institutional white")
  815. p13.FormFactor = Enum.FormFactor.Custom
  816. p13.Size = Vector3.new(1.5, 0.5, 0.5)
  817. p13.CFrame = CFrame.new(1.14870512, 6.79699612, -18.5421638, -4.63888163e-008, 5.08347114e-007, 1.00001442, -0.499899268, -0.866083562, -2.18518963e-008, 0.866095126, -0.499908328, 3.78581007e-008)
  818. p13.CanCollide = false
  819. p13.Locked = true
  820. p13.BottomSurface = Enum.SurfaceType.Smooth
  821. p13.TopSurface = Enum.SurfaceType.Smooth
  822. b11 = Instance.new("BlockMesh", p13)
  823. b11.Name = "Mesh"
  824. p14 = Instance.new("Part", m)
  825. p14.BrickColor = BrickColor.new("New Yeller")
  826. p14.FormFactor = Enum.FormFactor.Symmetric
  827. p14.Size = Vector3.new(1, 1, 1)
  828. p14.CFrame = CFrame.new(1.14845455, 6.25537348, -20.3996773, -1.42545232e-005, 0.00425684778, -1.00000536, 0.965958476, 0.258694947, 0.00108788908, 0.258703023, -0.965963125, -0.00411536777)
  829. p14.CanCollide = false
  830. p14.Locked = true
  831. b12 = Instance.new("SpecialMesh", p14)
  832. b12.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  833. b12.TextureId = ""
  834. b12.MeshType = Enum.MeshType.FileMesh
  835. b12.Name = "Mesh"
  836. b12.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  837. p15 = Instance.new("Part", m)
  838. p15.BrickColor = BrickColor.new("Medium stone grey")
  839. p15.Transparency = 1
  840. p15.Name = "ArmPart"
  841. p15.FormFactor = Enum.FormFactor.Custom
  842. p15.Size = Vector3.new(2, 1, 1)
  843. p15.CFrame = CFrame.new(1.49875152, 5.13257265, -16.0004654, -2.99420208e-007, 4.39002179e-007, 1.00001442, 0.00011029192, -1, 0, 1.00001454, 0.000108176115, 4.42378223e-008)
  844. p15.CanCollide = false
  845. p15.Locked = true
  846. p15.BottomSurface = Enum.SurfaceType.Smooth
  847. p15.TopSurface = Enum.SurfaceType.Smooth
  848. b13 = Instance.new("BlockMesh", p15)
  849. b13.Name = "Mesh"
  850. p16 = Instance.new("Part", m)
  851. p16.BrickColor = BrickColor.new("Institutional white")
  852. p16.FormFactor = Enum.FormFactor.Custom
  853. p16.Size = Vector3.new(3, 1, 2.4000001)
  854. p16.CFrame = CFrame.new(1.49872661, 6.13250732, -16.5007095, -2.98894406e-007, 4.39006953e-007, 1.00001442, 0.000110270419, -1, 4.71678729e-012, 1.00001454, 0.000108154614, 4.37120207e-008)
  855. p16.CanCollide = false
  856. p16.Locked = true
  857. p16.BottomSurface = Enum.SurfaceType.Smooth
  858. p16.TopSurface = Enum.SurfaceType.Smooth
  859. b14 = Instance.new("BlockMesh", p16)
  860. b14.Name = "Mesh"
  861. p17 = Instance.new("Part", m)
  862. p17.BrickColor = BrickColor.new("Institutional white")
  863. p17.FormFactor = Enum.FormFactor.Custom
  864. p17.Size = Vector3.new(1.5, 0.5, 0.5)
  865. p17.CFrame = CFrame.new(2.77308726, 3.37837577, -19.2558823, 0.396035522, -0.497440547, -0.771840453, -0.207958207, 0.770127177, -0.603040278, 0.894391596, 0.399337679, 0.201549783)
  866. p17.CanCollide = false
  867. p17.Locked = true
  868. p17.BottomSurface = Enum.SurfaceType.Smooth
  869. p17.TopSurface = Enum.SurfaceType.Smooth
  870. b15 = Instance.new("BlockMesh", p17)
  871. b15.Name = "Mesh"
  872. p18 = Instance.new("Part", m)
  873. p18.BrickColor = BrickColor.new("New Yeller")
  874. p18.FormFactor = Enum.FormFactor.Symmetric
  875. p18.Size = Vector3.new(1, 1, 1)
  876. p18.CFrame = CFrame.new(-0.0516102314, 6.25535488, -20.1996384, 0.066943109, -0.245838761, -0.967011333, 0.965954781, 0.258709013, 0.00110003352, 0.249906152, -0.934162259, 0.254788101)
  877. p18.CanCollide = false
  878. p18.Locked = true
  879. b16 = Instance.new("SpecialMesh", p18)
  880. b16.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  881. b16.TextureId = ""
  882. b16.MeshType = Enum.MeshType.FileMesh
  883. b16.Name = "Mesh"
  884. b16.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  885. p19 = Instance.new("Part", m)
  886. p19.BrickColor = BrickColor.new("New Yeller")
  887. p19.FormFactor = Enum.FormFactor.Symmetric
  888. p19.Size = Vector3.new(1, 1, 1)
  889. p19.CFrame = CFrame.new(2.43177533, 3.59484506, -20.0301056, 0.559401393, 0.116905749, 0.820629179, -0.685213447, -0.491872638, 0.537163019, 0.466440916, -0.862796843, -0.195047855)
  890. p19.CanCollide = false
  891. p19.Locked = true
  892. b17 = Instance.new("SpecialMesh", p19)
  893. b17.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  894. b17.TextureId = ""
  895. b17.MeshType = Enum.MeshType.FileMesh
  896. b17.Name = "Mesh"
  897. b17.Scale = Vector3.new(1.20000005, 0.449999988, 0.449999988)
  898. p20 = Instance.new("Part", m)
  899. p20.BrickColor = BrickColor.new("Institutional white")
  900. p20.FormFactor = Enum.FormFactor.Custom
  901. p20.Size = Vector3.new(3, 1, 2.4000001)
  902. p20.CFrame = CFrame.new(1.49873698, 4.13275099, -16.500618, -2.38418579e-007, -4.47034836e-007, -1.00001454, -0.000133797526, 1.00000024, -2.98023224e-008, 1.00001466, 0.000135831535, -5.96046448e-008)
  903. p20.CanCollide = false
  904. p20.Locked = true
  905. p20.BottomSurface = Enum.SurfaceType.Smooth
  906. p20.TopSurface = Enum.SurfaceType.Smooth
  907. b18 = Instance.new("BlockMesh", p20)
  908. b18.Name = "Mesh"
  909. p21 = Instance.new("Part", m)
  910. p21.BrickColor = BrickColor.new("Institutional white")
  911. p21.FormFactor = Enum.FormFactor.Custom
  912. p21.Size = Vector3.new(3, 1, 1.19999993)
  913. p21.CFrame = CFrame.new(0.398718834, 5.13273239, -16.5005798, -2.22529991e-007, -4.17224015e-007, -1.00001454, -0.000133820766, 1.00000024, 5.9472427e-012, 1.00001466, 0.000135854774, -4.37120207e-008)
  914. p21.CanCollide = false
  915. p21.Locked = true
  916. p21.BottomSurface = Enum.SurfaceType.Smooth
  917. p21.TopSurface = Enum.SurfaceType.Smooth
  918. b19 = Instance.new("BlockMesh", p21)
  919. b19.Name = "Mesh"
  920. p22 = Instance.new("WedgePart", m)
  921. p22.BrickColor = BrickColor.new("Institutional white")
  922. p22.Name = "Wedge"
  923. p22.FormFactor = Enum.FormFactor.Custom
  924. p22.Size = Vector3.new(3, 1, 0.5)
  925. p22.CFrame = CFrame.new(2.94884443, 4.13282013, -16.5005474, 1.35156796e-007, 4.17202415e-007, -1.00001454, 1.19470278e-005, -1.00000024, -6.07483681e-013, -1.00001466, -1.39792755e-005, 4.37120278e-008)
  926. p22.CanCollide = false
  927. p22.Locked = true
  928. p22.BottomSurface = Enum.SurfaceType.Smooth
  929. p22.TopSurface = Enum.SurfaceType.Smooth
  930. p23 = Instance.new("Part", m)
  931. p23.BrickColor = BrickColor.new("Institutional white")
  932. p23.FormFactor = Enum.FormFactor.Custom
  933. p23.Size = Vector3.new(1.5, 0.5, 0.5)
  934. p23.CFrame = CFrame.new(0.111123323, 6.79699326, -19.53405, 0.167916089, 0.220654398, 0.960804224, 0.593452632, -0.800862908, 0.0802069977, 0.787171543, 0.556722164, -0.265425682)
  935. p23.CanCollide = false
  936. p23.Locked = true
  937. p23.BottomSurface = Enum.SurfaceType.Smooth
  938. p23.TopSurface = Enum.SurfaceType.Smooth
  939. b20 = Instance.new("BlockMesh", p23)
  940. b20.Name = "Mesh"
  941. p24 = Instance.new("WedgePart", m)
  942. p24.BrickColor = BrickColor.new("Institutional white")
  943. p24.Name = "Wedge"
  944. p24.FormFactor = Enum.FormFactor.Custom
  945. p24.Size = Vector3.new(3, 1, 0.5)
  946. p24.CFrame = CFrame.new(0.0487362742, 6.13243389, -16.5004158, -0.000165194273, -0.00030361861, 1.00001442, 0.00304524973, 0.999995589, 0.000303655863, -1.00001013, 0.00304720178, -0.000164449215)
  947. p24.CanCollide = false
  948. p24.Locked = true
  949. p24.BottomSurface = Enum.SurfaceType.Smooth
  950. p24.TopSurface = Enum.SurfaceType.Smooth
  951. p25 = Instance.new("Part", m)
  952. p25.BrickColor = BrickColor.new("New Yeller")
  953. p25.FormFactor = Enum.FormFactor.Symmetric
  954. p25.Size = Vector3.new(1, 1, 1)
  955. p25.CFrame = CFrame.new(1.49870086, 5.13261318, -18.0007782, 1.20991026e-005, -1.00001454, -4.94604174e-005, -1.00000024, -1.16155716e-005, -0.000471511274, 0.000469659513, 4.96469293e-005, -1.00001466)
  956. p25.CanCollide = false
  957. p25.Locked = true
  958. p25.BottomSurface = Enum.SurfaceType.Smooth
  959. p25.TopSurface = Enum.SurfaceType.Smooth
  960. b21 = Instance.new("SpecialMesh", p25)
  961. b21.MeshId = "http://www.roblox.com/asset/?id=3270017"
  962. b21.TextureId = ""
  963. b21.MeshType = Enum.MeshType.FileMesh
  964. b21.Name = "Mesh"
  965. b21.Scale = Vector3.new(1.39999998, 1.39999998, 0.600000024)
  966. p26 = Instance.new("Part", m)
  967. p26.BrickColor = BrickColor.new("Institutional white")
  968. p26.FormFactor = Enum.FormFactor.Symmetric
  969. p26.Size = Vector3.new(1, 1, 1)
  970. p26.CFrame = CFrame.new(1.49868095, 5.13287783, -17.5005093, 0.00030383491, 0.000164763711, -1.00001454, -0.999995768, -0.00302907336, -0.000303868263, -0.00303102471, 1.00001025, 0.000164022902)
  971. p26.CanCollide = false
  972. p26.Locked = true
  973. p26.BottomSurface = Enum.SurfaceType.Smooth
  974. p26.TopSurface = Enum.SurfaceType.Smooth
  975. b22 = Instance.new("SpecialMesh", p26)
  976. b22.MeshType = Enum.MeshType.Brick
  977. b22.Name = "Mesh"
  978. w1 = Instance.new("Weld", p1)
  979. w1.Name = "Wedge_Weld"
  980. w1.Part0 = p1
  981. w1.C0 = CFrame.new(13.1579618, 15.8875484, 3.27191186, -0.205515206, 0.52527827, 0.825741529, -0.209888965, -0.847774804, 0.487057745, 0.955883741, -0.0732159689, 0.284480691)
  982. w1.Part1 = p2
  983. w1.C1 = CFrame.new(16.5005817, -6.13223743, 2.94872212, -4.37113883e-008, -1.38580826e-005, 1, 0, 1, 1.38580826e-005, -1, 6.05756005e-013, -4.37113883e-008)
  984. w2 = Instance.new("Weld", p2)
  985. w2.Name = "Part_Weld"
  986. w2.Part0 = p2
  987. w2.C0 = CFrame.new(16.5006275, -6.13223362, 2.94873357, -5.96046448e-008, -1.3615936e-005, 1.00000358, -4.47034836e-008, 0.99999994, 1.41002238e-005, -1.00000358, 4.47034836e-008, 0)
  988. w2.Part1 = p3
  989. w2.C1 = CFrame.new(19.4568748, -3.38260746, -1.84870064, -4.37113883e-008, -0.499906301, 0.866079509, 0, -0.866079509, -0.499906301, 1, -2.18515979e-008, 3.78575393e-008)
  990. w3 = Instance.new("Weld", p3)
  991. w3.Name = "Wedge_Weld"
  992. w3.Part0 = p3
  993. w3.C0 = CFrame.new(19.456995, -3.38268948, -1.84870648, -5.06400113e-008, -0.499905825, 0.86608547, 1.07230136e-007, -0.866079628, -0.499910295, 1.00000715, -1.1125789e-007, -2.17476881e-008)
  994. w3.Part1 = p4
  995. w3.C1 = CFrame.new(16.5005646, 4.13256884, -0.0487511083, -4.37113883e-008, -1.37408551e-005, 1, 0, -1, -1.37408551e-005, 1, -6.00631849e-013, 4.37113883e-008)
  996. w4 = Instance.new("Weld", p4)
  997. w4.Name = "Part_Weld"
  998. w4.Part0 = p4
  999. w4.C0 = CFrame.new(16.5007706, 4.13255453, -0.0487275235, -1.62921424e-007, -1.2755394e-005, 1.00001431, 1.78814929e-007, -0.999999762, -1.46627426e-005, 1.00001431, -1.78813849e-007, -7.54998553e-008)
  1000. w4.Part1 = p5
  1001. w4.C1 = CFrame.new(13.6104183, 15.7089605, -1.84869325, -4.37113883e-008, 0.500093758, 0.865971267, 0, -0.865971267, 0.500093758, 1, 2.18597922e-008, 3.78528071e-008)
  1002. w5 = Instance.new("Weld", p5)
  1003. w5.Name = "Part_Weld"
  1004. w5.Part0 = p5
  1005. w5.C0 = CFrame.new(13.6108379, 15.7090359, -1.84877098, -4.29027068e-007, 0.500089467, 0.865987122, 1.9046513e-007, -0.865973532, 0.50009501, 1.00001431, 2.18601315e-008, 3.78533827e-008)
  1006. w5.Part1 = p6
  1007. w5.C1 = CFrame.new(19.3720245, -3.33087778, 2.54137325, -0.249996737, -0.491388977, 0.834289134, 0.0669635162, -0.868360817, -0.491391122, 0.965928316, -0.0669792444, 0.24999252)
  1008. w6 = Instance.new("Weld", p6)
  1009. w6.Name = "Part_Weld"
  1010. w6.Part0 = p6
  1011. w6.C0 = CFrame.new(19.3722382, -3.33087826, 2.54137945, -0.250001401, -0.491382152, 0.834303975, 0.0669622123, -0.868364573, -0.491393685, 0.965941966, -0.0669801831, 0.249996051)
  1012. w6.Part1 = p7
  1013. w6.C1 = CFrame.new(16.5012703, -5.1305232, 2.59873891, -4.37113883e-008, -0.000135861075, 1, 0, 1, 0.000135861075, -1, 5.9386762e-012, -4.37113883e-008)
  1014. w7 = Instance.new("Weld", p7)
  1015. w7.Name = "Part_Weld"
  1016. w7.Part0 = p7
  1017. w7.C0 = CFrame.new(16.5014496, -5.13052464, 2.59877563, -3.27825546e-007, -0.000133868307, 1.00001442, -3.57627869e-007, 0.99999994, 0.000135900453, -1.00001431, 1.49011612e-008, -5.96046448e-008)
  1018. w7.Part1 = p8
  1019. w7.C1 = CFrame.new(-0.765930653, -21.3311157, 1.75706458, -1.37833995e-005, 0.965968609, 0.258659452, 0.00428466033, 0.258657128, -0.965959728, -0.999990821, 0.00109495374, -0.00414241292)
  1020. w8 = Instance.new("Weld", p8)
  1021. w8.Name = "Part_Weld"
  1022. w8.Part0 = p8
  1023. w8.C0 = CFrame.new(-0.765703201, -21.3314991, 1.75706851, -1.42129729e-005, 0.965967655, 0.258668512, 0.00428489037, 0.258660465, -0.965972245, -1.00000513, 0.00109496934, -0.00414247159)
  1024. w8.Part1 = p9
  1025. w8.C1 = CFrame.new(11.6857395, -12.2548676, 8.25926208, -0.277089596, 0.631037474, 0.724577785, -0.561487973, 0.505604029, -0.655054033, -0.779713154, -0.588350415, 0.214222342)
  1026. w9 = Instance.new("Weld", p9)
  1027. w9.Name = "Part_Weld"
  1028. w9.Part0 = p9
  1029. w9.C0 = CFrame.new(11.6860123, -12.254859, 8.25934601, -0.277095288, 0.631033003, 0.724593103, -0.561500967, 0.505603611, -0.655058563, -0.779720128, -0.58835566, 0.214224264)
  1030. w9.Part1 = p10
  1031. w9.C1 = CFrame.new(-0.759226322, -21.3225994, -2.35311079, -0.0669693872, 0.965954244, 0.249894977, 0.254174918, 0.258710593, -0.931914091, -0.964836895, 0.00110732042, -0.262847036)
  1032. w10 = Instance.new("Weld", p10)
  1033. w10.Name = "Part_Weld"
  1034. w10.Part0 = p10
  1035. w10.C0 = CFrame.new(-0.759016514, -21.3229256, -2.3531487, -0.0669716895, 0.96595335, 0.249903828, 0.254178405, 0.258713901, -0.93192625, -0.964850724, 0.00110733509, -0.262850702)
  1036. w10.Part1 = p11
  1037. w10.C1 = CFrame.new(18.7059784, -3.17931223, -5.46201515, 0.250018269, -0.49138394, 0.834285676, -0.0669495314, -0.86836195, -0.491391063, 0.965923727, 0.0670017004, -0.250004292)
  1038. w11 = Instance.new("Weld", p11)
  1039. w11.Name = "Part_Weld"
  1040. w11.Part0 = p11
  1041. w11.C0 = CFrame.new(18.7061806, -3.17931461, -5.46200418, 0.250022948, -0.491377324, 0.834300399, -0.0669473261, -0.868365645, -0.491393894, 0.965937555, 0.0670026764, -0.250007868)
  1042. w11.Part1 = p12
  1043. w11.C1 = CFrame.new(13.6104174, 15.708952, -1.1486963, -4.37113883e-008, 0.500093997, 0.865971148, 0, -0.865971148, 0.500093997, 1, 2.18598029e-008, 3.78528e-008)
  1044. w12 = Instance.new("Weld", p12)
  1045. w12.Name = "Part_Weld"
  1046. w12.Part0 = p12
  1047. w12.C0 = CFrame.new(13.6107903, 15.7090092, -1.1487354, -4.76837158e-007, 0.500089884, 0.865987122, 2.83122063e-007, -0.865973473, 0.500095367, 1.00001442, 4.47034836e-008, 1.49011612e-008)
  1048. w12.Part1 = p13
  1049. w12.C1 = CFrame.new(19.4568653, -3.38261366, -1.14870369, -4.37113883e-008, -0.499906093, 0.866079628, 0, -0.866079628, -0.499906093, 1, -2.1851589e-008, 3.78575429e-008)
  1050. w13 = Instance.new("Weld", p13)
  1051. w13.Name = "Part_Weld"
  1052. w13.Part0 = p13
  1053. w13.C0 = CFrame.new(19.457077, -3.38260937, -1.14871991, -4.63888163e-008, -0.499899268, 0.866095126, 5.08347114e-007, -0.866083562, -0.499908328, 1.00001442, -2.18518963e-008, 3.78581007e-008)
  1054. w13.Part1 = p14
  1055. w13.C1 = CFrame.new(-0.765169621, -21.3281136, 1.05768669, -1.37638153e-005, 0.96595937, 0.258693874, 0.00425664661, 0.258691579, -0.965950608, -0.99999094, 0.00108787336, -0.00411530817)
  1056. w14 = Instance.new("Weld", p14)
  1057. w14.Name = "ArmPart_Weld"
  1058. w14.Part0 = p14
  1059. w14.C0 = CFrame.new(-0.764959335, -21.3284416, 1.05770254, -1.42545232e-005, 0.965958476, 0.258703023, 0.00425684778, 0.258694947, -0.965963125, -1.00000536, 0.00108788908, -0.00411536777)
  1060. w14.Part1 = p15
  1061. w14.C1 = CFrame.new(16.0000172, 5.13429213, -1.49874043, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
  1062. w15 = Instance.new("Weld", p15)
  1063. w15.Name = "Part_Weld"
  1064. w15.Part0 = p15
  1065. w15.C0 = CFrame.new(16.0001163, 5.13430214, -1.49877143, -2.99420208e-007, 0.00011029192, 1.00001454, 4.39002179e-007, -1, 0.000108176115, 1.00001442, 0, 4.42378223e-008)
  1066. w15.Part1 = p16
  1067. w15.C1 = CFrame.new(16.5000153, 6.13429213, -1.49872518, -4.37113883e-008, 0.000108154614, 1, 0, -1, 0.000108154614, 1, 4.72758855e-012, 4.37113883e-008)
  1068. w16 = Instance.new("Weld", p16)
  1069. w16.Name = "Part_Weld"
  1070. w16.Part0 = p16
  1071. w16.C0 = CFrame.new(16.5002594, 6.1342907, -1.49874651, -2.98894406e-007, 0.000110270419, 1.00001454, 4.39006953e-007, -1, 0.000108154614, 1.00001442, 4.71678729e-012, 4.37120207e-008)
  1072. w16.Part1 = p17
  1073. w16.C1 = CFrame.new(16.8263168, 6.46704865, 8.05857849, 0.396029502, -0.207962677, 0.894378066, -0.497426808, 0.770130157, 0.399332225, -0.771833658, -0.603034973, 0.201548025)
  1074. w17 = Instance.new("Weld", p17)
  1075. w17.Name = "Part_Weld"
  1076. w17.Part0 = p17
  1077. w17.C0 = CFrame.new(16.8266068, 6.46726036, 8.05869198, 0.396035522, -0.207958207, 0.894391596, -0.497440547, 0.770127177, 0.399337679, -0.771840453, -0.603040278, 0.201549783)
  1078. w17.Part1 = p18
  1079. w17.C1 = CFrame.new(-0.991122723, -20.5004215, 5.08983374, 0.0669417754, 0.965955615, 0.249897182, -0.245835528, 0.258705586, -0.9341501, -0.966997266, 0.00110005983, 0.254784435)
  1080. w18 = Instance.new("Weld", p18)
  1081. w18.Name = "Part_Weld"
  1082. w18.Part0 = p18
  1083. w18.C0 = CFrame.new(-0.990923882, -20.5007305, 5.08983374, 0.066943109, 0.965954781, 0.249906152, -0.245838761, 0.258709013, -0.934162259, -0.967011333, 0.00110003352, 0.254788101)
  1084. w18.Part1 = p19
  1085. w18.C1 = CFrame.new(10.4456682, -15.7977238, -7.8332901, 0.559388936, -0.68521893, 0.466432214, 0.116898462, -0.491870552, -0.862785101, 0.820620954, 0.537157655, -0.195045918)
  1086. w19 = Instance.new("Weld", p19)
  1087. w19.Name = "Part_Weld"
  1088. w19.Part0 = p19
  1089. w19.C0 = CFrame.new(10.4457512, -15.7979813, -7.83342838, 0.559401393, -0.685213447, 0.466440916, 0.116905749, -0.491872638, -0.862796843, 0.820629179, 0.537163019, -0.195047855)
  1090. w19.Part1 = p20
  1091. w19.C1 = CFrame.new(16.5012665, -4.13050127, 1.49876332, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
  1092. w20 = Instance.new("Weld", p20)
  1093. w20.Name = "Part_Weld"
  1094. w20.Part0 = p20
  1095. w20.C0 = CFrame.new(16.5013981, -4.13050938, 1.498757, -2.38418579e-007, -0.000133797526, 1.00001466, -4.47034836e-007, 1.00000024, 0.000135831535, -1.00001454, -2.98023224e-008, -5.96046448e-008)
  1096. w20.Part1 = p21
  1097. w20.C1 = CFrame.new(16.5012627, -5.13048887, 0.39874959, -4.37113883e-008, -0.000135854745, 1, 0, 1, 0.000135854745, -1, 5.93839951e-012, -4.37113883e-008)
  1098. w21 = Instance.new("Weld", p21)
  1099. w21.Name = "Wedge_Weld"
  1100. w21.Part0 = p21
  1101. w21.C0 = CFrame.new(16.5014935, -5.13049126, 0.398722976, -2.22529991e-007, -0.000133820766, 1.00001466, -4.17224015e-007, 1.00000024, 0.000135854774, -1.00001454, 5.9472427e-012, -4.37120207e-008)
  1102. w21.Part1 = p22
  1103. w21.C1 = CFrame.new(-16.5005875, 4.13259029, 2.94876933, -4.37113883e-008, 1.39792737e-005, -1, 0, -1, -1.39792737e-005, -1, -6.11053471e-013, 4.37113883e-008)
  1104. w22 = Instance.new("Weld", p22)
  1105. w22.Name = "Part_Weld"
  1106. w22.Part0 = p22
  1107. w22.C0 = CFrame.new(-16.500824, 4.13258791, 2.94888711, 1.35156796e-007, 1.19470278e-005, -1.00001466, 4.17202415e-007, -1.00000024, -1.39792755e-005, -1.00001454, -6.07483681e-013, 4.37120278e-008)
  1108. w22.Part1 = p23
  1109. w22.C1 = CFrame.new(11.3238592, 16.2938461, -5.83674097, 0.167913347, 0.593457043, 0.787155509, 0.220650926, -0.800859332, 0.556720257, 0.960790455, 0.0802058354, -0.265421808)
  1110. w23 = Instance.new("Weld", p23)
  1111. w23.Name = "Wedge_Weld"
  1112. w23.Part0 = p23
  1113. w23.C0 = CFrame.new(11.3242846, 16.2939701, -5.83676767, 0.167916089, 0.593452632, 0.787171543, 0.220654398, -0.800862908, 0.556722164, 0.960804224, 0.0802069977, -0.265425682)
  1114. w23.Part1 = p24
  1115. w23.C1 = CFrame.new(-16.5190907, -6.08210278, -0.053311754, -0.000165350299, 0.00304719806, -0.999995351, -0.000303142268, 0.999995351, 0.00304725766, 0.99999994, 0.000303644716, -0.000164425801)
  1116. w24 = Instance.new("Weld", p24)
  1117. w24.Name = "Part_Weld"
  1118. w24.Part0 = p24
  1119. w24.C0 = CFrame.new(-16.5192356, -6.08211088, -0.0533116534, -0.000165194273, 0.00304524973, -1.00001013, -0.00030361861, 0.999995589, 0.00304720178, 1.00001442, 0.000303655863, -0.000164449215)
  1120. w24.Part1 = p25
  1121. w24.C1 = CFrame.new(5.14108515, 1.49960721, -17.9982204, 1.16387992e-005, -0.999999881, 0.000471503939, -1, -1.1615477e-005, 4.94651576e-005, -4.94596788e-005, -0.000471504522, -0.999999881)
  1122. w25 = Instance.new("Weld", p25)
  1123. w25.Name = "Part_Weld"
  1124. w25.Part0 = p25
  1125. w25.C0 = CFrame.new(5.14104986, 1.49967504, -17.9985313, 1.20991026e-005, -1.00000024, 0.000469659513, -1.00001454, -1.16155716e-005, 4.96469293e-005, -4.94604174e-005, -0.000471511274, -1.00001466)
  1126. w25.Part1 = p26
  1127. w25.C1 = CFrame.new(5.07938719, 17.5157299, 1.50311017, 0.00030336561, -0.99999541, -0.00302907825, 0.000164940167, -0.00302901864, 0.999995351, -0.99999994, -0.000303863839, 0.000164020501)
  1128. m.Parent = char
  1129. m:MakeJoints()
  1130. ----------------------------------------------------
  1131. local cor2 = Instance.new("Part", char.Claw)
  1132. cor2.Name = "Thingy"
  1133. cor2.Locked = true
  1134. cor2.BottomSurface = 0
  1135. cor2.CanCollide = false
  1136. cor2.Size = Vector3.new(2, 1, 1)
  1137. cor2.Transparency = 1
  1138. cor2.TopSurface = 0
  1139. corw2 = Instance.new("Weld", cor2)
  1140. corw2.Part0 = larm
  1141. corw2.Part1 = cor2
  1142. corw2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(180), math.rad(90))
  1143. corw2.C1 = CFrame.new(0, 0, 0)
  1144. weld2 = Instance.new("Weld", char.Claw)
  1145. weld2.Part0 = cor2
  1146. weld2.Part1 = char.Claw.ArmPart
  1147. weld2.C0 = CFrame.new(0, 0, 0)
  1148. ----------------------------------------------------
  1149. function weld5(part0, part1, c0, c1)
  1150. weeld=Instance.new("Weld", part0)
  1151. weeld.Part0=part0
  1152. weeld.Part1=part1
  1153. weeld.C0=c0
  1154. weeld.C1=c1
  1155. return weeld
  1156. end
  1157. ----------------------------------------------------
  1158. function newRay(start,face,range,wat)
  1159. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  1160. hit,pos=Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  1161. return rey,hit,pos
  1162. end
  1163. ----------------------------------------------------
  1164. mod5 = Instance.new("Model",char)
  1165.  
  1166. function FindNearestTorso(Position,Distance,SinglePlayer)
  1167. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1168. local List = {}
  1169. for i,v in pairs(workspace:GetChildren())do
  1170. if v:IsA("Model")then
  1171. if v:findFirstChild("Torso")then
  1172. if v ~= char then
  1173. if(v.Torso.Position -Position).magnitude <= Distance then
  1174. table.insert(List,v)
  1175. end
  1176. end
  1177. end
  1178. end
  1179. end
  1180. return List
  1181. end
  1182.  
  1183. function Landing()
  1184. part=Instance.new('Part',mod5)
  1185. part.Anchored=true
  1186. part.CanCollide=false
  1187. part.FormFactor='Custom'
  1188. part.Size=Vector3.new(.2,.2,.2)
  1189. part.CFrame=root.CFrame*CFrame.new(0,-2,0)
  1190. part.Transparency=.7
  1191. part.BrickColor=BrickColor.new('Institutional white')
  1192. mesh=Instance.new('SpecialMesh',part)
  1193. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1194. mesh.Scale=Vector3.new(10,5,10)
  1195.  
  1196. for i,v in pairs(FindNearestTorso(torso.CFrame.p,40))do
  1197. if v:FindFirstChild('Humanoid') then
  1198. v.Humanoid:TakeDamage(math.random(20,30))
  1199. v.Humanoid.PlatformStand = true
  1200. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1201. end
  1202. end
  1203.  
  1204. coroutine.resume(coroutine.create(function()
  1205. for i=0,3.8,0.05 do
  1206. wait()
  1207. part.CFrame=part.CFrame
  1208. part.Transparency=i
  1209. mesh.Scale=mesh.Scale+Vector3.new(1,0.2,1)
  1210. end
  1211. part.Parent = nil
  1212. end))
  1213. end
  1214. ----------------------------------------------------
  1215. mod4 = Instance.new("Model",char)
  1216.  
  1217. ptez = {0.7, 0.8, 0.9, 1}
  1218.  
  1219. function FindNearestTorso(Position,Distance,SinglePlayer)
  1220. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1221. local List = {}
  1222. for i,v in pairs(workspace:GetChildren())do
  1223. if v:IsA("Model")then
  1224. if v:findFirstChild("Torso")then
  1225. if v ~= char then
  1226. if(v.Torso.Position -Position).magnitude <= Distance then
  1227. table.insert(List,v)
  1228. end
  1229. end
  1230. end
  1231. end
  1232. end
  1233. return List
  1234. end
  1235.  
  1236. function GroundPound()
  1237. part=Instance.new('Part',mod4)
  1238. part.Anchored=true
  1239. part.CanCollide=false
  1240. part.FormFactor='Custom'
  1241. part.Size=Vector3.new(.2,.2,.2)
  1242. part.CFrame=root.CFrame*CFrame.new(0,-5.8,-2.4)*CFrame.Angles(math.rad(90),0,0)
  1243. part.Transparency=.7
  1244. part.BrickColor=BrickColor.new('Institutional white')
  1245. mesh=Instance.new('SpecialMesh',part)
  1246. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1247. mesh.Scale=Vector3.new(3,3,3)
  1248. part2=Instance.new('Part',mod4)
  1249. part2.Anchored=true
  1250. part2.CanCollide=false
  1251. part2.FormFactor='Custom'
  1252. part2.Size=Vector3.new(.2,.2,.2)
  1253. part2.CFrame=root.CFrame*CFrame.new(0,-5,-2.6)
  1254. part2.Transparency=.7
  1255. part2.BrickColor=BrickColor.new('Really red')
  1256. mesh2=Instance.new('SpecialMesh',part2)
  1257. mesh2.MeshId='http://www.roblox.com/asset/?id=20329976'
  1258. mesh2.Scale=Vector3.new(3,1.5,3)
  1259. x = Instance.new("Sound",char)
  1260. x.SoundId = "http://www.roblox.com/asset/?id=142070127"
  1261. x.Pitch = ptez[math.random(1,#ptez)]
  1262. x.Volume = 1
  1263. wait(.1)
  1264. x:Play()
  1265. for i,v in pairs(FindNearestTorso(torso.CFrame.p,12))do
  1266. if v:FindFirstChild('Humanoid') then
  1267. v.Humanoid:TakeDamage(math.random(8,15))
  1268. end
  1269. end
  1270. coroutine.resume(coroutine.create(function()
  1271. for i=0,0.62,0.13 do
  1272. wait()
  1273. part.CFrame=part.CFrame
  1274. part.Transparency=i
  1275. mesh.Scale=mesh.Scale+Vector3.new(0.4,0.4,0.4)
  1276. part2.CFrame=part2.CFrame
  1277. part2.Transparency=i
  1278. mesh2.Scale=mesh2.Scale+Vector3.new(0.4,0.2,0.4)
  1279. end
  1280. part.Parent=nil
  1281. part2.Parent=nil
  1282. x:Destroy()
  1283. end))
  1284. end
  1285. ----------------------------------------------------
  1286. mod=Instance.new('Model',char)
  1287.  
  1288. function charge()
  1289. hed.Velocity=hed.CFrame.lookVector*200
  1290. part=Instance.new('Part',mod)
  1291. part.Anchored=true
  1292. part.CanCollide=false
  1293. part.FormFactor='Custom'
  1294. part.Size=Vector3.new(.2,.2,.2)
  1295. part.CFrame=hed.CFrame*CFrame.Angles(math.rad(90),0,0)
  1296. part.Transparency=.7
  1297. part.BrickColor=BrickColor.new('New Yeller')
  1298. mesh=Instance.new('SpecialMesh',part)
  1299. mesh.MeshId='http://www.roblox.com/asset/?id=20329976'
  1300. mesh.Scale=Vector3.new(10,5,10)
  1301. part2=part:clone()
  1302. part2.Parent=mod
  1303. part2.BrickColor=BrickColor.new('Bright red')
  1304. mesh2=mesh:clone()
  1305. mesh2.Parent=part2
  1306. mesh2.Scale=Vector3.new(20,10,20)
  1307. part3=part2:clone()
  1308. part3.Parent = mod
  1309. part3.BrickColor=BrickColor.new('Institutional white')
  1310. mesh3=mesh2:clone()
  1311. mesh2.Parent=part3
  1312. mesh3.Scale=Vector3.new(30,15,30)
  1313. coroutine.resume(coroutine.create(function()
  1314. for i=0,1,0.1 do
  1315. wait()
  1316. part.CFrame=part.CFrame
  1317. part.Transparency=i
  1318. mesh.Scale=mesh.Scale+Vector3.new(1,1,1)
  1319. part2.CFrame=part2.CFrame
  1320. part2.Transparency=i
  1321. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1322. part3.CFrame=part3.CFrame
  1323. part3.Transparency=i
  1324. mesh3.Scale=mesh3.Scale+Vector3.new(1,1,1)
  1325. end
  1326. part.Parent=nil
  1327. part2.Parent=nil
  1328. part3.Parent = nil
  1329. end))
  1330. end
  1331. ----------------------------------------------------
  1332. function FindNearestTorso(Position,Distance,SinglePlayer)
  1333. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  1334. local List = {}
  1335. for i,v in pairs(workspace:GetChildren())do
  1336. if v:IsA("Model")then
  1337. if v:findFirstChild("Torso")then
  1338. if v ~= char then
  1339. if(v.Torso.Position -Position).magnitude <= Distance then
  1340. table.insert(List,v)
  1341. end
  1342. end
  1343. end
  1344. end
  1345. end
  1346. return List
  1347. end
  1348.  
  1349. mod3 = Instance.new("Model",rleg)
  1350.  
  1351. function Stomp()
  1352. part=Instance.new('Part',mod3)
  1353. part.Anchored=true
  1354. part.CanCollide=false
  1355. part.FormFactor='Custom'
  1356. part.Size=Vector3.new(.2,.2,.2)
  1357. part.CFrame=rleg.CFrame*CFrame.new(0,-2.4,0)*CFrame.Angles(math.rad(90),0,0)
  1358. part.Transparency=.7
  1359. part.BrickColor=BrickColor.new('Bright green')
  1360. mesh=Instance.new('SpecialMesh',part)
  1361. mesh.MeshId='http://www.roblox.com/asset/?id=3270017'
  1362. mesh.Scale=Vector3.new(25,25,25)
  1363. part2=part:clone()
  1364. part2.Parent=mod3
  1365. part2.BrickColor=BrickColor.new('Bright green')
  1366. mesh2=mesh:clone()
  1367. mesh2.Parent=part2
  1368. mesh2.Scale=Vector3.new(15,15,15)
  1369. part3=part:clone()
  1370. part3.Parent=mod3
  1371. part3.TopSurface=0
  1372. part3.BottomSurface=0
  1373. part3.CFrame=rleg.CFrame*CFrame.new(0,-3,0)
  1374. mesh3=Instance.new('SpecialMesh',part3)
  1375. mesh3.MeshType = 3
  1376. mesh3.Scale=Vector3.new(12,12,12)
  1377. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  1378. if v:FindFirstChild('Humanoid') then
  1379. v.Humanoid:TakeDamage(math.random(20,60))
  1380. v.Humanoid.PlatformStand = true
  1381. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  1382. end
  1383. end
  1384. coroutine.resume(coroutine.create(function()
  1385. for i=0,3.8,0.05 do
  1386. wait()
  1387. part.CFrame=part.CFrame
  1388. part.Transparency=i
  1389. mesh.Scale=mesh.Scale+Vector3.new(2.8,2.8,2.8)
  1390. part2.CFrame=part2.CFrame
  1391. part2.Transparency=i
  1392. mesh2.Scale=mesh2.Scale+Vector3.new(1,1,1)
  1393. part3.CFrame=part3.CFrame
  1394. part3.Transparency=i
  1395. mesh3.Scale=mesh3.Scale+Vector3.new(1.5,1.5,1.5)
  1396. end
  1397. end))
  1398. end
  1399. ----------------------------------------------------
  1400.  
  1401. local acos = math.acos
  1402. local sqrt = math.sqrt
  1403. local Vec3 = Vector3.new
  1404. local fromAxisAngle = CFrame.fromAxisAngle
  1405.  
  1406. local function toAxisAngle(CFr)
  1407. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  1408. local Angle = math.acos((R00+R11+R22-1)/2)
  1409. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1410. A = A == 0 and 0.00001 or A
  1411. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1412. B = B == 0 and 0.00001 or B
  1413. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  1414. C = C == 0 and 0.00001 or C
  1415. local x = (R21-R12)/sqrt(A)
  1416. local y = (R02-R20)/sqrt(B)
  1417. local z = (R10-R01)/sqrt(C)
  1418. return Vec3(x,y,z),Angle
  1419. end
  1420.  
  1421. function ApplyTrig(Num,Func)
  1422. local Min,Max = Func(0),Func(1)
  1423. local i = Func(Num)
  1424. return (i-Min)/(Max-Min)
  1425. --[[if Func == "sin" then
  1426. return (math.sin((1-Num)*math.pi)+1)/2
  1427. elseif Func == "cos" then
  1428. return (math.cos((1-Num)*math.pi)+1)/2
  1429. end]]
  1430. end
  1431.  
  1432. function LerpCFrame(CFrame1,CFrame2,Num)
  1433. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  1434. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  1435. end
  1436.  
  1437. function Crater(Torso,Radius)
  1438. Spawn(function()
  1439. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  1440. local Ignore = {}
  1441. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1442. if v.Character ~= nil then
  1443. Ignore[#Ignore+1] = v.Character
  1444. end
  1445. end
  1446. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  1447. if Hit == nil then return end
  1448. local Parts = {}
  1449. for i = 1,360,10 do
  1450. local P = Instance.new("Part",Torso.Parent)
  1451. P.Anchored = true
  1452. P.FormFactor = "Custom"
  1453. P.BrickColor = Hit.BrickColor
  1454. P.Material = Hit.Material
  1455. P.TopSurface = "Smooth"
  1456. P.BottomSurface = "Smooth"
  1457. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  1458. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1459. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  1460. if math.random(0,5) == 0 then -- rubble
  1461. local P = Instance.new("Part",Torso.Parent)
  1462. P.Anchored = true
  1463. P.FormFactor = "Custom"
  1464. P.BrickColor = Hit.BrickColor
  1465. P.Material = Hit.Material
  1466. P.TopSurface = "Smooth"
  1467. P.BottomSurface = "Smooth"
  1468. P.Size = Vector3.new(2,2,2)*(math.random(80,100)/100)
  1469. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  1470. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  1471. end
  1472. end
  1473. for i = 0,1,0.05 do
  1474. for i2,v in pairs(Parts) do
  1475. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  1476. end
  1477. wait(0.02)
  1478. end
  1479. for i,v in pairs(Parts) do
  1480. if v[1].Size.X > 2.1 then
  1481. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  1482. end
  1483. v[1].Anchored = false
  1484. end
  1485. for i = 0,1,0.05 do
  1486. for i2,v in pairs(Parts) do
  1487. v[1].Transparency = i
  1488. if i == 1 then
  1489. v[1]:Destroy()
  1490. elseif i >= 0.25 then
  1491. v[1].CanCollide = false
  1492. end
  1493. end
  1494. wait(0.02)
  1495. end
  1496. Parts = nil
  1497. end)
  1498. end
  1499.  
  1500. ----------------------------------------------------
  1501. mouse.KeyDown:connect(function(key)
  1502. if key == "r" then
  1503. larm.BrickColor = BrickColor.new("Bright red")
  1504. rarm.BrickColor = BrickColor.new("Bright red")
  1505. if Debounces.CanAttack == true then
  1506. Debounces.CanAttack = false
  1507. Debounces.on = true
  1508. Debounces.NoIdl = true
  1509. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1510. hit = ht.Parent
  1511. if ht and hit:IsA("Model") then
  1512. if hit:FindFirstChild("Humanoid") then
  1513. if hit.Name ~= p.Name then
  1514. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1515. Debounces.Slashed = true]]--
  1516. hit:FindFirstChild("Humanoid"):TakeDamage(10)
  1517. wait(1)
  1518. --Debounces.Slashed = false
  1519. --end
  1520. end
  1521. end
  1522. elseif ht and hit:IsA("Hat") then
  1523. if hit.Parent.Name ~= p.Name then
  1524. if hit.Parent:FindFirstChild("Humanoid") then
  1525. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1526. Debounces.Slashed = true]]--
  1527. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(10)
  1528. wait(1)
  1529. --Debounces.Slashed = false
  1530. end
  1531. end
  1532. end
  1533. end)
  1534. q = Instance.new("Sound",hed)
  1535. q.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1536. q.Pitch = 0.85
  1537. q.Looped = false
  1538. q1 = Instance.new("Sound",hed)
  1539. q1.SoundId = "http://www.roblox.com/asset/?id=134012322"
  1540. q1.Pitch = 0.85
  1541. q1.Looped = false
  1542. q:Play()
  1543. q1:Play()
  1544. for i = 1,20 do
  1545. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1546. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1547. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1548. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 4, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1549. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 1) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1550. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-60), 0, math.rad(0)), 0.4)
  1551. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.2, -3) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(0)), 0.5)
  1552. if Debounces.on == false then break end
  1553. wait()
  1554. end
  1555. n = Instance.new("Sound",hed)
  1556. n.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1557. n.Pitch = 0.94
  1558. n.Looped = false
  1559. n1 = Instance.new("Sound",hed)
  1560. n1.SoundId = "http://www.roblox.com/asset/?id=168514932"
  1561. n1.Pitch = 0.94
  1562. n1.Looped = false
  1563. n:Play()
  1564. n1:Play()
  1565. b = Instance.new("Sound",hed)
  1566. b.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1567. b.Pitch = 0.94
  1568. b.Looped = false
  1569. b1 = Instance.new("Sound",hed)
  1570. b1.SoundId = "http://www.roblox.com/asset/?id=168586586"
  1571. b1.Pitch = 0.94
  1572. b1.Looped = false
  1573. b:Play()
  1574. b1:Play()
  1575. for i = 1,26 do
  1576. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.5)
  1577. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.5)
  1578. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)),0.5)
  1579. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), 0), 0.5)
  1580. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -1) * CFrame.Angles(math.rad(50), 0, math.rad(0)), 0.5)
  1581. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .4) * CFrame.Angles(math.rad(-10), 0, math.rad(0)), 0.5)
  1582. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 0.5)
  1583. if Debounces.on == false then break end
  1584. wait()
  1585. end
  1586. wait(.5)
  1587. to:disconnect()
  1588. q:Destroy()
  1589. q1:Destroy()
  1590. n:Destroy()
  1591. n1:Destroy()
  1592. larm.BrickColor = BrickColor.new("Institutional white")
  1593. rarm.BrickColor = BrickColor.new("Institutional white")
  1594. if Debounces.CanAttack == false then
  1595. Debounces.CanAttack = true
  1596. Debounces.on = false
  1597. Debounces.NoIdl = false
  1598. end
  1599. end
  1600. end
  1601. end)
  1602. ----------------------------------------------------
  1603. mouse.KeyDown:connect(function(key)
  1604. if key == "q" then
  1605. larm.BrickColor = BrickColor.new("Bright red")
  1606. rarm.BrickColor = BrickColor.new("Bright red")
  1607. if Debounces.CanAttack == true then
  1608. Debounces.CanAttack = false
  1609. Debounces.on = true
  1610. Debounces.NoIdl = true
  1611. to = char.Absolution.Thingy2.Touched:connect(function(ht)
  1612. hit = ht.Parent
  1613. if ht and hit:IsA("Model") then
  1614. if hit:FindFirstChild("Humanoid") then
  1615. if hit.Name ~= p.Name then
  1616. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1617. Debounces.Slashed = true]]--
  1618. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1619. wait(1)
  1620. --Debounces.Slashed = false
  1621. --end
  1622. end
  1623. end
  1624. elseif ht and hit:IsA("Hat") then
  1625. if hit.Parent.Name ~= p.Name then
  1626. if hit.Parent:FindFirstChild("Humanoid") then
  1627. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1628. Debounces.Slashed = true]]--
  1629. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1630. wait(1)
  1631. --Debounces.Slashed = false
  1632. end
  1633. end
  1634. end
  1635. end)
  1636. for i = 1, 20 do
  1637. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(21), math.rad(75), math.rad(50)), 0.2)
  1638. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(-18)), 0.2)
  1639. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-60),0), 0.5)
  1640. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(70), 0), 0.5)
  1641. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1642. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1643. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1644. if Debounces.on == false then break end
  1645. wait()
  1646. end
  1647. z = Instance.new("Sound",hed)
  1648. z.SoundId = "rbxassetid://160069154"
  1649. z.Looped = false
  1650. z.Pitch = .9
  1651. z1 = Instance.new("Sound",hed)
  1652. z1.SoundId = "rbxassetid://160069154"
  1653. z1.Looped = false
  1654. z1.Pitch = .9
  1655. wait(0.01)
  1656. z:Play()
  1657. z1:Play()
  1658. for i = 1, 12 do
  1659. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(50)), 0.2)
  1660. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2,.9,-1) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(20)), 0.5)
  1661. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(30),0), 0.5)
  1662. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(0), math.rad(-30), math.rad(0)), 0.5)
  1663. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10), 0, 0), 0.5)
  1664. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, .6) * CFrame.Angles(math.rad(-65), 0, 0), 0.5)
  1665. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1666. if Debounces.on == false then break end
  1667. wait()
  1668. end
  1669. for i = 1, 12 do
  1670. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(140), math.rad(0), math.rad(50)), 0.4)
  1671. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-18)), 0.4)
  1672. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(10),0), 0.5)
  1673. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-10), 0), 0.5)
  1674. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.5)
  1675. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.5)
  1676. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.7, -1.4) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1677. if Debounces.on == false then break end
  1678. wait()
  1679. end
  1680. z = Instance.new("Sound",hed)
  1681. z.SoundId = "rbxassetid://168586621"
  1682. z.Looped = false
  1683. z.Pitch = 1
  1684. z1 = Instance.new("Sound",hed)
  1685. z1.SoundId = "rbxassetid://168586621"
  1686. z1.Looped = false
  1687. z1.Pitch = 1
  1688. wait(0.01)
  1689. z:Play()
  1690. z1:Play()
  1691. for i = 1, 12 do
  1692. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0) * CFrame.Angles(math.rad(40), math.rad(-20), math.rad(10)), 0.5)
  1693. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-18)), 0.4)
  1694. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2) * CFrame.Angles(math.rad(-14),math.rad(-40),0), 0.5)
  1695. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(40), 0), 0.5)
  1696. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-10)), 0.5)
  1697. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(20), 0, math.rad(10)), 0.5)
  1698. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -2.8, -1.4) * CFrame.Angles(math.rad(-110), math.rad(-90), math.rad(20)), 1)
  1699. if Debounces.on == false then break end
  1700. wait()
  1701. end
  1702. to:disconnect()
  1703. larm.BrickColor = BrickColor.new("Institutional white")
  1704. rarm.BrickColor = BrickColor.new("Institutional white")
  1705. if Debounces.CanAttack == false then
  1706. Debounces.CanAttack = true
  1707. Debounces.on = false
  1708. Debounces.NoIdl = false
  1709. end
  1710. end
  1711. end
  1712. end)
  1713. ----------------------------------------------------
  1714. Sit = false
  1715. mouse.KeyDown:connect(function(key)
  1716. if key == "v" then
  1717. if Sit == false then
  1718. Sit = true
  1719. hum.WalkSpeed = 0.001
  1720. stanceToggle = "Sitting"
  1721. elseif Sit == true then
  1722. Sit = false
  1723. hum.WalkSpeed = 7
  1724. stanceToggle = "Normal"
  1725. end
  1726. end
  1727. end)
  1728. ----------------------------------------------------
  1729. mouse.KeyDown:connect(function(key)
  1730. if key == "t" then
  1731. if Debounces.CanAttack == true then
  1732. Debounces.CanAttack = false
  1733. Debounces.on = true
  1734. Debounces.NoIdl = true
  1735. for i = 1, 20 do
  1736. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(-55)), 0.4)
  1737. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,1.1,-1) * CFrame.Angles(math.rad(115), math.rad(0), math.rad(55)), 0.4)
  1738. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)),0.4)
  1739. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(0), 0), 0.4)
  1740. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .6) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.4)
  1741. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.2) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.4)
  1742. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1743. if Debounces.on == false then break end
  1744. wait()
  1745. end
  1746. Spawn(function()
  1747. local Parts = {}
  1748. for Y = -5,5 do
  1749. local P = Instance.new("Part",char)
  1750. P.Anchored = true
  1751. P.FormFactor = "Custom"
  1752. P.CanCollide = false
  1753. P.Size = Vector3.new(1,2,1)
  1754. P.TopSurface = "SmoothNoOutlines"
  1755. P.BottomSurface = "SmoothNoOutlines"
  1756. P.BrickColor = BrickColor.new("Institutional white")
  1757. P.Name = tostring(Y)
  1758. local i = (Y+5)/(10)
  1759. i = 1-math.cos(math.pi*i-(math.pi/2))
  1760. P.CFrame = char.HumanoidRootPart.CFrame*CFrame.new(0,Y,-15+(i*1.5))*CFrame.Angles(math.rad(Y*5),0,0)
  1761. --[[P.Touched:connect(function(ht)
  1762. local hit = ht.Parent
  1763. if hit:FindFirstChild("Humanoid") then
  1764. hit.Humanoid:TakeDamage(math.random(20,50))
  1765. end
  1766. end)]]--
  1767. s = Instance.new("Sound",P)
  1768. s.SoundId = "rbxassetid://228343271"
  1769. s.Volume = .7
  1770. s.Pitch = 0.9
  1771. s:Play()
  1772. P.Touched:connect(function(ht)
  1773. hit = ht.Parent
  1774. if ht and hit:IsA("Model") then
  1775. if hit:FindFirstChild("Humanoid") then
  1776. if hit.Name ~= p.Name then
  1777. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1778. Debounces.Slashed = true]]--
  1779. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(1,3))
  1780. hit:FindFirstChild("Humanoid").PlatformStand = true
  1781. wait(1)
  1782. --Debounces.Slashed = false
  1783. --end
  1784. end
  1785. end
  1786. elseif ht and hit:IsA("Hat") then
  1787. if hit.Parent.Name ~= p.Name then
  1788. if hit.Parent:FindFirstChild("Humanoid") then
  1789. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1790. Debounces.Slashed = true]]--
  1791. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random (1,3))
  1792. hit:FindFirstChild("Humanoid").PlatformStand = true
  1793. wait(1)
  1794. --Debounces.Slashed = false
  1795. --end
  1796. end
  1797. end
  1798. end
  1799. end)
  1800. Parts[#Parts+1] = P
  1801. end
  1802. local BREAKIT = false
  1803. local CParts = {}
  1804. local Rocks = {}
  1805. local LastPos = nil
  1806. for i = 1,70 do
  1807. for i2,v in pairs(Parts) do
  1808. v.CFrame = v.CFrame*CFrame.new(0,0,-4)
  1809. local cf = v.CFrame
  1810. v.Size = v.Size+Vector3.new(0.4,0.35,0)
  1811. v.CFrame = cf
  1812. v.Transparency = v.Transparency+0.02
  1813. if v.Transparency >= 0.975 then BREAKIT = true end
  1814. if v.Name == "0" then
  1815. local Ignore = {}
  1816. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1817. if v.Character ~= nil then
  1818. Ignore[#Ignore+1] = v.Character
  1819. end
  1820. end
  1821. local ray = Ray.new(v.Position+Vector3.new(0,20,0),Vector3.new(0,-200,0))
  1822. local Hit,Pos,SurfaceNorm = Workspace:FindPartOnRayWithIgnoreList(ray,Ignore)
  1823. if Hit ~= nil then
  1824. if #Rocks == 0 then
  1825. for i = 1,5 do
  1826. local P = Instance.new("Part",char)
  1827. Rocks[#Rocks+1] = P
  1828. P.Anchored = true
  1829. P.FormFactor = "Custom"
  1830. P.BrickColor = Hit.BrickColor
  1831. P.Material = Hit.Material
  1832. P.TopSurface = "Smooth"
  1833. P.BottomSurface = "Smooth"
  1834. P.Size = Vector3.new(1,1,1)*(math.random(500,900)/100)
  1835. end
  1836. end
  1837. for i,P in pairs(Rocks) do
  1838. P.CFrame = ((CFrame.new(Pos)*(v.CFrame-v.Position))*CFrame.new(math.random(-math.ceil(v.Size.X/2),math.ceil(v.Size.X/2)),0,-math.random(5,8))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1839. end
  1840. local P = Instance.new("Part",char)
  1841. CParts[#CParts+1] = {P,tick()}
  1842. P.Anchored = true
  1843. P.FormFactor = "Custom"
  1844. P.BrickColor = Hit.BrickColor
  1845. P.Material = Hit.Material
  1846. P.TopSurface = "Smooth"
  1847. P.BottomSurface = "Smooth"
  1848. P.Size = Vector3.new(1,1,1)*(math.random(100,300)/100)
  1849. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1850. Pos = Pos.p
  1851. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(20,50)))
  1852. local P = P:Clone()
  1853. CParts[#CParts+1] = {P,tick()}
  1854. P.Parent = char
  1855. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(-v.Size.X,0,0)
  1856. Pos = Pos.p
  1857. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,0.25,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,-20)))
  1858. if LastPos ~= nil then
  1859. local P = P:Clone()
  1860. CParts[#CParts+1] = {P,tick()}
  1861. P.Parent = char
  1862. P.BrickColor = BrickColor.new("Institutional white")
  1863. Pos = CFrame.new(Pos)*(v.CFrame-v.Position)*CFrame.new(v.Size.X/2,0,0)
  1864. Pos = Pos.p
  1865. local CFr = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1866. P.Size = Vector3.new(v.Size.X-0.25,1,(CFr.p-LastPos.p).Magnitude+0.25)
  1867. --P.Velocity = Vector3.new(0,-1000,0)
  1868. P.CFrame = CFrame.new(CFr.p,LastPos.p)*CFrame.new(0,0,-((CFr.p-LastPos.p).Magnitude+0.25)/2)
  1869. end
  1870. LastPos = (CFrame.new(Pos)*(v.CFrame-v.Position))-Vector3.new(0,0.4,0)
  1871. end
  1872. end
  1873. end
  1874. if BREAKIT then break end
  1875. wait(0.002)
  1876. end
  1877. for i,v in pairs(Rocks) do
  1878. CParts[#CParts+1] = {v,tick()}
  1879. end
  1880. for i,v in pairs(Parts) do
  1881. v:Destroy()
  1882. end
  1883. Parts = nil
  1884. while true do
  1885. local t = tick()
  1886. local p = nil
  1887. for i,v in pairs(CParts) do
  1888. if t-v[2] > 4 then
  1889. v[1].Transparency = v[1].Transparency+0.05
  1890. if v[1].Transparency >= 1 then
  1891. v[1]:Destroy()
  1892. CParts[i] = nil
  1893. end
  1894. end
  1895. p = v
  1896. end
  1897. if p == nil then break end
  1898. wait(0.002)
  1899. end
  1900. for i,v in pairs(CParts) do
  1901. v:Destroy()
  1902. end
  1903. CParts = {}
  1904. end)
  1905. for i = 1, 20 do
  1906. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(-55)), 0.4)
  1907. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.3,.8,-1) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(55)), 0.4)
  1908. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.4)
  1909. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.6, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.4)
  1910. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -1.4) * CFrame.Angles(math.rad(40), 0, math.rad(0)), 0.4)
  1911. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1.6, -.9) * CFrame.Angles(math.rad(10), 0, math.rad(0)), 0.4)
  1912. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(1.4, -3.5, -7) * CFrame.Angles(math.rad(-90), math.rad(-142), math.rad(20)), 1)
  1913. if Debounces.on == false then break end
  1914. wait()
  1915. end
  1916. if Debounces.CanAttack == false then
  1917. Debounces.CanAttack = true
  1918. Debounces.on = false
  1919. Debounces.NoIdl = false
  1920. end
  1921. end
  1922. end
  1923. end)
  1924. ----------------------------------------------------
  1925. mouse.KeyDown:connect(function(key)
  1926. if key == "e" then
  1927. larm.BrickColor = BrickColor.new("Bright red")
  1928. rarm.BrickColor = BrickColor.new("Bright red")
  1929. if Debounces.CanAttack == true then
  1930. Debounces.CanAttack = false
  1931. Debounces.on = true
  1932. Debounces.NoIdl = true
  1933. for i = 1, 18 do
  1934. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.7, 0) * CFrame.Angles(math.rad(90),math.rad(50),math.rad(90)), 0.4)
  1935. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  1936. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  1937. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  1938. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  1939. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  1940. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  1941. if Debounces.on == false then break end
  1942. wait()
  1943. end
  1944. local HandCF = CFrame.new(char.Absolution.Handle.Position - Vector3.new(0,8.8,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  1945. local rng = Instance.new("Part", char.Absolution.Handle)
  1946. rng.Anchored = true
  1947. rng.BrickColor = BrickColor.new("Institutional white")
  1948. rng.CanCollide = true
  1949. rng.FormFactor = 3
  1950. rng.Name = "Ring"
  1951. rng.Size = Vector3.new(1, 1, 1)
  1952. rng.CanCollide = false
  1953. rng.Transparency = 0.35
  1954. rng.TopSurface = 0
  1955. rng.BottomSurface = 0
  1956. rng.CFrame = HandCF
  1957. local rngm = Instance.new("SpecialMesh", rng)
  1958. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1959. rngm.Scale = Vector3.new(1, 1, 2)
  1960. x = Instance.new("Sound", hed)
  1961. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1962. x.Looped = false
  1963. x.Pitch = .7
  1964. x.Volume = 1
  1965. x1 = Instance.new("Sound", hed)
  1966. x1.SoundId = "http://www.roblox.com/asset/?id=169445602"
  1967. x1.Looped = false
  1968. x1.Pitch = .7
  1969. x1.Volume = 1
  1970. x:Play()
  1971. x1:Play()
  1972. rngto = rng.Touched:connect(function(ht)
  1973. hit = ht.Parent
  1974. if ht and hit:IsA("Model") then
  1975. if hit:FindFirstChild("Humanoid") then
  1976. if hit.Name ~= p.Name then
  1977. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  1978. Debounces.Slashed = true]]--
  1979. hit:FindFirstChild("Humanoid"):TakeDamage(4)
  1980. hit:FindFirstChild("Humanoid").PlatformStand = true
  1981. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1982. --Debounces.Slashed = false
  1983. --end
  1984. end
  1985. end
  1986. elseif ht and hit:IsA("Hat") then
  1987. if hit.Parent.Name ~= p.Name then
  1988. if hit.Parent:FindFirstChild("Humanoid") then
  1989. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  1990. Debounces.Slashed = true]]--
  1991. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(4)
  1992. hit:FindFirstChild("Humanoid").PlatformStand = true
  1993. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -120
  1994. --Debounces.Slashed = false
  1995. end
  1996. end
  1997. end
  1998. end)
  1999. coroutine.wrap(function()
  2000. for i = 1, 60, 2 do
  2001. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2002. rng.Size = rngm.Scale
  2003. rng.CFrame = HandCF
  2004. rng.Transparency = i/60
  2005. wait()
  2006. end
  2007. wait()
  2008. rng:Destroy()
  2009. end)()
  2010. for i = 1, 18 do
  2011. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, 0) * CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.4)
  2012. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.4)
  2013. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-14),math.rad(0),0), 0.4)
  2014. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.4)
  2015. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.4)
  2016. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.4)
  2017. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, 0.2) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2018. if Debounces.on == false then break end
  2019. wait()
  2020. end
  2021. larm.BrickColor = BrickColor.new("Institutional white")
  2022. rarm.BrickColor = BrickColor.new("Institutional white")
  2023. x:Destroy()
  2024. x1:Destroy()
  2025. if Debounces.CanAttack == false then
  2026. Debounces.CanAttack = true
  2027. Debounces.on = false
  2028. Debounces.NoIdl = false
  2029. end
  2030. end
  2031. end
  2032. end)
  2033. ----------------------------------------------------
  2034. mouse.KeyDown:connect(function(key)
  2035. if key == "y" then
  2036. if Debounces.CanAttack == true then
  2037. Debounces.CanAttack = false
  2038. Debounces.on = true
  2039. Debounces.NoIdl = true
  2040. for i = 1, 15 do
  2041. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(30)), 0.2)
  2042. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-90)), 0.2)
  2043. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  2044. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.2)
  2045. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  2046. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  2047. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2048. if Debounces.on == false then break end
  2049. wait()
  2050. end
  2051. x = Instance.new("Sound",char)
  2052. x.SoundId = "rbxassetid://228343271"
  2053. x.Pitch = 1
  2054. x.Volume = .8
  2055. wait(.1)
  2056. x:Play()
  2057. Debounces.on = false
  2058. Debounces.Here = false
  2059. shot = shot + 1
  2060. local rng = Instance.new("Part", char)
  2061. rng.Anchored = true
  2062. rng.BrickColor = BrickColor.new("Institutional white")
  2063. rng.CanCollide = false
  2064. rng.FormFactor = 3
  2065. rng.Name = "Ring"
  2066. rng.Size = Vector3.new(1, 1, 1)
  2067. rng.Transparency = 0.35
  2068. rng.TopSurface = 0
  2069. rng.BottomSurface = 0
  2070. rng2 = rng:clone()
  2071. rng3 = rng2:clone()
  2072. rng4 = rng2:clone()
  2073. local rngm = Instance.new("SpecialMesh", rng)
  2074. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2075. rngm.Scale = Vector3.new(10, 10, 1)
  2076. rngm2 = rngm:clone()
  2077. rngm2.Scale = Vector3.new(5, 5, 1)
  2078. rngm3=rngm2:clone()
  2079. rngm3.Parent = rng3
  2080. rngm3.Scale = Vector3.new(8, 8, 1)
  2081. rngm4 = rngm2:clone()
  2082. rngm4.Parent = rng4
  2083. rngm4.Scale = Vector3.new(6, 6, 1)
  2084. local bem = Instance.new("Part", char)
  2085. bem.Anchored = true
  2086. bem.BrickColor = BrickColor.new("Institutional white")
  2087. bem.CanCollide = false
  2088. bem.FormFactor = 3
  2089. bem.Name = "Beam" .. shot
  2090. bem.Size = Vector3.new(1, 1, 1)
  2091. bem.Transparency = 0.35
  2092. bem.TopSurface = 0
  2093. bem.BottomSurface = 0
  2094. local bemm = Instance.new("SpecialMesh", bem)
  2095. bemm.MeshType = 4
  2096. bemm.Scale = Vector3.new(1, 4, 4)
  2097. local out = Instance.new("Part", char)
  2098. out.Anchored = true
  2099. out.BrickColor = BrickColor.new("Institutional white")
  2100. out.CanCollide = false
  2101. out.FormFactor = 3
  2102. out.Name = "Out"
  2103. out.Size = Vector3.new(4, 4, 4)
  2104. out.Transparency = 0.35
  2105. out.TopSurface = 0
  2106. out.BottomSurface = 0
  2107. local outm = Instance.new("SpecialMesh", out)
  2108. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  2109. outm.Scale = Vector3.new(4, 4, 4)
  2110. local bnd = Instance.new("Part", char)
  2111. bnd.Anchored = true
  2112. bnd.BrickColor = BrickColor.new("Institutional white")
  2113. bnd.CanCollide = false
  2114. bnd.FormFactor = 3
  2115. bnd.Name = "Bend"
  2116. bnd.Size = Vector3.new(1, 1, 1)
  2117. bnd.Transparency = 1
  2118. bnd.TopSurface = 0
  2119. bnd.BottomSurface = 0
  2120. local bndm = Instance.new("SpecialMesh", bnd)
  2121. bndm.MeshType = 3
  2122. bndm.Scale = Vector3.new(8, 8, 8)
  2123. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  2124. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  2125. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  2126. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  2127. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  2128. rng4.CFrame = rng3.CFrame * CFrame.new(0, -.5, 0)
  2129. Debounces.Shewt = true
  2130. coroutine.wrap(function()
  2131. for i = 1, 20, 0.2 do
  2132. rngm.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2133. rngm3.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2134. rngm4.Scale = Vector3.new(6 + i*2, 6 + i*2, 1)
  2135. rng.Transparency = i/20
  2136. rng3.Transparency = 1/16
  2137. rng4.Transparency = i/12
  2138. wait()
  2139. end
  2140. wait()
  2141. rng:Destroy()
  2142. end)()
  2143. if Debounces.Shewt == true then
  2144. char:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  2145. hit = ht.Parent
  2146. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  2147. if HasntTouched(hit.Name) == true and deb == false then
  2148. deb = true
  2149. coroutine.wrap(function()
  2150. hit:FindFirstChild("Humanoid").PlatformStand = true
  2151. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2152. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  2153. end)()
  2154. table.insert(Touche, hit.Name)
  2155. deb = false
  2156. end
  2157. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  2158. if HasntTouched(hit.Parent.Name) == true and deb == false then
  2159. deb = true
  2160. coroutine.wrap(function()
  2161. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  2162. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  2163. wait(1)
  2164. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  2165. end)()
  2166. table.insert(Touche, hit.Parent.Name)
  2167. deb = false
  2168. for i, v in pairs(Touche) do
  2169. print(v)
  2170. end
  2171. end
  2172. end
  2173. end)
  2174. end
  2175. for i = 0, 260, 8 do
  2176. bem.Size = Vector3.new(i, 2, 2)
  2177. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  2178. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  2179. bnd.Size = Vector3.new(1,1,1)
  2180. bndm.Scale = Vector3.new(8,8,8)
  2181. if i % 10 == 0 then
  2182. local newRng = rng2:Clone()
  2183. newRng.Parent = char
  2184. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  2185. local newRngm = rngm2:clone()
  2186. newRngm.Parent=newRng
  2187. coroutine.wrap(function()
  2188. for i = 1, 10, 0.2 do
  2189. newRngm.Scale = Vector3.new(8 + i*2, 8 + i*2, 1)
  2190. newRng.Transparency = i/10
  2191. wait()
  2192. end
  2193. wait()
  2194. newRng:Destroy()
  2195. end)()
  2196. end
  2197. wait()
  2198. end
  2199. wait()
  2200. Debounces.Shewt = false
  2201. bem:Destroy()
  2202. out:Destroy()
  2203. bnd:Destroy()
  2204. Debounces.Ready = false
  2205. for i, v in pairs(Touche) do
  2206. table.remove(Touche, i)
  2207. end
  2208. wait()
  2209. table.insert(Touche, char.Name)
  2210. Debounces.NoIdl = false
  2211. if Debounces.CanAttack == false then
  2212. Debounces.CanAttack = true
  2213. end
  2214. end
  2215. end
  2216. end)
  2217. ----------------------------------------------------
  2218. sidz = {"231917888", "231917845", "231917806"}
  2219. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  2220. mouse.KeyDown:connect(function(key)
  2221. if key == "f" then
  2222. larm.BrickColor = BrickColor.new("Bright red")
  2223. rarm.BrickColor = BrickColor.new("Bright red")
  2224. if Debounces.CanAttack == true then
  2225. Debounces.CanAttack = false
  2226. Debounces.on = true
  2227. Debounces.NoIdl = true
  2228. for i = 1, 10 do
  2229. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-34)), 0.4)
  2230. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(34)), 0.4)
  2231. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2232. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2233. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2234. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2235. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2236. if Debounces.on == false then break end
  2237. wait()
  2238. end
  2239. z = Instance.new("Sound",char)
  2240. z.SoundId = "rbxassetid://"..sidz[math.random(1,#sidz)]
  2241. z.Pitch = ptz[math.random(1,#ptz)]
  2242. z.Volume = 1
  2243. z1 = Instance.new("Sound",char)
  2244. z1.SoundId = z.SoundId
  2245. z1.Pitch = z.Pitch
  2246. z1.Volume = 1
  2247. wait(1)
  2248. z:Play()
  2249. z1:Play()
  2250. Stomp()
  2251. for i = 1, 20 do
  2252. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(28)), 0.6)
  2253. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .4)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-28)), 0.6)
  2254. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2255. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, -.6) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.6)
  2256. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2257. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.8, -1.4) * CFrame.Angles(math.rad(30), 0, math.rad(0)), 0.6)
  2258. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2259. if Debounces.on == false then break end
  2260. wait()
  2261. end
  2262. if Debounces.CanAttack == false then
  2263. Debounces.CanAttack = true
  2264. Debounces.on = false
  2265. Debounces.NoIdl = false
  2266. larm.BrickColor = BrickColor.new("Institutional white")
  2267. rarm.BrickColor = BrickColor.new("Institutional white")
  2268. end
  2269. end
  2270. end
  2271. end)
  2272. ----------------------------------------------------
  2273. mouse.KeyDown:connect(function(key)
  2274. if key == "g" then
  2275. larm.BrickColor = BrickColor.new("Bright red")
  2276. rarm.BrickColor = BrickColor.new("Bright red")
  2277. if Debounces.CanAttack == true then
  2278. Debounces.CanAttack = false
  2279. Debounces.on = true
  2280. Debounces.NoIdl = true
  2281. chrg = lleg.Touched:connect(function(ht)
  2282. hit = ht.Parent
  2283. if ht and hit:IsA("Model") then
  2284. if hit:FindFirstChild("Humanoid") then
  2285. if hit.Name ~= p.Name then
  2286. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2287. Debounces.Slashed = true]]--
  2288. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2289. hit:FindFirstChild("Humanoid").PlatformStand = true
  2290. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2291. --Debounces.Slashed = false
  2292. --end
  2293. end
  2294. end
  2295. elseif ht and hit:IsA("Hat") then
  2296. if hit.Parent.Name ~= p.Name then
  2297. if hit.Parent:FindFirstChild("Humanoid") then
  2298. --[[ if Debounces.Slashing == true and Debounces.Slashed == false then
  2299. Debounces.Slashed = true]]--
  2300. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2301. hit:FindFirstChild("Humanoid").PlatformStand = true
  2302. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2303. --Debounces.Slashed = false
  2304. end
  2305. end
  2306. end
  2307. end)
  2308. for i = 1, 14 do
  2309. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.5)
  2310. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.5)
  2311. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.2)*CFrame.Angles(math.rad(0),math.rad(90),math.rad(0)), 0.5)
  2312. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.5)
  2313. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-.8, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  2314. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(0),math.rad(0),math.rad(15)), 0.5)
  2315. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  2316. if Debounces.on == false then break end
  2317. wait()
  2318. end
  2319. charge()
  2320. z = Instance.new("Sound",char)
  2321. z.SoundId = "rbxassetid://200632875"
  2322. z.Volume = 1
  2323. z.Pitch = .8
  2324. z1 = Instance.new("Sound",char)
  2325. z1.SoundId = "rbxassetid://200632875"
  2326. z1.Volume = 1
  2327. z1.Pitch = .9
  2328. z:Play()
  2329. z1:Play()
  2330. wait(1)
  2331. z:Destroy()
  2332. z1:Destroy()
  2333. chrg:disconnect()
  2334. if Debounces.CanAttack == false then
  2335. Debounces.CanAttack = true
  2336. Debounces.on = false
  2337. Debounces.NoIdl = false
  2338. larm.BrickColor = BrickColor.new("Institutional white")
  2339. rarm.BrickColor = BrickColor.new("Institutional white")
  2340. end
  2341. end
  2342. end
  2343. end)
  2344. ----------------------------------------------------
  2345. pt = {0.7, 0.8, 0.9}
  2346. mouse.KeyDown:connect(function(key)
  2347. if key == "h" then
  2348. if Debounces.CanJoke == true then
  2349. Debounces.CanJoke = false
  2350. u = Instance.new("Sound")
  2351. u.SoundId = "http://www.roblox.com/asset/?id=333446256"
  2352. u.Parent = char
  2353. u.Looped = false
  2354. u.Pitch = pt[math.random(1,#pt)]
  2355. u.Volume = 1
  2356. u2 = Instance.new("Sound")
  2357. u2.SoundId = "http://www.roblox.com/asset/?id=333446256"
  2358. u2.Parent = char
  2359. u2.Looped = false
  2360. u2.Pitch = u.Pitch
  2361. u2.Volume = 1
  2362. wait(.01)
  2363. u:Play()
  2364. u2:Play()
  2365. wait(6)
  2366. u:Destroy()
  2367. u2:Destroy()
  2368. if Debounces.CanJoke == false then
  2369. Debounces.CanJoke = true
  2370. end
  2371. end
  2372. end
  2373. end)
  2374. ----------------------------------------------------
  2375. mouse.KeyDown:connect(function(key)
  2376. if key == "l" then
  2377. if Debounces.CanJoke == true then
  2378. Debounces.CanJoke = false
  2379. z = Instance.new("Sound",char)
  2380. z.SoundId = "rbxassetid://233774928"
  2381. z.Pitch = .76
  2382. z.Volume = 1
  2383. wait()
  2384. z:Play()
  2385. wait(6)
  2386. z:Destroy()
  2387. if Debounces.CanJoke == false then
  2388. Debounces.CanJoke = true
  2389. end
  2390. end
  2391. end
  2392. end)
  2393. ----------------------------------------------------
  2394. mouse.KeyDown:connect(function(key)
  2395. if key == "j" then
  2396. if Debounces.CanJoke == true then
  2397. Debounces.CanJoke = false
  2398. z = Instance.new("Sound",char)
  2399. z.SoundId = "rbxassetid://135017456"
  2400. z.Pitch = .76
  2401. z.Volume = 1
  2402. wait()
  2403. z:Play()
  2404. wait(6)
  2405. z:Destroy()
  2406. if Debounces.CanJoke == false then
  2407. Debounces.CanJoke = true
  2408. end
  2409. end
  2410. end
  2411. end)
  2412. ----------------------------------------------------
  2413. mouse.KeyDown:connect(function(key)
  2414. if key == "n" then
  2415. if Debounces.CanJoke == true then
  2416. Debounces.CanJoke = false
  2417. z = Instance.new("Sound",char)
  2418. z.SoundId = "rbxassetid://130792236"
  2419. z.Pitch = .76
  2420. z.Volume = 1
  2421. wait()
  2422. z:Play()
  2423. wait(6)
  2424. z:Destroy()
  2425. if Debounces.CanJoke == false then
  2426. Debounces.CanJoke = true
  2427. end
  2428. end
  2429. end
  2430. end)
  2431. ----------------------------------------------------
  2432. mouse.KeyDown:connect(function(key)
  2433. if key == "k" then
  2434. if Debounces.CanJoke == true then
  2435. Debounces.CanJoke = false
  2436. z = Instance.new("Sound",char)
  2437. z.SoundId = "rbxassetid://135014184"
  2438. z.Pitch = .76
  2439. z.Volume = 1
  2440. wait()
  2441. z:Play()
  2442. wait(4)
  2443. z:Destroy()
  2444. if Debounces.CanJoke == false then
  2445. Debounces.CanJoke = true
  2446. end
  2447. end
  2448. end
  2449. end)
  2450. ----------------------------------------------------
  2451. mouse.KeyDown:connect(function(key)
  2452. if key == "x" then
  2453. if Debounces.CanAttack == true then
  2454. Debounces.CanAttack = false
  2455. Debounces.NoIdl = true
  2456. Debounces.on = true
  2457. Debounces.ks = true
  2458. for i = 1, 10 do
  2459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.6)
  2460. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(2.7,.9,.5)*CFrame.Angles(math.rad(40),math.rad(0),math.rad(20)), 0.6)
  2461. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.4)*CFrame.Angles(math.rad(-26),math.rad(0),0), 0.6)
  2462. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-10), math.rad(0), 0), 0.6)
  2463. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.6)
  2464. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.7, .6) * CFrame.Angles(math.rad(-70), math.rad(0), math.rad(0)), 0.6)
  2465. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2466. if Debounces.on == false then break end
  2467. wait()
  2468. end
  2469. z = Instance.new("Sound",hed)
  2470. z.SoundId = "rbxassetid://169445092"
  2471. z.Volume = 1
  2472. wait(0.1)
  2473. z:Play()
  2474. kik = rleg.Touched:connect(function(ht)
  2475. hit = ht.Parent
  2476. if ht and hit:IsA("Model") then
  2477. if hit:FindFirstChild("Humanoid") then
  2478. if hit.Name ~= p.Name then
  2479. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2480. Debounces.Slashed = true]]--
  2481. if Debounces.ks==true then
  2482. z = Instance.new("Sound",hed)
  2483. z.SoundId = "rbxassetid://169380525"
  2484. z.Volume = 1
  2485. z:Play()
  2486. Debounces.ks=false
  2487. end
  2488. hit:FindFirstChild("Humanoid"):TakeDamage(2)
  2489. hit:FindFirstChild("Humanoid").PlatformStand = true
  2490. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2491. --Debounces.Slashed = false
  2492. --end
  2493. end
  2494. end
  2495. elseif ht and hit:IsA("Hat") then
  2496. if hit.Parent.Name ~= p.Name then
  2497. if hit.Parent:FindFirstChild("Humanoid") then
  2498. --[[if Debounces.Slashing == true and Debounces.Slashed == false then
  2499. Debounces.Slashed = true]]--
  2500. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(2)
  2501. hit:FindFirstChild("Humanoid").PlatformStand = true
  2502. hit:FindFirstChild("Torso").Velocity = hit:FindFirstChild("Torso").CFrame.lookVector * -70
  2503. --Debounces.Slashed = false
  2504. --end
  2505. end
  2506. end
  2507. end
  2508. end)
  2509. for i = 1, 8 do
  2510. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2511. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(-50),math.rad(0),math.rad(-20)), 0.7)
  2512. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.2)*CFrame.Angles(math.rad(8),math.rad(0),0), 0.7)
  2513. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(16), math.rad(0), 0), 0.7)
  2514. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2515. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2.6, -1.4) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.7)
  2516. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2517. if Debounces.on == false then break end
  2518. wait()
  2519. end
  2520. kik:disconnect()
  2521. if Debounces.CanAttack == false then
  2522. Debounces.CanAttack = true
  2523. Debounces.on = false
  2524. Debounces.NoIdl = false
  2525. end
  2526. end
  2527. end
  2528. end)
  2529. ----------------------------------------------------
  2530. mouse.KeyDown:connect(function(key)
  2531. if key == "c" then
  2532. if Debounces.CanAttack == true then
  2533. Debounces.CanAttack = false
  2534. Debounces.NoIdl = true
  2535. Debounces.on = true
  2536. SIDZ = {"231917744", "231917742"}
  2537. PTZ = {0.7, 0.8, 0.9, 1}
  2538. for i = 1, 20 do
  2539. wait()
  2540. for i,v in pairs(char.Absolution:children()) do
  2541. if v:IsA("Part") or v:IsA("WedgePart") then
  2542. v.Transparency = v.Transparency + 0.05
  2543. end
  2544. end
  2545. end
  2546. function FindNearestTorso(Position,Distance,SinglePlayer)
  2547. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2548. local List = {}
  2549. for i,v in pairs(workspace:GetChildren())do
  2550. if v:IsA("Model")then
  2551. if v:findFirstChild("Torso")then
  2552. if v ~= char then
  2553. if(v.Torso.Position -Position).magnitude <= Distance then
  2554. table.insert(List,v)
  2555. end
  2556. end
  2557. end
  2558. end
  2559. end
  2560. return List
  2561. end
  2562. GroundPound()
  2563. for i = 1, 5 do
  2564. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2565. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2566. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2567. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2568. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2569. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2570. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2571. if Debounces.on == false then break end
  2572. wait()
  2573. end
  2574. GroundPound()
  2575. for i = 1, 5 do
  2576. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2577. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2578. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2579. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2580. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2581. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2582. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2583. if Debounces.on == false then break end
  2584. wait()
  2585. end
  2586. GroundPound()
  2587. for i = 1, 5 do
  2588. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2589. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2590. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2591. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2592. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2593. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2594. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2595. if Debounces.on == false then break end
  2596. wait()
  2597. end
  2598. GroundPound()
  2599. for i = 1, 5 do
  2600. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2601. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2602. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2603. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2604. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2605. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2606. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2607. if Debounces.on == false then break end
  2608. wait()
  2609. end
  2610. GroundPound()
  2611. for i = 1, 5 do
  2612. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.7)
  2613. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.7)
  2614. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(20),0), 0.6)
  2615. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(-20), 0), 0.6)
  2616. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(-30)), 0.6)
  2617. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2618. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2619. if Debounces.on == false then break end
  2620. wait()
  2621. end
  2622. GroundPound()
  2623. for i = 1, 5 do
  2624. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.2,.9,-2.2)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.7)
  2625. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,1)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.7)
  2626. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(-20),0), 0.6)
  2627. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -2.2, 0) * CFrame.Angles(math.rad(-80), math.rad(20), 0), 0.6)
  2628. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -2, -1) * CFrame.Angles(math.rad(80), 0, math.rad(10)), 0.6)
  2629. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -2, -.4) * CFrame.Angles(math.rad(80), 0, math.rad(30)), 0.6)
  2630. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  2631. if Debounces.on == false then break end
  2632. wait()
  2633. end
  2634. for i = 1, 18 do
  2635. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-10)), 0.4)
  2636. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 2.4, 0)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(10)), 0.4)
  2637. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.4)
  2638. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 2, 0) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.4)
  2639. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2640. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, -1.4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2641. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2642. if Debounces.on == false then break end
  2643. wait()
  2644. end
  2645. for i,v in pairs(FindNearestTorso(torso.CFrame.p,25))do
  2646. if v:FindFirstChild('Humanoid') then
  2647. v.Humanoid:TakeDamage(math.random(20,60))
  2648. v.Humanoid.PlatformStand = true
  2649. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 100
  2650. end
  2651. end
  2652. x = Instance.new("Sound",char)
  2653. x.SoundId = "rbxassetid://"..SIDZ[math.random(1,#SIDZ)]
  2654. x.Pitch = PTZ[math.random(1,#PTZ)]
  2655. x.Volume = 1
  2656. wait(0.1)
  2657. x:Play()
  2658. Crater(hed,20)
  2659. for i = 1, 14 do
  2660. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(-10)), 0.6)
  2661. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.4, 3.2, -.5)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(10)), 0.6)
  2662. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2)*CFrame.Angles(math.rad(16),math.rad(0),0), 0.6)
  2663. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -5, 0) * CFrame.Angles(math.rad(-90), math.rad(0), 0), 0.6)
  2664. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2665. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -2, .4) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.6)
  2666. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.5, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2667. if Debounces.on == false then break end
  2668. wait()
  2669. end
  2670. if Debounces.CanAttack == false then
  2671. Debounces.CanAttack = true
  2672. Debounces.on = false
  2673. Debounces.NoIdl = false
  2674. for i = 1, 20 do
  2675. wait()
  2676. for i,v in pairs(char.Absolution:children()) do
  2677. if v:IsA("Part") or v:IsA("WedgePart") then
  2678. v.Transparency = v.Transparency - 0.05
  2679. end
  2680. end
  2681. end
  2682. end
  2683. end
  2684. end
  2685. end)
  2686. ----------------------------------------------------176349813
  2687. mouse.KeyDown:connect(function(key)
  2688. if key == "b" then
  2689. hum.WalkSpeed = 0.01
  2690. if Debounces.CanAttack == true then
  2691. Debounces.CanAttack = false
  2692. Debounces.NoIdl = true
  2693. Debounces.on = true
  2694. for i = 1,20 do
  2695. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(-30)), 0.1)
  2696. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(75), 0, math.rad(30)), 0.1)
  2697. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0) * CFrame.Angles(math.rad(-20), math.rad(0), 0), 0.1)
  2698. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.1)
  2699. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(-5)), 0.1)
  2700. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles (math.rad(30), 0, math.rad(5)), 0.1)
  2701. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2702. if Debounces.on == false then break end
  2703. wait()
  2704. end
  2705. wait(1)
  2706. v = Instance.new("Sound")
  2707. v.SoundId = "rbxassetid://181384451"
  2708. v.Parent = char
  2709. v.Looped = false
  2710. v.Pitch = 1.04
  2711. v.Volume = 1
  2712. wait(.01)
  2713. v:Play()
  2714.  
  2715. if Daytime == true then
  2716. Daytime = false
  2717. l.TimeOfDay = 24
  2718. else
  2719. Daytime = true
  2720. l.TimeOfDay = 12
  2721. l.OutdoorAmbient = Color3.new(0.498039, 0.498039, 0.498039)
  2722. end
  2723.  
  2724. local Shockwave = function()
  2725. local rng1 = Instance.new("Part", char)
  2726. rng1.Anchored = true
  2727. rng1.BrickColor = BrickColor.new("Institutional white")
  2728. rng1.CanCollide = false
  2729. rng1.FormFactor = 3
  2730. rng1.Name = "Ring"
  2731. rng1.Size = Vector3.new(1, 1, 1)
  2732. rng1.Transparency = 0.35
  2733. rng1.TopSurface = 0
  2734. rng1.BottomSurface = 0
  2735. local rngm1 = Instance.new("SpecialMesh", rng)
  2736. rngm1.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2737. rngm1.Scale = Vector3.new(10, 10, 1)
  2738. rng1.CFrame = CFrame.new(0, -2, 0) * CFrame.Angles(0, 0, 0)
  2739. local Wave = Instance.new("Part", game.Workspace--[[?]])
  2740. Wave.Name = "Shockwave"
  2741. Wave.BrickColor = BrickColor.new("Institutional white")
  2742. Wave.Size = Vector3.new(1, 1, 1)
  2743. Wave.Shape = "Ball"
  2744. Wave.CanCollide = false
  2745. Wave.Anchored = true
  2746. Wave.TopSurface = 0
  2747. Wave.BottomSurface = 0
  2748. Wave.Touched:connect(function(hit)
  2749. if hit.Parent:findFirstChild("Humanoid") and hit.Parent:findFirstChild("Torso") then
  2750. local Occlude = true
  2751. local NotOccludes = {
  2752. char.Name;
  2753. "Wings";
  2754. "Scythe";
  2755. "Thingy";
  2756. "Thingy2"; -- put all of the names in a table pls
  2757. }
  2758. for i,v in pairs(NotOccludes) do
  2759. if hit.Parent.Name == v then
  2760. Occlude = false
  2761. end
  2762. end
  2763. --if hit.Parent.Name ~= char.Name and hit.Name ~= "Wings" and hit.Name ~= "Scythe" and hit.Name ~= "Thingy" and hit.Name ~= "Thingy2" and hit.Parent.Name ~= "Wings" and hit.Parent.Name ~= "Scythe" and hit.Parent.Name ~= "Thingy" and hit.Parent.Name ~= "Thingy2" then
  2764. if Occlude then
  2765. hit.Parent:findFirstChild("Humanoid").Health = hit.Parent:findFirstChild("Humanoid").Health - 1
  2766. hit.Parent:findFirstChild("Torso").Velocity = hit.Parent:findFirstChild("Torso").CFrame.lookVector * -120
  2767. end
  2768. end
  2769. end)
  2770.  
  2771. Instance.new("SpecialMesh", Wave).MeshType = "Sphere"
  2772.  
  2773. coroutine.wrap(function()
  2774. for i = 1, 20, 0.2 do
  2775. rngm1.Scale = Vector3.new(10 + i*2, 10 + i*2, 1)
  2776. rng1.Transparency = i/20
  2777. wait()
  2778. end
  2779. wait()
  2780. rng1:Destroy()
  2781. end)()
  2782.  
  2783. Delay(0, function()
  2784.  
  2785. if Daytime == false then
  2786. for i = 1, 50, 1 do
  2787. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  2788. Wave.CFrame = char.Torso.CFrame
  2789. local t = i / 50
  2790. Wave.Transparency = t
  2791. wait()
  2792. end
  2793. else
  2794. for i = 1, 50, 1 do
  2795. Wave.Size = Vector3.new(1 + i, 1 + i, 1 + i)
  2796. Wave.CFrame = char.Torso.CFrame
  2797. local t = i / 50
  2798. Wave.Transparency = t
  2799. wait()
  2800. end
  2801. end
  2802. Wave:Destroy()
  2803. end)
  2804. Delay(0, function()
  2805. while wait() do
  2806. if Wave ~= nil then
  2807. Wave.CFrame = char.Torso.CFrame
  2808. else
  2809. break
  2810. end
  2811. end
  2812. end)
  2813. end
  2814. Shockwave()
  2815. for i = 1, 15 do
  2816. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2817. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2818. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2819. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2820. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2821. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2822. if Debounces.on == false then break end
  2823. wait()
  2824. end
  2825. for i = 1, 15 do
  2826. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2827. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2828. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2829. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2830. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2831. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2832. if Debounces.on == false then break end
  2833. wait()
  2834. end
  2835. for i = 1, 15 do
  2836. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2837. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2838. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2839. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2840. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2841. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2842. if Debounces.on == false then break end
  2843. wait()
  2844. end
  2845. for i = 1, 15 do
  2846. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2847. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2848. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2849. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2850. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2851. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2852. if Debounces.on == false then break end
  2853. wait()
  2854. end
  2855. for i = 1, 15 do
  2856. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-130)), 0.2)
  2857. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3.2, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(70)), 0.2)
  2858. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(30), 0), 0.1)
  2859. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(20), math.rad(0)), 0.2)
  2860. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(-40)), 0.1)
  2861. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2862. if Debounces.on == false then break end
  2863. wait()
  2864. end
  2865. for i = 1, 15 do
  2866. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(-70)), 0.2)
  2867. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(120), math.rad(0), math.rad(130)), 0.2)
  2868. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, .2) * CFrame.Angles(math.rad(45), math.rad(-30), 0), 0.1)
  2869. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.1, 0) * CFrame.Angles(math.rad(30), math.rad(-20), math.rad(0)), 0.2)
  2870. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(0)), 0.1)
  2871. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(math.rad(-30), 0, math.rad(40)), 0.1)
  2872. if Debounces.on == false then break end
  2873. wait()
  2874. end
  2875. wait(1.4)
  2876. Debounces.NoIdl = false
  2877. hum.WalkSpeed = 5
  2878. Debounces.on = false
  2879. wait()
  2880. if Debounces.CanAttack == false then
  2881. Debounces.CanAttack = true
  2882. v:Destroy()
  2883. end
  2884. end
  2885. end
  2886. end)
  2887. ----------------------------------------------------
  2888. mouse.KeyDown:connect(function(key)
  2889. if key == "m" then
  2890. hum.WalkSpeed = 0
  2891. if Debounces.CanAttack == true then
  2892. Debounces.CanAttack = false
  2893. Debounces.on = true
  2894. Debounces.NoIdl = true
  2895. --[[x = Instance.new("Sound",char)
  2896. x.SoundId = "http://www.roblox.com/asset/?id=169445572"
  2897. x.Looped = false
  2898. x.Pitch = 1.1
  2899. x.Volume = 1
  2900. x:Play()
  2901. x2 = Instance.new("Sound",char)
  2902. x2.SoundId = "http://www.roblox.com/asset/?id=169380495"
  2903. x2.Looped = false
  2904. x2.Pitch = .7
  2905. x2.Volume = 1
  2906. wait(.1)
  2907. x:Play()
  2908. x2:Play()
  2909. for i = 1, 20 do
  2910. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  2911. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  2912. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,.4)*CFrame.Angles(math.rad ( 8),math.rad(-40), math.rad(-8)),0.2)
  2913. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3.2, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  2914. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -1.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  2915. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.6, 2, 0) * CFrame.Angles (math.rad( 10), math.rad(-40), math.rad(0)), 0.2)
  2916. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.4)
  2917. if Debounces.on == false then break end
  2918. wait()
  2919. x:Destroy()
  2920. x2:Destroy()
  2921. end
  2922. wait(1)]]--
  2923. local rng = Instance.new("Part", char)
  2924. rng.Anchored = true
  2925. rng.BrickColor = BrickColor.new("Institutional white")
  2926. rng.CanCollide = false
  2927. rng.FormFactor = 3
  2928. rng.Name = "Ring"
  2929. rng.Size = Vector3.new(1, 1, 1)
  2930. rng.Transparency = 0.35
  2931. rng.TopSurface = 0
  2932. rng.BottomSurface = 0
  2933. rng.Position = torso.Position - Vector3.new(0,2,0)
  2934. rng.CFrame = rng.CFrame * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2935. local rngm = Instance.new("SpecialMesh", rng)
  2936. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2937. rngm.Scale = Vector3.new(1, 1, 2)
  2938. x = Instance.new("Sound",char)
  2939. x.SoundId = "http://www.roblox.com/asset/?id=169445602"
  2940. x.Looped = false
  2941. x.Pitch = .7
  2942. x.Volume = 1
  2943. x:Play()
  2944. coroutine.wrap(function()
  2945. for i = 1, 60, 2 do
  2946. rngm.Scale = Vector3.new(2 + i*2, 2 + i*2, 1)
  2947. rng.Transparency = i/60
  2948. wait()
  2949. end
  2950. wait()
  2951. rng:Destroy()
  2952. end)()
  2953. hum.WalkSpeed = 50
  2954. BV = Instance.new("BodyVelocity", torso)
  2955. BV.maxForce = Vector3.new(0,200000,0)
  2956. BV.P = 100000
  2957. BV.velocity = Vector3.new(0,800,0)
  2958. for i = 1, 20 do
  2959. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  2960. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  2961. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  2962. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  2963. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -2, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  2964. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, 0, -2) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  2965. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2966. if Debounces.on == false then break end
  2967. wait()
  2968. end
  2969. x:Destroy()
  2970. BV:Destroy()
  2971. --[[for i = 1, 30 do
  2972. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2973. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  2974. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  2975. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  2976. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  2977. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  2978. if Debounces.on == false then break end
  2979. wait()
  2980. end]]--
  2981. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  2982. for i = 1, 30 do
  2983. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  2984. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.6, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2985. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  2986. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 1.4, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  2987. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2988. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.2)
  2989. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  2990. if Debounces.on == false then break end
  2991. wait()
  2992. end
  2993. end
  2994. Debounces.on = false
  2995. Debounces.NoIdl = false
  2996. local ry,ht,ps=nil,nil,nil
  2997. while ht==nil do
  2998. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  2999. wait()
  3000. end
  3001. z = Instance.new("Sound",char)
  3002. z.SoundId = "rbxassetid://142070127"
  3003. z.Volume = 1
  3004. wait(.1)
  3005. z:Play()
  3006. Landing()
  3007. hum.WalkSpeed = 8
  3008. if Debounces.CanAttack == false then
  3009. Debounces.CanAttack = true
  3010. end
  3011. end
  3012. end
  3013. end)
  3014. ----------------------------------------------------
  3015. Grab = false
  3016. mouse.KeyDown:connect(function(key)
  3017. if key == "z" then
  3018. larm.BrickColor = BrickColor.new("Bright red")
  3019. rarm.BrickColor = BrickColor.new("Bright red")
  3020. Debounces.on = true
  3021. Debounces.NoIdl = true
  3022. if Grab == false then
  3023. gp = nil
  3024. con1=larm.Touched:connect(function(hit) -- this is grab
  3025. ht = hit.Parent
  3026. hum1=ht:FindFirstChild('Humanoid')
  3027. if hum1 ~= nil then
  3028. hum1.PlatformStand=true
  3029. gp = ht
  3030. Grab = true
  3031. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-3.3,0),CFrame.new(0,0,0))
  3032. asd.Parent = larm
  3033. asd.Name = "asd"
  3034. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),0,0)
  3035. elseif hum1 == nil then
  3036. con1:disconnect()
  3037. wait() return
  3038. end
  3039. end)
  3040. for i = 1, 18 do
  3041. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(36)), 0.2)
  3042. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(2.65,.9,.5)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  3043. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3044. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.8, 0) * CFrame.Angles(math.rad(-60), math.rad(0), 0), 0.2)
  3045. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  3046. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.6) * CFrame.Angles(math.rad(60), math.rad(0), math.rad(0)), 0.2)
  3047. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.3, -1.1) * CFrame.Angles(math.rad(-60), math.rad(-90), math.rad(0)), 0.9)
  3048. if Debounces.on == false then break end
  3049. wait()
  3050. end
  3051. con1:disconnect()
  3052. Debounces.on = false
  3053. Debounces.NoIdl = false
  3054. elseif Grab == true then
  3055. Grab = false
  3056. for i = 1, 20 do
  3057. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-20)), 0.2)
  3058. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.4)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(-20)), 0.1)
  3059. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3060. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3061. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3062. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3063. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3064. if Debounces.on == false then end
  3065. wait()
  3066. end
  3067. if gp ~= nil then
  3068. for i,v in pairs(larm:GetChildren()) do
  3069. if v.Name == "asd" and v:IsA("Weld") then
  3070. v:Remove()
  3071. end
  3072. end
  3073. bv = Instance.new("BodyVelocity",gp:FindFirstChild("Torso"))
  3074. bv.maxForce = Vector3.new(400000, 400000, 400000)
  3075. bv.P = 125000
  3076. bv.velocity = char.Head.CFrame.lookVector * 200
  3077. for i = 1, 12 do
  3078. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2.6, .9, -.75)*CFrame.Angles(math.rad(30),math.rad(0),math.rad(20)), 0.5)
  3079. if Debounces.on == false then end
  3080. wait()
  3081. end
  3082. ht=nil
  3083. Spawn(function()
  3084. wait(0.5)
  3085. bv:Destroy()
  3086. end)
  3087. Debounces.on = false
  3088. Debounces.NoIdl = false
  3089. elseif ht == nil then wait()
  3090. Grab = false
  3091. Debounces.on = false
  3092. Debounces.NoIdl = false
  3093. end
  3094. end
  3095. end
  3096. end)
  3097. ----------------------------------------------------
  3098. mouse.KeyDown:connect(function(key)
  3099. if string.byte(key) == 52 then
  3100. char.Humanoid.WalkSpeed = 21
  3101. end
  3102. end)
  3103. mouse.KeyUp:connect(function(key)
  3104. if string.byte(key) == 52 then
  3105. char.Humanoid.WalkSpeed = 5
  3106. end
  3107. end)
  3108. ----------------------------------------------------
  3109. local animpose = "Idle"
  3110. local lastanimpose = "Idle"
  3111. local sine = 0
  3112. local change = 1
  3113. local val = 0
  3114. local ffing = false
  3115. --------------------------------------------------
  3116. --[[x = Instance.new("Sound", char)
  3117. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  3118. x.Looped = true
  3119. x.Volume = 1
  3120. x.Pitch = 1
  3121. local footsteps = false]]--
  3122. -------------------------------
  3123. game:GetService("RunService").RenderStepped:connect(function()
  3124. --[[if char.Humanoid.Jump == true then
  3125. jump = true
  3126. else
  3127. jump = false
  3128. end]]
  3129. char.Humanoid.FreeFalling:connect(function(f)
  3130. if f then
  3131. ffing = true
  3132. else
  3133. ffing = false
  3134. end
  3135. end)
  3136. sine = sine + change
  3137. if jumpn == true then
  3138. animpose = "Jumping"
  3139. elseif ffing == true then
  3140. animpose = "Freefalling"
  3141. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  3142. animpose = "Idle"
  3143. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  3144. animpose = "Walking"
  3145. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  3146. animpose = "Running"
  3147. end
  3148. if animpose ~= lastanimpose then
  3149. sine = 0
  3150. if Debounces.NoIdl == false then
  3151. if animpose == "Idle" then
  3152. for i = 1, 2 do
  3153. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(20)), 0.2)
  3154. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  3155. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14),math.rad(0),0), 0.2)
  3156. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  3157. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  3158. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.2, -3, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  3159. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3160. end
  3161. elseif animpose == "Walking" then
  3162. for i = 1, 2 do
  3163. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(20)), 0.2)
  3164. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9, 0)*CFrame.Angles(0, math.rad(1), math.rad(-10)), 0.2)
  3165. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8), math.rad(0), math.rad(0)),0.2)
  3166. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-4), 0, math.rad(0)), 0.2)
  3167. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3168. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, -.05) * CFrame.Angles(math.rad(-18), 0, 0), .4)
  3169. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3170. end
  3171. elseif animpose == "Running" then
  3172. for i = 1, 2 do
  3173. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(50)), 0.2)
  3174. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 1.2, 0-1*math.cos(sine/4)/2)*CFrame.Angles(math.rad(50-80*math.cos(sine/8)/2), math.rad(0), math.rad(0-70*math.cos(sine/8)/2)), 0.2)
  3175. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+8*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  3176. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+4*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  3177. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  3178. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  3179. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3180. end
  3181. wait()
  3182. end
  3183. else
  3184. end
  3185. end
  3186. lastanimpose = animpose
  3187. if Debounces.NoIdl == false then
  3188. if animpose == "Idle" then
  3189. if stanceToggle == "Normal" then
  3190. change = 0.5
  3191. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,.9,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(20)), 0.2)
  3192. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,.9+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  3193. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  3194. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  3195. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  3196. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1.15, -3, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  3197. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3198. elseif stanceToggle == "Sitting" then
  3199. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9, 0) * CFrame.Angles(math.rad(100-1*math.cos(sine/14)), math.rad(0), math.rad(20)), 0.2)
  3200. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-2, .9, -1)*CFrame.Angles(math.rad(78+1*math.cos(sine/14)), math.rad(0), math.rad(50)), 0.2)
  3201. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 3, -.3) * CFrame.Angles(math.rad(-14+1*math.cos(sine/14)), math.rad(0), math.rad(0)),0.2)
  3202. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -3, 0) * CFrame.Angles(math.rad(-10+1*math.cos(sine/14)), 0, math.rad(0)), 0.2)
  3203. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -1, -2) * CFrame.Angles(math.rad(-10-1*math.cos(sine/14)), 0, 0), 0.2)
  3204. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3, .6) * CFrame.Angles(math.rad(-50-1*math.cos(sine/14)), 0, 0), 0.2)
  3205. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3206. end
  3207. elseif animpose == "Walking" then
  3208. if stanceToggle == "Normal" then
  3209. change = 1
  3210. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, .9+.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(90+2*math.cos(sine/7)), math.rad(0), math.rad(20)), 0.2)
  3211. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, .9+.1*math.cos(sine/7), -math.sin(sine/14)/2)*CFrame.Angles(math.sin(sine/14)/4, math.rad(1) + -math.sin(sine/14)/2, math.rad(-30)), 0.2)
  3212. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/7)), math.rad(0), math.rad(0)),0.2)
  3213. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.1*math.cos(sine/7), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/7)), 0, math.rad(0)), 0.2)
  3214. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.3*math.cos(sine/14)/2, -.05 + math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + -math.sin(sine/14)/2.3, 0, 0), .4)
  3215. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.3*math.cos(sine/14)/2, -.05 + -math.sin(sine/14)/2) * CFrame.Angles(math.rad(-18) + math.sin(sine/14)/2.3, 0, 0), .4)
  3216. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  3217. end
  3218. elseif animpose == "Running" then
  3219. change = 1
  3220. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3, 0.9, .5) * CFrame.Angles(math.rad(-10-20*math.cos(sine/4)/2), math.rad(-40+10*math.cos(sine/4)/2), math.rad(50-10*math.cos(sine/4)/2)), 0.2)
  3221. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3, 0.9, .5)*CFrame.Angles(math.rad(10+20*math.cos(sine/4)/2), math.rad(40-10*math.cos(sine/4)/2), math.rad(-50+10*math.cos(sine/4)/2)), 0.2)
  3222. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,3,0)*CFrame.Angles(math.rad(6+6*math.cos(sine/4)/1.8), math.rad(0), math.rad(0)),0.2)
  3223. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2+0.2*math.cos(sine/4)/2, 0) * CFrame.Angles(math.rad(-14+10*math.cos(sine/4)/2), 0, math.rad(0)), 0.2)
  3224. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-1, -3-0.44*math.cos(sine/8)/2.4, -.15 + math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + -math.sin(sine/8)/1.7, 0, 0), .4)
  3225. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -3+0.44*math.cos(sine/8)/2.4, -.15 + -math.sin(sine/8)/1.5) * CFrame.Angles(math.rad(-20) + math.sin(sine/8)/1.7, 0, 0), .4)
  3226. cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1.85, -.9) * CFrame.Angles(math.rad(-90), math.rad(-90), math.rad(0)), 1)
  3227. end
  3228. end
  3229. --[[if animpose == "Walking" then
  3230. if footsteps == false then
  3231. x:Play()
  3232. footsteps = true
  3233. end
  3234. x.Pitch = 1.1
  3235. elseif animpose == "Idle" then
  3236. x:Stop()
  3237. footsteps = false
  3238. elseif animpose == "Running" then
  3239. x.Pitch = 1.2
  3240. if footsteps == false then
  3241. x:Play()
  3242. footsteps = true
  3243. end
  3244. end]]--
  3245. end)
  3246. game.Players.LocalPlayer.Humanoid.MaxHealth = 20000000
  3247. wait()
  3248. game.Players.LocalPlayer.Humanoid.Health = 20000000
  3249. end)
  3250.  
  3251. roxploit.Name = "roxploit"
  3252. roxploit.Parent = CoolBypass
  3253. roxploit.BackgroundColor3 = Color3.new(1, 1, 1)
  3254. roxploit.Position = UDim2.new(0.601420641, 0, -1.49011612e-08, 0)
  3255. roxploit.Size = UDim2.new(0, 200, 0, 50)
  3256. roxploit.Font = Enum.Font.SourceSans
  3257. roxploit.Text = "RoXploit"
  3258. roxploit.TextColor3 = Color3.new(0, 0, 0)
  3259. roxploit.TextSize = 14
  3260. roxploit.MouseButton1Down:connect(function()
  3261. Folder = game.Players.LocalPlayer.PlayerGui
  3262. script=Instance.new('LocalScript')
  3263.  
  3264. local a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z
  3265. local A,B,C,D,F,E,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
  3266. local Aa,Ba,Ca,Da,Fa,Ea,Ga,Ha,Ia,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Va,Wa,Xa,Ya,Za
  3267. local IntroSFX = nil
  3268. local IntroDone,Toggle,taco = false
  3269. local Folders, Selected, Banned, WayPoint = nil
  3270. local CId = Instance.new("IntValue") CId.Value = 0
  3271. local LPCId = Instance.new("IntValue") LPCId.Value = 0
  3272. local SId = Instance.new("IntValue")
  3273. SId.Value = 0
  3274. local MId = Instance.new("IntValue")
  3275. MId.Value = 0
  3276. local MPId = Instance.new("IntValue")
  3277. MPId.Value = 0
  3278. local GId = Instance.new("IntValue")
  3279. GId.Value = 0
  3280. local GPId = Instance.new("IntValue")
  3281. GPId.Value = 0
  3282. local HId = Instance.new("IntValue")
  3283. HId.Value = 0
  3284. local HPId = Instance.new("IntValue")
  3285. HPId.Value = 0
  3286. local SDId = Instance.new("IntValue")
  3287. SDId.Value = 0
  3288. local WId = Instance.new("IntValue") WId.Value = 0 local WMId = Instance.new("IntValue") WMId.Value = 0 local LCId = Instance.new("IntValue") LCId.Value = 0 local TCId = Instance.new("IntValue") TCId.Value = 0 local MEId = Instance.new("IntValue") MEId.Value = 1 local MEPId = Instance.new("IntValue") MEPId.Value = 0 local SkyId = Instance.new("IntValue") SkyId.Value = 1 local SkypId = Instance.new("IntValue") SkypId.Value = 0 local TabId = Instance.new("IntValue") TabId.Value = 0
  3289. local EmptySP = UDim2.new(0,0,0,0)
  3290. local PrivateServer = false
  3291.  
  3292. function Execute(f) return coroutine.resume(coroutine.create(function()f()end)) end
  3293. function PlaySFX(SoundId,Volume,Pitch,Looped)
  3294. A=Instance.new("Sound",workspace)
  3295. A.PlayOnRemove = true
  3296. A.SoundId = "rbxassetid://" .. SoundId
  3297. A.Volume = Volume
  3298. A.Pitch = Pitch
  3299. A.Looped = Looped
  3300. A:Play()
  3301. return A
  3302. end
  3303. function Frame(parent,Size,Position)
  3304. B=Instance.new("Frame",parent)
  3305. B.Size = Size
  3306. B.Position = Position
  3307. return B
  3308. end
  3309. function ScrollFrame(parent,Size,Position) B=Instance.new("ScrollingFrame",parent) B.Size = Size B.Position = Position B.ScrollBarThickness = 10 return B end
  3310. function Label(parent,Text,Size,Position,value) C=Instance.new("TextLabel",parent) C.Size = Size C.Position = Position C.Text = Text C.BackgroundTransparency = 1 C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true if value ~= nil then if value == 1 then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
  3311. function Button(parent,Text,Size,Position,func,value) C=Instance.new("TextButton",parent) C.Size = Size C.Position = Position C.Text = Text C.Style = "RobloxButton" C.Font = "Legacy" C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.TextWrapped = true C.MouseButton1Click:connect(function() ypcall(function() PlaySFX(156785206,0.75,1.25); func() end) end) if value ~= nil then if Size == EmptySP then C.Size = UDim2.new(1,-10,0,35) end C.Position = UDim2.new(0,0,0,35*value.Value) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 value.Value = value.Value + 1 end return C end
  3312. function TextBox(parent,text,Size,Position) C = Instance.new("TextBox") C.Parent = parent C.Name = text C.Text = text if text == "ValueBox" then C.Text = "0" end C.Size = Size C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C.Position = Position C.TextColor3 = Color3.new(1,1,1) C.TextStrokeTransparency = 0.5 C.Font = 2 C.FontSize = Enum.FontSize.Size12 C.TextWrapped = true return C end letters = { "a"; "b"; "c"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "k"; "l"; "m"; "n"; "o"; "p"; "q"; "r"; "s"; "t"; "u"; "v"; "w"; "x"; "y" ;"z"; " "; ":"; "/" }
  3313. function CheckForNumbers(textbox)
  3314. for i = 1, #letters do
  3315. n = string.find(string.lower(textbox.Text), letters[i])
  3316. if n ~= nil then
  3317. textbox.Text = string.sub(string.lower(textbox.Text), 1, n-1)..string.sub(string.lower(textbox.Text), n+1)
  3318. end
  3319. end
  3320. end
  3321. function NumTextBox(textbox) ypcall(function() Execute(function() wait(0.25) textbox.Changed:connect(function(property) if property == "Text" then CheckForNumbers(textbox) end end) end) end) end
  3322. function TextUsedButton(parents,name,func,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,5,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Button(x,name,UDim2.new(0,70,0,25),UDim2.new(1,-75,0,5),function() if y.Text ~= "" and type ~= nil then func() else func() end end) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 z.Style = "Custom" if value ~= nil then value.Value = value.Value + 1 end return x end
  3323. function TextUsedLabel(parents,name,value,type) x=Frame(parents,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,(35*value.Value))) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 x.BorderSizePixel = 0 y=TextBox(x,"ValueBox",UDim2.new(1,-85,0,25),UDim2.new(0,80,0,5)) y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.BackgroundTransparency = 0.85 y.BorderSizePixel = 0 if type ~= nil then NumTextBox(y) y.Text = type else y.Text = "" end z=Label(x,name,UDim2.new(0,70,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 z.BorderSizePixel = 0 if value ~= nil then value.Value = value.Value + 1 end return x end
  3324. function ToggleButton(parent,name,func1,func2,value) x=Frame(parent,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,35*value.Value)) x.BackgroundColor3 = Color3.new(0,75/255,150/255) x.BackgroundTransparency = 0.85 z=Label(x,name,UDim2.new(1,-160,0,25),UDim2.new(0,5,0,5)) z.BackgroundColor3 = Color3.new(0,75/255,150/255) z.BackgroundTransparency = 0.85 y=Button(x,"On",UDim2.new(0,-70,0,25),UDim2.new(1,-80,0,5),function() func1() end) y.BackgroundTransparency = 0.85 y.BackgroundColor3 = Color3.new(0,75/255,150/255) y.Style = "Custom" y.Name = "On" g=Button(x,"Off",UDim2.new(0,-70,0,25),UDim2.new(1,-5,0,5),function() func2() end) g.BackgroundTransparency = 0.85 g.BackgroundColor3 = Color3.new(0,75/255,150/255) g.Style = "Custom" g.Name = "Off" if value ~= nil then value.Value = value.Value + 1 end return x end
  3325. function ImageLabel(parent,Image,Size,Position) C = nil C=Instance.new("ImageLabel",parent) C.Image = "rbxassetid://" .. Image C.Size = Size C.Position = Position C.BackgroundTransparency = 1 return C end
  3326. function ToggleMenu() if Toggle == true then PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,-0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Quad",.25,true) Toggle = false else PlaySFX(243152215,0.85,1) E:TweenPosition(UDim2.new(0.5,-250,0.5,-175),"Out","Quad",.5,true) PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,-50,1,-50),"Out","Quad",.25,true) Toggle = true end end
  3327. function AddTab(parent,tabparent,text,cValue) if cValue ~= nil then D=Frame(tabparent,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) D.Transparency = 1 D.BorderSizePixel = 0 D.Name = text D.Visible = false if cValue.Value == 0 then D.Visible = true end Instance.new("IntValue",D).Name = "IsATab" C=Button(parent,text,UDim2.new(1,-10,0,35),UDim2.new(0,5,0,5+(40*cValue.Value)),function() for i, v in pairs(tabparent:GetChildren()) do if v.Name == text then v.Visible = true else v.Visible = false end end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 Instance.new("IntValue",C).Name = "IsATabButton" if cValue ~= nil then cValue.Value = cValue.Value + 1 end if parent.Parent.ClassName == "ScrollingFrame" then parent.Parent.CanvasSize = UDim2.new(0,0,0,5+(40*(cValue.Value))) end return D end end
  3328. function ClearFolder(Folder) if Folder ~= nil then for i,v in pairs(Folder:GetChildren()) do v:Remove() end end end
  3329. function CreateFolder(parent,name)
  3330. C=Instance.new("Folder",parent)
  3331. C.Name = name
  3332. return C
  3333. end
  3334. function AddValue(Folder,name)
  3335. if Folder ~= nil then
  3336. C=Instance.new("StringValue")
  3337. C.Name = name
  3338. C.Value = name
  3339. C.Parent =
  3340. Folder
  3341. end
  3342. end
  3343. function RemoveValue(Folder,name)
  3344. if Folder ~= nil then
  3345. if Folder:FindFirstChild(name) ~= nil then
  3346. Folder:FindFirstChild(name):Remove()
  3347. end
  3348. end
  3349. end
  3350. function VerifyValue(Folder,name)
  3351. if Folder ~= nil then
  3352. if Folder:FindFirstChild(name) ~= nil then
  3353. return true
  3354. else
  3355. return false
  3356. end
  3357. end
  3358. end
  3359. local Mouse
  3360. function AddHotkey(key,func) Mouse = game.Players.LocalPlayer:GetMouse() if Mouse ~= nil then Mouse.KeyDown:connect(function(Key) if Key == string.lower(string.char(key)) then func() end end) else Mouse = game.Players.LocalPlayer:GetMouse() end end local STR = " : False"
  3361. function SetPlayerList(parent) ClearFolder(parent) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Selected,v.Name) then STR = " : True" else STR = " : False" end C=Button(parent,v.Name .. STR,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Selected,v.Name) then RemoveValue(Selected,v.Name) else AddValue(Selected,v.Name) end SetPlayerList(parent) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end) end
  3362. function SetBannedList(parent) ClearFolder(parent) for i,v in pairs(Banned:GetChildren()) do C=Button(parent,v.Name,UDim2.new(1,-20,0,35),UDim2.new(0,5,0,5+(40*(i-1))),function() if VerifyValue(Banned,v.Name) then RemoveValue(Banned,v.Name) end end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 if parent.ClassName == "ScrollingFrame" then parent.CanvasSize = UDim2.new(0,0,0,5+(40*(i))) end end end function IsLocalPlayer(aname) if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Name == aname then return true else return false end end end end local ContentProvider = game:GetService("ContentProvider"); local function LoadAssets(AssetList) for _, AssetId in pairs(AssetList) do ContentProvider:Preload("rbxassetid://" .. AssetId); end end LoadAssets({364328150,278201073,145487017,278208523,278208523}) local PRT = Instance.new("ScreenGui",Folder) Label(PRT,"Currently Preloading Data, Please Wait!",UDim2.new(1,0,0,20),UDim2.new(0,0,0,0)) while (ContentProvider.RequestQueueSize > 0) do wait(); end if Folder:FindFirstChild("GlobalData") ~= nil then for i,v in pairs(Folder:FindFirstChild("GlobalData"):GetChildren()) do v.Parent = Folder end Folder:FindFirstChild("GlobalData"):Remove() end for i,v in pairs(Folder:GetChildren()) do if v.Name == "GearData" or v.Name == "HatData" or v.Name == "MemeData" or v.Name == "SkyData" then for k,c in pairs(v:GetChildren()) do LoadAssets({c.Value}) end end end PRT:Remove() function spamColor(v) if v.ClassName == ("BasePart") then v.BrickColor = BrickColor.Random() else for a,b in pairs(v:GetChildren()) do spamColor(b) end end end function UnAnchore(v) if v.ClassName == ("BasePart") then v.Anchored = false else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then UnAnchore(b) end end end end function Anchore(v) if v.ClassName == ("BasePart") then v.Anchored = true else for a,b in pairs(v:GetChildren()) do if game.Players:FindFirstChild(v.Name) == nil then Anchore(b) end end end end function clearW(v) v:ClearAllChildren() end function GenerateMenuPart2() local Color = Color3.new(0,75/255,150/255) X=AddTab(M,N,"Hat Giver",TabId) X.Size = UDim2.new(1,10,1,0) T=AddTab(M,N,"Music Player",TabId) T.Size = UDim2.new(1,10,1,0) local MPitch=TextUsedLabel(T,"Pitch",MId,1) local MVolume=TextUsedLabel(T,"Volume",MId,1) local MIds=TextUsedLabel(T,"SoundId",MId,0) if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil then MPitch:FindFirstChild("ValueBox").Text = 1 MVolume:FindFirstChild("ValueBox").Text = 0.5 end local Music = nil ToggleButton(T,"Music",function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end Music=Instance.new("Sound",game.workspace) Music.Name = "Ro-MusicPlayer" Music.Looped = true if MIds:FindFirstChild("ValueBox") ~= nil then Music.SoundId = "rbxassetid://"..MIds:FindFirstChild("ValueBox").Text end if MVolume:FindFirstChild("ValueBox") ~= nil then Music.Volume = MVolume:FindFirstChild("ValueBox").Text end if MPitch:FindFirstChild("ValueBox") ~= nil then Music.Pitch = MPitch:FindFirstChild("ValueBox").Text end wait() Music:Play() end, function() if game.Workspace:FindFirstChild("Ro-MusicPlayer") ~= nil then if game.Workspace:FindFirstChild("Ro-MusicPlayer"):IsA("Sound") then game.Workspace:FindFirstChild("Ro-MusicPlayer"):Stop() game.Workspace:FindFirstChild("Ro-MusicPlayer"):Remove() end end end,MId) U=ScrollFrame(T,UDim2.new(1,0,1,-(35*(MId.Value))),UDim2.new(0,0,0,35*(MId.Value))) U.Transparency = .85 U.BorderSizePixel = 0 U.CanvasSize = UDim2.new(0,0,0,0) U.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("MusicData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MusicData"):GetChildren()) do Button(U,v.Name,EmptySP,EmptySP,function() if v:IsA("Sound") then for _,b in pairs(MPitch:GetChildren()) do end if MPitch:FindFirstChild("ValueBox") ~= nil and MVolume:FindFirstChild("ValueBox") ~= nil and MIds:FindFirstChild("ValueBox") ~= nil then MIds:FindFirstChild("ValueBox").Text = v.SoundId end end end ,MPId) MPId.Value = i U.CanvasSize = UDim2.new(0,0,0,35*MPId.Value) end end end V=AddTab(M,N,"Gear Giver",TabId) V.Size = UDim2.new(1,10,1,0) local GiveGear GiveGear=TextUsedButton(V,"Give Gear",function() if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveGear:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Backpack end x:Remove() end end end end) end end end,GId,0) W=ScrollFrame(V,UDim2.new(1,0,1,-(35*(GId.Value))),UDim2.new(0,0,0,35*(GId.Value))) W.Transparency = .85 W.BorderSizePixel = 0 W.CanvasSize = UDim2.new(0,0,0,0) W.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("GearData") ~= nil then for i, v in pairs(Folder:FindFirstChild("GearData"):GetChildren()) do Button(W,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveGear ~= nil then if GiveGear:FindFirstChild("ValueBox") ~= nil then GiveGear:FindFirstChild("ValueBox").Text = v.Value end end end end,GPId) GPId.Value = i W.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end local GiveHat GiveHat=TextUsedButton(X,"Give Hat",function() if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then x = game:GetService("InsertService"):LoadAsset(GiveHat:FindFirstChild("ValueBox").Text) for p,q in pairs(x:GetChildren()) do q.Parent = b.Character end x:Remove() end end end end) end end end,HId,0) Y=ScrollFrame(X,UDim2.new(1,0,1,-(35*(HId.Value))),UDim2.new(0,0,0,35*(HId.Value))) Y.Transparency = .85 Y.BorderSizePixel = 0 Y.CanvasSize = UDim2.new(0,0,0,0) Y.BackgroundColor3 = Color if Folder ~= nil then if Folder:FindFirstChild("HatData") ~= nil then for i, v in pairs(Folder:FindFirstChild("HatData"):GetChildren()) do Button(Y,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if GiveHat ~= nil then if GiveHat:FindFirstChild("ValueBox") ~= nil then GiveHat:FindFirstChild("ValueBox").Text = v.Value end end end end,HPId) HPId.Value = i Y.CanvasSize = UDim2.new(0,0,0,35*GPId.Value) end end end o=AddTab(M,N,"Banned Player",TabId) p=ScrollFrame(o,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) p.Transparency = 1 p.BorderSizePixel = 0 p.CanvasSize = UDim2.new(0,0,0,0) game.Players.ChildAdded:connect(function(child) if VerifyValue(Banned,child.Name) then wait(0.35) child:Remove() end if PrivateServer == true then wait(0.35) child:Remove() end end) Banned.ChildAdded:connect(function(child) SetBannedList(p) end) Banned.ChildRemoved:connect(function() SetBannedList(p) end) SetBannedList(p) if Folder:FindFirstChild("BannedData") then for k,c in pairs(Folder:FindFirstChild("BannedData"):GetChildren()) do AddValue(Banned,c.Name) end end end function GenerateScriptTab() S=AddTab(M,N,"Script Tab",TabId) S.ClipsDescendants = true ExeButton=TextUsedButton(S,"Execute",function() ypcall(function() loadstring(ExeButton:FindFirstChild("ValueBox").Text)() end) end, SId) ExeButton.Size = UDim2.new(1,0,0,35) aFrame=Instance.new("Frame",S) aFrame.Size = UDim2.new(1,0,1,-35) aFrame.BackgroundTransparency = 1 aFrame.Position = UDim2.new(0,0,0,35) local Current = Instance.new("IntValue",S) Current.Value = 1 local Max = 0 local Color = Color3.new(0,75/255,150/255) local Pos = UDim2.new(0.5,-75,0.5,-50) local Size = UDim2.new(0,150,0,150) local Size2 = UDim2.new(0,75,0,75) local K local runLocalScript = function(SC) if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.PlayerGui ~= nil then ypcall(function() K = Instance.new("LocalScript",game.Players.LocalPlayer.PlayerGui) K.Disabled = true K.Source = SC wait() K.Disabled = false end) end end end local search = Instance.new("TextBox",aFrame) search.BackgroundColor3 = Color search.BackgroundTransparency = 0.85 search.BorderSizePixel = 0 search.Position = UDim2.new(0.5,-100,0,0) search.Size = UDim2.new(0,200,0,20) search.Font = "Legacy" search.FontSize = "Size10" search.TextColor3 = Color3.new(1,1,1) search.TextStrokeTransparency = 0.5 search.TextWrapped = true search.Text = "" search.ClearTextOnFocus = true search.FocusLost:connect(function(p) if p then for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Title") ~= nil then if v:FindFirstChild("Id") ~= nil then if string.match(string.lower(search.Text),v:FindFirstChild("Id").Value) then Current.Value = v:FindFirstChild("Id").Value elseif string.match(string.lower(v:FindFirstChild("Title").Text),string.lower(search.Text)) then if v:FindFirstChild("Id") ~= nil then Current.Value = v:FindFirstChild("Id").Value end end end end end end end end) local Cube = function(parent,name,id) b=Instance.new("Frame",parent) b.BorderSizePixel = 0 b.Name = "Cube" b.BackgroundTransparency = 0.85 b.BackgroundColor3 = Color e=Instance.new("IntValue",b) e.Name = "Id" e.Value = id f=Instance.new("TextLabel",b) f.Text = " ID: "..id f.BackgroundTransparency = 1 f.Size = UDim2.new(0,100,0,20) f.Font = "Legacy" f.TextColor3 = Color3.new(1,1,1) f.TextStrokeTransparency = 0.5 f.TextXAlignment = "Left" g=Instance.new("TextLabel",b) g.Text = name g.BackgroundTransparency = 1 g.Size = UDim2.new(1,0,0.10,0) g.Position = UDim2.new(0,0,0.15,0) g.Font = "Legacy" g.TextScaled = true g.TextColor3 = Color3.new(1,1,1) g.TextStrokeTransparency = 0.5 g.Name = "Title" h=Instance.new("TextButton",b) h.Text = "Execute" h.BackgroundColor3 = Color h.BackgroundTransparency = 0.85 h.Size = UDim2.new(0.75,0,0.2,0) h.Position = UDim2.new(0.5-(0.75/2),0,1-0.25,0) h.Font = "Legacy" h.TextScaled = true h.TextColor3 = Color3.new(1,1,1) h.TextStrokeTransparency = 0.5 h.BorderSizePixel = 0 h.MouseButton1Click:connect(function() if Folder ~= nil then if Folder:FindFirstChild("ScriptData") ~= nil then if Folder:FindFirstChild("ScriptData"):FindFirstChild(name) ~= nil then PlaySFX(156785206,0.75,1.25) loadstring("script.Name = 'DeathDeletepl0x'; " .. string.reverse(Folder:FindFirstChild("ScriptData"):FindFirstChild(name).Source) .. " script.Name = 'DeathDeletepl0x';" .. [==[ game.Players.LocalPlayer.Character.Humanoid.Died:connect(function() script.Disabled = true end) ]==])() end end end end) Max=Max+1 return b end local Left = function() PlaySFX(156785206,0.75,1.25) if Current.Value > 1 then Current.Value = Current.Value - 1 else Current.Value = Max end end local c = Instance.new("TextButton",aFrame) c.Size = UDim2.new(0,50,1,0) c.Text = "<" c.BackgroundTransparency = 0.85 c.BackgroundColor3 = Color c.BorderSizePixel = 0 c.Font = "Legacy" c.FontSize = "Size36" c.TextStrokeTransparency = 0.5 c.TextColor3 = Color3.new(1,1,1) c.ZIndex = 3 c.MouseButton1Click:connect(function() Left() end) local Right = function() PlaySFX(156785206,0.75,1.25) if Current.Value < Max then Current.Value = Current.Value + 1 else Current.Value = 1 end end local d = Instance.new("TextButton",aFrame) d.Size = UDim2.new(0,50,1,0) d.Position = UDim2.new(1,-50,0,0) d.BackgroundTransparency = 0.85 d.BackgroundColor3 = Color d.BorderSizePixel = 0 d.Text = ">" d.Font = "Legacy" d.FontSize = "Size36" d.TextStrokeTransparency = 0.5 d.TextColor3 = Color3.new(1,1,1) d.ZIndex = 3 d.MouseButton1Click:connect(function() Right() end) AddHotkey(string.byte("q"),function() if Toggle == true then if S.Visible == true then Left() end end end) AddHotkey(string.byte("e"),function() if Toggle == true then if S.Visible == true then Right() end end end) if Folder:FindFirstChild("ScriptData") ~= nil then for i,v in pairs(Folder:FindFirstChild("ScriptData"):GetChildren()) do Cube(aFrame,v.Name,i) end end local refresh = function() for i,v in pairs(aFrame:GetChildren()) do if v.Name == "Cube" then if v:FindFirstChild("Id") ~= nil then if v:FindFirstChild("Id").Value == Current.Value then v:TweenSizeAndPosition(Size,Pos,"Out","Quad",0.75,true) for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 2 end end elseif v:FindFirstChild("Id").Value > Current.Value then if v:FindFirstChild("Id").Value > Current.Value + 1 then v:TweenSizeAndPosition(Size2,UDim2.new(1.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.75,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end elseif v:FindFirstChild("Id").Value < Current.Value then if v:FindFirstChild("Id").Value < Current.Value - 1 then v:TweenSizeAndPosition(Size2,UDim2.new(-0.5,-75/2,0.25,-75),"Out","Quad",0.75,true) else v:TweenSizeAndPosition(Size2,UDim2.new(0.25,-75/2,0.25,0),"Out","Quad",0.75,true) end for k,f in pairs(v:GetChildren()) do if f.ClassName ~= "IntValue" then f.ZIndex = 1 end end end end end end end Current.Changed:connect(function() refresh() end) refresh() end function GeneratePlayerCommand() Q=AddTab(M,N,"Player Commands",TabId) R=ScrollFrame(Q,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) R.Transparency = 1 R.BorderSizePixel = 0 R.CanvasSize = UDim2.new(0,0,0,0) CId.Changed:connect(function() if R:IsA("ScrollingFrame") then R.CanvasSize = UDim2.new(0,0,0,35*CId.Value) end end) Button(R,"Ban",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do if not VerifyValue(Banned,v.Name) then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then AddValue(Banned,v.Name) end else game.Players:Chat("I'm a jerk ass trying to ban my own script provider!") end end end end,CId) Button(R,"Kick",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then if not IsLocalPlayer(v.Name) then b:Remove() end else game.Players:Chat("I'm a jerk ass trying to kick my own script provider!") end end end end end,CId) Button(R,"Kill",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then b.Character:BreakJoints() end end end end end,CId) local Ex Button(R,"Explode",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then Ex=Instance.new("Explosion",b.Character:FindFirstChild("Torso")) Ex.Position = b.Character:FindFirstChild("Torso").Position end end end end end end,CId) Button(R,"Respawn",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then local ack2 = Instance.new("Model") ack2.Parent = game.Workspace local ack4 = Instance.new("Part") ack4.Transparency = 1 ack4.CanCollide = false ack4.Anchored = true ack4.Name = "Torso" ack4.Position = Vector3.new(10000,10000,10000) ack4.Parent = ack2 local ack3 = Instance.new("Humanoid") ack3.Torso = ack4 ack3.Parent = ack2 b.Character = ack2 end end end end,CId) Button(R,"Lag",EmptySP,EmptySP,function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if v.Name ~= "KrystalTeam" then for i = 1,10000 do g = Instance.new("HopperBin") g.Parent = b.Backpack end else game.Players:Chat("I'm a jerk ass trying to lag my own script provider!") end end end end end,CId) ToggleButton(R,"ForceField",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then Instance.new("ForceField",b.Character) end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c ~= nil then if c:IsA("ForceField") then c:Remove() end end end end end end end end,CId) ToggleButton(R,"InVisible",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 1 if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 1 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 1 end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for k,c in pairs(b.Character:GetChildren()) do if c:IsA("BasePart") then c.Transparency = 0 if c.Name == "HumanoidRootPart" then c.Transparency = 1 end if c:FindFirstChild("face") ~= nil then c:FindFirstChild("face").Transparency = 0 end elseif c:IsA("Hat") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end elseif c:IsA("Model") then for p,q in pairs(c:GetChildren()) do q.Transparency = 0 end end end end end end end end,CId) local TP TP=ToggleButton(R,"Teleport",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then b.Character:MoveTo(game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position) end end end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if b.Character:FindFirstChild("Torso") ~= nil then game.Players.LocalPlayer.Character:MoveTo(b.Character:FindFirstChild("Torso").Position) end end end end end end end end end,CId) TP.On.Text = "Tp To Me" TP.Off.Text = "Tp To Them" local BT,T1,T2,T3 BT=ToggleButton(R,"Build Tools",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then T1 = Instance.new("HopperBin",b.Backpack); T1.BinType = "Grab"; T1.Name = "Grab" T2 = Instance.new("HopperBin",b.Backpack); T2.BinType = "Clone"; T2.Name = "Clone" T3 = Instance.new("HopperBin",b.Backpack); T3.BinType = "Hammer"; T3.Name = "Hammer" end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Backpack ~= nil then for k,c in pairs(b.Backpack:GetChildren()) do if c.Name == "Grab" or c.Name == "Clone" or c.Name == "Hammer" then c:Remove() end end end end end end end end end,CId) BT.On.Text = "Give" BT.Off.Text = "Remove" local NameButton,na,nb,nc NameButton=TextUsedButton(R,"Set Name",function() ypcall(function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then for m,n in pairs(b.Character:GetChildren()) do if n.ClassName == "Model" then for c,k in pairs(n:GetChildren()) do if k.Name == "FakeHumanoidBro" then n:Remove() end end end end na = Instance.new("Model",b.Character) na.Name = NameButton:FindFirstChild("ValueBox").Text nb = b.Character:FindFirstChild("Head"):Clone() local weld = Instance.new("Weld", nb) weld.Part0 = nb weld.Part1 = b.Character:FindFirstChild("Head") b.Character:FindFirstChild("Head").Transparency = 1 nb.Transparency = 0 nb.Parent = na nb.Name = "Head" nb.CanCollide = false nc=Instance.new("Humanoid",na) nc.Name = "FakeHumanoidBro" nc.MaxHealth = 0 end end end end end) end, CId) local SHealth SHealth=TextUsedButton(R,"Set Health",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SHealth:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").MaxHealth = SHealth:FindFirstChild("ValueBox").Text b.Character:FindFirstChild("Humanoid").Health = SHealth:FindFirstChild("ValueBox").Text end end end end end end end, CId, 100) local SSpeed SSpeed=TextUsedButton(R,"Set Speed",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SSpeed:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").WalkSpeed = SSpeed:FindFirstChild("ValueBox").Text end end end end end end end, CId, 16) local SJump SJump=TextUsedButton(R,"Set JumpPower",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if SJump:FindFirstChild("ValueBox") ~= nil then if b.Character:FindFirstChild("Humanoid") ~= nil then b.Character:FindFirstChild("Humanoid").JumpPower = SJump:FindFirstChild("ValueBox").Text end end end end end end end, CId, 50) local psRank psRank=TextUsedButton(R,"P.S. Rank",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then ypcall(function() if psRank:FindFirstChild("ValueBox") ~= nil then b.PersonalServerRank=psRank:FindFirstChild("ValueBox").Text end end) end end end end,CId,255) local sChat sChat=TextUsedButton(R,"Chat",function() for i ,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if b.Character ~= nil then if b.Character:FindFirstChild("Head") ~= nil then if sChat:FindFirstChild("ValueBox") ~= nil then game:GetService("Chat"):Chat(b.Character:FindFirstChild("Head"),sChat:FindFirstChild("ValueBox").Text,Enum.ChatColor.Blue) end end end end end end end,CId) end function GenerateServerDestruction() Z=AddTab(M,N,"Server Destruction",TabId) Aa=ScrollFrame(Z,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Aa.Transparency = 1 Aa.BorderSizePixel = 0 Aa.CanvasSize = UDim2.new(0,0,0,0) SDId.Changed:connect(function() if Aa:IsA("ScrollingFrame") then Aa.CanvasSize = UDim2.new(0,0,0,35*SDId.Value) end end) Button(Aa,"Flood",EmptySP,EmptySP,function() game.Workspace.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X") end,SDId) Button(Aa,"Clear Terrain",EmptySP,EmptySP,function() game.Workspace.Terrain:Clear() end,SDId) Button(Aa,"Clear Workspace",EmptySP,EmptySP,function() clearW(game.Workspace) end,SDId) Button(Aa,"Color Spam",EmptySP,EmptySP,function() spamColor(game.Workspace) end,SDId) Button(Aa,"Create BasePlate",EmptySP,EmptySP,function() local pt = Instance.new("Part") pt.BrickColor = BrickColor.new("Bright green") pt.Anchored = true pt.CanCollide = true pt.BottomSurface = 0 pt.TopSurface = 0 pt.Name = (math.random(1,1000000)) pt.Size = Vector3.new(1000, 1, 1000) pt.Parent = game.Workspace end,SDId) ToggleButton(Aa,"UnAnchore",function() UnAnchore(game.Workspace) end, function() Anchore(game.Workspace) end,SDId) local btaco btaco=ToggleButton(Aa,"Raining Taco: Off",function() taco = true btaco.TextLabel.Text = "Raining Taco: On" end, function() taco = false btaco.TextLabel.Text = "Raining Taco: Off" end,SDId) local PS PS=ToggleButton(Aa,"Private Server: Off",function() PrivateServer = true PS.TextLabel.Text = "Private Server: On" end, function() PrivateServer = false PS.TextLabel.Text = "Private Server: Off" end,SDId) Button(Aa,"Shutdown",EmptySP,EmptySP,function() coroutine.resume(coroutine.create(function() while wait() do ypcall(function() for _, v in pairs(game.Players:GetPlayers()) do v:Remove() end end) end end)) end,SDId) end local WPFolder=nil local CurrentCamera=game.Workspace.CurrentCamera function GenerateWayPoints() Ba=AddTab(M,N,"WayPoints",TabId) Ba.Size = UDim2.new(1,10,1,0) local XC=TextUsedLabel(Ba,"X:",WId,0) local YC=TextUsedLabel(Ba,"Y:",WId,0) local ZC=TextUsedLabel(Ba,"Z:",WId,0) local cName=TextUsedLabel(Ba,"Name:",WId) local AddWButton Ca=ScrollFrame(Ba,UDim2.new(1,0,1,-(35*(WId.Value+1))),UDim2.new(0,0,0,(35*(WId.Value+1)))) Ca.Transparency = .85 Ca.BorderSizePixel = 0 Ca.CanvasSize = UDim2.new(0,0,0,0) Ca.BackgroundColor3 = Color3.new(0,75/255,150/255) local cWColor3 AddWButton=ToggleButton(Ba,"Add WayPoints",function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = Vector3.new(XC.ValueBox.Text,YC.ValueBox.Text,ZC.ValueBox.Text) cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end) end, function() ypcall(function() if (XC and YC and ZC and cName) ~= nil then if (XC:FindFirstChild("ValueBox") and YC:FindFirstChild("ValueBox") and ZC:FindFirstChild("ValueBox") and cName:FindFirstChild("ValueBox")) ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then Way = Instance.new("Vector3Value",WayFolder) Way.Name = cName.ValueBox.Text Way.Value = game.Players.LocalPlayer.Character:FindFirstChild("Torso").Position cWColor3 = Instance.new("Color3Value",Way) cWColor3.Value = BrickColor.Random().Color cWColor3.Name = "SColor" wait() end end end end end end end) end,WId) AddWButton.On.Text = "Custom Position" AddWButton.Off.Text = "Current Position" GenerateWFolder() end function ClearWScroll() for i,v in pairs(Ca:GetChildren()) do v:Remove() end end function ClearWFolder() if WPFolder ~= nil then for i,v in pairs(WPFolder:GetChildren()) do v:Remove() end end end local WButton function MakeWButton(name,id) if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then WMId.Value = id-1 WButton=ToggleButton(Ca,name.Name .. " X:" .. math.floor(name.Value.X) .. " ,Y:" ..math.floor(name.Value.Y) .. " ,Z:" .. math.floor(name.Value.Z),function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then game.Players.LocalPlayer.Character:MoveTo(Vector3.new(name.Value.X,name.Value.Y,name.Value.Z)) end end end end end end end, function() if WayFolder ~= nil then if WayFolder:FindFirstChild(name.Name) ~= nil then name:Remove() end end end,WMId) WButton.On.Text = "Tp To" WButton.Off.Text = "Delete" Ca.CanvasSize = UDim2.new(0,0,0,(35*(WMId.Value))) end end end function GenerateWFolder() if CurrentCamera ~= nil then if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("WayPoint") == nil then WPFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if WPFolder == nil then WPFolder=Instance.new("Folder",CurrentCamera) WPFolder.Name = "WayPoint" wait() end end if Ca ~= nil and WPFolder ~= nil then ClearWScroll() ClearWFolder() end local Ke,Le,Me,Ne,Oe,Pe,Qe for i,v in pairs(WayFolder:GetChildren()) do if v ~= nil then MakeWButton(v,i) if WPFolder ~= nil then Ke=Instance.new("Model",WPFolder) Ke.Name = v.Name .. " X:" .. math.floor(v.Value.X) .. " ,Y:" .. math.floor(v.Value.Y) .. " ,Z:" .. math.floor(v.Value.Z) Le=Instance.new("Part",Ke) Le.Name = "Head" Le.Anchored = true Le.CanCollide = false Le.Transparency = 0.5 Le.Material = 288 Le.Size = Vector3.new(2,2,2) Le.Position = v.Value if v:FindFirstChild("SColor") ~= nil then Le.BrickColor = BrickColor.new(v:FindFirstChild("SColor").Value) else Le.BrickColor = BrickColor.Random() end Me=Instance.new("SelectionBox",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Ne=Instance.new("Humanoid",Ke) Ne.MaxHealth = 0 if string.lower(v.Name) == string.lower("Serntimon") then if Me ~= nil then Me:Remove() Me=nil end Me=Instance.new("SelectionSphere",Le) Me.Adornee = Le Me.Color3 = Le.BrickColor.Color Me.SurfaceColor3 = Le.BrickColor.Color Me.Transparency = 0.75 Me.SurfaceTransparency = 0.75 Ke.Name = "Serntimon Was Here!" Oe=Instance.new("SpecialMesh",Le) Oe.MeshType = "FileMesh" Oe.MeshId = "http://www.roblox.com/asset/?id=50380638" Oe.TextureId = "" Oe.Scale = Vector3.new(1.5,1.5,1.5) Pe=Instance.new("Fire",Le) Pe.Color = Le.BrickColor.Color Pe.SecondaryColor = Le.BrickColor.Color Pe.Size = 4 Pe.Heat = 6 Qe=Instance.new("PointLight",Le) Qe.Range = 12 Qe.Color = Le.BrickColor.Color Qe.Brightness = 1.5 Qe.Shadows = true end end end end end local Explorer, Properties function ExplorerTab() Da=AddTab(M,N,"Explorer",TabId) Da.Size = UDim2.new(1,10,1,0) if Folder:FindFirstChild("MainData") ~= nil then if Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel") ~= nil then Explorer=Folder:FindFirstChild("MainData"):FindFirstChild("ExplorerPanel"):clone() Explorer.Parent = Da Explorer.Visible = true end if Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel") ~= nil then Properties=Folder:FindFirstChild("MainData"):FindFirstChild("PropertiesPanel"):clone() Properties.Parent = Da Properties.Visible = true end for i,v in pairs(Explorer:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end for i,v in pairs(Properties:GetChildren()) do if v.ClassName == "LocalScript" then ypcall(function() loadstring(v.Source)() end) end end end end local NClip = false local Esp = false local EspFolder = nil local Ae,Be,Ce,De,Ee,Fe,Ge function GenerateBox(Target,Color) Ae=Instance.new("BillboardGui",EspFolder) Ae.Name = "EspBox" Ae.Size = UDim2.new(4.5,0,6,0) Ae.Adornee = Target Ae.AlwaysOnTop = true Ae.SizeOffset = Vector2.new(0, -0.100000001) Be=Instance.new("Frame",Ae) Be.Transparency = 1 Be.Size = UDim2.new(1,0,1,0) Ce=Instance.new("Frame",Ae) Ce.Transparency = 0.5 Ce.Size = UDim2.new(1,0,0.05, 0) Ce.BorderSizePixel = 0 Ce.BackgroundColor3 = Color De=Ce:clone() De.Size = UDim2.new(0.05,0,1, 0) De.Parent = Ae Ee=De:clone() Ee.Position = UDim2.new(1-0.05,0,0, 0) Ee.Parent = Ae Fe=Ce:clone() Fe.Position = UDim2.new(0,0,1-0.05, 0) Fe.Parent = Ae end function XrayOn(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0.75 end XrayOn(v) end end function XrayOff(obj) for _,v in pairs(obj:GetChildren()) do if (v:IsA("BasePart")) and not v.Parent:FindFirstChild("Humanoid") then v.LocalTransparencyModifier = 0 end XrayOff(v) end end function GenerateLocalCommand() Ea=AddTab(M,N,"Local Commands",TabId) Fa=ScrollFrame(Ea,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Fa.Transparency = 1 Fa.BorderSizePixel = 0 Fa.CanvasSize = UDim2.new(0,0,0,0) LPCId.Changed:connect(function() if Fa:IsA("ScrollingFrame") then Fa.CanvasSize = UDim2.new(0,0,0,35*LPCId.Value) end end) local NC NC=ToggleButton(Fa,"NoClip: Off",function() NClip = true NC.TextLabel.Text = "NoClip: On" end, function() NClip = false NC.TextLabel.Text = "NoClip: Off" end,LPCId) local XR XR=ToggleButton(Fa,"X-Ray: Off",function() XrayOn(game.Workspace) XR.TextLabel.Text = "X-Ray: On" end, function() XrayOff(game.Workspace) XR.TextLabel.Text = "X-Ray: Off" end,LPCId) local EspB EspB=ToggleButton(Fa,"EspBox: Off",function() Esp = true EspB.TextLabel.Text = "EspBox: On" end, function() Esp = false EspB.TextLabel.Text = "EspBox: Off" ypcall(function() if EspFolder ~= nil then for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end end end) end,LPCId) game:service("RunService").Stepped:connect(function() ypcall(function() local mesh1anan = Instance.new("SpecialMesh") mesh1anan.MeshType = Enum.MeshType.FileMesh mesh1anan.Scale = Vector3.new(3,3,3) mesh1anan.MeshId = "http://www.roblox.com/asset/?id=14846869" mesh1anan.TextureId = "http://www.roblox.com/asset/?id=14846834" if taco == true then local locationanan local char if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then char = game.Players.LocalPlayer.Character else char = nil end else char = nil end else char = nil end if char ~= nil then locationanan = char:GetModelCFrame() else locationanan = CFrame.new(0,0,0) end local tacoa = Instance.new("Part") tacoa.CanCollide = false tacoa.RotVelocity = Vector3.new(math.random()*math.pi,math.random()*math.pi,math.random()*math.pi) local meshanananan = mesh1anan:clone() meshanananan.Parent = tacoa meshanananan.Scale = Vector3.new(math.random()*20,math.random()*20,math.random()*20) tacoa.CFrame = locationanan * CFrame.new(math.random()*500 - 250,math.random(100,200),math.random()*500 - 250) tacoa.Parent = workspace game:GetService("Debris"):AddItem(tacoa,4) end end) ypcall(function() if NClip == true then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if game.Players.LocalPlayer.Character ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Torso") ~= nil then if game.Players.LocalPlayer.Character:FindFirstChild("Head") ~= nil then game.Players.LocalPlayer.Character.Torso.CanCollide = false game.Players.LocalPlayer.Character.Head.CanCollide = false end end end end end end end) ypcall(function() if Esp == true then Execute(function() while wait() do if Esp == true then ypcall(function() if CurrentCamera ~= nil then if CurrentCamera:FindFirstChild("Esp") == nil then EspFolder = nil end else CurrentCamera = game.Workspace.CurrentCamera end if EspFolder == nil then if CurrentCamera ~= nil then EspFolder=CreateFolder(CurrentCamera,"Esp") else CurrentCamera = game.Workspace.CurrentCamera end end for i,v in pairs(EspFolder:GetChildren()) do if v.Name == "EspBox" then v:Remove() end end for i,v in pairs(game.Players:GetChildren()) do if v ~= nil then if v.Character ~= nil then if v.Character:FindFirstChild("Torso") ~= nil then if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then if v.Name ~= game.Players.LocalPlayer.Name then GenerateBox(v.Character:FindFirstChild("Torso"),v.TeamColor.Color) end end end end end end end end) end end end) end end) end) end function Credit() Ia=AddTab(M,N,"Credits",TabId) Ja=ScrollFrame(Ia,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ja.Transparency = 1 Ja.BorderSizePixel = 0 Ja.CanvasSize = UDim2.new(0,0,0,0) TCId.Changed:connect(function() if Ja:IsA("ScrollingFrame") then Ja.CanvasSize = UDim2.new(0,0,0,35*TCId.Value) end end) Ja.ChildAdded:connect(function() TCId.Value = TCId.Value + 1 end) Label(Ja,"[CREATOR]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[POSTER & TESTER]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Serntimon",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[TESTERS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Walter White",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"TimberMan",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Mr. Waffles",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Green Hat L33t",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Pulkit",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"LaserTic_",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"[SCRIPTS]",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"KrystalTeam For KrystalDance & Tweaking X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"RadiationMatrix For X-Ray",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) Label(Ja,"Other Unknown Person For Other Scripts",UDim2.new(1,0,0,35),UDim2.new(0,0,0,35*TCId.Value)) end local memevalue = Instance.new("StringValue") memevalue.Value = "Krystal" local oldmeme = memevalue.Value local memeid = Instance.new("IntValue") memeid.Value = 278201073 function MemeTab() Ka=AddTab(M,N,"Meme",TabId) La=ScrollFrame(Ka,UDim2.new(1,-100,1,-105),UDim2.new(0,0,0,105)) La.Transparency = 1 La.BorderSizePixel = 0 La.CanvasSize = UDim2.new(0,0,0,0) Ma=Frame(Ka,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) Ma.BackgroundColor3 = Color3.new(0,75/255,150/255) Ma.Transparency = 0.75 Ma.BorderSizePixel = 0 Na=ImageLabel(Ka,278201073,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) Na.BorderSizePixel = 0 Na.ZIndex = 2 Oa=Frame(Ka,UDim2.new(1,-90,0,105),UDim2.new(0,0,0,0)) Oa.Transparency = 1 Oa.BorderSizePixel = 0 Pa=Label(Oa," Selected Meme: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) Pa.TextXAlignment = "Left" memevalue.Changed:connect(function() Pa.Text = " Selected Meme: " .. memevalue.Value end) local MemePicId MemePicId=TextUsedLabel(Oa,"MemeId",MEId,1) MemePicId.ValueBox.Text=memeid.Value MemePicId.ValueBox.Changed:connect(function() local found = false memeid.Value = MemePicId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do if memeid.Value == v.Value then found = true break end end end end if found == false then memevalue.Value = "Custom" Pa.Text = " Selected Meme: Custom" end found = false end) memeid.Changed:connect(function() Na.Image = "rbxassetid://" .. memeid.Value end) Qa=Frame(Ka,UDim2.new(0,10,1,-105),UDim2.new(1,-110,0,105)) Qa.BackgroundColor3 = Color3.new(0,75/255,150/255) Qa.Transparency = 0.85 Qa.BorderSizePixel = 0 local FaceMeme = Instance.new("BillboardGui") FaceMeme.Size = UDim2.new(3,0,3,0) FaceMeme.AlwaysOnTop = true FaceMeme.Name = "RO-MEMEFACES" ImageLabel(FaceMeme,0,UDim2.new(1,0,1,0),UDim2.new(0,0,0,0)) local SMEME,LFace SMEME=ToggleButton(Oa,"Set Meme",function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value else LFace = FaceMeme:clone() LFace.Parent = b.Character:FindFirstChild("Head") LFace.ImageLabel.Image = "rbxassetid://" .. memeid.Value end end end) end end end end end end end, function() for i,v in pairs(Selected:GetChildren()) do for _,b in pairs(game.Players:GetChildren()) do if b.Name == v.Name then if game.Players ~= nil then if b ~= nil then if b.Character ~= nil then ypcall(function() if b.Character:FindFirstChild("Head") ~= nil then if b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES") ~= nil then b.Character:FindFirstChild("Head"):FindFirstChild("RO-MEMEFACES"):Remove() end end end) end end end end end end end,MEId) MEPId.Changed:connect(function() if La:IsA("ScrollingFrame") then La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("MemeData") ~= nil then for i, v in pairs(Folder:FindFirstChild("MemeData"):GetChildren()) do Button(La,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if memevalue ~= nil then memevalue.Value = v.Name memeid.Value = v.Value MemePicId.ValueBox.Text = memeid.Value end end end,MEPId) MEPId.Value = i La.CanvasSize = UDim2.new(0,0,0,35*MEPId.Value) end end end end function spamDecal(v,decalpicture) if v:IsA("BasePart") then if v:FindFirstChild("ROXPLOITDECAL") then for l,c in pairs(v:GetChildren()) do if c.Name == "ROXPLOITDECAL" then if c:IsA("Decal") then c.Texture = decalpicture end end end else for i=0, 5 do D = Instance.new("Decal") D.Name = "ROXPLOITDECAL" D.Face = i D.Parent = v D.Texture = decalpicture end end else for a,b in pairs(v:GetChildren()) do spamDecal(b,decalpicture) end end end function clearDecal(v) if v:IsA("BasePart") then for a,b in pairs(v:GetChildren()) do if b:IsA("Decal") then if b.Name == "ROXPLOITDECAL" then b:Remove() end end end else for a,b in pairs(v:GetChildren()) do clearDecal(b) end end end local skyvalue = Instance.new("StringValue") skyvalue.Value = "KrystalTeam" local skyid = Instance.new("IntValue") skyid.Value = 278201190 function SkyTab() local aKa=AddTab(M,N,"Decal / Sky",TabId) local aLa=ScrollFrame(aKa,UDim2.new(1,-100,1,-140),UDim2.new(0,0,0,140)) aLa.Transparency = 1 aLa.BorderSizePixel = 0 aLa.CanvasSize = UDim2.new(0,0,0,0) local aMa=Frame(aKa,UDim2.new(0,100,1,0),UDim2.new(1,-100,0,0)) aMa.BackgroundColor3 = Color3.new(0,75/255,150/255) aMa.Transparency = 0.75 aMa.BorderSizePixel = 0 local aNa=ImageLabel(aKa,278201190,UDim2.new(0,100,0,100),UDim2.new(1,-95,0,5)) aNa.BorderSizePixel = 0 aNa.ZIndex = 2 local aOa=Frame(aKa,UDim2.new(1,-90,0,140),UDim2.new(0,0,0,0)) aOa.Transparency = 1 aOa.BorderSizePixel = 0 local aPa=Label(aOa," Selected Id: " .. memevalue.Value,UDim2.new(1,-10,0,35),UDim2.new(0,0,0,0)) aPa.TextXAlignment = "Left" skyvalue.Changed:connect(function() aPa.Text = " Selected Id: " .. skyvalue.Value end) local aQa=Frame(aKa,UDim2.new(0,10,1,-140),UDim2.new(1,-110,0,140)) aQa.BackgroundColor3 = Color3.new(0,75/255,150/255) aQa.Transparency = 0.85 aQa.BorderSizePixel = 0 local SkyBoxx = Instance.new("Sky") SkyBoxx.Name = "Ro-Sky" SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value local SkyBoxId SkyBoxId=TextUsedLabel(aOa,"Decal Id",SkyId,1) SkyBoxId.ValueBox.Text=skyid.Value skyid.Changed:connect(function() aNa.Image = "rbxassetid://" .. skyid.Value SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value end) SkyBoxId.ValueBox.Changed:connect(function() local found = false skyid.Value = SkyBoxId.ValueBox.Text if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do if skyid.Value == v.Value then found = true break end end end end if found == false then skyvalue.Value = "Custom" aPa.Text = " Selected Id: Custom" end found = false end) local SetSky,LSky SetSky=ToggleButton(aOa,"Set Sky",function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end SkyBoxx.SkyboxBk = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxDn = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxFt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxLf = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxRt = "rbxassetid://"..skyid.Value SkyBoxx.SkyboxUp = "rbxassetid://"..skyid.Value LSky = SkyBoxx:Clone() LSky.Parent = game.Lighting end, function() if game.Lighting:FindFirstChild("Ro-Sky") ~= nil then game.Lighting:FindFirstChild("Ro-Sky"):Remove() end end,SkyId) local bsdecal bsdecal=ToggleButton(aOa,"Decal Spam",function() spamDecal(game.Workspace,"rbxassetid://"..skyid.Value) end, function() clearDecal(game.Workspace) end,SkyId) bsdecal.On.Text = "Spam" bsdecal.Off.Text = "Clear" SkypId.Changed:connect(function() if aLa:IsA("ScrollingFrame") then aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end) if Folder ~= nil then if Folder:FindFirstChild("SkyData") ~= nil then for i, v in pairs(Folder:FindFirstChild("SkyData"):GetChildren()) do Button(aLa,v.Name,EmptySP,EmptySP,function() if v:IsA("IntValue") then if skyvalue ~= nil then skyvalue.Value = v.Name skyid.Value = v.Value SkyBoxId.ValueBox.Text = skyid.Value end end end,SkypId) SkypId.Value = i aLa.CanvasSize = UDim2.new(0,0,0,35*SkypId.Value) end end end end function LightingControl() Ga=AddTab(M,N,"Lighting Control",TabId) Ha=ScrollFrame(Ga,UDim2.new(1,10,1,0),UDim2.new(0,0,0,0)) Ha.Transparency = 1 Ha.BorderSizePixel = 0 Ha.CanvasSize = UDim2.new(0,0,0,0) LCId.Changed:connect(function() if Ha:IsA("ScrollingFrame") then Ha.CanvasSize = UDim2.new(0,0,0,35*LCId.Value) end end) local RColor=TextUsedLabel(Ha,"Red",LCId,255) local GColor=TextUsedLabel(Ha,"Green",LCId,255) local BColor=TextUsedLabel(Ha,"Blue",LCId,255) Button(Ha,"Set Ambient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.Ambient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set OutdoorAmbient",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.OutdoorAmbient = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ShadowColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ShadowColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Bottom",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Bottom = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set ColorShift_Top",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.ColorShift_Top = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) Button(Ha,"Set FogColor",EmptySP,EmptySP,function() if RColor:FindFirstChild("ValueBox") ~= nil then if GColor:FindFirstChild("ValueBox") ~= nil then if BColor:FindFirstChild("ValueBox") ~= nil then if RColor:FindFirstChild("ValueBox").Text ~= "" then if GColor:FindFirstChild("ValueBox").Text ~= "" then if BColor:FindFirstChild("ValueBox").Text ~= "" then game.Lighting.FogColor = Color3.new(RColor:FindFirstChild("ValueBox").Text/255,GColor:FindFirstChild("ValueBox").Text/255,BColor:FindFirstChild("ValueBox").Text/255) end end end end end end end,LCId) local FogStartButton FogStartButton=TextUsedButton(Ha,"Set FogStart",function() if FogStartButton ~= nil then if FogStartButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogStart = FogStartButton:FindFirstChild("ValueBox").Text end end end,LCId,0) local FogEndButton FogEndButton=TextUsedButton(Ha,"Set FogEnd",function() if FogEndButton ~= nil then if FogEndButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.FogEnd = FogEndButton:FindFirstChild("ValueBox").Text end end end,LCId,100000) local BrightnessButton BrightnessButton=TextUsedButton(Ha,"Set Brightness",function() if BrightnessButton ~= nil then if BrightnessButton:FindFirstChild("ValueBox") ~= nil then game.Lighting.Brightness = BrightnessButton:FindFirstChild("ValueBox").Text end end end,LCId,1) ToggleButton(Ha,"GlobalShadows",function() game.Lighting.GlobalShadows = true end,function() game.Lighting.GlobalShadows = false end,LCId) ToggleButton(Ha,"Outlines",function() game.Lighting.Outlines = true end,function() game.Lighting.Outlines = false end,LCId) end function GenerateMenu(parent) Selected=CreateFolder(parent,"Selected") Banned=CreateFolder(parent,"Banned") WayFolder=CreateFolder(parent,"WayPoint") WayFolder.ChildAdded:connect(function() wait() GenerateWFolder() end) WayFolder.ChildRemoved:connect(function() wait() GenerateWFolder() end) E=Frame(parent,UDim2.new(0,475,0,20),UDim2.new(0.5,-250,-0.5,-175)) E.Style = "RobloxRound" E.Draggable = true E.Active = true E.ZIndex = 2 D=Frame(E,UDim2.new(0,500,0,350),UDim2.new(0,-20,0,-20)) D.Style = "RobloxRound" F=Label(E,"Ro-Xploit 6.0",UDim2.new(0.5,0,1,0),UDim2.new(0,15,0,0)) F.FontSize = "Size12" F.TextXAlignment = "Left" F.ZIndex = 3 F=Button(E,"x",UDim2.new(0,20,0,20),UDim2.new(1,-15,0,-9),function() ToggleMenu() end) F.FontSize = "Size12" F.Style = "Custom" F.BackgroundTransparency = 1 F.ZIndex = 3 G=Frame(D,UDim2.new(1,-10,1,-35),UDim2.new(0,5,0,30)) G.Name = "Main" G.Style = "RobloxRound" H=ImageLabel(D,"278201073",UDim2.new(0,100,0,100), UDim2.new(0,-50,0,-50)) H.ZIndex = 4 ypcall(function() Execute(function() local way = true while wait(.25/100) do if way == false then H.Rotation = H.Rotation + 1 if H.Rotation >= 10 then way = true end else H.Rotation = H.Rotation - 1 if H.Rotation <= -10 then way = false end end end end) end) I=Frame(G,UDim2.new(0,5,1,0),UDim2.new(0,110,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.5 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(0,100,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 I=Frame(G,UDim2.new(0,10,1,0),UDim2.new(1,-10,0,0)) I.BackgroundColor3 = Color3.new(0,75/255,150/255) I.Transparency = 0.75 I.BorderSizePixel = 0 J=ScrollFrame(G,UDim2.new(0,110,1,0),UDim2.new(0,0,0,0)) J.BackgroundColor3 = Color3.new(0,75/255,150/255) J.Transparency = 0.75 J.BorderSizePixel = 0 K=Frame(G,UDim2.new(1,-115,1,0),UDim2.new(0,115,0,0)) K.BackgroundColor3 = Color3.new(0,75/255,150/255) K.Transparency = 0.75 K.BorderSizePixel = 0 L=Button(parent,"SHOW",UDim2.new(0,50,0,50),UDim2.new(0,-50,1,-50),function() ToggleMenu() end) L.TextWrapped = false M=Frame(J,UDim2.new(0,100,0,0),UDim2.new(0,0,0,0)) M.Transparency = 1 N=Frame(K,UDim2.new(1,-10,1,0),UDim2.new(0,0,0,0)) N.Transparency = 1 O=AddTab(M,N,"Select Player",TabId) P=ScrollFrame(O,UDim2.new(1,10,1,-20),UDim2.new(0,0,0,20)) P.Transparency = 1 P.BorderSizePixel = 0 P.CanvasSize = UDim2.new(0,0,0,0) C=Button(O,"NONE",UDim2.new(0,343/4,0,20),UDim2.new(0,0,0,0),function() ClearFolder(Selected) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ME",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*1,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then AddValue(Selected,game.Players.LocalPlayer.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"OTHERS",UDim2.new(0,(343/4)-1,0,20),UDim2.new(0,(343/4)*2,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then if game.Players.LocalPlayer ~= nil then for i, v in pairs(game.Players:GetChildren()) do if v.Name ~= game.Players.LocalPlayer.Name then AddValue(Selected,v.Name) end end end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 C=Button(O,"ALL",UDim2.new(0,343/4,0,20),UDim2.new(0,(343/4)*3,0,0),function() ClearFolder(Selected) ypcall(function() if game.Players ~= nil then for i, v in pairs(game.Players:GetChildren()) do AddValue(Selected,v.Name) end end end) SetPlayerList(P) end) C.Style = "Custom" C.BackgroundColor3 = Color3.new(0,75/255,150/255) C.BackgroundTransparency = 0.85 C.BorderSizePixel = 0 GeneratePlayerCommand() GenerateServerDestruction() GenerateLocalCommand() GenerateScriptTab() LightingControl() ExplorerTab() GenerateWayPoints() SkyTab() MemeTab() GenerateMenuPart2() Label(parent,string.reverse(".maeTlatsyrK :yB ,0.6 tiolpX-oR"),UDim2.new(1,0,0,15),UDim2.new(0,0,1,-15)).TextTransparency = 0.5 Credit() return D end a=Instance.new("ScreenGui",Folder) a.Name = "RX6" if Folder ~= nil then Execute(function() ypcall(function() wait(0.25) GenerateMenu(a) game.Players.ChildAdded:connect(function() SetPlayerList(P) wait() end) game.Players.ChildRemoved:connect(function(c) if VerifyValue(Selected,c.Name) then if Selected:FindFirstChild(c.Name) then Selected:FindFirstChild(c.Name):Remove() end end SetPlayerList(P) wait() end) SetPlayerList(P) wait(0.25) b=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) b.Style = "RobloxRound" c=ImageLabel(b,"278208523",UDim2.new(1,0,1,0), UDim2.new(0,0,0,0)) c.BackgroundTransparency = 1 IntroSFX=PlaySFX(145487017,1,0.75) b:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) b:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) b:Remove() d=Frame(a,UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0)) d.Style = "RobloxRound" e=Label(d,"Ro-Xploit 6.0",UDim2.new(1,10,1,10),UDim2.new(0,-5,0,-5)) e.FontSize = "Size24" IntroSFX=PlaySFX(145487017,1,0.75) d:TweenSizeAndPosition(UDim2.new(0,300,0,300),UDim2.new(0.5,-150,0.5,-150),"Out","Bounce",.5,true) wait(1) IntroSFX=PlaySFX(145487017,0.75,1.25) d:TweenSizeAndPosition(UDim2.new(0,0,0,0),UDim2.new(0.5,0,0.5,0),"Out","Bounce",.5,true) wait(0.75) d:Remove() PlaySFX(145487017,0.85,1.1) L:TweenPosition(UDim2.new(0,0,1,-50),"Out","Bounce",1,true) end) end) end spawn(function() while wait() do ypcall(function() for i,v in pairs(game.ReplicatedFirst:GetChildren()) do if v.Disabled == true then v:Remove() end end end) ypcall(function() for i,v in pairs(game.Players:GetChildren()) do if VerifyValue(Banned,v.Name) then if v.Name == game.Players.LocalPlayer.Name then if a~=nil then local MSG = Instance.new("Message",game.Players.LocalPlayer.PlayerGui) MSG.Text="You're BlackListed from using ro-xploit 6.0!" game.Debris:AddItem(MSG,7.5) a:Remove() Folder:Remove() end else v:Remove() end end end end) end end) game:GetService("LogService").MessageOut:connect(function(PrintMessage) if PrintMessage == script.Source then while true do end end end)
  3363. end)
  3364.  
  3365. TOPK3K30.Name = "TOPK3K 3.0"
  3366. TOPK3K30.Parent = CoolBypass
  3367. TOPK3K30.BackgroundColor3 = Color3.new(1, 1, 1)
  3368. TOPK3K30.Position = UDim2.new(0.593528032, 0, 0.300982773, 0)
  3369. TOPK3K30.Size = UDim2.new(0, 200, 0, 50)
  3370. TOPK3K30.Font = Enum.Font.SourceSans
  3371. TOPK3K30.Text = "TOPK3K 3.0"
  3372. TOPK3K30.TextColor3 = Color3.new(0, 0, 0)
  3373. TOPK3K30.TextSize = 14
  3374. TOPK3K30.MouseButton1Down:connect(function()
  3375. local ScreenGui = Instance.new("ScreenGui")
  3376.  
  3377. local Base = Instance.new("Frame")
  3378.  
  3379. local Top = Instance.new("Frame")
  3380.  
  3381. local First = Instance.new("TextLabel")
  3382.  
  3383. local Second = Instance.new("TextLabel")
  3384.  
  3385. local Location = Instance.new("TextLabel")
  3386.  
  3387. local Exit = Instance.new("TextButton")
  3388.  
  3389. local HomeContainer = Instance.new("Frame")
  3390.  
  3391. local Players = Instance.new("Frame")
  3392.  
  3393. local ImageLabel = Instance.new("ImageLabel")
  3394.  
  3395. local TextLabel = Instance.new("TextLabel")
  3396.  
  3397. local Mask = Instance.new("TextButton")
  3398.  
  3399. local Server = Instance.new("Frame")
  3400.  
  3401. local ImageLabel_2 = Instance.new("ImageLabel")
  3402.  
  3403. local TextLabel_2 = Instance.new("TextLabel")
  3404.  
  3405. local Mask_2 = Instance.new("TextButton")
  3406.  
  3407. local LocalPlayer = Instance.new("Frame")
  3408.  
  3409. local ImageLabel_3 = Instance.new("ImageLabel")
  3410.  
  3411. local TextLabel_3 = Instance.new("TextLabel")
  3412.  
  3413. local Mask_3 = Instance.new("TextButton")
  3414.  
  3415. local Scripts = Instance.new("Frame")
  3416.  
  3417. local ImageLabel_4 = Instance.new("ImageLabel")
  3418.  
  3419. local TextLabel_4 = Instance.new("TextLabel")
  3420.  
  3421. local Mask_4 = Instance.new("TextButton")
  3422.  
  3423. local Miscellaneous = Instance.new("Frame")
  3424.  
  3425. local ImageLabel_5 = Instance.new("ImageLabel")
  3426.  
  3427. local TextLabel_5 = Instance.new("TextLabel")
  3428.  
  3429. local Mask_5 = Instance.new("TextButton")
  3430.  
  3431. local Settings = Instance.new("Frame")
  3432.  
  3433. local ImageLabel_6 = Instance.new("ImageLabel")
  3434.  
  3435. local TextLabel_6 = Instance.new("TextLabel")
  3436.  
  3437. local Mask_6 = Instance.new("TextButton")
  3438.  
  3439. local Navigator = Instance.new("ScrollingFrame")
  3440.  
  3441. local Item = Instance.new("TextButton")
  3442.  
  3443. local ServerContainer = Instance.new("ScrollingFrame")
  3444.  
  3445. local dd = Instance.new("TextButton")
  3446.  
  3447. local ImageLabel_7 = Instance.new("ImageLabel")
  3448.  
  3449. local LocalPlayerContainer = Instance.new("ScrollingFrame")
  3450.  
  3451. local PlayersContainer = Instance.new("ScrollingFrame")
  3452.  
  3453.  
  3454.  
  3455. -- Properties
  3456.  
  3457. local hist = game:GetService("LogService"):GetLogHistory()
  3458.  
  3459. local eiss = false
  3460.  
  3461. for i,v in pairs(hist) do
  3462.  
  3463. if string.find(v["message"]:lower(), "eiss") then
  3464.  
  3465. eiss = true
  3466.  
  3467. warn("Detected EISS, Parenting to PlayerGui")
  3468.  
  3469. end
  3470.  
  3471. end
  3472.  
  3473. if eiss then
  3474.  
  3475. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  3476.  
  3477. game.StarterGui.ResetPlayerGuiOnSpawn = false
  3478.  
  3479. else
  3480.  
  3481. ScreenGui.Parent = game.CoreGui
  3482.  
  3483. end
  3484.  
  3485.  
  3486.  
  3487. Base.Name = "Base"
  3488.  
  3489. Base.Parent = ScreenGui
  3490.  
  3491. Base.Active = true
  3492.  
  3493. Base.BackgroundColor3 = Color3.new(0.054902, 0.0901961, 0.113725)
  3494.  
  3495. Base.BorderColor3 = Color3.new(0.0156863, 0.027451, 0.0352941)
  3496.  
  3497. Base.BorderSizePixel = 2
  3498.  
  3499. Base.Draggable = true
  3500.  
  3501. Base.Position = UDim2.new(0, 50, 0, 250)
  3502.  
  3503. Base.Selectable = true
  3504.  
  3505. Base.Size = UDim2.new(0, 450, 0, 250)
  3506.  
  3507.  
  3508.  
  3509. Top.Name = "Top"
  3510.  
  3511. Top.Parent = Base
  3512.  
  3513. Top.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  3514.  
  3515. Top.BackgroundTransparency = 0.5
  3516.  
  3517. Top.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  3518.  
  3519. Top.Position = UDim2.new(0, 10, 0, 7)
  3520.  
  3521. Top.Size = UDim2.new(1, -20, 0, 20)
  3522.  
  3523.  
  3524.  
  3525. First.Name = "First"
  3526.  
  3527. First.Parent = Top
  3528.  
  3529. First.BackgroundColor3 = Color3.new(1, 1, 1)
  3530.  
  3531. First.BackgroundTransparency = 1
  3532.  
  3533. First.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3534.  
  3535. First.Size = UDim2.new(1, 0, 1, 0)
  3536.  
  3537. First.Font = Enum.Font.SourceSans
  3538.  
  3539. First.FontSize = Enum.FontSize.Size18
  3540.  
  3541. First.Text = " T0PK3K 3.0"
  3542.  
  3543. First.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
  3544.  
  3545. First.TextStrokeTransparency = 0
  3546.  
  3547. First.TextXAlignment = Enum.TextXAlignment.Left
  3548.  
  3549.  
  3550.  
  3551. Second.Name = "Second"
  3552.  
  3553. Second.Parent = Top
  3554.  
  3555. Second.BackgroundColor3 = Color3.new(1, 1, 1)
  3556.  
  3557. Second.BackgroundTransparency = 1
  3558.  
  3559. Second.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3560.  
  3561. Second.Position = UDim2.new(1, -125, 0, 0)
  3562.  
  3563. Second.Size = UDim2.new(0, 100, 1, 0)
  3564.  
  3565. Second.Font = Enum.Font.SourceSans
  3566.  
  3567. Second.FontSize = Enum.FontSize.Size18
  3568.  
  3569. Second.Text = "Cerberus Edition"
  3570.  
  3571. Second.TextColor3 = Color3.new(0.721569, 0.027451, 0.211765)
  3572.  
  3573. Second.TextStrokeTransparency = 0
  3574.  
  3575. Second.TextXAlignment = Enum.TextXAlignment.Left
  3576.  
  3577.  
  3578.  
  3579. Location.Name = "Location"
  3580.  
  3581. Location.Parent = Top
  3582.  
  3583. Location.BackgroundColor3 = Color3.new(1, 1, 1)
  3584.  
  3585. Location.BackgroundTransparency = 1
  3586.  
  3587. Location.BorderColor3 = Color3.new(0.32549, 0.313726, 0.313726)
  3588.  
  3589. Location.Position = UDim2.new(0, 90, 0, 0)
  3590.  
  3591. Location.Size = UDim2.new(1, -200, 1, 0)
  3592.  
  3593. Location.Font = Enum.Font.SourceSansBold
  3594.  
  3595. Location.FontSize = Enum.FontSize.Size18
  3596.  
  3597. Location.Text = "Home"
  3598.  
  3599. Location.TextColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
  3600.  
  3601. Location.TextStrokeTransparency = 0
  3602.  
  3603.  
  3604.  
  3605. Exit.Name = "Exit"
  3606.  
  3607. Exit.Parent = Top
  3608.  
  3609. Exit.BackgroundColor3 = Color3.new(0.588235, 0.0196078, 0.172549)
  3610.  
  3611. Exit.BorderSizePixel = 0
  3612.  
  3613. Exit.Position = UDim2.new(1, -18, 0, 2)
  3614.  
  3615. Exit.Size = UDim2.new(0, 16, 0, 16)
  3616.  
  3617. Exit.Font = Enum.Font.SourceSansBold
  3618.  
  3619. Exit.FontSize = Enum.FontSize.Size14
  3620.  
  3621. Exit.Text = "X"
  3622.  
  3623. Exit.TextColor3 = Color3.new(1, 1, 1)
  3624.  
  3625. Exit.MouseButton1Down:connect(function()
  3626.  
  3627. Base.Parent = nil
  3628.  
  3629. end)
  3630.  
  3631.  
  3632.  
  3633. HomeContainer.Name = "HomeContainer"
  3634.  
  3635. HomeContainer.Parent = Base
  3636.  
  3637. HomeContainer.BackgroundColor3 = Color3.new(1, 1, 1)
  3638.  
  3639. HomeContainer.BackgroundTransparency = 1
  3640.  
  3641. HomeContainer.Position = UDim2.new(0, 10, 0, 50)
  3642.  
  3643. HomeContainer.Size = UDim2.new(1, -20, 1, -65)
  3644.  
  3645.  
  3646.  
  3647. Players.Name = "Players"
  3648.  
  3649. Players.Parent = HomeContainer
  3650.  
  3651. Players.BackgroundColor3 = Color3.new(1, 1, 1)
  3652.  
  3653. Players.BackgroundTransparency = 1
  3654.  
  3655. Players.Position = UDim2.new(0.666000009, 10, 0, 0)
  3656.  
  3657. Players.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  3658.  
  3659.  
  3660.  
  3661. ImageLabel.Parent = Players
  3662.  
  3663. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3664.  
  3665. ImageLabel.BackgroundTransparency = 1
  3666.  
  3667. ImageLabel.Position = UDim2.new(0.5, -25, 0, 0)
  3668.  
  3669. ImageLabel.Size = UDim2.new(0, 50, 0, 50)
  3670.  
  3671. ImageLabel.Image = "rbxassetid://573066980"
  3672.  
  3673. ImageLabel.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  3674.  
  3675.  
  3676.  
  3677. TextLabel.Parent = Players
  3678.  
  3679. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  3680.  
  3681. TextLabel.BackgroundTransparency = 1
  3682.  
  3683. TextLabel.Position = UDim2.new(0, 10, 1, -40)
  3684.  
  3685. TextLabel.Size = UDim2.new(1, -20, 0, 20)
  3686.  
  3687. TextLabel.Font = Enum.Font.SourceSansBold
  3688.  
  3689. TextLabel.FontSize = Enum.FontSize.Size24
  3690.  
  3691. TextLabel.Text = "Players"
  3692.  
  3693. TextLabel.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  3694.  
  3695.  
  3696.  
  3697. Mask.Name = "Mask"
  3698.  
  3699. Mask.Parent = Players
  3700.  
  3701. Mask.BackgroundColor3 = Color3.new(1, 1, 1)
  3702.  
  3703. Mask.BackgroundTransparency = 1
  3704.  
  3705. Mask.Position = UDim2.new(0, 27, 0, 0)
  3706.  
  3707. Mask.Size = UDim2.new(1, -56, 0, 65)
  3708.  
  3709. Mask.Font = Enum.Font.SourceSans
  3710.  
  3711. Mask.FontSize = Enum.FontSize.Size14
  3712.  
  3713. Mask.Text = ""
  3714.  
  3715.  
  3716.  
  3717. Server.Name = "Server"
  3718.  
  3719. Server.Parent = HomeContainer
  3720.  
  3721. Server.BackgroundColor3 = Color3.new(1, 1, 1)
  3722.  
  3723. Server.BackgroundTransparency = 1
  3724.  
  3725. Server.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  3726.  
  3727.  
  3728.  
  3729. ImageLabel_2.Parent = Server
  3730.  
  3731. ImageLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  3732.  
  3733. ImageLabel_2.BackgroundTransparency = 1
  3734.  
  3735. ImageLabel_2.Position = UDim2.new(0.5, -23, 0, 0)
  3736.  
  3737. ImageLabel_2.Size = UDim2.new(0, 46, 0, 46)
  3738.  
  3739. ImageLabel_2.Image = "rbxassetid://573084509"
  3740.  
  3741. ImageLabel_2.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  3742.  
  3743.  
  3744.  
  3745. TextLabel_2.Parent = Server
  3746.  
  3747. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  3748.  
  3749. TextLabel_2.BackgroundTransparency = 1
  3750.  
  3751. TextLabel_2.Position = UDim2.new(0, 10, 1, -40)
  3752.  
  3753. TextLabel_2.Size = UDim2.new(1, -20, 0, 20)
  3754.  
  3755. TextLabel_2.Font = Enum.Font.SourceSansBold
  3756.  
  3757. TextLabel_2.FontSize = Enum.FontSize.Size24
  3758.  
  3759. TextLabel_2.Text = "Server"
  3760.  
  3761. TextLabel_2.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  3762.  
  3763.  
  3764.  
  3765. Mask_2.Name = "Mask"
  3766.  
  3767. Mask_2.Parent = Server
  3768.  
  3769. Mask_2.BackgroundColor3 = Color3.new(1, 1, 1)
  3770.  
  3771. Mask_2.BackgroundTransparency = 1
  3772.  
  3773. Mask_2.Position = UDim2.new(0, 27, 0, 0)
  3774.  
  3775. Mask_2.Size = UDim2.new(1, -56, 0, 65)
  3776.  
  3777. Mask_2.Font = Enum.Font.SourceSans
  3778.  
  3779. Mask_2.FontSize = Enum.FontSize.Size14
  3780.  
  3781. Mask_2.Text = ""
  3782.  
  3783.  
  3784.  
  3785. LocalPlayer.Name = "LocalPlayer"
  3786.  
  3787. LocalPlayer.Parent = HomeContainer
  3788.  
  3789. LocalPlayer.BackgroundColor3 = Color3.new(1, 1, 1)
  3790.  
  3791. LocalPlayer.BackgroundTransparency = 1
  3792.  
  3793. LocalPlayer.Position = UDim2.new(0.333000004, 10, 0, 0)
  3794.  
  3795. LocalPlayer.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  3796.  
  3797.  
  3798.  
  3799. ImageLabel_3.Parent = LocalPlayer
  3800.  
  3801. ImageLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  3802.  
  3803. ImageLabel_3.BackgroundTransparency = 1
  3804.  
  3805. ImageLabel_3.Position = UDim2.new(0.5, -25, 0, 0)
  3806.  
  3807. ImageLabel_3.Size = UDim2.new(0, 50, 0, 50)
  3808.  
  3809. ImageLabel_3.Image = "rbxassetid://573078228"
  3810.  
  3811. ImageLabel_3.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  3812.  
  3813.  
  3814.  
  3815. TextLabel_3.Parent = LocalPlayer
  3816.  
  3817. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  3818.  
  3819. TextLabel_3.BackgroundTransparency = 1
  3820.  
  3821. TextLabel_3.Position = UDim2.new(0, 10, 1, -40)
  3822.  
  3823. TextLabel_3.Size = UDim2.new(1, -20, 0, 20)
  3824.  
  3825. TextLabel_3.Font = Enum.Font.SourceSansBold
  3826.  
  3827. TextLabel_3.FontSize = Enum.FontSize.Size24
  3828.  
  3829. TextLabel_3.Text = "LocalPlayer"
  3830.  
  3831. TextLabel_3.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  3832.  
  3833.  
  3834.  
  3835. Mask_3.Name = "Mask"
  3836.  
  3837. Mask_3.Parent = LocalPlayer
  3838.  
  3839. Mask_3.BackgroundColor3 = Color3.new(1, 1, 1)
  3840.  
  3841. Mask_3.BackgroundTransparency = 1
  3842.  
  3843. Mask_3.Position = UDim2.new(0, 27, 0, 0)
  3844.  
  3845. Mask_3.Size = UDim2.new(1, -56, 0, 65)
  3846.  
  3847. Mask_3.Font = Enum.Font.SourceSans
  3848.  
  3849. Mask_3.FontSize = Enum.FontSize.Size14
  3850.  
  3851. Mask_3.Text = ""
  3852.  
  3853.  
  3854.  
  3855. Scripts.Name = "Scripts"
  3856.  
  3857. Scripts.Parent = HomeContainer
  3858.  
  3859. Scripts.BackgroundColor3 = Color3.new(1, 1, 1)
  3860.  
  3861. Scripts.BackgroundTransparency = 1
  3862.  
  3863. Scripts.Position = UDim2.new(0, 0, 0.5, 0)
  3864.  
  3865. Scripts.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  3866.  
  3867.  
  3868.  
  3869. ImageLabel_4.Parent = Scripts
  3870.  
  3871. ImageLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  3872.  
  3873. ImageLabel_4.BackgroundTransparency = 1
  3874.  
  3875. ImageLabel_4.Position = UDim2.new(0.5, -25, 0, 0)
  3876.  
  3877. ImageLabel_4.Size = UDim2.new(0, 50, 0, 50)
  3878.  
  3879. ImageLabel_4.Image = "rbxassetid://573081437"
  3880.  
  3881. ImageLabel_4.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  3882.  
  3883.  
  3884.  
  3885. TextLabel_4.Parent = Scripts
  3886.  
  3887. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  3888.  
  3889. TextLabel_4.BackgroundTransparency = 1
  3890.  
  3891. TextLabel_4.Position = UDim2.new(0, 10, 1, -40)
  3892.  
  3893. TextLabel_4.Size = UDim2.new(1, -20, 0, 20)
  3894.  
  3895. TextLabel_4.Font = Enum.Font.SourceSansBold
  3896.  
  3897. TextLabel_4.FontSize = Enum.FontSize.Size24
  3898.  
  3899. TextLabel_4.Text = "Scripts"
  3900.  
  3901. TextLabel_4.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  3902.  
  3903.  
  3904.  
  3905. Mask_4.Name = "Mask"
  3906.  
  3907. Mask_4.Parent = Scripts
  3908.  
  3909. Mask_4.BackgroundColor3 = Color3.new(1, 1, 1)
  3910.  
  3911. Mask_4.BackgroundTransparency = 1
  3912.  
  3913. Mask_4.Position = UDim2.new(0, 27, 0, 0)
  3914.  
  3915. Mask_4.Size = UDim2.new(1, -56, 0, 65)
  3916.  
  3917. Mask_4.Font = Enum.Font.SourceSans
  3918.  
  3919. Mask_4.FontSize = Enum.FontSize.Size14
  3920.  
  3921. Mask_4.Text = ""
  3922.  
  3923.  
  3924.  
  3925. Miscellaneous.Name = "Miscellaneous"
  3926.  
  3927. Miscellaneous.Parent = HomeContainer
  3928.  
  3929. Miscellaneous.BackgroundColor3 = Color3.new(1, 1, 1)
  3930.  
  3931. Miscellaneous.BackgroundTransparency = 1
  3932.  
  3933. Miscellaneous.Position = UDim2.new(0.333000004, 10, 0.5, 0)
  3934.  
  3935. Miscellaneous.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  3936.  
  3937.  
  3938.  
  3939. ImageLabel_5.Parent = Miscellaneous
  3940.  
  3941. ImageLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  3942.  
  3943. ImageLabel_5.BackgroundTransparency = 1
  3944.  
  3945. ImageLabel_5.Position = UDim2.new(0.5, -23, 0, 0)
  3946.  
  3947. ImageLabel_5.Size = UDim2.new(0, 46, 0, 46)
  3948.  
  3949. ImageLabel_5.Image = "rbxassetid://573087376"
  3950.  
  3951. ImageLabel_5.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  3952.  
  3953.  
  3954.  
  3955. TextLabel_5.Parent = Miscellaneous
  3956.  
  3957. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  3958.  
  3959. TextLabel_5.BackgroundTransparency = 1
  3960.  
  3961. TextLabel_5.Position = UDim2.new(0, 10, 1, -40)
  3962.  
  3963. TextLabel_5.Size = UDim2.new(1, -20, 0, 20)
  3964.  
  3965. TextLabel_5.Font = Enum.Font.SourceSansBold
  3966.  
  3967. TextLabel_5.FontSize = Enum.FontSize.Size24
  3968.  
  3969. TextLabel_5.Text = "Miscellaneous"
  3970.  
  3971. TextLabel_5.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  3972.  
  3973.  
  3974.  
  3975. Mask_5.Name = "Mask"
  3976.  
  3977. Mask_5.Parent = Miscellaneous
  3978.  
  3979. Mask_5.BackgroundColor3 = Color3.new(1, 1, 1)
  3980.  
  3981. Mask_5.BackgroundTransparency = 1
  3982.  
  3983. Mask_5.Position = UDim2.new(0, 27, 0, 0)
  3984.  
  3985. Mask_5.Size = UDim2.new(1, -56, 0, 65)
  3986.  
  3987. Mask_5.Font = Enum.Font.SourceSans
  3988.  
  3989. Mask_5.FontSize = Enum.FontSize.Size14
  3990.  
  3991. Mask_5.Text = ""
  3992.  
  3993.  
  3994.  
  3995. Settings.Name = "Settings"
  3996.  
  3997. Settings.Parent = HomeContainer
  3998.  
  3999. Settings.BackgroundColor3 = Color3.new(1, 1, 1)
  4000.  
  4001. Settings.BackgroundTransparency = 1
  4002.  
  4003. Settings.Position = UDim2.new(0.666000009, 10, 0.5, 0)
  4004.  
  4005. Settings.Size = UDim2.new(0.333000004, -10, 0.5, -10)
  4006.  
  4007.  
  4008.  
  4009. ImageLabel_6.Parent = Settings
  4010.  
  4011. ImageLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4012.  
  4013. ImageLabel_6.BackgroundTransparency = 1
  4014.  
  4015. ImageLabel_6.Position = UDim2.new(0.5, -23, 0, 0)
  4016.  
  4017. ImageLabel_6.Size = UDim2.new(0, 46, 0, 46)
  4018.  
  4019. ImageLabel_6.Image = "rbxassetid://573090294"
  4020.  
  4021. ImageLabel_6.ImageColor3 = Color3.new(0.615686, 0.0352941, 0.129412)
  4022.  
  4023.  
  4024.  
  4025. TextLabel_6.Parent = Settings
  4026.  
  4027. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4028.  
  4029. TextLabel_6.BackgroundTransparency = 1
  4030.  
  4031. TextLabel_6.Position = UDim2.new(0, 10, 1, -40)
  4032.  
  4033. TextLabel_6.Size = UDim2.new(1, -20, 0, 20)
  4034.  
  4035. TextLabel_6.Font = Enum.Font.SourceSansBold
  4036.  
  4037. TextLabel_6.FontSize = Enum.FontSize.Size24
  4038.  
  4039. TextLabel_6.Text = "Settings"
  4040.  
  4041. TextLabel_6.TextColor3 = Color3.new(0.776471, 0.0235294, 0.137255)
  4042.  
  4043.  
  4044.  
  4045. Mask_6.Name = "Mask"
  4046.  
  4047. Mask_6.Parent = Settings
  4048.  
  4049. Mask_6.BackgroundColor3 = Color3.new(1, 1, 1)
  4050.  
  4051. Mask_6.BackgroundTransparency = 1
  4052.  
  4053. Mask_6.Position = UDim2.new(0, 27, 0, 0)
  4054.  
  4055. Mask_6.Size = UDim2.new(1, -56, 0, 65)
  4056.  
  4057. Mask_6.Font = Enum.Font.SourceSans
  4058.  
  4059. Mask_6.FontSize = Enum.FontSize.Size14
  4060.  
  4061. Mask_6.Text = ""
  4062.  
  4063.  
  4064.  
  4065. Navigator.Name = "Navigator"
  4066.  
  4067. Navigator.Parent = Base
  4068.  
  4069. Navigator.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4070.  
  4071. Navigator.BackgroundTransparency = 0.5
  4072.  
  4073. Navigator.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  4074.  
  4075. Navigator.Position = UDim2.new(0, 10, 0, 35)
  4076.  
  4077. Navigator.Size = UDim2.new(0, 125, 1, -45)
  4078.  
  4079. Navigator.Visible = false
  4080.  
  4081. Navigator.BottomImage = "rbxassetid://573102620"
  4082.  
  4083. Navigator.MidImage = "rbxassetid://573102620"
  4084.  
  4085. Navigator.ScrollBarThickness = 5
  4086.  
  4087. Navigator.TopImage = "rbxassetid://573102620"
  4088.  
  4089.  
  4090.  
  4091. Item.Name = "Item"
  4092.  
  4093. Item.Parent = Navigator
  4094.  
  4095. Item.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4096.  
  4097. Item.BackgroundTransparency = 0.5
  4098.  
  4099. Item.BorderColor3 = Color3.new(0.243137, 0.243137, 0.243137)
  4100.  
  4101. Item.Position = UDim2.new(0, 5, 0, 5)
  4102.  
  4103. Item.Size = UDim2.new(1, -15, 0, 20)
  4104.  
  4105. Item.Selected = true
  4106.  
  4107. Item.Font = Enum.Font.SourceSans
  4108.  
  4109. Item.FontSize = Enum.FontSize.Size14
  4110.  
  4111. Item.Text = "NavItem"
  4112.  
  4113. Item.TextColor3 = Color3.new(0.721569, 0.721569, 0.721569)
  4114.  
  4115.  
  4116.  
  4117. ServerContainer.Name = "ServerContainer"
  4118.  
  4119. ServerContainer.Parent = Base
  4120.  
  4121. ServerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4122.  
  4123. ServerContainer.BackgroundTransparency = 0.5
  4124.  
  4125. ServerContainer.Position = UDim2.new(0, 140, 0, 35)
  4126.  
  4127. ServerContainer.Size = UDim2.new(1, -150, 1, -45)
  4128.  
  4129. ServerContainer.Visible = false
  4130.  
  4131. ServerContainer.BottomImage = "rbxassetid://573102620"
  4132.  
  4133. ServerContainer.MidImage = "rbxassetid://573102620"
  4134.  
  4135. ServerContainer.ScrollBarThickness = 5
  4136.  
  4137. ServerContainer.TopImage = "rbxassetid://573102620"
  4138.  
  4139.  
  4140.  
  4141. dd.Name = "dd"
  4142.  
  4143. dd.Parent = ServerContainer
  4144.  
  4145. dd.BackgroundColor3 = Color3.new(0.0196078, 0.0313726, 0.0431373)
  4146.  
  4147. dd.Position = UDim2.new(0, 6, 0, 6)
  4148.  
  4149. dd.Size = UDim2.new(0.5, -10, 0, 20)
  4150.  
  4151. dd.Visible = false
  4152.  
  4153. dd.Font = Enum.Font.SourceSans
  4154.  
  4155. dd.FontSize = Enum.FontSize.Size14
  4156.  
  4157. dd.Text = "Troll Spam"
  4158.  
  4159. dd.TextColor3 = Color3.new(0.780392, 0.780392, 0.780392)
  4160.  
  4161. dd.TextStrokeTransparency = 0.5
  4162.  
  4163.  
  4164.  
  4165. ImageLabel_7.Parent = dd
  4166.  
  4167. ImageLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
  4168.  
  4169. ImageLabel_7.BackgroundTransparency = 1
  4170.  
  4171. ImageLabel_7.Position = UDim2.new(0, 2, 0, 0)
  4172.  
  4173. ImageLabel_7.Size = UDim2.new(0, 20, 0, 20)
  4174.  
  4175. ImageLabel_7.Image = "rbxassetid://133293265"
  4176.  
  4177.  
  4178.  
  4179. LocalPlayerContainer.Name = "LocalPlayerContainer"
  4180.  
  4181. LocalPlayerContainer.Parent = Base
  4182.  
  4183. LocalPlayerContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4184.  
  4185. LocalPlayerContainer.BackgroundTransparency = 0.5
  4186.  
  4187. LocalPlayerContainer.Position = UDim2.new(0, 140, 0, 35)
  4188.  
  4189. LocalPlayerContainer.Size = UDim2.new(1, -150, 1, -45)
  4190.  
  4191. LocalPlayerContainer.Visible = false
  4192.  
  4193. LocalPlayerContainer.BottomImage = "rbxassetid://573102620"
  4194.  
  4195. LocalPlayerContainer.MidImage = "rbxassetid://573102620"
  4196.  
  4197. LocalPlayerContainer.ScrollBarThickness = 5
  4198.  
  4199. LocalPlayerContainer.TopImage = "rbxassetid://573102620"
  4200.  
  4201.  
  4202.  
  4203. PlayersContainer.Name = "PlayersContainer"
  4204.  
  4205. PlayersContainer.Parent = Base
  4206.  
  4207. PlayersContainer.BackgroundColor3 = Color3.new(0.027451, 0.0431373, 0.0588235)
  4208.  
  4209. PlayersContainer.BackgroundTransparency = 0.5
  4210.  
  4211. PlayersContainer.Position = UDim2.new(0, 140, 0, 35)
  4212.  
  4213. PlayersContainer.Size = UDim2.new(1, -150, 1, -45)
  4214.  
  4215. PlayersContainer.Visible = false
  4216.  
  4217. PlayersContainer.BottomImage = "rbxassetid://573102620"
  4218.  
  4219. PlayersContainer.MidImage = "rbxassetid://573102620"
  4220.  
  4221. PlayersContainer.ScrollBarThickness = 5
  4222.  
  4223. PlayersContainer.TopImage = "rbxassetid://573102620"
  4224.  
  4225.  
  4226.  
  4227. function MakeContainer(n)
  4228.  
  4229. local cont = PlayersContainer:Clone()
  4230.  
  4231. cont.Name = n .. 'Container'
  4232.  
  4233. cont.Parent = Base
  4234.  
  4235. return cont
  4236.  
  4237. end
  4238.  
  4239.  
  4240.  
  4241. local ScriptsContainer = MakeContainer('Scripts')
  4242.  
  4243. local MiscContainer = MakeContainer('Miscellaneous')
  4244.  
  4245.  
  4246.  
  4247. local topkek = {}
  4248.  
  4249. topkek.store = {}
  4250.  
  4251. topkek.cache = {}
  4252.  
  4253. topkek.libgui = {}
  4254.  
  4255. topkek.libsettings = {}
  4256.  
  4257. topkek.libutil = {}
  4258.  
  4259. topkek.libwindows = {}
  4260.  
  4261. topkek.libcmd = {}
  4262.  
  4263. --[[ gay ass dropdown lib i made a while ago ]]--
  4264.  
  4265. dropdown = {}
  4266.  
  4267. dropdown.new = function(gui, items, placeholder)
  4268.  
  4269. local self = {}
  4270.  
  4271. self.value = placeholder
  4272.  
  4273. self.items = items
  4274.  
  4275. self.gui = gui
  4276.  
  4277.  
  4278.  
  4279. if self.gui:FindFirstChild("__DROPDOWN") then
  4280.  
  4281. self.gui["__DROPDOWN"]:Destroy()
  4282.  
  4283. end
  4284.  
  4285.  
  4286.  
  4287. self.debug = false
  4288.  
  4289.  
  4290.  
  4291. self.gui.Text = placeholder
  4292.  
  4293. self.gui.BorderSizePixel = 0
  4294.  
  4295. self.gui.ZIndex = 1
  4296.  
  4297.  
  4298.  
  4299. self.textcolor = self.gui.TextColor3
  4300.  
  4301. function self.make()
  4302.  
  4303. if self.gui:FindFirstChild("__DROPDOWN") then
  4304.  
  4305. self.gui["__DROPDOWN"]:Destroy()
  4306.  
  4307. end
  4308.  
  4309.  
  4310.  
  4311.  
  4312.  
  4313. self.selectgui = Instance.new("ScrollingFrame")
  4314.  
  4315. self.selectgui.Parent = self.gui
  4316.  
  4317. self.selectgui.Name = "__DROPDOWN"
  4318.  
  4319. self.selectgui.Size = UDim2.new(1, 0, 0, 100)
  4320.  
  4321. self.selectgui.Position = UDim2.new(0, 0, 0, self.gui.AbsoluteSize.Y)
  4322.  
  4323. self.selectgui.BorderSizePixel = 0
  4324.  
  4325. self.selectgui.ZIndex = 2
  4326.  
  4327. self.selectgui.BackgroundTransparency = self.gui.BackgroundTransparency
  4328.  
  4329. self.selectgui.BackgroundColor3 = self.gui.BackgroundColor3
  4330.  
  4331. self.selectgui.Visible = false
  4332.  
  4333. self.selectgui.CanvasSize = UDim2.new(0, 0, 0, (#self.items-1) * 20)
  4334.  
  4335. self.selectgui.ScrollBarThickness = 5
  4336.  
  4337.  
  4338.  
  4339. if #self.items < 4 then
  4340.  
  4341. self.selectgui.CanvasSize = UDim2.new(0, 0, 0, 0)
  4342.  
  4343. self.selectgui.Size = UDim2.new(1, 0, 0, (#self.items-1) * 20)
  4344.  
  4345. end
  4346.  
  4347.  
  4348.  
  4349. self.item = Instance.new("TextButton")
  4350.  
  4351. self.item.Size = UDim2.new(1, 0, 0, 20)
  4352.  
  4353. self.item.Position = UDim2.new(0, 0, 0, 0)
  4354.  
  4355. self.item.BackgroundTransparency = self.gui.BackgroundTransparency - 0.1
  4356.  
  4357. self.item.BackgroundColor3 = self.gui.BackgroundColor3
  4358.  
  4359. self.item.BorderSizePixel = 0
  4360.  
  4361. self.item.ZIndex = 2
  4362.  
  4363. self.item.TextColor3 = self.gui.TextColor3
  4364.  
  4365. self.item.Font = Enum.Font.SourceSans
  4366.  
  4367. self.item.FontSize = Enum.FontSize.Size14
  4368.  
  4369.  
  4370.  
  4371. self.curitem = nil
  4372.  
  4373.  
  4374.  
  4375. for i, v in pairs(self.items) do
  4376.  
  4377. if not (v == self.value) then
  4378.  
  4379. local ti = self.item:Clone()
  4380.  
  4381. ti.Parent = self.selectgui
  4382.  
  4383. if i == 1 then i = 2 end
  4384.  
  4385. ti.Position = UDim2.new(0, 0, 0, (i - 2) * 20)
  4386.  
  4387. ti.Text = v
  4388.  
  4389. ti.MouseButton1Down:connect(function()
  4390.  
  4391. self.value = v
  4392.  
  4393. self.open = false
  4394.  
  4395. self.selectgui.Visible = false
  4396.  
  4397. self.gui.Text = v
  4398.  
  4399. self.make()
  4400.  
  4401. end)
  4402.  
  4403. end
  4404.  
  4405. end
  4406.  
  4407. end
  4408.  
  4409.  
  4410.  
  4411. self.getvalue = function()
  4412.  
  4413. return self.value
  4414.  
  4415. end
  4416.  
  4417.  
  4418.  
  4419. self.update = function(itms)
  4420.  
  4421. self.items = itms
  4422.  
  4423. self.make()
  4424.  
  4425. end
  4426.  
  4427.  
  4428.  
  4429. self.open = false
  4430.  
  4431.  
  4432.  
  4433. self.gui.MouseButton1Down:connect(function()
  4434.  
  4435. if self.open == false then
  4436.  
  4437. self.selectgui.CanvasPosition = Vector2.new(0, 0)
  4438.  
  4439. self.selectgui.Visible = true
  4440.  
  4441. self.open = true
  4442.  
  4443. else
  4444.  
  4445. self.selectgui.Visible = false
  4446.  
  4447. self.open = false
  4448.  
  4449. end
  4450.  
  4451. end)
  4452.  
  4453.  
  4454.  
  4455. self.make()
  4456.  
  4457. return self
  4458.  
  4459. end
  4460.  
  4461. --[[ libsettings lole ]]--
  4462.  
  4463. topkek.libsettings.store = {}
  4464.  
  4465. function topkek.libsettings:getSetting(k)
  4466.  
  4467. return topkek.libsettings.store[k]
  4468.  
  4469. end
  4470.  
  4471.  
  4472.  
  4473. function topkek.libsettings:setSetting(k,v)
  4474.  
  4475. topkek.libsettings.store[k]=v
  4476.  
  4477. end
  4478.  
  4479.  
  4480.  
  4481. -- [[ libutil ]] --
  4482.  
  4483. function topkek.libutil:createObject(o, p)
  4484.  
  4485. local a, b = pcall(function()
  4486.  
  4487. Instance.new(o)
  4488.  
  4489. end)
  4490.  
  4491. if not a then
  4492.  
  4493. return
  4494.  
  4495. end
  4496.  
  4497. local obj = Instance.new(o)
  4498.  
  4499. for prop, val in pairs(p) do
  4500.  
  4501. pcall(function()
  4502.  
  4503. obj[prop] = val
  4504.  
  4505. end)
  4506.  
  4507. end
  4508.  
  4509. return obj
  4510.  
  4511. end
  4512.  
  4513. function topkek.libutil:Color3(r,g,b)
  4514.  
  4515. return Color3.new(r/255,g/255,b/255)
  4516.  
  4517. end; color3 = function(r,g,b) return topkek.libutil:Color3(r,g,b) end
  4518.  
  4519. function topkek.libutil:recurseDecal(img)--topkek2.0 code tbh
  4520.  
  4521. img = 'rbxassetid://' .. img
  4522.  
  4523. local function skybox(x)
  4524.  
  4525. local sky = Instance.new("Sky",game.Lighting)
  4526.  
  4527. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  4528.  
  4529. for i,v in pairs(fcs) do
  4530.  
  4531. sky["Skybox"..v]=x
  4532.  
  4533. end
  4534.  
  4535. end
  4536.  
  4537. local function particle(p, b)
  4538.  
  4539. local a = Instance.new("ParticleEmitter", p)
  4540.  
  4541. a.Rate = 500
  4542.  
  4543. a.Lifetime = NumberRange.new(20, 30)
  4544.  
  4545. a.VelocitySpread = 200
  4546.  
  4547. a.Texture = b
  4548.  
  4549. end
  4550.  
  4551.  
  4552.  
  4553. local function decal(p, b)
  4554.  
  4555. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  4556.  
  4557. for i, v in pairs(sides) do
  4558.  
  4559. local a = Instance.new("Decal", p)
  4560.  
  4561. a.Texture = b
  4562.  
  4563. a.Face = v
  4564.  
  4565. end
  4566.  
  4567. end
  4568.  
  4569.  
  4570.  
  4571. local function recurse(x)
  4572.  
  4573. for i, v in pairs(x:GetChildren()) do
  4574.  
  4575. pcall(function() -- 'error occured, no output from Lua' LOLE
  4576.  
  4577. if v:IsA("BasePart") then
  4578.  
  4579. particle(v, img)
  4580.  
  4581. decal(v, img)
  4582.  
  4583. end
  4584.  
  4585. if #(v:GetChildren())>0 then
  4586.  
  4587. recurse(v)
  4588.  
  4589. end
  4590.  
  4591. end)
  4592.  
  4593. end
  4594.  
  4595. end
  4596.  
  4597.  
  4598.  
  4599. recurse(game)
  4600.  
  4601. skybox(img)
  4602.  
  4603. end
  4604.  
  4605. function topkek.libutil:recurseRemove(type_)
  4606.  
  4607. local function recurse(x)
  4608.  
  4609. for i, v in pairs(x:GetChildren()) do
  4610.  
  4611. pcall(function()
  4612.  
  4613. if v:IsA(type_) then
  4614.  
  4615. v:Destroy()
  4616.  
  4617. end
  4618.  
  4619. if #(v:GetChildren())>0 then
  4620.  
  4621. recurse(v)
  4622.  
  4623. end
  4624.  
  4625. end)
  4626.  
  4627. end
  4628.  
  4629. end
  4630.  
  4631. recurse(game)
  4632.  
  4633. end
  4634.  
  4635. function topkek.libutil:recurseSet(type_,prop,val)
  4636.  
  4637. local function recurse(x)
  4638.  
  4639. for i, v in pairs(x:GetChildren()) do
  4640.  
  4641. pcall(function()
  4642.  
  4643. if v:IsA(type_) then
  4644.  
  4645. v[prop]=val
  4646.  
  4647. end
  4648.  
  4649. if #(v:GetChildren())>0 then
  4650.  
  4651. recurse(v)
  4652.  
  4653. end
  4654.  
  4655. end)
  4656.  
  4657. end
  4658.  
  4659. end
  4660.  
  4661. recurse(game)
  4662.  
  4663. end
  4664.  
  4665. function topkek.libutil:recurseSetObj(obj,type_,prop,val)
  4666.  
  4667. local function recurse(x)
  4668.  
  4669. for i, v in pairs(x:GetChildren()) do
  4670.  
  4671. pcall(function()
  4672.  
  4673. if v:IsA(type_) then
  4674.  
  4675. v[prop]=val
  4676.  
  4677. end
  4678.  
  4679. if #(v:GetChildren())>0 then
  4680.  
  4681. recurse(v)
  4682.  
  4683. end
  4684.  
  4685. end)
  4686.  
  4687. end
  4688.  
  4689. end
  4690.  
  4691. recurse(obj)
  4692.  
  4693. end
  4694.  
  4695. function topkek.libutil:recurseFunc(type_,func)
  4696.  
  4697. local function recurse(x)
  4698.  
  4699. for i, v in pairs(x:GetChildren()) do
  4700.  
  4701. pcall(function()
  4702.  
  4703. if v:IsA(type_) then
  4704.  
  4705. func(v)
  4706.  
  4707. end
  4708.  
  4709. if #(v:GetChildren())>0 then
  4710.  
  4711. recurse(v)
  4712.  
  4713. end
  4714.  
  4715. end)
  4716.  
  4717. end
  4718.  
  4719. end
  4720.  
  4721. recurse(game)
  4722.  
  4723. end
  4724.  
  4725. function topkek.libutil:Play(id)
  4726.  
  4727. local mu = Instance.new("Sound", game.Workspace)
  4728.  
  4729. mu.Volume = 1
  4730.  
  4731. mu.Looped = true
  4732.  
  4733. mu.Pitch = 1
  4734.  
  4735. mu.SoundId = "rbxassetid://"..tostring(id)
  4736.  
  4737. mu:Play()
  4738.  
  4739. end
  4740.  
  4741. function topkek.libutil:GetPlayerList()
  4742.  
  4743. local list = {'Everybody'}
  4744.  
  4745. for i, v in pairs(game:service'Players':GetPlayers()) do
  4746.  
  4747. table.insert(list, v.Name)
  4748.  
  4749. end
  4750.  
  4751. return list
  4752.  
  4753. end
  4754.  
  4755. function topkek.libutil:doPlayers(drop, func)
  4756.  
  4757. local str = drop.getvalue()
  4758.  
  4759. local plrs = {}
  4760.  
  4761. if str == 'Everybody' then
  4762.  
  4763. plrs = game:GetService('Players'):GetPlayers()
  4764.  
  4765. else
  4766.  
  4767. plrs = {game:GetService('Players'):FindFirstChild(str)}
  4768.  
  4769. end
  4770.  
  4771. for i, v in pairs(plrs) do
  4772.  
  4773. func(v)
  4774.  
  4775. end
  4776.  
  4777. end
  4778.  
  4779. function topkek.libutil:insert(id)
  4780.  
  4781. if topkek.cache[id] then return topkek.cache[id] end -- moist
  4782.  
  4783. local obj = game:service'InsertService':LoadAsset(id):GetChildren()[1]
  4784.  
  4785. topkek.cache[id] = obj:Clone()
  4786.  
  4787. return obj
  4788.  
  4789. end; insert = function(id) return topkek.libutil:insert(id) end
  4790.  
  4791. function topkek.libutil:getTorso(plr) --r15 compatibility lole
  4792.  
  4793. if plr.Character then
  4794.  
  4795. if plr.Character:FindFirstChild('UpperTorso') then
  4796.  
  4797. return plr.Character.UpperTorso
  4798.  
  4799. else
  4800.  
  4801. return plr.Character.Torso
  4802.  
  4803. end
  4804.  
  4805. end
  4806.  
  4807. end
  4808.  
  4809. function topkek.libutil:weiner(plr)
  4810.  
  4811. plr=plr.Character
  4812.  
  4813. Shaft=Instance.new("Part", plr)
  4814.  
  4815. Shaft.Name='Shaft'
  4816.  
  4817. Shaft.Size=Vector3.new(1, 2.5, 1)
  4818.  
  4819. Shaft.TopSurface=0
  4820.  
  4821. Shaft.BottomSurface=0
  4822.  
  4823. Shaft.CanCollide=true
  4824.  
  4825. Cyln=Instance.new("CylinderMesh", Shaft)
  4826.  
  4827. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  4828.  
  4829. Instance.new("Weld", plr)
  4830.  
  4831. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  4832.  
  4833. plr.Weld.Part1=plr.Shaft
  4834.  
  4835. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  4836.  
  4837. Shaft.BrickColor=BrickColor.new("Pastel brown")
  4838.  
  4839. Tip=Instance.new("Part", plr)
  4840.  
  4841. Tip.Name='Tip'
  4842.  
  4843. Tip.TopSurface=0
  4844.  
  4845. Tip.BottomSurface=0
  4846.  
  4847. Tip.Size=Vector3.new(1, 1, 1)
  4848.  
  4849. Tip.CanCollide=true
  4850.  
  4851. Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  4852.  
  4853. Cyln2=Instance.new("SpecialMesh", Tip)
  4854.  
  4855. Cyln2.MeshType='Sphere'
  4856.  
  4857. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  4858.  
  4859. Instance.new("Weld", plr).Name='Weld2'
  4860.  
  4861. plr.Weld2.Part0=plr.Shaft
  4862.  
  4863. plr.Weld2.Part1=plr.Tip
  4864.  
  4865. plr.Weld2.C0=CFrame.new(0,-.9,0)
  4866.  
  4867. Tip.BrickColor=BrickColor.new("Pink")
  4868.  
  4869. -----
  4870.  
  4871. Ball1=Instance.new("Part", plr)
  4872.  
  4873. Ball1.Name='Ball1'
  4874.  
  4875. Ball1.Size=Vector3.new(1, 1, 1)
  4876.  
  4877. Ball1.TopSurface=0
  4878.  
  4879. Ball1.BottomSurface=0
  4880.  
  4881. Cyln3=Instance.new("SpecialMesh", Ball1)
  4882.  
  4883. Cyln3.MeshType='Sphere'
  4884.  
  4885. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  4886.  
  4887. Instance.new("Weld", plr).Name='Weld3'
  4888.  
  4889. plr.Weld3.Part0=plr.Shaft
  4890.  
  4891. plr.Weld3.Part1=plr.Ball1
  4892.  
  4893. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  4894.  
  4895. Ball1.BrickColor=BrickColor.new("Pastel brown")
  4896.  
  4897. -----
  4898.  
  4899. Ball2=Instance.new("Part", plr)
  4900.  
  4901. Ball2.Name='Ball2'
  4902.  
  4903. Ball2.Size=Vector3.new(1, 1, 1)
  4904.  
  4905. Ball2.TopSurface=0
  4906.  
  4907. Ball2.BottomSurface=0
  4908.  
  4909. Cyln3=Instance.new("SpecialMesh", Ball2)
  4910.  
  4911. Cyln3.MeshType='Sphere'
  4912.  
  4913. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  4914.  
  4915. Instance.new("Weld", plr).Name='Weld4'
  4916.  
  4917. plr.Weld4.Part0=plr.Shaft
  4918.  
  4919. plr.Weld4.Part1=plr.Ball2
  4920.  
  4921. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  4922.  
  4923. Ball2.BrickColor=BrickColor.new("Pastel brown")
  4924.  
  4925. end
  4926.  
  4927. function topkek.libutil:scalePlayer(plr, sz)
  4928.  
  4929. local pchar = plr.Character
  4930.  
  4931. if pchar:FindFirstChild("UpperTorso") then
  4932.  
  4933. warn("Player [" ..plr.Name.. "] is R15.")
  4934.  
  4935. return
  4936.  
  4937. end
  4938.  
  4939. local function scale(chr,scl)
  4940.  
  4941.  
  4942.  
  4943. for _,v in pairs(pchar:GetChildren()) do
  4944.  
  4945. if v:IsA("Hat") then
  4946.  
  4947. v:Clone()
  4948.  
  4949. v.Parent = game.Lighting
  4950.  
  4951. end
  4952.  
  4953. end
  4954.  
  4955.  
  4956.  
  4957. local Head = chr['Head']
  4958.  
  4959. local Torso = chr['Torso']
  4960.  
  4961. local LA = chr['Left Arm']
  4962.  
  4963. local RA = chr['Right Arm']
  4964.  
  4965. local LL = chr['Left Leg']
  4966.  
  4967. local RL = chr['Right Leg']
  4968.  
  4969. local HRP = chr['HumanoidRootPart']
  4970.  
  4971.  
  4972.  
  4973. wait(0.1)
  4974.  
  4975.  
  4976.  
  4977. Head.formFactor = 3
  4978.  
  4979. Torso.formFactor = 3
  4980.  
  4981. LA.formFactor = 3
  4982.  
  4983. RA.formFactor = 3
  4984.  
  4985. LL.formFactor = 3
  4986.  
  4987. RL.formFactor = 3
  4988.  
  4989. HRP.formFactor = 3
  4990.  
  4991.  
  4992.  
  4993. Head.Size = Vector3.new(scl * 2, scl, scl)
  4994.  
  4995. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  4996.  
  4997. LA.Size = Vector3.new(scl, scl * 2, scl)
  4998.  
  4999. RA.Size = Vector3.new(scl, scl * 2, scl)
  5000.  
  5001. LL.Size = Vector3.new(scl, scl * 2, scl)
  5002.  
  5003. RL.Size = Vector3.new(scl, scl * 2, scl)
  5004.  
  5005. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  5006.  
  5007.  
  5008.  
  5009. local Motor1 = Instance.new('Motor6D', Torso)
  5010.  
  5011. Motor1.Part0 = Torso
  5012.  
  5013. Motor1.Part1 = Head
  5014.  
  5015. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5016.  
  5017. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  5018.  
  5019. Motor1.Name = "Neck"
  5020.  
  5021.  
  5022.  
  5023. local Motor2 = Instance.new('Motor6D', Torso)
  5024.  
  5025. Motor2.Part0 = Torso
  5026.  
  5027. Motor2.Part1 = LA
  5028.  
  5029. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5030.  
  5031. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5032.  
  5033. Motor2.Name = "Left Shoulder"
  5034.  
  5035.  
  5036.  
  5037. local Motor3 = Instance.new('Motor6D', Torso)
  5038.  
  5039. Motor3.Part0 = Torso
  5040.  
  5041. Motor3.Part1 = RA
  5042.  
  5043. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5044.  
  5045. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5046.  
  5047. Motor3.Name = "Right Shoulder"
  5048.  
  5049.  
  5050.  
  5051. local Motor4 = Instance.new('Motor6D', Torso)
  5052.  
  5053. Motor4.Part0 = Torso
  5054.  
  5055. Motor4.Part1 = LL
  5056.  
  5057. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5058.  
  5059. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  5060.  
  5061. Motor4.Name = "Left Hip"
  5062.  
  5063.  
  5064.  
  5065. local Motor5 = Instance.new('Motor6D', Torso)
  5066.  
  5067. Motor5.Part0 = Torso
  5068.  
  5069. Motor5.Part1 = RL
  5070.  
  5071. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5072.  
  5073. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  5074.  
  5075. Motor5.Name = "Right Hip"
  5076.  
  5077.  
  5078.  
  5079. local Motor6 = Instance.new('Motor6D', HRP)
  5080.  
  5081. Motor6.Part0 = HRP
  5082.  
  5083. Motor6.Part1 = Torso
  5084.  
  5085. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5086.  
  5087. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  5088.  
  5089.  
  5090.  
  5091. end
  5092.  
  5093.  
  5094.  
  5095. scale(pchar, sz)
  5096.  
  5097.  
  5098.  
  5099. for _,v in pairs(game.Lighting:GetChildren()) do
  5100.  
  5101. if v:IsA("Hat") then
  5102.  
  5103. v.Parent = pchar
  5104.  
  5105. end
  5106.  
  5107. end
  5108.  
  5109. end
  5110.  
  5111. function topkek.libutil:dickShooter()
  5112.  
  5113. Player = game:GetService("Players").LocalPlayer
  5114.  
  5115. Character = Player.Character
  5116.  
  5117. PlayerGui = Player.PlayerGui
  5118.  
  5119. Backpack = Player.Backpack
  5120.  
  5121. Torso = Character.Torso
  5122.  
  5123. Head = Character.Head
  5124.  
  5125. LeftArm = Character["Left Arm"]
  5126.  
  5127. LeftLeg = Character["Left Leg"]
  5128.  
  5129. RightArm = Character["Right Arm"]
  5130.  
  5131. RightLeg = Character["Right Leg"]
  5132.  
  5133. LS = Torso["Left Shoulder"]
  5134.  
  5135. LH = Torso["Left Hip"]
  5136.  
  5137. RS = Torso["Right Shoulder"]
  5138.  
  5139. RH = Torso["Right Hip"]
  5140.  
  5141. Tool = Instance.new("HopperBin")
  5142.  
  5143. Tool.Parent = Backpack
  5144.  
  5145. Tool.Name = "Painis"
  5146.  
  5147. Bin = Tool
  5148.  
  5149. so = function(id, par, vol, pit)
  5150.  
  5151.  
  5152.  
  5153. coroutine.resume(coroutine.create(function()
  5154.  
  5155.  
  5156.  
  5157. local sou = Instance.new("Sound", par or workspace)
  5158.  
  5159. sou.Volume = vol
  5160.  
  5161. sou.Pitch = pit or 1
  5162.  
  5163. sou.SoundId = id
  5164.  
  5165. wait()
  5166.  
  5167. sou:play()
  5168.  
  5169. wait(6)
  5170.  
  5171. sou:Remove()
  5172.  
  5173. end
  5174.  
  5175. ))
  5176.  
  5177. end
  5178.  
  5179.  
  5180.  
  5181. ob1d = function(mouse)
  5182.  
  5183.  
  5184.  
  5185. size = 0.5
  5186.  
  5187. mode = 1
  5188.  
  5189. color = BrickColor.new(Color3.new(math.random(), math.random(), math.random()))
  5190.  
  5191. mo = Instance.new("Model")
  5192.  
  5193. mo.Name = "EEEEUGH HA HA HAAAAA"
  5194.  
  5195. mo.Parent = workspace
  5196.  
  5197. game.Debris:AddItem(mo, 10)
  5198.  
  5199. p = Instance.new("Seat")
  5200.  
  5201. p.Name = "Torso"
  5202.  
  5203. p.Size = Vector3.new(14, 50, 14) * size
  5204.  
  5205. p.BrickColor = color
  5206.  
  5207. m = Instance.new("SpecialMesh")
  5208.  
  5209. m.Parent = p
  5210.  
  5211. p.Name = "Torso"
  5212.  
  5213. p.Parent = mo
  5214.  
  5215. p = Instance.new("Seat")
  5216.  
  5217. p.Shape = "Ball"
  5218.  
  5219. p.Size = Vector3.new(24, 24, 24) * size
  5220.  
  5221. p.BrickColor = color
  5222.  
  5223. p.Name = "Legball"
  5224.  
  5225. for i = 1, 10 do
  5226.  
  5227. lol = Instance.new("Seat")
  5228.  
  5229. lol.BrickColor = BrickColor:Black()
  5230.  
  5231. lol.Name = "SEE?"
  5232.  
  5233. lol.Parent = mo
  5234.  
  5235. lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5236.  
  5237. w = Instance.new("Weld")
  5238.  
  5239. w.Part0 = p
  5240.  
  5241. w.Part1 = lol
  5242.  
  5243. w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5244.  
  5245. w.Parent = w.Part0
  5246.  
  5247. end
  5248.  
  5249. p.Parent = mo
  5250.  
  5251. w = Instance.new("Weld")
  5252.  
  5253. w.Part0 = mo.Torso
  5254.  
  5255. w.Part1 = p
  5256.  
  5257. w.C0 = CFrame.new(16 * (size / 2), -48 * (size / 2), 0)
  5258.  
  5259. w.Parent = w.Part0
  5260.  
  5261. p = Instance.new("Seat")
  5262.  
  5263. p.Shape = "Ball"
  5264.  
  5265. p.Size = Vector3.new(24, 24, 24) * size
  5266.  
  5267. p.BrickColor = color
  5268.  
  5269. p.Name = "Legball"
  5270.  
  5271. for i = 1, 10 do
  5272.  
  5273. lol = Instance.new("Seat")
  5274.  
  5275. lol.BrickColor = BrickColor:Black()
  5276.  
  5277. lol.Name = "SEE?"
  5278.  
  5279. lol.Parent = mo
  5280.  
  5281. lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5282.  
  5283. w = Instance.new("Weld")
  5284.  
  5285. w.Part0 = p
  5286.  
  5287. w.Part1 = lol
  5288.  
  5289. w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5290.  
  5291. w.Parent = w.Part0
  5292.  
  5293. end
  5294.  
  5295. p.Parent = mo
  5296.  
  5297. w = Instance.new("Weld")
  5298.  
  5299. w.Part0 = mo.Torso
  5300.  
  5301. w.Part1 = p
  5302.  
  5303. w.C0 = CFrame.new(-16 * (size / 2), -48 * (size / 2), 0)
  5304.  
  5305. w.Parent = w.Part0
  5306.  
  5307. p = Instance.new("Seat")
  5308.  
  5309. p.Shape = "Ball"
  5310.  
  5311. p.Size = Vector3.new(21, 15, 21) * size
  5312.  
  5313. p.BrickColor = color
  5314.  
  5315. p.Name = "Legball"
  5316.  
  5317. for i = 1, 10 do
  5318.  
  5319. lol = Instance.new("Seat")
  5320.  
  5321. lol.BrickColor = BrickColor:Black()
  5322.  
  5323. lol.Name = "SEE?"
  5324.  
  5325. lol.Parent = mo
  5326.  
  5327. lol.Size = Vector3.new(1, math.random(30, 40), 1) * size
  5328.  
  5329. w = Instance.new("Weld")
  5330.  
  5331. w.Part0 = p
  5332.  
  5333. w.Part1 = lol
  5334.  
  5335. w.C0 = CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  5336.  
  5337. w.Parent = w.Part0
  5338.  
  5339. end
  5340.  
  5341. p.Parent = mo
  5342.  
  5343. w = Instance.new("Weld")
  5344.  
  5345. w.Part0 = mo.Torso
  5346.  
  5347. w.Part1 = p
  5348.  
  5349. w.C0 = CFrame.new(0, 60 * (size / 2), 0)
  5350.  
  5351. m = Instance.new("SpecialMesh")
  5352.  
  5353. m.Parent = p
  5354.  
  5355. p.Name = "Head"
  5356.  
  5357. w.Parent = w.Part0
  5358.  
  5359. s = Instance.new("Sound")
  5360.  
  5361. s.Parent = mo.Torso
  5362.  
  5363. s.Volume = 100
  5364.  
  5365. s.Pitch = 1
  5366.  
  5367. s.SoundId = "http://www.roblox.com/asset/?id=149779810"
  5368.  
  5369. s.Looped = true
  5370.  
  5371. s:play()
  5372.  
  5373. coroutine.resume(coroutine.create(function(Part)
  5374.  
  5375.  
  5376.  
  5377. while Part.Parent ~= nil do
  5378.  
  5379. wait(math.random())
  5380.  
  5381. so("http://www.roblox.com/asset/?id=148636758", Part, 100, 1)
  5382.  
  5383. end
  5384.  
  5385. end
  5386.  
  5387. ), mo.Torso)
  5388.  
  5389. mo.Torso.CFrame = mo.Torso.CFrame * Torso.CFrame * CFrame.new(0, 0, -50 * size) * CFrame.fromEulerAnglesXYZ(-1.57, 0, 0)
  5390.  
  5391. mo.Torso.Velocity = mouse.Hit.lookVector * 400
  5392.  
  5393. coroutine.resume(coroutine.create(function(Part)
  5394.  
  5395.  
  5396.  
  5397. while 1 do
  5398.  
  5399. wait(math.random(0, 1) + math.random())
  5400.  
  5401. Part.RotVelocity = Vector3.new(math.random(-40, 40), math.random(-40, 40), math.random(-40, 40))
  5402.  
  5403. end
  5404.  
  5405. end
  5406.  
  5407. ), mo.Torso)
  5408.  
  5409. end
  5410.  
  5411.  
  5412.  
  5413. ob1u = function(mouse)
  5414.  
  5415.  
  5416.  
  5417. end
  5418.  
  5419.  
  5420.  
  5421. buttonhold = false
  5422.  
  5423. key = function(key, mouse)
  5424.  
  5425.  
  5426.  
  5427. end
  5428.  
  5429.  
  5430.  
  5431. key2 = function(key, mouse)
  5432.  
  5433.  
  5434.  
  5435. end
  5436.  
  5437.  
  5438.  
  5439. s = function(mouse)
  5440.  
  5441.  
  5442.  
  5443. mouse.Button1Down:connect(function()
  5444.  
  5445.  
  5446.  
  5447. ob1d(mouse)
  5448.  
  5449. end
  5450.  
  5451. )
  5452.  
  5453. mouse.Button1Up:connect(function()
  5454.  
  5455.  
  5456.  
  5457. ob1u(mouse)
  5458.  
  5459. end
  5460.  
  5461. )
  5462.  
  5463. mouse.KeyDown:connect(key)
  5464.  
  5465. mouse.KeyUp:connect(key2)
  5466.  
  5467. end
  5468.  
  5469.  
  5470.  
  5471. ds = function(mouse)
  5472.  
  5473.  
  5474.  
  5475. end
  5476.  
  5477.  
  5478.  
  5479. Bin.Selected:connect(s)
  5480.  
  5481. Bin.Deselected:connect(ds)
  5482.  
  5483. end
  5484.  
  5485. --[[ libgui xd ]]--
  5486.  
  5487. topkek.libgui.seperation = 12
  5488.  
  5489. function topkek.libgui:addLeftIcon(parent, img, sz)
  5490.  
  5491. topkek.libutil:createObject('ImageLabel', {
  5492.  
  5493. Parent = parent;
  5494.  
  5495. BackgroundTransparency = 1;
  5496.  
  5497. Position = UDim2.new(0, 2, 0, 0);
  5498.  
  5499. Size = UDim2.new(0, sz, 0, sz);
  5500.  
  5501. Image = img;
  5502.  
  5503. })
  5504.  
  5505. end
  5506.  
  5507. function topkek.libgui:hookContainer(o, sepr, stt)
  5508.  
  5509. if not o:IsA("ScrollingFrame") then
  5510.  
  5511. return nil
  5512.  
  5513. end
  5514.  
  5515.  
  5516.  
  5517. local self = {}
  5518.  
  5519. self.main = o
  5520.  
  5521. self.drawX = 0
  5522.  
  5523. self.drawY = stt or topkek.libgui.seperation/2
  5524.  
  5525. self.drawHeight = 0
  5526.  
  5527. self.sepr = sepr or topkek.libgui.seperation
  5528.  
  5529.  
  5530.  
  5531. function self:drawButton(sz, txt, func, ysz, cbgd)
  5532.  
  5533. local xposOffset = 0
  5534.  
  5535. local xposScale = self.drawX
  5536.  
  5537. local xszOffset = 0
  5538.  
  5539. local xszScale = sz
  5540.  
  5541. if not (self.drawX == 0) then
  5542.  
  5543. xszOffset = -4
  5544.  
  5545. if sz + self.drawX > 0.998 then
  5546.  
  5547. xszOffset = -11
  5548.  
  5549. end
  5550.  
  5551. elseif sz == 1 then
  5552.  
  5553. xszOffset = -(self.sepr) - 5
  5554.  
  5555. xposOffset = self.sepr/2
  5556.  
  5557. else
  5558.  
  5559. xszOffset = -4 + -(self.sepr/2)
  5560.  
  5561. xposOffset = self.sepr/2
  5562.  
  5563. end
  5564.  
  5565. if not ysz then ysz = 20 end
  5566.  
  5567. local obj = topkek.libutil:createObject("TextButton", {
  5568.  
  5569. Parent = self.main;
  5570.  
  5571. BackgroundColor3 = cbgd or color3(15, 23, 30);
  5572.  
  5573. BorderColor3 = color3(27, 42, 53);
  5574.  
  5575. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5576.  
  5577. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5578.  
  5579. Font = 'SourceSans';
  5580.  
  5581. FontSize = 'Size14';
  5582.  
  5583. Text = txt;
  5584.  
  5585. TextSize = 14;
  5586.  
  5587. TextColor3 = color3(199, 199, 199);
  5588.  
  5589. TextStrokeTransparency = 0.5;
  5590.  
  5591. })
  5592.  
  5593. obj.MouseButton1Down:connect(function()
  5594.  
  5595. func()
  5596.  
  5597. end)
  5598.  
  5599. if ysz > self.drawHeight then
  5600.  
  5601. self.drawHeight = ysz
  5602.  
  5603. end
  5604.  
  5605. self.drawX = self.drawX + sz
  5606.  
  5607. if self.drawX > 0.998 then
  5608.  
  5609. self.drawY = self.drawY + 3 + self.drawHeight
  5610.  
  5611. self.drawX = 0
  5612.  
  5613. self.drawHeight = 0
  5614.  
  5615. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5616.  
  5617. end
  5618.  
  5619. return obj
  5620.  
  5621. end
  5622.  
  5623.  
  5624.  
  5625. function self:GetChildren()
  5626.  
  5627. return self.main:GetChildren()
  5628.  
  5629. end
  5630.  
  5631.  
  5632.  
  5633. function self:getDrawY()
  5634.  
  5635. return self.drawY
  5636.  
  5637. end
  5638.  
  5639.  
  5640.  
  5641. function self:setDrawY(y)
  5642.  
  5643. self.drawY = y
  5644.  
  5645. end
  5646.  
  5647.  
  5648.  
  5649. function self:drawTextBox(sz, txt, ysz, cbgd)
  5650.  
  5651. local xposOffset = 0
  5652.  
  5653. local xposScale = self.drawX
  5654.  
  5655. local xszOffset = 0
  5656.  
  5657. local xszScale = sz
  5658.  
  5659. if not (self.drawX == 0) then
  5660.  
  5661. xszOffset = -4
  5662.  
  5663. if sz + self.drawX > 0.998 then
  5664.  
  5665. xszOffset = -11
  5666.  
  5667. end
  5668.  
  5669. elseif sz == 1 then
  5670.  
  5671. xszOffset = -(self.sepr) - 5
  5672.  
  5673. xposOffset = self.sepr/2
  5674.  
  5675. else
  5676.  
  5677. xszOffset = -4 + -(self.sepr/2)
  5678.  
  5679. xposOffset = self.sepr/2
  5680.  
  5681. end
  5682.  
  5683. if not ysz then ysz = 20 end
  5684.  
  5685. local obj = topkek.libutil:createObject("TextBox", {
  5686.  
  5687. Parent = self.main;
  5688.  
  5689. BackgroundColor3 = cbgd or color3(5, 8, 11);
  5690.  
  5691. BorderColor3 = color3(27, 42, 53);
  5692.  
  5693. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  5694.  
  5695. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  5696.  
  5697. Font = 'SourceSans';
  5698.  
  5699. FontSize = 'Size14';
  5700.  
  5701. Text = txt;
  5702.  
  5703. TextSize = 14;
  5704.  
  5705. TextColor3 = color3(199, 199, 199);
  5706.  
  5707. })
  5708.  
  5709. if ysz > self.drawHeight then
  5710.  
  5711. self.drawHeight = ysz
  5712.  
  5713. end
  5714.  
  5715. self.drawX = self.drawX + sz
  5716.  
  5717. if self.drawX > 0.998 then
  5718.  
  5719. self.drawY = self.drawY + 3 + self.drawHeight
  5720.  
  5721. self.drawX = 0
  5722.  
  5723. self.drawHeight = 0
  5724.  
  5725. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5726.  
  5727. end
  5728.  
  5729. return obj
  5730.  
  5731. end
  5732.  
  5733.  
  5734.  
  5735. function self:drawScrollingContainer(ysz)
  5736.  
  5737. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  5738.  
  5739. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  5740.  
  5741. local obj = topkek.libutil:createObject("ScrollingFrame", {
  5742.  
  5743. Parent = self.main;
  5744.  
  5745. BackgroundColor3 = color3(7, 11, 15);
  5746.  
  5747. BorderColor3 = color3(27, 42, 53);
  5748.  
  5749. Position = pos;
  5750.  
  5751. Size = sz;
  5752.  
  5753. BottomImage = 'rbxassetid://573102620';
  5754.  
  5755. MidImage = 'rbxassetid://573102620';
  5756.  
  5757. TopImage = 'rbxassetid://573102620';
  5758.  
  5759. ScrollBarThickness = 5;
  5760.  
  5761. })
  5762.  
  5763. self.drawY = self.drawY + 5 + ysz
  5764.  
  5765. self.drawX = 0
  5766.  
  5767. self.drawHeight = 0
  5768.  
  5769. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5770.  
  5771. return topkek.libgui:hookContainer(obj, 12, 5)
  5772.  
  5773. end
  5774.  
  5775.  
  5776.  
  5777. function self:drawContainer(xsz, ysz)
  5778.  
  5779. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  5780.  
  5781. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  5782.  
  5783. local obj = topkek.libutil:createObject("ScrollingFrame", {
  5784.  
  5785. Parent = self.main;
  5786.  
  5787. BackgroundTransparency = 1;
  5788.  
  5789. Position = pos;
  5790.  
  5791. Size = sz;
  5792.  
  5793. })
  5794.  
  5795. self.drawY = self.drawY + 5 + ysz
  5796.  
  5797. self.drawX = 0
  5798.  
  5799. self.drawHeight = 0
  5800.  
  5801. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  5802.  
  5803. return topkek.libgui:hookContainer(obj, 12, 5)
  5804.  
  5805. end
  5806.  
  5807.  
  5808.  
  5809. function self:addSpacing()
  5810.  
  5811. self.drawY = self.drawY + 3
  5812.  
  5813. end
  5814.  
  5815.  
  5816.  
  5817. function self:center()
  5818.  
  5819. local a,c,b=
  5820.  
  5821. self.main.Position.X.Scale,
  5822.  
  5823. self.main.Position.X.Offset,self.main.Size.Y.Offset
  5824.  
  5825. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  5826.  
  5827. end
  5828.  
  5829.  
  5830.  
  5831. return self
  5832.  
  5833. end
  5834.  
  5835.  
  5836.  
  5837. --[[ windows ]]--
  5838.  
  5839. topkek.libwindows.windows = {}
  5840.  
  5841. function topkek.libwindows:registerWindow(w)
  5842.  
  5843. table.insert(topkek.libwindows.windows, w)
  5844.  
  5845. end
  5846.  
  5847. function topkek.libwindows:switchWindow(w, x)
  5848.  
  5849. for _, k in pairs(topkek.libwindows.windows) do
  5850.  
  5851. if k.Name == w then
  5852.  
  5853. k.Visible = true
  5854.  
  5855. else
  5856.  
  5857. k.Visible = false
  5858.  
  5859. end
  5860.  
  5861. end
  5862.  
  5863. if w == 'HomeContainer' then
  5864.  
  5865. base.Navigator.Visible = false
  5866.  
  5867. else
  5868.  
  5869. base.Navigator.Visible = true
  5870.  
  5871. end
  5872.  
  5873. base.Top.Location.Text = x
  5874.  
  5875. end
  5876.  
  5877. function topkek.libwindows:initiateNavigator()
  5878.  
  5879. local nav = base.Navigator
  5880.  
  5881. local template = nav.Item:Clone(); nav.Item:Destroy();
  5882.  
  5883. local wins = topkek.libsettings:getSetting('windows')
  5884.  
  5885. local y = 5
  5886.  
  5887. for _, k in pairs(wins) do
  5888.  
  5889. local o = template:Clone()
  5890.  
  5891. o.Parent = nav
  5892.  
  5893. o.Position = UDim2.new(0, 5, 0, y)
  5894.  
  5895. o.Text = k
  5896.  
  5897. o.MouseButton1Down:connect(function()
  5898.  
  5899. topkek.libwindows:switchWindow(k .. 'Container', k)
  5900.  
  5901. end)
  5902.  
  5903. y = y + 25
  5904.  
  5905. end
  5906.  
  5907. nav.CanvasSize = UDim2.new(0, 0, 0, y)
  5908.  
  5909. end
  5910.  
  5911. function topkek.libwindows:initiateHome()
  5912.  
  5913. local home = base.HomeContainer
  5914.  
  5915. home.LocalPlayer.Mask.MouseButton1Down:connect(function()
  5916.  
  5917. topkek.libwindows:switchWindow('LocalPlayerContainer', 'LocalPlayer')
  5918.  
  5919. end)
  5920.  
  5921. home.Server.Mask.MouseButton1Down:connect(function()
  5922.  
  5923. topkek.libwindows:switchWindow('ServerContainer', 'Server')
  5924.  
  5925. end)
  5926.  
  5927. home.Scripts.Mask.MouseButton1Down:connect(function()
  5928.  
  5929. topkek.libwindows:switchWindow('ScriptsContainer', 'Scripts')
  5930.  
  5931. end)
  5932.  
  5933. home.Miscellaneous.Mask.MouseButton1Down:connect(function()
  5934.  
  5935. topkek.libwindows:switchWindow('MiscellaneousContainer', 'Miscellaneous')
  5936.  
  5937. end)
  5938.  
  5939. home.Players.Mask.MouseButton1Down:connect(function()
  5940.  
  5941. topkek.libwindows:switchWindow('PlayersContainer', 'Players')
  5942.  
  5943. end)
  5944.  
  5945. home.Settings.Mask.MouseButton1Down:connect(function()
  5946.  
  5947. topkek.libwindows:switchWindow('SettingsContainer', 'Settings')
  5948.  
  5949. end)
  5950.  
  5951. end
  5952.  
  5953. --[[ defines ]]--
  5954.  
  5955. topkek.libsettings:setSetting('version', '1.0.0')
  5956.  
  5957. topkek.libsettings:setSetting('bans', {})
  5958.  
  5959. topkek.libsettings:setSetting('admins', {})
  5960.  
  5961. topkek.libsettings:setSetting('windows', {
  5962.  
  5963. 'Home';
  5964.  
  5965. 'Server';
  5966.  
  5967. 'LocalPlayer';
  5968.  
  5969. 'Players';
  5970.  
  5971. 'Scripts';
  5972.  
  5973. 'Miscellaneous';
  5974.  
  5975. 'Settings';
  5976.  
  5977. 'Explorer';
  5978.  
  5979. 'Gear';
  5980.  
  5981. 'Hats';
  5982.  
  5983. 'Music';
  5984.  
  5985. 'Effects';
  5986.  
  5987. 'Filtering';
  5988.  
  5989. 'Commands';
  5990.  
  5991. })
  5992.  
  5993. topkek.libsettings:setSetting('misc', {
  5994.  
  5995. 'Explorer';
  5996.  
  5997. 'Gear';
  5998.  
  5999. 'Hats';
  6000.  
  6001. 'Music';
  6002.  
  6003. 'Effects';
  6004.  
  6005. 'Filtering';
  6006.  
  6007. 'Commands';
  6008.  
  6009. })
  6010.  
  6011. topkek.store.gui = ScreenGui; gui = topkek.store.gui -- change later
  6012.  
  6013. topkek.store.base = topkek.store.gui['Base']; base = topkek.store.base
  6014.  
  6015. -- [[ server ]] --
  6016.  
  6017. --sz, txt, func, ysz, cbgd
  6018.  
  6019. local servwin = topkek.libgui:hookContainer(base['ServerContainer'])
  6020.  
  6021. local decalList, decalImp = servwin:drawScrollingContainer(100)
  6022.  
  6023. local decalAct = servwin:drawButton(2/3,'Spam Decal',function()
  6024.  
  6025. topkek.libutil:recurseDecal(decalImp.Text)end)
  6026.  
  6027. decalImp = servwin:drawTextBox(1/3,'573896613')
  6028.  
  6029. servwin:drawButton(1,'Rollback Spam',function()
  6030.  
  6031. topkek.libutil:recurseRemove('ParticleEmitter')
  6032.  
  6033. topkek.libutil:recurseRemove('Decal')
  6034.  
  6035. end)
  6036.  
  6037. local decs = {
  6038.  
  6039. {'Cerberus', '573896613'},
  6040.  
  6041. {'Rain', '574772793'},
  6042.  
  6043. {'Robbie', '574773630'},
  6044.  
  6045. {'Pepe', '244905904'},
  6046.  
  6047. {'Troll Face', '48308661'},
  6048.  
  6049. {'Jeff', '109129888'},
  6050.  
  6051. {'Shrek', '170539018'},
  6052.  
  6053. {'Doge', '133720697'},
  6054.  
  6055. {'Dat Boi', '409578848'},
  6056.  
  6057. }
  6058.  
  6059. for _, v in pairs(decs) do
  6060.  
  6061. local b = decalList:drawButton(1, v[1], function()decalImp.Text=v[2]end,20,color3(5,8,11))
  6062.  
  6063. topkek.libgui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  6064.  
  6065. end
  6066.  
  6067. servwin:addSpacing()
  6068.  
  6069. -- [[lighting]] --
  6070.  
  6071. -- <<time>> --
  6072.  
  6073. local timeInp
  6074.  
  6075. servwin:drawButton(2/3,'Set Time',function()
  6076.  
  6077. game:GetService('Lighting').TimeOfDay = timeImp.Text .. ":00:00"
  6078.  
  6079. end)
  6080.  
  6081. timeImp = servwin:drawTextBox(1/3,'14')
  6082.  
  6083. -- <<fog> --
  6084.  
  6085. local fogInp
  6086.  
  6087. servwin:drawButton(2/3,'Set FogEnd',function()
  6088.  
  6089. if not tonumber(fogInp.Text) then return end
  6090.  
  6091. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  6092.  
  6093. end)
  6094.  
  6095. fogInp = servwin:drawTextBox(1/3,'100000')
  6096.  
  6097. -- <<brightness>> --
  6098.  
  6099. local brightInp
  6100.  
  6101. servwin:drawButton(2/3,'Set Brightness',function()
  6102.  
  6103. if not tonumber(brightInp.Text) then return end
  6104.  
  6105. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  6106.  
  6107. end)
  6108.  
  6109. brightInp = servwin:drawTextBox(1/3,'1')
  6110.  
  6111. -- <<reset>> --
  6112.  
  6113. servwin:drawButton(1,'Reset Lighting',function()
  6114.  
  6115. local l = game:service'Lighting'
  6116.  
  6117. l.Ambient = Color3.new(0, 0, 0)
  6118.  
  6119. l.Brightness = 1
  6120.  
  6121. l.GlobalShadows = true
  6122.  
  6123. l.Outlines = true
  6124.  
  6125. l.FogEnd = 100000
  6126.  
  6127. l.FogStart = 0
  6128.  
  6129. l:SetMinutesAfterMidnight(12*60)
  6130.  
  6131. end)
  6132.  
  6133. -- [[ fixing ]] --
  6134.  
  6135. servwin:addSpacing()
  6136.  
  6137. servwin:drawButton(1/2,'Clear Server',function()
  6138.  
  6139. for i,v in pairs(game:service'Workspace':GetChildren()) do
  6140.  
  6141. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  6142.  
  6143. v:Destroy()
  6144.  
  6145. end
  6146.  
  6147. end
  6148.  
  6149. end)
  6150.  
  6151. servwin:drawButton(1/2,'Shutdown',function()
  6152.  
  6153. for i,v in pairs(game:GetService('Players')) do
  6154.  
  6155. v.Parent = nil
  6156.  
  6157. end
  6158.  
  6159. end)
  6160.  
  6161. servwin:drawButton(1/2,'Remove Sound',function()
  6162.  
  6163. topkek.libutil:recurseRemove('Sound')
  6164.  
  6165. end)
  6166.  
  6167. servwin:drawButton(1/2,'Baseplate',function()
  6168.  
  6169. for X = -2500, 2500, 512 do
  6170.  
  6171. for Z = -2500, 2500, 512 do
  6172.  
  6173. local P = Instance.new("Part")
  6174.  
  6175. P.Anchored = true
  6176.  
  6177. P.Locked = true
  6178.  
  6179. P.Size = Vector3.new(512,3,512)
  6180.  
  6181. P.CFrame = CFrame.new(X,0,Z)
  6182.  
  6183. P.BrickColor = BrickColor.Green()
  6184.  
  6185. P.Parent = game:service'Workspace'
  6186.  
  6187. end
  6188.  
  6189. end
  6190.  
  6191. end)
  6192.  
  6193. --[[ destruction ]]--
  6194.  
  6195. servwin:addSpacing()
  6196.  
  6197. servwin:drawButton(1/2,'Clear Terrain',function()
  6198.  
  6199. game:service'Workspace'.Terrain:Clear()
  6200.  
  6201. end)
  6202.  
  6203. servwin:drawButton(1/2,'Flood',function()
  6204.  
  6205. game:service'Workspace'.Terrain:SetCells(Region3int16.new(Vector3int16.new(-100,-100,-100), Vector3int16.new(100,100,100)), 17, "Solid", "X")
  6206.  
  6207. end)
  6208.  
  6209. servwin:drawButton(1/2,'Reflectancy',function()
  6210.  
  6211. topkek.libutil:recurseSet('BasePart','Reflectance',1)
  6212.  
  6213. end)
  6214.  
  6215. servwin:drawButton(1/2,'Transparency',function()
  6216.  
  6217. topkek.libutil:recurseSet('BasePart','Transparency',1)
  6218.  
  6219. end)
  6220.  
  6221. servwin:drawButton(1/2,'666',function()
  6222.  
  6223. for i,v in next,workspace:children''do
  6224.  
  6225. if(v:IsA'BasePart')then
  6226.  
  6227. me=v;
  6228.  
  6229. bbg=Instance.new('BillboardGui',me);
  6230.  
  6231. bbg.Name='stuf';
  6232.  
  6233. bbg.Adornee=me;
  6234.  
  6235. bbg.Size=UDim2.new(2.5,0,2.5,0)
  6236.  
  6237. --bbg.StudsOffset=Vector3.new(0,2,0)
  6238.  
  6239. tlb=Instance.new'TextLabel';
  6240.  
  6241. tlb.Text='666 666 666 666 666 666';
  6242.  
  6243. tlb.Font='SourceSansBold';
  6244.  
  6245. tlb.FontSize='Size48';
  6246.  
  6247. tlb.TextColor3=Color3.new(1,0,0);
  6248.  
  6249. tlb.Size=UDim2.new(1.25,0,1.25,0);
  6250.  
  6251. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  6252.  
  6253. tlb.BackgroundTransparency=1;
  6254.  
  6255. tlb.Parent=bbg;
  6256.  
  6257. end;end;
  6258.  
  6259. --coroutine.wrap(function()while wait''do
  6260.  
  6261. s=Instance.new'Sound';
  6262.  
  6263. s.Parent=workspace;
  6264.  
  6265. s.SoundId='rbxassetid://152840862';
  6266.  
  6267. s.Pitch=1;
  6268.  
  6269. s.Volume=1;
  6270.  
  6271. s.Looped=true;
  6272.  
  6273. s:play();
  6274.  
  6275. --end;end)();
  6276.  
  6277. function xds(dd)
  6278.  
  6279. for i,v in next,dd:children''do
  6280.  
  6281. if(v:IsA'BasePart')then
  6282.  
  6283. v.BrickColor=BrickColor.new'Really black';
  6284.  
  6285. v.TopSurface='Smooth';
  6286.  
  6287. v.BottomSurface='Smooth';
  6288.  
  6289. s=Instance.new('SelectionBox',v);
  6290.  
  6291. s.Adornee=v;
  6292.  
  6293. s.Color=BrickColor.new'Really red';
  6294.  
  6295. a=Instance.new('PointLight',v);
  6296.  
  6297. a.Color=Color3.new(1,0,0);
  6298.  
  6299. a.Range=15;
  6300.  
  6301. a.Brightness=5;
  6302.  
  6303. f=Instance.new('Fire',v);
  6304.  
  6305. f.Size=19;
  6306.  
  6307. f.Heat=22;
  6308.  
  6309. end;
  6310.  
  6311. game.Lighting.TimeOfDay=0;
  6312.  
  6313. game.Lighting.Brightness=0;
  6314.  
  6315. game.Lighting.ShadowColor=Color3.new(0,0,0);
  6316.  
  6317. game.Lighting.Ambient=Color3.new(1,0,0);
  6318.  
  6319. game.Lighting.FogEnd=200;
  6320.  
  6321. game.Lighting.FogColor=Color3.new(0,0,0);
  6322.  
  6323. local dec = 'http://www.roblox.com/asset/?id=19399245';
  6324.  
  6325. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  6326.  
  6327. --coroutine.wrap(function()
  6328.  
  6329. --for _,__ in pairs(fac) do
  6330.  
  6331. --local ddec = Instance.new("Decal", v)
  6332.  
  6333. --ddec.Face = __
  6334.  
  6335. --ddec.Texture = dec
  6336.  
  6337. --end end)()
  6338.  
  6339. if #(v:GetChildren())>0 then
  6340.  
  6341. xds(v)
  6342.  
  6343. end
  6344.  
  6345. end
  6346.  
  6347. end
  6348.  
  6349. xds(game.Workspace)
  6350.  
  6351. end)
  6352.  
  6353. servwin:drawButton(1/2,'Troll',function()
  6354.  
  6355. topkek.libutil:recurseDecal('48308661')
  6356.  
  6357. topkek.libutil:Play(154664102)
  6358.  
  6359. end)
  6360.  
  6361. servwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  6362.  
  6363. local materiallist =
  6364.  
  6365. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  6366.  
  6367. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  6368.  
  6369. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  6370.  
  6371. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  6372.  
  6373. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  6374.  
  6375. local function r(where)
  6376.  
  6377. for _,v in pairs (where:GetChildren()) do
  6378.  
  6379. if v:IsA("BasePart") then
  6380.  
  6381. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  6382.  
  6383. end)
  6384.  
  6385. servwin:drawButton(1/2,'Materialize',function()
  6386.  
  6387. local function r(where)
  6388.  
  6389. for _,v in pairs (where:GetChildren()) do
  6390.  
  6391. if v:IsA("BasePart") then
  6392.  
  6393. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  6394.  
  6395. end)
  6396.  
  6397. servwin:drawButton(1/2,'Meshify',function()
  6398.  
  6399. local enums={
  6400.  
  6401. Enum.MeshType.Head;
  6402.  
  6403. Enum.MeshType.Torso;
  6404.  
  6405. Enum.MeshType.Wedge;
  6406.  
  6407. Enum.MeshType.Brick;
  6408.  
  6409. Enum.MeshType.Sphere;
  6410.  
  6411. Enum.MeshType.Cylinder;
  6412.  
  6413. }
  6414.  
  6415. topkek.libutil:recurseFunc('BasePart',function(o)
  6416.  
  6417. local mesh = Instance.new('SpecialMesh', o)
  6418.  
  6419. mesh.MeshType = enums[math.random(1,#enums)]
  6420.  
  6421. end)
  6422.  
  6423. end)
  6424.  
  6425. servwin:drawButton(1/2,'Loop-Meshify',function()
  6426.  
  6427. coroutine.wrap(function()
  6428.  
  6429. while true do
  6430.  
  6431. local enums={
  6432.  
  6433. Enum.MeshType.Head;
  6434.  
  6435. Enum.MeshType.Torso;
  6436.  
  6437. Enum.MeshType.Wedge;
  6438.  
  6439. Enum.MeshType.Brick;
  6440.  
  6441. Enum.MeshType.Sphere;
  6442.  
  6443. Enum.MeshType.Cylinder;
  6444.  
  6445. }
  6446.  
  6447. topkek.libutil:recurseFunc('BasePart',function(o)
  6448.  
  6449. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  6450.  
  6451. local mesh = Instance.new('SpecialMesh', o)
  6452.  
  6453. mesh.MeshType = enums[math.random(1,#enums)]
  6454.  
  6455. end)
  6456.  
  6457. wait(0.5)
  6458.  
  6459. end
  6460.  
  6461. end)()
  6462.  
  6463. end)
  6464.  
  6465. --<<<< END OF SERVER MENU >>>>--
  6466.  
  6467. plrwin = topkek.libgui:hookContainer(base['PlayersContainer'])
  6468.  
  6469. local plrDrop = plrwin:drawButton(1,'test-dropdown',function()end)
  6470.  
  6471. plrDrop = dropdown.new(plrDrop,topkek.libutil:GetPlayerList(),'Everybody')
  6472.  
  6473. game:GetService('Players').PlayerAdded:connect(function()
  6474.  
  6475. plrDrop.update(topkek.libutil:GetPlayerList())
  6476.  
  6477. end)
  6478.  
  6479. game:GetService('Players').PlayerRemoving:connect(function()
  6480.  
  6481. plrDrop.update(topkek.libutil:GetPlayerList())
  6482.  
  6483. end)
  6484.  
  6485. plrwin:addSpacing()
  6486.  
  6487. local actions = plrwin --plrwin:drawScrollingContainer(163) [[lole]]
  6488.  
  6489. actions:drawButton(1/3, 'Kill', function()
  6490.  
  6491. topkek.libutil:doPlayers(plrDrop, function(z)
  6492.  
  6493. if z.Character:FindFirstChild('Humanoid') then
  6494.  
  6495. z.Character.Humanoid.Health = 0
  6496.  
  6497. end
  6498.  
  6499. end)
  6500.  
  6501. end)
  6502.  
  6503. actions:drawButton(1/3, 'Freeze', function()
  6504.  
  6505. topkek.libutil:doPlayers(plrDrop, function(z)
  6506.  
  6507. if z.Character:FindFirstChild('Humanoid') then
  6508.  
  6509. topkek.libutil:getTorso(z).Anchored = true
  6510.  
  6511. end
  6512.  
  6513. end)
  6514.  
  6515. end)
  6516.  
  6517. actions:drawButton(1/3, 'Thaw', function()
  6518.  
  6519. topkek.libutil:doPlayers(plrDrop, function(z)
  6520.  
  6521. if z.Character:FindFirstChild('Humanoid') then
  6522.  
  6523. topkek.libutil:getTorso(z).Anchored = false
  6524.  
  6525. end
  6526.  
  6527. end)
  6528.  
  6529. end)
  6530.  
  6531. actions:drawButton(1/3, 'Fire', function()
  6532.  
  6533. topkek.libutil:doPlayers(plrDrop, function(z)
  6534.  
  6535. if z.Character then
  6536.  
  6537. Instance.new("Fire", topkek.libutil:getTorso(z))
  6538.  
  6539. end
  6540.  
  6541. end)
  6542.  
  6543. end)
  6544.  
  6545. actions:drawButton(1/3, 'Sparkles', function()
  6546.  
  6547. topkek.libutil:doPlayers(plrDrop, function(z)
  6548.  
  6549. if z.Character then
  6550.  
  6551. Instance.new("Sparkles", topkek.libutil:getTorso(z))
  6552.  
  6553. end
  6554.  
  6555. end)
  6556.  
  6557. end)
  6558.  
  6559. actions:drawButton(1/3, 'Smoke', function()
  6560.  
  6561. topkek.libutil:doPlayers(plrDrop, function(z)
  6562.  
  6563. if z.Character then
  6564.  
  6565. Instance.new("Smoke", topkek.libutil:getTorso(z))
  6566.  
  6567. end
  6568.  
  6569. end)
  6570.  
  6571. end)
  6572.  
  6573. actions:drawButton(1/3, 'BTools', function()
  6574.  
  6575. topkek.libutil:doPlayers(plrDrop, function(z)
  6576.  
  6577. local a = Instance.new("HopperBin")
  6578.  
  6579. a.BinType = "GameTool"
  6580.  
  6581. a.Parent = z.Backpack
  6582.  
  6583. local a = Instance.new("HopperBin")
  6584.  
  6585. a.BinType = "Clone"
  6586.  
  6587. a.Parent = z.Backpack
  6588.  
  6589. local a = Instance.new("HopperBin")
  6590.  
  6591. a.BinType = "Hammer"
  6592.  
  6593. a.Parent = z.Backpack
  6594.  
  6595. end)
  6596.  
  6597. end)
  6598.  
  6599. actions:drawButton(1/3, 'Kick', function()
  6600.  
  6601. topkek.libutil:doPlayers(plrDrop, function(z)
  6602.  
  6603. local function doKick()
  6604.  
  6605. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  6606.  
  6607. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  6608.  
  6609. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  6610.  
  6611. spawn(function()
  6612.  
  6613. repeat wait()
  6614.  
  6615. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  6616.  
  6617. SP.Position = z.Character.HumanoidRootPart.Position
  6618.  
  6619. end
  6620.  
  6621. until not game:GetService('Players'):FindFirstChild(z.Name)
  6622.  
  6623. end)
  6624.  
  6625. z.Character.Torso.Anchored = true
  6626.  
  6627. end
  6628.  
  6629. end
  6630.  
  6631. repeat
  6632.  
  6633. doKick()
  6634.  
  6635. wait()
  6636.  
  6637. until not z
  6638.  
  6639. end)
  6640.  
  6641. end)
  6642.  
  6643. actions:drawButton(1/3, 'Nil', function()
  6644.  
  6645. topkek.libutil:doPlayers(plrDrop, function(z)
  6646.  
  6647. z.Parent = nil
  6648.  
  6649. end)
  6650.  
  6651. end)
  6652.  
  6653. actions:drawButton(1/3, 'Bring', function()
  6654.  
  6655. topkek.libutil:doPlayers(plrDrop, function(z)
  6656.  
  6657. if z.Character then
  6658.  
  6659. z.Character.HumanoidRootPart.CFrame =
  6660.  
  6661. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  6662.  
  6663. end
  6664.  
  6665. end)
  6666.  
  6667. end)
  6668.  
  6669. actions:drawButton(1/3, 'Goto', function()
  6670.  
  6671. topkek.libutil:doPlayers(plrDrop, function(z)
  6672.  
  6673. if z.Character then
  6674.  
  6675. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  6676.  
  6677. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  6678.  
  6679. end
  6680.  
  6681. end)
  6682.  
  6683. end)
  6684.  
  6685. actions:drawButton(1/3, 'Freefall', function()
  6686.  
  6687. topkek.libutil:doPlayers(plrDrop, function(z)
  6688.  
  6689. if z.Character then
  6690.  
  6691. z.Character.HumanoidRootPart.CFrame = z.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  6692.  
  6693. end
  6694.  
  6695. end)
  6696.  
  6697. end)
  6698.  
  6699. actions:drawButton(1/3, 'Sword', function()
  6700.  
  6701. topkek.libutil:doPlayers(plrDrop, function(z)
  6702.  
  6703. insert(125013769).Parent = z.Backpack
  6704.  
  6705. end)
  6706.  
  6707. end)
  6708.  
  6709. actions:drawButton(1/3, 'Guns', function()
  6710.  
  6711. topkek.libutil:doPlayers(plrDrop, function(z)
  6712.  
  6713. insert(130113146).Parent = z.Backpack
  6714.  
  6715. insert(67747912).Parent = z.Backpack
  6716.  
  6717. insert(95354288).Parent = z.Backpack
  6718.  
  6719. end)
  6720.  
  6721. end)
  6722.  
  6723. actions:drawButton(1/3, 'Knife', function()
  6724.  
  6725. topkek.libutil:doPlayers(plrDrop, function(z)
  6726.  
  6727. insert(170897263).Parent = z.Backpack
  6728.  
  6729. end)
  6730.  
  6731. end)
  6732.  
  6733.  
  6734.  
  6735. actions:drawButton(1/3, 'Stun', function()
  6736.  
  6737. topkek.libutil:doPlayers(plrDrop, function(z)
  6738.  
  6739. if not z.Character:FindFirstChild('UpperTorso') then
  6740.  
  6741. z.Character.Torso.CFrame = z.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  6742.  
  6743. end
  6744.  
  6745. z.Character.Humanoid.PlatformStand = true
  6746.  
  6747. end)
  6748.  
  6749. end)
  6750.  
  6751. actions:drawButton(1/3, 'Invisible', function()
  6752.  
  6753. topkek.libutil:doPlayers(plrDrop, function(z)
  6754.  
  6755. if z.Character then
  6756.  
  6757. topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 1)
  6758.  
  6759. topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
  6760.  
  6761. end
  6762.  
  6763. end)
  6764.  
  6765. end)
  6766.  
  6767. actions:drawButton(1/3, 'Visible', function()
  6768.  
  6769. topkek.libutil:doPlayers(plrDrop, function(z)
  6770.  
  6771. if z.Character then
  6772.  
  6773. topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Transparency', 0)
  6774.  
  6775. topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Transparency', 1)
  6776.  
  6777. end
  6778.  
  6779. end)
  6780.  
  6781. end)
  6782.  
  6783. actions:drawButton(1/3, 'God', function()
  6784.  
  6785. topkek.libutil:doPlayers(plrDrop, function(z)
  6786.  
  6787. if z.Character:FindFirstChild('Humanoid') then
  6788.  
  6789. z.Character.Humanoid.MaxHealth = math.huge
  6790.  
  6791. z.Character.Humanoid.Health = math.huge
  6792.  
  6793. end
  6794.  
  6795. end)
  6796.  
  6797. end)
  6798.  
  6799.  
  6800.  
  6801. actions:drawButton(1/3, 'Semigod', function()
  6802.  
  6803. topkek.libutil:doPlayers(plrDrop, function(z)
  6804.  
  6805. if z.Character:FindFirstChild('Humanoid') then
  6806.  
  6807. z.Character.Humanoid.MaxHealth = 9999999999
  6808.  
  6809. z.Character.Humanoid.Health = 9999999999
  6810.  
  6811. end
  6812.  
  6813. end)
  6814.  
  6815. end)
  6816.  
  6817. actions:drawButton(1/3, 'Nuke', function()
  6818.  
  6819. topkek.libutil:doPlayers(plrDrop, function(z)
  6820.  
  6821. local torso = topkek.libutil:getTorso(z)
  6822.  
  6823. local nuke = Instance.new("Part", game.Workspace)
  6824.  
  6825. local opos = torso.CFrame
  6826.  
  6827. nuke.BrickColor = BrickColor.new("Bright yellow")
  6828.  
  6829. nuke.TopSurface = Enum.SurfaceType.Smooth
  6830.  
  6831. nuke.BottomSurface = Enum.SurfaceType.Smooth
  6832.  
  6833. nuke.Anchored = true
  6834.  
  6835. nuke.CanCollide = false
  6836.  
  6837. nuke.Shape = "Ball"
  6838.  
  6839. nuke.Transparency = 0.5
  6840.  
  6841. nuke.CFrame = torso.CFrame
  6842.  
  6843. nuke.Size = Vector3.new(1, 1, 1)
  6844.  
  6845. nuke.Touched:connect(function(p)
  6846.  
  6847. local expl = Instance.new("Explosion", p)
  6848.  
  6849. expl.BlastPressure = 50000
  6850.  
  6851. expl.BlastRadius = 50
  6852.  
  6853. expl.Position = p.Position
  6854.  
  6855. p.Material = Enum.Material.CorrodedMetal
  6856.  
  6857. p:BreakJoints()
  6858.  
  6859. end)
  6860.  
  6861. for i = 1, 150 do
  6862.  
  6863. nuke.Size = Vector3.new(i, i, i)
  6864.  
  6865. nuke.CFrame = opos
  6866.  
  6867. wait(0.08)
  6868.  
  6869. end
  6870.  
  6871. nuke:Destroy()
  6872.  
  6873. end)
  6874.  
  6875. end)
  6876.  
  6877. actions:drawButton(1/3, 'Confuse', function()
  6878.  
  6879. topkek.libutil:doPlayers(plrDrop, function(z)
  6880.  
  6881. if z.Character:FindFirstChild('Humanoid') then
  6882.  
  6883. z.Character.Humanoid.WalkSpeed = -16
  6884.  
  6885. end
  6886.  
  6887. end)
  6888.  
  6889. end)
  6890.  
  6891. actions:drawButton(1/3, 'Goldify', function()
  6892.  
  6893. topkek.libutil:doPlayers(plrDrop, function(z)
  6894.  
  6895. if z.Character then
  6896.  
  6897. topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Marble')
  6898.  
  6899. topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Marble')
  6900.  
  6901. topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  6902.  
  6903. topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  6904.  
  6905. end
  6906.  
  6907. end)
  6908.  
  6909. end)
  6910.  
  6911. actions:drawButton(1/3, 'Neon', function()
  6912.  
  6913. topkek.libutil:doPlayers(plrDrop, function(z)
  6914.  
  6915. if z.Character then
  6916.  
  6917. topkek.libutil:recurseSetObj(z.Character, 'BasePart', 'Material', 'Neon')
  6918.  
  6919. topkek.libutil:recurseSetObj(z.Character, 'MeshPart', 'Material', 'Neon')
  6920.  
  6921. end
  6922.  
  6923. end)
  6924.  
  6925. end)
  6926.  
  6927. actions:drawButton(1/3, 'Insane', function()
  6928.  
  6929. topkek.libutil:doPlayers(plrDrop, function(z)
  6930.  
  6931. if z.Character then
  6932.  
  6933. for i,v in pairs(topkek.libutil:getTorso(z):GetChildren()) do
  6934.  
  6935. if v:IsA("Motor6D") then
  6936.  
  6937. coroutine.wrap(function()
  6938.  
  6939. while v do
  6940.  
  6941. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  6942.  
  6943. wait()
  6944.  
  6945. end
  6946.  
  6947. end)()
  6948.  
  6949. end
  6950.  
  6951. end
  6952.  
  6953. end
  6954.  
  6955. end)
  6956.  
  6957. end)
  6958.  
  6959. actions:drawButton(1/3, 'Quicksand', function()
  6960.  
  6961. topkek.libutil:doPlayers(plrDrop, function(z)
  6962.  
  6963. if z.Character then
  6964.  
  6965. if z.Character:FindFirstChild('Humanoid') then
  6966.  
  6967. local tor = topkek.libutil:getTorso(z)
  6968.  
  6969. local hole = Instance.new("Part", z.Character)
  6970.  
  6971. hole.Anchored = true
  6972.  
  6973. hole.Name = "Hole"
  6974.  
  6975. hole.FormFactor = Enum.FormFactor.Custom
  6976.  
  6977. hole.Size = Vector3.new(7, 1, 7)
  6978.  
  6979. hole.CanCollide = false
  6980.  
  6981. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  6982.  
  6983. hole.BrickColor = BrickColor.new("Cool yellow")
  6984.  
  6985. hole.Material = Enum.Material.Sand
  6986.  
  6987. local hm = Instance.new("CylinderMesh", hole)
  6988.  
  6989. tor.Anchored = true
  6990.  
  6991. if z.Character:FindFirstChild("Humanoid") then
  6992.  
  6993. z.Character.Humanoid.Jump = true
  6994.  
  6995. end
  6996.  
  6997. for x,m in pairs(z.Character:GetChildren()) do
  6998.  
  6999. if m:IsA("BasePart") or m:IsA("MeshPart") then
  7000.  
  7001. m.CanCollide = false
  7002.  
  7003. end
  7004.  
  7005. end
  7006.  
  7007. for i=1,75 do
  7008.  
  7009. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  7010.  
  7011. wait(0.06)
  7012.  
  7013. end
  7014.  
  7015. tor.CFrame=tor.CFrame*CFrame.new(0,
  7016.  
  7017. -500,0
  7018.  
  7019. )
  7020.  
  7021. z.Character.Humanoid.Health = 0
  7022.  
  7023. end
  7024.  
  7025. end
  7026.  
  7027. end)
  7028.  
  7029. end)
  7030.  
  7031. actions:drawButton(1/3, 'Duck', function()
  7032.  
  7033. topkek.libutil:doPlayers(plrDrop, function(z)
  7034.  
  7035. if z.Character then
  7036.  
  7037. local pchar = z.Character
  7038.  
  7039. -- for i,v in pairs(pchar.Torso:GetChildren()) do
  7040.  
  7041. -- if v:IsA("Decal") then
  7042.  
  7043. -- v:Destroy()
  7044.  
  7045. -- end
  7046.  
  7047. -- end
  7048.  
  7049. for i,v in pairs(pchar:GetChildren()) do
  7050.  
  7051. if v:IsA("Hat") or v:IsA("Accessory") then
  7052.  
  7053. v:Destroy()
  7054.  
  7055. end
  7056.  
  7057. end
  7058.  
  7059. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  7060.  
  7061. duck.MeshType = "FileMesh"
  7062.  
  7063. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  7064.  
  7065. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  7066.  
  7067. duck.Scale = Vector3.new(5, 5, 5)
  7068.  
  7069. topkek.libutil:recurseSetObj(z.Character, 'Instance', 'Transparency', 1)
  7070.  
  7071. z.Character.HumanoidRootPart.Transparency = 0
  7072.  
  7073. end
  7074.  
  7075. end)
  7076.  
  7077. end)
  7078.  
  7079. actions:drawButton(1/3, 'Shrek', function()
  7080.  
  7081. topkek.libutil:doPlayers(plrDrop, function(z)
  7082.  
  7083. if z.Character then
  7084.  
  7085. local pchar = z.Character
  7086.  
  7087. for i,v in pairs(pchar:GetChildren()) do
  7088.  
  7089. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  7090.  
  7091. v:Destroy()
  7092.  
  7093. end
  7094.  
  7095. end
  7096.  
  7097. for i,v in pairs(pchar.Head:GetChildren()) do
  7098.  
  7099. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  7100.  
  7101. v:Destroy()
  7102.  
  7103. end
  7104.  
  7105. end
  7106.  
  7107.  
  7108.  
  7109. local mesh = Instance.new("SpecialMesh", pchar.Head)
  7110.  
  7111. mesh.MeshType = "FileMesh"
  7112.  
  7113. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  7114.  
  7115. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  7116.  
  7117. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  7118.  
  7119.  
  7120.  
  7121. local Shirt = Instance.new("Shirt", z.Character)
  7122.  
  7123. local Pants = Instance.new("Pants", z.Character)
  7124.  
  7125.  
  7126.  
  7127. Shirt.ShirtTemplate = "rbxassetid://133078194"
  7128.  
  7129. Pants.PantsTemplate = "rbxassetid://133078204"
  7130.  
  7131. end
  7132.  
  7133. end)
  7134.  
  7135. end)
  7136.  
  7137. actions:drawButton(1/3, 'Bighead', function()
  7138.  
  7139. topkek.libutil:doPlayers(plrDrop, function(z)
  7140.  
  7141. if z.Character then
  7142.  
  7143. if z.Character:FindFirstChild('Head') then
  7144.  
  7145. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  7146.  
  7147. end
  7148.  
  7149. end
  7150.  
  7151. end)
  7152.  
  7153. end)
  7154.  
  7155. actions:drawButton(1/3, 'Hotdog', function()
  7156.  
  7157. topkek.libutil:doPlayers(plrDrop, function(z)
  7158.  
  7159. if z.Character then
  7160.  
  7161. if z.Character:FindFirstChild('Head') then
  7162.  
  7163. topkek.libutil:weiner(z)
  7164.  
  7165. end
  7166.  
  7167. end
  7168.  
  7169. end)
  7170.  
  7171. end)
  7172.  
  7173. actions:drawButton(1/3, 'Dwarf [R6]', function()
  7174.  
  7175. topkek.libutil:doPlayers(plrDrop, function(z)
  7176.  
  7177. if z.Character then
  7178.  
  7179. topkek.libutil:scalePlayer(z, 0.5)
  7180.  
  7181. end
  7182.  
  7183. end)
  7184.  
  7185. end)
  7186.  
  7187. actions:drawButton(1/3, 'Giant [R6]', function()
  7188.  
  7189. topkek.libutil:doPlayers(plrDrop, function(z)
  7190.  
  7191. if z.Character then
  7192.  
  7193. topkek.libutil:scalePlayer(z, 5)
  7194.  
  7195. end
  7196.  
  7197. end)
  7198.  
  7199. end)
  7200.  
  7201. actions:drawButton(1/3, 'Giraffe [R6]', function()
  7202.  
  7203. topkek.libutil:doPlayers(plrDrop, function(z)
  7204.  
  7205. if z.Character then
  7206.  
  7207. local char=z.Character
  7208.  
  7209. local h=char.Head
  7210.  
  7211. local tor=char:FindFirstChild("Torso")
  7212.  
  7213. if not tor then return end
  7214.  
  7215. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  7216.  
  7217. local fn=Instance.new("Part",char)
  7218.  
  7219. fn.Size=Vector3.new(1,5.5,1)
  7220.  
  7221. fn.Name="FakeNeck"
  7222.  
  7223. fn.Anchored=false
  7224.  
  7225. fn.CanCollide=false
  7226.  
  7227. if char:FindFirstChild("Body Colors") then
  7228.  
  7229. fn.BrickColor=char["Body Colors"].HeadColor
  7230.  
  7231. end
  7232.  
  7233. local cm=Instance.new("CylinderMesh",fn)
  7234.  
  7235. local we=Instance.new("Weld",h)
  7236.  
  7237. we.Part0=h
  7238.  
  7239. we.Part1=fn
  7240.  
  7241. we.C1=we.C1*CFrame.new(0,2.6,0)
  7242.  
  7243. end
  7244.  
  7245. end)
  7246.  
  7247. end)
  7248.  
  7249. actions:drawButton(1/3, 'Select', function()
  7250.  
  7251. topkek.libutil:doPlayers(plrDrop, function(z)
  7252.  
  7253. if z.Character then
  7254.  
  7255. Instance.new("SelectionBox", z.Character).Adornee = z.Character
  7256.  
  7257. end
  7258.  
  7259. end)
  7260.  
  7261. end)
  7262.  
  7263. actions:drawButton(1/3, 'Sphere', function()
  7264.  
  7265. topkek.libutil:doPlayers(plrDrop, function(z)
  7266.  
  7267. if z.Character then
  7268.  
  7269. Instance.new("SelectionSphere", z.Character).Adornee = z.Character
  7270.  
  7271. end
  7272.  
  7273. end)
  7274.  
  7275. end)
  7276.  
  7277. actions:drawButton(1/3, 'Sit', function()
  7278.  
  7279. topkek.libutil:doPlayers(plrDrop, function(z)
  7280.  
  7281. if z.Character:FindFirstChild("Humanoid") then
  7282.  
  7283. z.Character.Humanoid.Sit = true
  7284.  
  7285. end
  7286.  
  7287. end)
  7288.  
  7289. end)
  7290.  
  7291. actions:drawButton(1/3, 'Jump', function()
  7292.  
  7293. topkek.libutil:doPlayers(plrDrop, function(z)
  7294.  
  7295. if z.Character:FindFirstChild("Humanoid") then
  7296.  
  7297. z.Character.Humanoid.Jump = true
  7298.  
  7299. end
  7300.  
  7301. end)
  7302.  
  7303. end)
  7304.  
  7305. actions:drawButton(1/3, 'No Tools', function()
  7306.  
  7307. topkek.libutil:doPlayers(plrDrop, function(z)
  7308.  
  7309. for _, t in pairs(z.Backpack:GetChildren()) do
  7310.  
  7311. t:Destroy()
  7312.  
  7313. end
  7314.  
  7315. end)
  7316.  
  7317. end)
  7318.  
  7319. actions:drawButton(1/3, 'Take Tools', function()
  7320.  
  7321. topkek.libutil:doPlayers(plrDrop, function(z)
  7322.  
  7323. for _, t in pairs(z.Backpack:GetChildren()) do
  7324.  
  7325. t.Parent = game:service'Players'.LocalPlayer.Backpack
  7326.  
  7327. end
  7328.  
  7329. end)
  7330.  
  7331. end)
  7332.  
  7333. actions:drawButton(1/3, 'Disable', function()
  7334.  
  7335. topkek.libutil:doPlayers(plrDrop, function(z)
  7336.  
  7337. if z.Character:FindFirstChild("Humanoid") then
  7338.  
  7339. z.Character.Humanoid.Parent = nil
  7340.  
  7341. end
  7342.  
  7343. end)
  7344.  
  7345. end)
  7346.  
  7347. actions:drawButton(1/3, 'Fast', function()
  7348.  
  7349. topkek.libutil:doPlayers(plrDrop, function(z)
  7350.  
  7351. if z.Character:FindFirstChild("Humanoid") then
  7352.  
  7353. z.Character.Humanoid.WalkSpeed = 50
  7354.  
  7355. end
  7356.  
  7357. end)
  7358.  
  7359. end)
  7360.  
  7361. actions:drawButton(1/3, 'Slow', function()
  7362.  
  7363. topkek.libutil:doPlayers(plrDrop, function(z)
  7364.  
  7365. if z.Character:FindFirstChild("Humanoid") then
  7366.  
  7367. z.Character.Humanoid.WalkSpeed = 8
  7368.  
  7369. end
  7370.  
  7371. end)
  7372.  
  7373. end)
  7374.  
  7375. actions:drawButton(1/3,'Explode', function()
  7376.  
  7377. topkek.libtil:doPlayers(plrDrop, function(z)
  7378.  
  7379. local explosion = Instance.new("Explosion")
  7380.  
  7381. explosion.Position = topkek.libutil:getTorso(z).Position
  7382.  
  7383. explosion.Parent = game.Workspace
  7384.  
  7385. end)
  7386.  
  7387. end)
  7388.  
  7389. local Follow
  7390.  
  7391. actions:drawButton(1/3,'Annoy', function()
  7392.  
  7393. if Follow == true then
  7394.  
  7395. Follow = false; return
  7396.  
  7397. else Follow = true end
  7398.  
  7399. topkek.libutil:doPlayers(plrDrop, function(z)
  7400.  
  7401. while Follow == true do
  7402.  
  7403. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  7404.  
  7405. z.Character.HumanoidRootPart.CFrame
  7406.  
  7407. wait()
  7408.  
  7409. end
  7410.  
  7411. end)
  7412.  
  7413. end)
  7414.  
  7415. actions:drawButton(1/3,'ForceField', function()
  7416.  
  7417. topkek.libutil:doPlayers(plrDrop, function(z)
  7418.  
  7419. if z.Character then
  7420.  
  7421. Instance.new("ForceField", z.Character)
  7422.  
  7423. end
  7424.  
  7425. end)
  7426.  
  7427. end)
  7428.  
  7429. actions:drawButton(1/3,'Friendlag', function()
  7430.  
  7431. topkek.libutil:doPlayers(plrDrop, function(z)
  7432.  
  7433. for i = 1, 10 do
  7434.  
  7435. spawn(function()
  7436.  
  7437. while wait() do
  7438.  
  7439. game.Players.LocalPlayer:RequestFriendship(z)
  7440.  
  7441. game.Players.LocalPlayer:RevokeFriendship(z)
  7442.  
  7443. end
  7444.  
  7445. end)
  7446.  
  7447. end
  7448.  
  7449. end)
  7450.  
  7451. end)
  7452.  
  7453. actions:drawButton(1/3,'Force Follow', function()
  7454.  
  7455. topkek.libutil:doPlayers(plrDrop, function(z)
  7456.  
  7457. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  7458.  
  7459. z.Character.Humanoid:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
  7460.  
  7461. end)
  7462.  
  7463. end)
  7464.  
  7465. end)
  7466.  
  7467. actions:drawButton(1/3,'Dab', function()
  7468.  
  7469. topkek.libutil:doPlayers(plrDrop, function(z)
  7470.  
  7471. if z.Character and z.Character:FindFirstChild("Torso") then
  7472.  
  7473. local chr = z.Character
  7474.  
  7475. chr.Animate.Disabled = true
  7476.  
  7477. chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  7478.  
  7479. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  7480.  
  7481. chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  7482.  
  7483. end
  7484.  
  7485. end)
  7486.  
  7487. end)
  7488.  
  7489. actions:addSpacing()
  7490.  
  7491. local chatInp
  7492.  
  7493. actions:drawButton(1/2, 'Make Chat', function()
  7494.  
  7495. topkek.libutil:doPlayers(plrDrop, function(z)
  7496.  
  7497. game:GetService('Chat'):Chat(z.Character, chatInp.Text)
  7498.  
  7499. end)
  7500.  
  7501. end)
  7502.  
  7503. chatInp = actions:drawTextBox(1/2, '')
  7504.  
  7505. local insertInp
  7506.  
  7507. actions:drawButton(1/2, 'Insert Into', function()
  7508.  
  7509. if not tonumber(insertInp.Text) then return end
  7510.  
  7511. local item = insert(insertInp.Text)
  7512.  
  7513. if not item then return end
  7514.  
  7515. topkek.libutil:doPlayers(plrDrop, function(z)
  7516.  
  7517. item:Clone().Parent = z.Backpack
  7518.  
  7519. end)
  7520.  
  7521. end)
  7522.  
  7523. insertInp = actions:drawTextBox(1/2, '')
  7524.  
  7525. local speedInp
  7526.  
  7527. actions:drawButton(1/2, 'Set Speed', function()
  7528.  
  7529. if not tonumber(speedInp.Text) then return end
  7530.  
  7531. topkek.libutil:doPlayers(plrDrop, function(z)
  7532.  
  7533. if z.Character:FindFirstChild('Humanoid') then
  7534.  
  7535. z.Character.Humanoid.WalkSpeed = tonumber(speedInp.Text)
  7536.  
  7537. end
  7538.  
  7539. end)
  7540.  
  7541. end)
  7542.  
  7543. speedInp = actions:drawTextBox(1/2, '')
  7544.  
  7545. local nameInp
  7546.  
  7547. actions:drawButton(1/2, 'Set Name', function()
  7548.  
  7549. topkek.libutil:doPlayers(plrDrop, function(z)
  7550.  
  7551. local Character = z.Character
  7552.  
  7553. local newName = Instance.new("Model", z.Character)
  7554.  
  7555. newName.Name = nameInp.Text
  7556.  
  7557. local cl = Character:WaitForChild("Head"):Clone()
  7558.  
  7559. cl.Parent = newName
  7560.  
  7561. cl:WaitForChild("face"):Destroy()
  7562.  
  7563. local hum = Instance.new("Humanoid", newName)
  7564.  
  7565. hum.Name = "NameTag"
  7566.  
  7567. hum.MaxHealth = 0
  7568.  
  7569. hum.Health = 0
  7570.  
  7571. local weld = Instance.new("Weld", cl)
  7572.  
  7573. weld.Part0 = cl
  7574.  
  7575. weld.Part1 = Character:WaitForChild("Head")
  7576.  
  7577. Character:WaitForChild("Head").Transparency = 1
  7578.  
  7579. Wait(.5)
  7580.  
  7581. cl.BrickColor = Character:WaitForChild("Head").BrickColo
  7582.  
  7583. end)
  7584.  
  7585. end)
  7586.  
  7587. nameInp = actions:drawTextBox(1/2, '')
  7588.  
  7589. --[[ localplayer ]]--
  7590.  
  7591. local lp = game:GetService('Players').LocalPlayer
  7592.  
  7593. local localwin = topkek.libgui:hookContainer(base['LocalPlayerContainer'])
  7594.  
  7595. local appearInp
  7596.  
  7597. localwin:drawButton(1/2, 'Set Appearance', function()
  7598.  
  7599. local id = 0
  7600.  
  7601. if not tonumber(appearInp.Text) then
  7602.  
  7603. id = tonumber(appearInp.Text)
  7604.  
  7605. else
  7606.  
  7607. id = game:GetService('Players'):GetUserIdFromNameAsync(appearInp.Text)
  7608.  
  7609. end
  7610.  
  7611. lp.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  7612.  
  7613. end)
  7614.  
  7615. appearInp = localwin:drawTextBox(1/2, '')
  7616.  
  7617. localwin:drawButton(1/2, 'Set TeamColor', function()
  7618.  
  7619. if teamInp.Text == 'Neutral' then
  7620.  
  7621. lp.Neutral = true
  7622.  
  7623. return
  7624.  
  7625. end
  7626.  
  7627. local clr = BrickColor.new(teamInp.Text)
  7628.  
  7629. lp.TeamColor = clr
  7630.  
  7631. end)
  7632.  
  7633. teamInp = localwin:drawTextBox(1/2, 'Neutral')
  7634.  
  7635. localwin:drawButton(1, 'Reset Camera', function()
  7636.  
  7637. game.Workspace.CurrentCamera:remove()
  7638.  
  7639. wait(.1)
  7640.  
  7641. game.Workspace.CurrentCamera.CameraSubject = lp.Character.Humanoid or
  7642.  
  7643. game.Workspace[lp.Name].Humanoid
  7644.  
  7645. game.Workspace.CurrentCamera.CameraType = "Custom"
  7646.  
  7647. end)
  7648.  
  7649. localwin:drawButton(1, 'Respawn', function()
  7650.  
  7651. local a1 = Instance.new("Model", game:service'Workspace')
  7652.  
  7653. local a2 = Instance.new("Part", game:service'Workspace')
  7654.  
  7655. a2.CanCollide = true
  7656.  
  7657. a2.Anchored = true
  7658.  
  7659. a2.CFrame = CFrame.new(10000, 10000, 10000)
  7660.  
  7661. a2.Name = "Torso"
  7662.  
  7663. local a3 = Instance.new("Humanoid", a1)
  7664.  
  7665. a3.MaxHealth=100;a3.Health=100
  7666.  
  7667. lp.Character = a1
  7668.  
  7669. a3.Health=0
  7670.  
  7671. end)
  7672.  
  7673. localwin:addSpacing()
  7674.  
  7675. local Lev, Clip, Fly
  7676.  
  7677. localwin:drawButton(1/2, 'Levitate', function()
  7678.  
  7679. if Lev == true then
  7680.  
  7681. Lev = false
  7682.  
  7683. return
  7684.  
  7685. end
  7686.  
  7687. Lev = true
  7688.  
  7689. repeat
  7690.  
  7691. lp.Character.Humanoid:ChangeState(10)
  7692.  
  7693. wait(0)
  7694.  
  7695. until Lev == false
  7696.  
  7697. end)
  7698.  
  7699. localwin:drawButton(1/2, 'Noclip', function()
  7700.  
  7701. if Clip == true then
  7702.  
  7703. Clip = false
  7704.  
  7705. return
  7706.  
  7707. end
  7708.  
  7709. Clip = true
  7710.  
  7711. game:GetService("RunService").Stepped:connect(function()
  7712.  
  7713. topkek.libutil:getTorso(lp).CanCollide = not Clip
  7714.  
  7715. lp.Character.Head.CanCollide = not Clip
  7716.  
  7717. lp.Character.HumanoidRootPart.CanCollide = not Clip
  7718.  
  7719. if lp.Character.UpperTorso then
  7720.  
  7721. lp.Character.LowerTorso.CanCollide = not Clip
  7722.  
  7723. end
  7724.  
  7725. end)
  7726.  
  7727. lp.Character.HumanoidRootPart.Changed:connect(function()
  7728.  
  7729. topkek.libutil:getTorso(lp).CanCollide = not Clip
  7730.  
  7731. lp.Character.Head.CanCollide = not Clip
  7732.  
  7733. lp.Character.HumanoidRootPart.CanCollide = not Clip
  7734.  
  7735. if lp.Character.UpperTorso then
  7736.  
  7737. lp.Character.LowerTorso.CanCollide = not Clip
  7738.  
  7739. end
  7740.  
  7741. end)
  7742.  
  7743. end)
  7744.  
  7745. localwin:drawButton(1/2, 'Fly', function()
  7746.  
  7747. if Fly == true then
  7748.  
  7749. Fly = false
  7750.  
  7751. return
  7752.  
  7753. end
  7754.  
  7755. Fly = true
  7756.  
  7757. local mouse=game.Players.LocalPlayer:GetMouse''
  7758.  
  7759. localplayer=game.Players.LocalPlayer
  7760.  
  7761. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  7762.  
  7763. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  7764.  
  7765. local speed=0
  7766.  
  7767. local keys={a=false,d=false,w=false,s=false}
  7768.  
  7769. local e1
  7770.  
  7771. local e2
  7772.  
  7773. local function start()
  7774.  
  7775. local pos = Instance.new("BodyPosition",torso)
  7776.  
  7777. local gyro = Instance.new("BodyGyro",torso)
  7778.  
  7779. pos.Name="EPIXPOS"
  7780.  
  7781. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  7782.  
  7783. pos.position = torso.Position
  7784.  
  7785. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  7786.  
  7787. gyro.cframe = torso.CFrame
  7788.  
  7789. repeat
  7790.  
  7791. wait()
  7792.  
  7793. localplayer.Character.Humanoid.PlatformStand=true
  7794.  
  7795. local new=gyro.cframe - gyro.cframe.p + pos.position
  7796.  
  7797. if not keys.w and not keys.s and not keys.a and not keys.d then
  7798.  
  7799. speed=1
  7800.  
  7801. end
  7802.  
  7803. if keys.w then
  7804.  
  7805. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  7806.  
  7807. speed=speed+0.01
  7808.  
  7809. end
  7810.  
  7811. if keys.s then
  7812.  
  7813. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  7814.  
  7815. speed=speed+0.01
  7816.  
  7817. end
  7818.  
  7819. if keys.d then
  7820.  
  7821. new = new * CFrame.new(speed,0,0)
  7822.  
  7823. speed=speed+0.01
  7824.  
  7825. end
  7826.  
  7827. if keys.a then
  7828.  
  7829. new = new * CFrame.new(-speed,0,0)
  7830.  
  7831. speed=speed+0.01
  7832.  
  7833. end
  7834.  
  7835. if speed>5 then
  7836.  
  7837. speed=5
  7838.  
  7839. end
  7840.  
  7841. pos.position=new.p
  7842.  
  7843. if keys.w then
  7844.  
  7845. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  7846.  
  7847. elseif keys.s then
  7848.  
  7849. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  7850.  
  7851. else
  7852.  
  7853. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  7854.  
  7855. end
  7856.  
  7857. until not Fly
  7858.  
  7859. if gyro then gyro:Destroy() end
  7860.  
  7861. if pos then pos:Destroy() end
  7862.  
  7863. flying=false
  7864.  
  7865. localplayer.Character.Humanoid.PlatformStand=false
  7866.  
  7867. speed=0
  7868.  
  7869. end
  7870.  
  7871. e1=mouse.KeyDown:connect(function(key)
  7872.  
  7873. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  7874.  
  7875. if key=="w" then
  7876.  
  7877. keys.w=true
  7878.  
  7879. elseif key=="s" then
  7880.  
  7881. keys.s=true
  7882.  
  7883. elseif key=="a" then
  7884.  
  7885. keys.a=true
  7886.  
  7887. elseif key=="d" then
  7888.  
  7889. keys.d=true
  7890.  
  7891. end
  7892.  
  7893. end)
  7894.  
  7895. e2=mouse.KeyUp:connect(function(key)
  7896.  
  7897. if key=="w" then
  7898.  
  7899. keys.w=false
  7900.  
  7901. elseif key=="s" then
  7902.  
  7903. keys.s=false
  7904.  
  7905. elseif key=="a" then
  7906.  
  7907. keys.a=false
  7908.  
  7909. elseif key=="d" then
  7910.  
  7911. keys.d=false
  7912.  
  7913. end
  7914.  
  7915. end)
  7916.  
  7917. start()
  7918.  
  7919. end)
  7920.  
  7921. localwin:drawButton(1/2, 'Highjump', function()
  7922.  
  7923. local thrust = Instance.new("BodyVelocity")
  7924.  
  7925. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  7926.  
  7927. if i.KeyCode == Enum.KeyCode.Space then
  7928.  
  7929. print("Got jump")
  7930.  
  7931. coroutine.resume(coroutine.create(function()
  7932.  
  7933. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  7934.  
  7935. thrust.velocity = Vector3.new(0,50,0)
  7936.  
  7937. thrust.maxForce = Vector3.new(0,4e+050,0)
  7938.  
  7939. wait(0.2)
  7940.  
  7941. thrust.Parent = nil
  7942.  
  7943. end))
  7944.  
  7945. end
  7946.  
  7947. end)
  7948.  
  7949. end)
  7950.  
  7951. localwin:addSpacing()
  7952.  
  7953. localwin:drawButton(1/2, 'Freecam', function()
  7954.  
  7955. local cam = game.Workspace.CurrentCamera
  7956.  
  7957. cam.CameraType = "Fixed"
  7958.  
  7959. cam.CameraSubject = nil
  7960.  
  7961. lp.Character = nil
  7962.  
  7963. end)
  7964.  
  7965. localwin:drawButton(1/2, 'Nil Orb', function()
  7966.  
  7967. game.Players.LocalPlayer.Character = nil
  7968.  
  7969. --lp:Destroy()
  7970.  
  7971. local cam = game.Workspace.CurrentCamera
  7972.  
  7973. local m = Instance.new("Model", game.Workspace)
  7974.  
  7975. m.Name = game.Players.LocalPlayer.Name
  7976.  
  7977. local hum = Instance.new("Humanoid", m)
  7978.  
  7979. hum.Health = 0
  7980.  
  7981. hum.MaxHealth = 0
  7982.  
  7983. local orb = Instance.new("Part", m)
  7984.  
  7985. orb.Size = Vector3.new(1, 1, 1)
  7986.  
  7987. orb.Shape = "Ball"
  7988.  
  7989. orb.Name = "Head"
  7990.  
  7991. orb.Anchored = true
  7992.  
  7993. orb.CanCollide = true
  7994.  
  7995. orb.BottomSurface = Enum.SurfaceType.Smooth
  7996.  
  7997. orb.TopSurface = Enum.SurfaceType.Smooth
  7998.  
  7999. orb.Transparency = 0
  8000.  
  8001. cam.CameraSubject = orb
  8002.  
  8003. cam.CameraType = Enum.CameraType.Fixed
  8004.  
  8005. game:GetService("RunService").RenderStepped:connect(function()
  8006.  
  8007. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  8008.  
  8009. end)
  8010.  
  8011. game.Players.LocalPlayer.Chatted:connect(function(a)
  8012.  
  8013. game:GetService("Chat"):Chat(orb, a)
  8014.  
  8015. end)
  8016.  
  8017. end)
  8018.  
  8019. localwin:drawButton(1/2, 'God', function()
  8020.  
  8021. lp.Character.Humanoid.MaxHealth = math.huge
  8022.  
  8023. lp.Character.Humanoid.Health = math.huge
  8024.  
  8025. end)
  8026.  
  8027. localwin:drawButton(1/2, 'NoGrav', function()
  8028.  
  8029. if lp.Character then
  8030.  
  8031. for x,m in pairs(lp.Character:GetChildren()) do
  8032.  
  8033. if m:IsA("BasePart") then
  8034.  
  8035. local bf = Instance.new("BodyForce", m)
  8036.  
  8037. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  8038.  
  8039. end
  8040.  
  8041. if m:IsA("Hat") or m:IsA("Accessory") then
  8042.  
  8043. if m:findFirstChild("Handle") then
  8044.  
  8045. local bf = Instance.new("BodyForce", m.Handle)
  8046.  
  8047. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  8048.  
  8049. end
  8050.  
  8051. end
  8052.  
  8053. end
  8054.  
  8055. end
  8056.  
  8057. end)
  8058.  
  8059. localwin:drawButton(1/2, 'Rainbow Name', function()
  8060.  
  8061. lp.Neutral = false
  8062.  
  8063. repeat
  8064.  
  8065. wait()
  8066.  
  8067. lp.TeamColor = BrickColor.Random()
  8068.  
  8069. until not lp.Character.Humanoid
  8070.  
  8071. end)
  8072.  
  8073. localwin:drawButton(1/2, 'Random Fedora', function()
  8074.  
  8075. local hats={
  8076.  
  8077. 98346834,
  8078.  
  8079. 215751161,
  8080.  
  8081. 119916949,
  8082.  
  8083. 72082328,
  8084.  
  8085. 147180077,
  8086.  
  8087. 100929604,
  8088.  
  8089. 63043890,
  8090.  
  8091. 1285307,
  8092.  
  8093. 1029025,
  8094.  
  8095. 334663683,
  8096.  
  8097. 259423244
  8098.  
  8099. }
  8100.  
  8101. game:GetService("InsertService"):LoadAsset(hats[math.random(1,#hats)]):GetChildren()[1].Parent = lp.Character
  8102.  
  8103. end)
  8104.  
  8105. localwin:drawButton(1/2, 'Clear Appearance', function()
  8106.  
  8107. lp:ClearCharacterAppearance()
  8108.  
  8109. end)
  8110.  
  8111. localwin:drawButton(1/2, 'Disguise', function()
  8112.  
  8113. local p = lp.Character
  8114.  
  8115. if p:FindFirstChild("topkek") then
  8116.  
  8117. p.topkek:Destroy()
  8118.  
  8119. end
  8120.  
  8121. p.Name = ""
  8122.  
  8123. p.Head.Transparency = 1
  8124.  
  8125. local mo = Instance.new("Model", p)
  8126.  
  8127. mo.Name = ""
  8128.  
  8129. local hu = Instance.new("Humanoid", mo)
  8130.  
  8131. hu.Name = "distag"
  8132.  
  8133. hu.Health = 100
  8134.  
  8135. hu.MaxHealth = 100
  8136.  
  8137. local fh = p.Head:Clone()
  8138.  
  8139. fh.Parent = mo
  8140.  
  8141. fh.Transparency = 0
  8142.  
  8143. local we = Instance.new("Weld", fh)
  8144.  
  8145. we.Part0 = p.Head
  8146.  
  8147. we.Part1 = mo
  8148.  
  8149. lp:ClearCharacterAppearance()
  8150.  
  8151. pcall(function() p["Body Colors"]:Destroy() end)
  8152.  
  8153. Instance.new("BodyColors", p)
  8154.  
  8155. end)
  8156.  
  8157. localwin:drawButton(1, 'Dick Shooter', function()
  8158.  
  8159. topkek.libutil:dickShooter()
  8160.  
  8161. end)
  8162.  
  8163. localwin:addSpacing()
  8164.  
  8165. local hackerInp
  8166.  
  8167. localwin:drawButton(1/2, 'Set Tag', function()
  8168.  
  8169. local len = 10
  8170.  
  8171. local bb = Instance.new("BillboardGui")
  8172.  
  8173. bb.Parent = lp.Character.Head
  8174.  
  8175. bb.Adornee = lp.Character.Head
  8176.  
  8177. bb.AlwaysOnTop = true
  8178.  
  8179. bb.Enabled = true
  8180.  
  8181. bb.Size = UDim2.new(len, 0, 1.5, 0)
  8182.  
  8183. bb.Name = "tag"
  8184.  
  8185. bb.StudsOffset = Vector3.new(0, 3, 0)
  8186.  
  8187. --local fr = Instance.new("Frame")
  8188.  
  8189. --fr.Parent = bb
  8190.  
  8191. --fr.Size = UDim2.new(1, 0, 1, 0)
  8192.  
  8193. --fr.Style = Enum.FrameStyle.RobloxRound
  8194.  
  8195. local tl = Instance.new("TextLabel")
  8196.  
  8197. tl.Parent = bb
  8198.  
  8199. tl.Font = Enum.Font.Code
  8200.  
  8201. tl.BackgroundTransparency = 1
  8202.  
  8203. tl.TextScaled = true
  8204.  
  8205. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  8206.  
  8207. tl.Size = UDim2.new(1, 0, 1, 0)
  8208.  
  8209. tl.Text = hackerInp.Text
  8210.  
  8211. tl.Name = "trutag"
  8212.  
  8213. tl.Visible = true
  8214.  
  8215. tl.ZIndex = 2
  8216.  
  8217. end)
  8218.  
  8219. hackerInp = localwin:drawTextBox(1/2, 'Hacker')
  8220.  
  8221. --[[ scripts ]]--
  8222.  
  8223. -- excuse my disgusting code :v
  8224.  
  8225. local scriptwin = topkek.libgui:hookContainer(base['ScriptsContainer'])
  8226.  
  8227. local search = scriptwin:drawTextBox(1,'')
  8228.  
  8229. local origy = scriptwin:getDrawY()
  8230.  
  8231. scriptwin:addSpacing()
  8232.  
  8233. scriptwin:addSpacing()
  8234.  
  8235. local a = Instance.new("LocalScript");a.Name='script 1'
  8236.  
  8237. local b = Instance.new("LocalScript");b.Name='script 2'
  8238.  
  8239. local c = Instance.new("LocalScript");c.Name='script 3'
  8240.  
  8241. local scripts = {a,b,c}
  8242.  
  8243. local container = {}
  8244.  
  8245. function MakeList(condition)
  8246.  
  8247. for i,v in pairs(scriptwin:GetChildren()) do
  8248.  
  8249. if v.Name == "Script" then
  8250.  
  8251. v:Destroy()
  8252.  
  8253. end
  8254.  
  8255. end
  8256.  
  8257. scriptwin:setDrawY(origy)
  8258.  
  8259. for i, v in pairs(scripts) do
  8260.  
  8261. if string.find(v.Name, condition) or (condition == "") or (condition == " ") then
  8262.  
  8263. local scr = scriptwin:drawButton(1, v.Name, function()
  8264.  
  8265. print('no loadstring lol')
  8266.  
  8267. end, 25)
  8268.  
  8269. scr.Name = 'Script'
  8270.  
  8271. end
  8272.  
  8273. end
  8274.  
  8275. end
  8276.  
  8277. game:GetService("UserInputService").InputChanged:connect(function(inp)
  8278.  
  8279. if inp.UserInputType == Enum.UserInputType.TextInput then
  8280.  
  8281. if search:IsFocused() then
  8282.  
  8283. MakeList(search.Text)
  8284.  
  8285. end
  8286.  
  8287. end
  8288.  
  8289. end)
  8290.  
  8291. MakeList('')
  8292.  
  8293. --[[ misc main ]]--
  8294.  
  8295. local miscwin = topkek.libgui:hookContainer(base['MiscellaneousContainer'])
  8296.  
  8297. local scroll = miscwin:drawScrollingContainer(165)
  8298.  
  8299. scroll:center()
  8300.  
  8301. for i, v in pairs(topkek.libsettings:getSetting("misc")) do
  8302.  
  8303. scroll:drawButton(1, v, function()
  8304.  
  8305. topkek.libwindows:switchWindow(v .. 'Container', v)
  8306.  
  8307. end)
  8308.  
  8309. end
  8310.  
  8311. scroll.main.CanvasSize = scroll.main.CanvasSize - UDim2.new(0, 0, 0, 3)
  8312.  
  8313. --[[ initiation ]]--
  8314.  
  8315. topkek.libwindows:registerWindow(base['HomeContainer'])
  8316.  
  8317. topkek.libwindows:registerWindow(base['ServerContainer'])
  8318.  
  8319. topkek.libwindows:registerWindow(base['PlayersContainer'])
  8320.  
  8321. topkek.libwindows:registerWindow(base['LocalPlayerContainer'])
  8322.  
  8323. topkek.libwindows:registerWindow(base['ScriptsContainer'])
  8324.  
  8325. topkek.libwindows:registerWindow(base['MiscellaneousContainer'])
  8326.  
  8327. topkek.libwindows:initiateNavigator()
  8328.  
  8329. topkek.libwindows:initiateHome()
  8330. end)
  8331.  
  8332. TOPK3K40.Name = "TOPK3K 4.0"
  8333. TOPK3K40.Parent = CoolBypass
  8334. TOPK3K40.BackgroundColor3 = Color3.new(1, 1, 1)
  8335. TOPK3K40.Position = UDim2.new(0.852407217, 0, 0.309582293, 0)
  8336. TOPK3K40.Size = UDim2.new(0, 200, 0, 50)
  8337. TOPK3K40.Font = Enum.Font.SourceSans
  8338. TOPK3K40.Text = "TOPK3K 4.0"
  8339. TOPK3K40.TextColor3 = Color3.new(0, 0, 0)
  8340. TOPK3K40.TextSize = 14
  8341. TOPK3K40.MouseButton1Down:connect(function()
  8342. -- fixed for intriga by syndicate
  8343. local topkek = {}
  8344. topkek.patch = '1.0.5a'
  8345. topkek.data = {}
  8346. topkek.commandbase = {}
  8347. topkek.navigation = {}
  8348. topkek.banmgr = {}
  8349. topkek.lplr = game:GetService('Players').LocalPlayer
  8350.  
  8351. topkek.tools = {}
  8352. topkek.tools.gui = {}
  8353. topkek.tools.util = {}
  8354. topkek.tools.animator = {}
  8355.  
  8356. topkek.windows = {}
  8357. topkek.windows.lplr = {}
  8358. topkek.windows.server = {}
  8359. topkek.windows.players = {}
  8360. topkek.windows.destruction = {}
  8361. topkek.windows.scripts = {}
  8362. topkek.windows.misc = {}
  8363.  
  8364. topkek.misc = {}
  8365.  
  8366. topkek.gui = game:GetObjects("rbxassetid://678309209")[1]
  8367. topkek.gui.Parent = game:GetService("CoreGui")
  8368.  
  8369. topkek.center = topkek.gui.Main
  8370. topkek.holder = topkek.center.Holder
  8371. topkek.topbar = topkek.center.Topbar
  8372. topkek.template = topkek.holder.Template
  8373. topkek.navigator = topkek.center.Navigation
  8374.  
  8375. AllowHovers = false
  8376. PlayerChatHook, UpdateBanlist = nil
  8377. cmd = {}
  8378.  
  8379. --// data //--
  8380. topkek.data.windows = {
  8381. 'Home',
  8382. 'LocalPlayer',
  8383. 'Server',
  8384. 'Players',
  8385. 'Destruction',
  8386. 'Scripts',
  8387. 'Catalog',
  8388. 'Music',
  8389. 'Hats',
  8390. 'Faces',
  8391. 'Settings',
  8392. 'Commands',
  8393. 'Banlist',
  8394. }
  8395.  
  8396. color3 = function(r,g,b)
  8397. return Color3.new(r/255, g/255, b/255)
  8398. end
  8399. --// doggo dropdown //--
  8400. -- thanks krystal
  8401. GUI = {
  8402. TextBox = {
  8403. Settings = {
  8404. Font = Enum.Font.SourceSans;
  8405. FontSize = Enum.FontSize.Size14;
  8406. };
  8407. Color = {
  8408. Main = Color3.fromRGB(5,8,11);
  8409. Border = Color3.fromRGB(27,42,53);
  8410. Text = Color3.fromRGB(199,199,199);
  8411. };
  8412. New = function(Position, Size, Parent, ...)
  8413. local arguments = {...};
  8414.  
  8415. local TextBox = Instance.new("TextBox", Parent);
  8416. TextBox.BackgroundColor3 = GUI.DropDown.Color.Main;
  8417. TextBox.BorderColor3 = GUI.DropDown.Color.Border;
  8418. TextBox.Font = GUI.TextBox.Settings.Font;
  8419. TextBox.FontSize = GUI.TextBox.Settings.FontSize;
  8420. TextBox.TextColor3 = GUI.TextBox.Color.Text;
  8421. TextBox.Position = Position;
  8422. TextBox.Size = Size;
  8423. if #arguments then
  8424. if arguments[1] then
  8425. TextBox.Text = tostring(arguments[1]);
  8426. else
  8427. TextBox.Text = "";
  8428. end
  8429. end
  8430. return TextBox;
  8431. end;
  8432. };
  8433. DropDown = {
  8434. Settings = {
  8435. ScrollerAmount = 5; --A scroller will appear at this amount.
  8436. ScrollBarThickness = 6;
  8437. };
  8438. Gfx = {
  8439. Scroller = "rbxassetid://606572419";
  8440. };
  8441. Color = {
  8442. Main = color3(107, 36, 36);
  8443. Secondary = color3(113, 39, 39);
  8444. Border = color3(127, 44, 44);
  8445. Text = Color3.fromRGB(199,199,199);
  8446. };
  8447. New = function(Position, Size, Parent, ...)
  8448. local vValue = {};
  8449. local arguments = {...};
  8450. local vSelected = Instance.new("StringValue");
  8451. vSelected.Value = "nil";
  8452.  
  8453. if arguments then
  8454. if type(arguments) == "table" then
  8455. for i=1,#(arguments) do
  8456. if type(arguments[i]) == "table" then
  8457. for f=1,#(arguments[i]) do
  8458. table.insert(vValue, tostring((arguments[i])[f]));
  8459. end
  8460. else
  8461. table.insert(vValue, tostring(arguments[i]));
  8462. end
  8463. end
  8464. vSelected.Value = (vValue[1]);
  8465. end
  8466. end
  8467.  
  8468. local Main = Instance.new("TextButton", Parent);
  8469. Main.BackgroundColor3 = GUI.DropDown.Color.Main;
  8470. Main.BorderColor3 = GUI.DropDown.Color.Border;
  8471. Main.Position = Position;
  8472. Main.Size = Size;
  8473. Main.TextColor3 = GUI.DropDown.Color.Text;
  8474. Main.FontSize = Enum.FontSize.Size14;
  8475. Main.TextStrokeTransparency = 0.5;
  8476. Main.TextXAlignment = Enum.TextXAlignment.Left;
  8477. Main.Font = Enum.Font.SourceSans;
  8478. Main.Text = " "..tostring(vSelected.Value);
  8479. Main.ZIndex = 3
  8480.  
  8481. local Icon = Instance.new("TextLabel", Main);
  8482. Icon.SizeConstraint = Enum.SizeConstraint.RelativeYY;
  8483. Icon.BackgroundColor3 = GUI.DropDown.Color.Secondary;
  8484. Icon.BorderColor3 = GUI.DropDown.Color.Border;
  8485. Icon.Position = UDim2.new(1,-2,1,-2);
  8486. Icon.Size = UDim2.new(-1,4,-1,4);
  8487. Icon.TextColor3 = GUI.DropDown.Color.Text;
  8488. Icon.FontSize = Enum.FontSize.Size14;
  8489. Icon.TextStrokeTransparency = 0.5;
  8490. Icon.Font = Enum.Font.SourceSans;
  8491. Icon.Text = "V"
  8492. Icon.ZIndex = 4
  8493.  
  8494. local Holder, Search;
  8495. local ClearHolder = function()
  8496. if Holder then
  8497. Holder:ClearAllChildren();
  8498. Holder.Size = UDim2.new(1,0,0,0);
  8499. Holder.Visible = false;
  8500. if Search then
  8501. Search.Visible = false;
  8502. end
  8503. end
  8504. end;
  8505.  
  8506. local CreateButton;
  8507. local RefreshDropDown = function()
  8508. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  8509. if not Holder or not Holder:IsA("Frame") then
  8510. Holder = nil; Search = nil;
  8511. Holder = Instance.new("Frame",Main);
  8512. Holder.Size = UDim2.new(1,0,0,0);
  8513. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  8514. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  8515. Holder.Visible = false;
  8516. Holder.ZIndex = 3
  8517. end
  8518. elseif #vValue > (GUI.DropDown.Settings.ScrollerAmount) then
  8519. if not Holder or not Holder:IsA("ScrollingFrame") then
  8520. Holder = nil; Search = nil;
  8521. Search = GUI.TextBox.New(UDim2.new(0,0,0,0),UDim2.new(1,0,0,Main.AbsoluteSize.Y),Main);
  8522. Search.Visible = false;
  8523. Search.ZIndex = 4
  8524. Search.Changed:connect(function(p)
  8525. if p == "Text" then
  8526. CreateButton(Search.Text);
  8527. end
  8528. end)
  8529. Holder = Instance.new("ScrollingFrame",Main);
  8530. Holder.BackgroundColor3 = GUI.DropDown.Color.Main;
  8531. Holder.BorderColor3 = GUI.DropDown.Color.Border;
  8532. Holder.TopImage = GUI.DropDown.Gfx.Scroller;
  8533. Holder.MidImage = GUI.DropDown.Gfx.Scroller;
  8534. Holder.BottomImage = GUI.DropDown.Gfx.Scroller;
  8535. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * (GUI.DropDown.Settings.ScrollerAmount-1));
  8536. Holder.Position = UDim2.new(0,0,0,Main.AbsoluteSize.Y)
  8537. Holder.ScrollBarThickness = GUI.DropDown.Settings.ScrollBarThickness;
  8538. Holder.Visible = false;
  8539. Holder.ZIndex = 3;
  8540. end
  8541. end
  8542. if #vValue == 1 and vSelected.Value ~= vValue[1] then
  8543. vSelected.Value = vValue[1];
  8544. elseif #vValue == 0 then
  8545. vSelected.Value = "nil";
  8546. warn("Table amount is nil.");
  8547. end
  8548. Main.Text = " "..tostring(vSelected.Value);
  8549. --ClearHolder();
  8550. end;
  8551.  
  8552. local Debounce = false;
  8553. CreateButton = function(searches)
  8554. if Debounce == false then
  8555. Debounce = true;
  8556. ClearHolder()
  8557. Holder.Visible = true;
  8558. local Searched = 0;
  8559. if #vValue > 0 then
  8560. for i=1,#vValue do
  8561. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "") then
  8562. Searched = Searched + 1;
  8563. end
  8564. end
  8565. for i=1,#vValue do
  8566. if (searches ~= nil and string.find(string.lower(vValue[i]), string.lower(searches)) and searches ~= "" and Searched > 0) or searches == nil or searches == "" or Searched <= 0 then
  8567. local Select = Instance.new("TextButton", Holder);
  8568. Select.BackgroundColor3 = GUI.DropDown.Color.Main;
  8569. Select.BorderColor3 = GUI.DropDown.Color.Border;
  8570. Select.BackgroundTransparency = 1;
  8571. Select.BorderSizePixel = 0;
  8572. Select.Position = Position;
  8573. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  8574. Select.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y);
  8575. else
  8576. Select.Size = UDim2.new(1,-(GUI.DropDown.Settings.ScrollBarThickness),0,Main.AbsoluteSize.Y);
  8577. end
  8578. Select.Position = UDim2.new(0,0,0,(Main.AbsoluteSize.Y) * (#Holder:GetChildren() - 1))
  8579. Select.TextColor3 = GUI.DropDown.Color.Text;
  8580. Select.FontSize = Enum.FontSize.Size14;
  8581. Select.TextStrokeTransparency = 0.5;
  8582. Select.Font = Enum.Font.SourceSans;
  8583. Select.Text = tostring(vValue[i]);
  8584. Select.ZIndex = 3
  8585. Select.MouseButton1Click:connect(function()
  8586. vSelected.Value = vValue[i];
  8587. ClearHolder();
  8588. RefreshDropDown();
  8589. end)
  8590. if #vValue <= (GUI.DropDown.Settings.ScrollerAmount) then
  8591. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * i);
  8592. elseif Holder:IsA("ScrollingFrame") then
  8593. Search.Visible = true;
  8594. if #Holder:GetChildren() >= 1 then
  8595. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  8596. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());--GUI.DropDown.Settings.ScrollerAmount);
  8597. if #Holder:GetChildren() >= GUI.DropDown.Settings.ScrollerAmount then
  8598. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * GUI.DropDown.Settings.ScrollerAmount);
  8599. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * #Holder:GetChildren());
  8600. end
  8601. elseif #Holder:GetChildren() < 1 then
  8602. Holder.CanvasSize = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  8603. Holder.Size = UDim2.new(1,0,0,Main.AbsoluteSize.Y * 1);
  8604. end
  8605. end
  8606. end
  8607. end
  8608. end
  8609. Debounce = false;
  8610. end
  8611. end;
  8612.  
  8613. RefreshDropDown();
  8614.  
  8615. Main.MouseButton1Click:connect(function()
  8616. CreateButton()
  8617. if #vValue >= GUI.DropDown.Settings.ScrollerAmount and Search ~= nil then
  8618. Search:CaptureFocus();
  8619. Search.Text = "";
  8620. end
  8621. end)
  8622.  
  8623. topkek.lplr:GetMouse().Button1Down:connect(function()
  8624. ClearHolder()
  8625. end)
  8626.  
  8627. return {
  8628. Update = function()
  8629. RefreshDropDown();
  8630. end;
  8631. GetValue = function()
  8632. RefreshDropDown();
  8633. return vValue;
  8634. end;
  8635. GetSelected = function()
  8636. RefreshDropDown();
  8637. return vSelected.Value;
  8638. end;
  8639. SetTable = function(F)
  8640. vValue = F;
  8641. RefreshDropDown();
  8642. end;
  8643. Changed = function(F)
  8644. vSelected.Changed:connect(function()
  8645. ypcall(function()
  8646. F(vSelected.Value);
  8647. end)
  8648. end)
  8649. return "ChangedEvent Hooked";
  8650. end;
  8651. AddValue = function(obj)
  8652. local Type = type(obj);
  8653. if Type == "table" then
  8654. for i=1,#obj do
  8655. table.insert(vValue, obj[i])
  8656. end
  8657. elseif Type == "string" or Type == "number" or Type == "boolean" then
  8658. table.insert(vValue, obj)
  8659. end
  8660. RefreshDropDown();
  8661. end;
  8662. RemoveValue = function(obj)
  8663. local Type = type(obj);
  8664. if Type == "table" then
  8665. for i=1,#vValue do
  8666. for f=1,#obj do
  8667. if tostring(obj[f]) == tostring(vValue[i]) then
  8668. table.remove(vValue,i)
  8669. end
  8670. end
  8671. end
  8672. else
  8673. for i=1,#vValue do
  8674. if tostring(obj) == tostring(vValue[i]) then
  8675. table.remove(vValue,i)
  8676. end
  8677. end
  8678. end
  8679. RefreshDropDown();
  8680. end;
  8681. ClearValue = function()
  8682. vValue = {};
  8683. RefreshDropDown();
  8684. end;
  8685. }
  8686. end;
  8687. };
  8688. };
  8689. --// util //--
  8690. function topkek.tools.util.Object(o, p)
  8691. local a, b = pcall(function()
  8692. Instance.new(o)
  8693. end)
  8694. if not a then
  8695. return
  8696. end
  8697. local obj = Instance.new(o)
  8698. for prop, val in pairs(p) do
  8699. pcall(function()
  8700. obj[prop] = val
  8701. end)
  8702. end
  8703. return obj
  8704. end
  8705.  
  8706. function topkek.tools.util.getContainer(n)
  8707. if topkek.holder:FindFirstChild(n) then
  8708. return topkek.holder[n]
  8709. else
  8710. print("menu not found; returning template")
  8711. return topkek.holder['Template']
  8712. end
  8713. end
  8714.  
  8715. function topkek.tools.util.play(id)
  8716. local mu = Instance.new("Sound", game:GetService('Workspace'))
  8717. mu.Volume = 1
  8718. mu.Looped = true
  8719. mu.Pitch = 1
  8720. mu.SoundId = "rbxassetid://"..tostring(id)
  8721. mu:Play()
  8722. end
  8723.  
  8724. function topkek.tools.util.getTorso(plr) --r15 compatibility lole
  8725. if plr.Character then
  8726. if plr.Character:FindFirstChild('UpperTorso') then
  8727. return plr.Character.UpperTorso
  8728. elseif plr.Character:FindFirstChild('Torso') then
  8729. return plr.Character.Torso
  8730. else
  8731. return nil
  8732. end
  8733. end
  8734. end
  8735.  
  8736. function topkek.tools.util.recurseRemove(x,type_)
  8737. local function recurse(x)
  8738. for i, v in pairs(x:GetChildren()) do
  8739. pcall(function()
  8740. if v:IsA(type_) then
  8741. v:Destroy()
  8742. end
  8743. if #(v:GetChildren())>0 then
  8744. recurse(v)
  8745. end
  8746. end)
  8747. end
  8748. end
  8749. recurse(x)
  8750. end
  8751.  
  8752. function topkek.tools.util.recurseFunc(type_,func)
  8753. local function recurse(x)
  8754. for i, v in pairs(x:GetChildren()) do
  8755. pcall(function()
  8756. if v:IsA(type_) then
  8757. func(v)
  8758. end
  8759. if #(v:GetChildren())>0 then
  8760. recurse(v)
  8761. end
  8762. end)
  8763. end
  8764. end
  8765. recurse(game)
  8766. end
  8767. function topkek.tools.util.trowel()
  8768. local T = Instance.new('Tool', game.Players.LocalPlayer.Backpack)
  8769. T.Name = 'Custom Trowel'
  8770.  
  8771. local p = Instance.new('Part')
  8772. p.Name = 'Handle'
  8773. p.Size = Vector3.new(1,4.4,1)
  8774. p.Parent = T
  8775.  
  8776. local specialMesh = Instance.new('SpecialMesh')
  8777. specialMesh.MeshId = 'rbxasset://fonts/trowel.mesh'
  8778. specialMesh.MeshType = 'FileMesh'
  8779. specialMesh.TextureId = 'rbxasset://textures/TrowelTexture.png'
  8780. specialMesh.Parent = T.Handle
  8781.  
  8782. local sound = Instance.new'Sound'
  8783. sound.Name = 'build'
  8784. sound.SoundId = 'rbxasset://sounds//bass.wav'
  8785. sound.Volume = 1
  8786. sound.Parent = T.Handle
  8787.  
  8788. local brickHeight = 100
  8789. local trowelSpeed = 0.05
  8790. local brickWidth = 500
  8791. local mouseConnection
  8792.  
  8793. function newBrick(CF, P, color)
  8794. local brick = Instance.new('Part')
  8795. brick.BrickColor = color
  8796. brick.CFrame = CF * CFrame.new(P + brick.Size / 2)
  8797. brick.Parent = game.Workspace
  8798. brick:MakeJoints()
  8799. brick.Material = 'Neon'
  8800. brick.Name = 'DeleteMe'
  8801. return brick, P + brick.Size
  8802. end
  8803.  
  8804. function genBrick(cFrame)
  8805. local randBrickColor = BrickColor.Random()
  8806. assert(brickWidth > 0)
  8807.  
  8808. local yPos = 0
  8809.  
  8810. while yPos < brickHeight do
  8811. local vPos
  8812. local X = -brickWidth / 2
  8813. while X < brickWidth / 2 do
  8814. local brick
  8815. brick, vPos = newBrick(cFrame, Vector3.new(X, yPos, 0), randBrickColor)
  8816. X = vPos.x
  8817. wait(trowelSpeed)
  8818. end
  8819. yPos = vPos.y
  8820. end
  8821. end
  8822.  
  8823. function calcPos(vec)
  8824. if (math.abs(vec.x) > math.abs(vec.z)) then
  8825. if vec.x > 0 then
  8826. return Vector3.new(1, 0, 0)
  8827. else
  8828. return Vector3.new(-1, 0, 0)
  8829. end
  8830. else
  8831. if (vec.z > 0) then
  8832. return Vector3.new(0, 0, 1)
  8833. else
  8834. return Vector3.new(0, 0, -1)
  8835. end
  8836. end
  8837. end
  8838.  
  8839. T.Enabled = true
  8840.  
  8841. T.Activated:connect(function()
  8842. if T.Enabled and game.Players.LocalPlayer.Character:FindFirstChild('Humanoid') then
  8843. T.Enabled = false
  8844. T.Handle.build:Play()
  8845. genBrick(CFrame.new(game.Players.LocalPlayer.Character.Humanoid.TargetPoint, game.Players.LocalPlayer.Character.Humanoid.TargetPoint + calcPos((game.Players.LocalPlayer.Character.Humanoid.TargetPoint - game.Players.LocalPlayer.Character.Head.Position).unit)))
  8846. T.Enabled = true
  8847. end
  8848. end)
  8849.  
  8850. T.Equipped:connect(function()
  8851. mouseConnection = game.Players.LocalPlayer:GetMouse().KeyDown:connect(function(key)
  8852. if (key == 'r') then
  8853. for i,v in next, workspace:children'' do
  8854. if (v.Name == 'DeleteMe') then
  8855. v:Destroy()
  8856. end
  8857. end
  8858. end
  8859. end)
  8860. end)
  8861.  
  8862. T.Unequipped:connect(function()
  8863. mouseConnection:disconnect()
  8864. end)
  8865. end
  8866. function topkek.tools.util.recurseSet(type_,prop,val)
  8867. local function recurse(x)
  8868. for i, v in pairs(x:GetChildren()) do
  8869. pcall(function()
  8870. if v:IsA(type_) then
  8871. v[prop]=val
  8872. end
  8873. if #(v:GetChildren())>0 then
  8874. recurse(v)
  8875. end
  8876. end)
  8877. end
  8878. end
  8879. recurse(game)
  8880. end
  8881. function topkek.tools.util.recurseUltimate(d)
  8882. topkek.tools.util.recurseDecal(d)
  8883. topkek.tools.util.recurseParticles(d)
  8884. end
  8885. function topkek.tools.util.recurseDecal(img)
  8886. img = 'rbxassetid://' .. img
  8887. local function skybox(x)
  8888. local sky = Instance.new("Sky",game.Lighting)
  8889. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  8890. for i,v in pairs(fcs) do
  8891. sky["Skybox"..v]=x
  8892. end
  8893. end
  8894.  
  8895. local function decal(p, b)
  8896. local sides = {"Back", "Bottom", "Front", "Left", "Right", "Top"}
  8897. for i, v in pairs(sides) do
  8898. local a = Instance.new("Decal", p)
  8899. a.Texture = b
  8900. a.Face = v
  8901. end
  8902. end
  8903.  
  8904. local function recurse(x)
  8905. for i, v in pairs(x:GetChildren()) do
  8906. pcall(function() -- 'error occured, no output from Lua' LOLE
  8907. if v:IsA("BasePart") then
  8908. decal(v, img)
  8909. end
  8910. if #(v:GetChildren())>0 then
  8911. recurse(v)
  8912. end
  8913. end)
  8914. end
  8915. end
  8916.  
  8917. recurse(game)
  8918. skybox(img)
  8919. end
  8920. function topkek.tools.util.recurseParticles(img)--topkek2.0 code tbh
  8921. img = 'rbxassetid://' .. img
  8922. local function skybox(x)
  8923. local sky = Instance.new("Sky",game.Lighting)
  8924. local fcs={"Bk","Dn","Ft","Lf","Rt","Up"}
  8925. for i,v in pairs(fcs) do
  8926. sky["Skybox"..v]=x
  8927. end
  8928. end
  8929. local function particle(p, b)
  8930. local a = Instance.new("ParticleEmitter", p)
  8931. a.Rate = 500
  8932. a.Lifetime = NumberRange.new(20, 30)
  8933. a.VelocitySpread = 200
  8934. a.Texture = b
  8935. end
  8936.  
  8937. local function recurse(x)
  8938. for i, v in pairs(x:GetChildren()) do
  8939. pcall(function() -- 'error occured, no output from Lua' LOLE
  8940. if v:IsA("BasePart") then
  8941. particle(v, img)
  8942. end
  8943. if #(v:GetChildren())>0 then
  8944. recurse(v)
  8945. end
  8946. end)
  8947. end
  8948. end
  8949.  
  8950. recurse(game)
  8951. skybox(img)
  8952. end
  8953. function topkek.tools.util.recurseSetObj(obj,type_,prop,val)
  8954. local function recurse(x)
  8955. for i, v in pairs(x:GetChildren()) do
  8956. pcall(function()
  8957. if v:IsA(type_) then
  8958. v[prop]=val
  8959. end
  8960. if #(v:GetChildren())>0 then
  8961. recurse(v)
  8962. end
  8963. end)
  8964. end
  8965. end
  8966. recurse(obj)
  8967. end
  8968. function topkek.tools.util.doPlayers(cval, func)
  8969. local plrs = {}
  8970. if cval == 'All' then
  8971. plrs = game:GetService('Players'):GetPlayers()
  8972. else
  8973. plrs = {game:GetService('Players'):FindFirstChild(cval)}
  8974. end
  8975. for i, v in pairs(plrs) do
  8976. func(v)
  8977. end
  8978. end
  8979. function topkek.tools.util.scalePlayer(sc,plr)
  8980. local pchar = plr.Character
  8981. if pchar:FindFirstChild("UpperTorso") then
  8982. warn("Player [" ..plr.Name.. "] is R15.")
  8983. return
  8984. end
  8985. local function scale(chr,scl)
  8986.  
  8987. for _,v in pairs(pchar:GetChildren()) do
  8988. if v:IsA("Hat") then
  8989. v:Clone()
  8990. v.Parent = game.Lighting
  8991. end
  8992. end
  8993.  
  8994. local Head = chr['Head']
  8995. local Torso = chr['Torso']
  8996. local LA = chr['Left Arm']
  8997. local RA = chr['Right Arm']
  8998. local LL = chr['Left Leg']
  8999. local RL = chr['Right Leg']
  9000. local HRP = chr['HumanoidRootPart']
  9001.  
  9002. wait(0.1)
  9003.  
  9004. Head.formFactor = 3
  9005. Torso.formFactor = 3
  9006. LA.formFactor = 3
  9007. RA.formFactor = 3
  9008. LL.formFactor = 3
  9009. RL.formFactor = 3
  9010. HRP.formFactor = 3
  9011.  
  9012. Head.Size = Vector3.new(scl * 2, scl, scl)
  9013. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  9014. LA.Size = Vector3.new(scl, scl * 2, scl)
  9015. RA.Size = Vector3.new(scl, scl * 2, scl)
  9016. LL.Size = Vector3.new(scl, scl * 2, scl)
  9017. RL.Size = Vector3.new(scl, scl * 2, scl)
  9018. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  9019.  
  9020. local Motor1 = Instance.new('Motor6D', Torso)
  9021. Motor1.Part0 = Torso
  9022. Motor1.Part1 = Head
  9023. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  9024. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  9025. Motor1.Name = "Neck"
  9026.  
  9027. local Motor2 = Instance.new('Motor6D', Torso)
  9028. Motor2.Part0 = Torso
  9029. Motor2.Part1 = LA
  9030. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9031. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9032. Motor2.Name = "Left Shoulder"
  9033.  
  9034. local Motor3 = Instance.new('Motor6D', Torso)
  9035. Motor3.Part0 = Torso
  9036. Motor3.Part1 = RA
  9037. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9038. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9039. Motor3.Name = "Right Shoulder"
  9040.  
  9041. local Motor4 = Instance.new('Motor6D', Torso)
  9042. Motor4.Part0 = Torso
  9043. Motor4.Part1 = LL
  9044. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9045. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  9046. Motor4.Name = "Left Hip"
  9047.  
  9048. local Motor5 = Instance.new('Motor6D', Torso)
  9049. Motor5.Part0 = Torso
  9050. Motor5.Part1 = RL
  9051. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9052. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  9053. Motor5.Name = "Right Hip"
  9054.  
  9055. local Motor6 = Instance.new('Motor6D', HRP)
  9056. Motor6.Part0 = HRP
  9057. Motor6.Part1 = Torso
  9058. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  9059. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  9060.  
  9061. end
  9062.  
  9063. scale(pchar, sc)
  9064.  
  9065. for _,v in pairs(game.Lighting:GetChildren()) do
  9066. if v:IsA("Hat") then
  9067. v.Parent = pchar
  9068. end
  9069. end
  9070. end
  9071. function topkek.tools.util.applyFace(id)
  9072. local Char = topkek.lplr.Character
  9073. if(Char)then
  9074. local Type = id
  9075. local Meme=id
  9076. local BBG_SIZE=Char.Head.Size.X*1.25;
  9077. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  9078. local STUD_VECTOR_2=Char.Head.Size.Z;
  9079. local bbg=Char:FindFirstChild'BBGMEME'or Instance.new('BillboardGui',Char);
  9080. bbg.StudsOffset=Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  9081. bbg.Size=UDim2.new(BBG_SIZE,0,BBG_SIZE);
  9082. bbg.Adornee=Char.Head;
  9083. bbg.Name='BBGMEME';
  9084. local img=bbg:FindFirstChild'Meme'or Instance.new('ImageLabel',bbg);
  9085. img.BackgroundTransparency=1;
  9086. img.Image="rbxassetid://"..Meme;
  9087. img.Size=UDim2.new(1,0,1,0)
  9088. img.Name='Meme';
  9089. for i,v in next,Char:children()do
  9090. if(v.className=='Hat')then
  9091. v=v:FindFirstChild'Handle';
  9092. if(v)then
  9093. v.Transparency=0
  9094. end;
  9095. end;
  9096. end;
  9097. end;
  9098. end;
  9099. function topkek.tools.util.weenieHutJunior(plr)
  9100. plr=plr.Character
  9101. Shaft=Instance.new("Part", plr)
  9102. Shaft.Name='Shaft'
  9103. Shaft.Size=Vector3.new(1, 2.5, 1)
  9104. Shaft.TopSurface=0
  9105. Shaft.BottomSurface=0
  9106. Shaft.CanCollide=true
  9107. Cyln=Instance.new("CylinderMesh", Shaft)
  9108. Cyln.Scale=Vector3.new(0.5,0.7,0.5)
  9109. Instance.new("Weld", plr)
  9110. plr.Weld.Part0=plr:FindFirstChild("Torso") or plr:FindFirstChild("LowerTorso")
  9111. plr.Weld.Part1=plr.Shaft
  9112. plr.Weld.C0=CFrame.new(0,-0.35,-0.9)*CFrame.fromEulerAnglesXYZ(2.2,0,0)
  9113. Shaft.BrickColor=BrickColor.new("Pastel brown")
  9114. Tip=Instance.new("Part", plr)
  9115. Tip.Name='Tip'
  9116. Tip.TopSurface=0
  9117. Tip.BottomSurface=0
  9118. Tip.Size=Vector3.new(1, 1, 1)
  9119. Tip.CanCollide=true
  9120. Tip.Touched:connect(function(prt) if prt.Parent~=player then spawn(function() for i=1, 5 do local pert=Instance.new("Part", player) pert.CFrame=CFrame.new(prt.Position) pert.CanCollide=true local mesh=Instance.new("BlockMesh", pert) mesh.Scale=Vector3.new(0.2,0.2,0.2) pert.BrickColor=BrickColor.new("White") end end) end end)
  9121. Cyln2=Instance.new("SpecialMesh", Tip)
  9122. Cyln2.MeshType='Sphere'
  9123. Cyln2.Scale=Vector3.new(0.6,0.6,0.6)
  9124. Instance.new("Weld", plr).Name='Weld2'
  9125. plr.Weld2.Part0=plr.Shaft
  9126. plr.Weld2.Part1=plr.Tip
  9127. plr.Weld2.C0=CFrame.new(0,-.9,0)
  9128. Tip.BrickColor=BrickColor.new("Pink")
  9129. -----
  9130. Ball1=Instance.new("Part", plr)
  9131. Ball1.Name='Ball1'
  9132. Ball1.Size=Vector3.new(1, 1, 1)
  9133. Ball1.TopSurface=0
  9134. Ball1.BottomSurface=0
  9135. Cyln3=Instance.new("SpecialMesh", Ball1)
  9136. Cyln3.MeshType='Sphere'
  9137. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  9138. Instance.new("Weld", plr).Name='Weld3'
  9139. plr.Weld3.Part0=plr.Shaft
  9140. plr.Weld3.Part1=plr.Ball1
  9141. plr.Weld3.C0=CFrame.new(0.225,.4,0.2)
  9142. Ball1.BrickColor=BrickColor.new("Pastel brown")
  9143. -----
  9144. Ball2=Instance.new("Part", plr)
  9145. Ball2.Name='Ball2'
  9146. Ball2.Size=Vector3.new(1, 1, 1)
  9147. Ball2.TopSurface=0
  9148. Ball2.BottomSurface=0
  9149. Cyln3=Instance.new("SpecialMesh", Ball2)
  9150. Cyln3.MeshType='Sphere'
  9151. Cyln3.Scale=Vector3.new(0.4,0.4,0.4)
  9152. Instance.new("Weld", plr).Name='Weld4'
  9153. plr.Weld4.Part0=plr.Shaft
  9154. plr.Weld4.Part1=plr.Ball2
  9155. plr.Weld4.C0=CFrame.new(-0.225,.4,0.2)
  9156. Ball2.BrickColor=BrickColor.new("Pastel brown")
  9157. end
  9158. --// banmgr //--
  9159. topkek.banmgr.isPrivate = false
  9160. topkek.banmgr.whitelist = {}
  9161. topkek.banmgr.bans = {}
  9162. function topkek.banmgr.executeKick(z)
  9163. local function doKick()
  9164. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') and z.Character:FindFirstChild('Torso') then
  9165. z.Character.HumanoidRootPart.CFrame = CFrame.new(math.random(999000, 1001000), 1000000, 1000000)
  9166. local SP = Instance.new('SkateboardPlatform', z.Character) SP.Position = z.Character.HumanoidRootPart.Position SP.Transparency = 1
  9167. spawn(function()
  9168. repeat wait()
  9169. if z.Character and z.Character:FindFirstChild('HumanoidRootPart') then
  9170. SP.Position = z.Character.HumanoidRootPart.Position
  9171. end
  9172. until not game:GetService('Players'):FindFirstChild(z.Name)
  9173. end)
  9174. z.Character.Torso.Anchored = true
  9175. end
  9176. end
  9177. repeat
  9178. doKick()
  9179. wait()
  9180. until not z
  9181. end
  9182. function topkek.banmgr.loadFromFile()
  9183. -- todo: read file
  9184. topkek.settings.get()
  9185. topkek.banmgr.bans = topkek.settingsTable['Bans']
  9186. end
  9187. function topkek.banmgr.addHardBan(p)
  9188. -- todo: write file
  9189. table.insert(topkek.banmgr.bans, p.Name)
  9190. topkek.settings.get()
  9191. table.insert(topkek.settingsTable['Bans'], p.Name)
  9192. topkek.settings.write()
  9193. print("Hardbanned " .. p.Name)
  9194. UpdateBanlist()
  9195. topkek.banmgr.executeKick(p)
  9196. topkek.banmgr.loadFromFile()
  9197. end
  9198. function topkek.banmgr.addSoftBan(p)
  9199. table.insert(topkek.banmgr.bans, p.Name)
  9200. topkek.banmgr.executeKick(p)
  9201. end
  9202. function topkek.banmgr.plrBanned(p)
  9203. for x, m in pairs(topkek.banmgr.bans) do
  9204. if m == p.Name then
  9205. return true
  9206. end
  9207. end
  9208. return false
  9209. end
  9210. function topkek.banmgr.doWhitelist(p)
  9211. print(p .. " whitelisted")
  9212. table.insert(topkek.banmgr.whitelist, p)
  9213. end
  9214. function topkek.banmgr.unwhitelist(p)
  9215. for x, m in pairs(topkek.banmgr.whitelist) do
  9216. if m == p then
  9217. print(m .. " unwhitelisted")
  9218. table.remove(topkek.banmgr.whitelist, x)
  9219. if game:GetService('Players'):FindFirstChild(p) then
  9220. topkek.banmgr.executeKick(game:GetService('Players')[p])
  9221. end
  9222. end
  9223. end
  9224. end
  9225. function topkek.banmgr.plrWhitelisted(p)
  9226. for x, m in pairs(topkek.banmgr.whitelist) do
  9227. if m == p.Name then
  9228. return true
  9229. end
  9230. end
  9231. return false
  9232. end
  9233. function topkek.banmgr.makePrivate()
  9234. topkek.banmgr.isPrivate = true
  9235. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  9236. if not topkek.banmgr.plrWhitelisted(v) and v ~= topkek.lplr then
  9237. spawn(function()
  9238. topkek.banmgr.executeKick(v)
  9239. end)
  9240. end
  9241. end
  9242. end
  9243. function topkek.banmgr.unprivate()
  9244. topkek.banmgr.isPrivate = false
  9245. end
  9246. function topkek.banmgr.init()
  9247. topkek.banmgr.loadFromFile()
  9248. game:GetService('Players').PlayerAdded:connect(function(p)
  9249. if topkek.banmgr.plrBanned(p) or (topkek.banmgr.isPrivate and not topkek.banmgr.plrWhitelisted(p)) then
  9250. print("Player " .. p.Name .. " is banned (or private on)! Kicking now.")
  9251. topkek.banmgr.executeKick(p)
  9252. end
  9253. end)
  9254. end
  9255. --// settings //--
  9256. topkek.settings = {}
  9257. topkek.settingsTable = {}
  9258. function topkek.settings.write()
  9259. --writefile("testplzignore.lua", "", game:GetService('HttpService'):JSONEncode(topkek.settingsTable))
  9260. end
  9261. function topkek.settings.get()
  9262. if game.Players.LocalPlayer.Character then
  9263. print("No settings! Making new ...")
  9264. topkek.settingsTable = {
  9265. ['Bans'] = {
  9266.  
  9267. },
  9268. ['Themes'] = {
  9269. {Primary = {0,0,0}, Secondary = {0,0,0}, Tertiary = {0,0,0}}
  9270. };
  9271. }
  9272. topkek.settings.write()
  9273. return topkek.settingsTable
  9274. else
  9275. local lset = game:GetService('HttpService'):JSONDecode(set)
  9276. topkek.settingsTable = lset
  9277. return lset
  9278. end
  9279. end
  9280. --// shortcuts //--
  9281. tk = {}
  9282. tk.ob = topkek.tools.util.Object
  9283. tk.dp = topkek.tools.util.doPlayers
  9284. tk.rcm = topkek.tools.util.recurseRemove
  9285. tk.rcs = topkek.tools.util.recurseSet
  9286. tk.rcf = topkek.tools.util.recurseFunc
  9287. tk.rco = topkek.tools.util.recurseSetObj
  9288. tk.play = topkek.tools.util.play
  9289. tk.gt = topkek.tools.util.getTorso
  9290. --// gui //--
  9291. -- copying this from topkek3.0 because i'm
  9292. -- too lazy to rewrite my lib
  9293. topkek.tools.gui.seperation = 12
  9294. function topkek.tools.gui:addLeftIcon(parent, img, sz)
  9295. topkek.tools.util.Object('ImageLabel', {
  9296. Parent = parent;
  9297. BackgroundTransparency = 1;
  9298. Position = UDim2.new(0, 2, 0, 2);
  9299. Size = UDim2.new(0, sz, 0, sz);
  9300. Image = img;
  9301. })
  9302. end
  9303. function topkek.tools.gui:makeContainer(n)
  9304. local temp = topkek.template:Clone()
  9305. temp.Name = n
  9306. temp.Parent = topkek.holder
  9307. temp.Container.Visible = false
  9308. end
  9309. function topkek.tools.gui:hookContainer(o, ncan, sepr, stt)
  9310. if not o:IsA("ScrollingFrame") and (not ncan) then
  9311. return nil
  9312. elseif o:IsA("ScrollingFrame") then
  9313. o.CanvasSize = UDim2.new(0, 0, 0, 0)
  9314. end
  9315.  
  9316. local self = {}
  9317. self.main = o
  9318. self.drawX = 0
  9319. self.drawY = stt or topkek.tools.gui.seperation/2
  9320. self.drawHeight = 0
  9321. self.sepr = sepr or topkek.tools.gui.seperation
  9322.  
  9323. function self:drawButton(sz, txt, func, ysz, cbgd)
  9324. local xposOffset = 0
  9325. local xposScale = self.drawX
  9326. local xszOffset = 0
  9327. local xszScale = sz
  9328. if not (self.drawX == 0) then
  9329. xszOffset = -5
  9330. if sz + self.drawX > 0.998 then
  9331. xszOffset = -10
  9332. end
  9333. elseif sz == 1 then
  9334. local bzz = 4
  9335. if ncan then
  9336. bzz = 0
  9337. end
  9338. xszOffset = -(self.sepr) - bzz
  9339. xposOffset = self.sepr/2
  9340. else
  9341. xszOffset = -4 + -(self.sepr/2)
  9342. xposOffset = self.sepr/2
  9343. end
  9344. if not ysz then ysz = 20 end
  9345. local obj = topkek.tools.util.Object("TextButton", {
  9346. Parent = self.main;
  9347. BackgroundColor3 = cbgd or Color3.new(163/255, 57/255, 57/255);
  9348. BorderSizePixel = 0;
  9349. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  9350. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  9351. Font = 'SourceSans';
  9352. FontSize = 'Size14';
  9353. Text = txt;
  9354. TextSize = 14;
  9355. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  9356. })
  9357. obj.MouseButton1Down:connect(function()
  9358. spawn(func)
  9359. end)
  9360. if ysz > self.drawHeight then
  9361. self.drawHeight = ysz
  9362. end
  9363. self.drawX = self.drawX + sz
  9364. if self.drawX > 0.998 then
  9365. self.drawY = self.drawY + 3 + self.drawHeight
  9366. self.drawX = 0
  9367. self.drawHeight = 0
  9368. if (not ncan) then
  9369. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9370. end
  9371. end
  9372. return obj
  9373. end
  9374.  
  9375. function self:GetChildren()
  9376. return self.main:GetChildren()
  9377. end
  9378.  
  9379. function self:getDrawY()
  9380. return self.drawY
  9381. end
  9382.  
  9383. function self:setDrawY(y)
  9384. self.drawY = y
  9385. end
  9386.  
  9387. function self:drawTextBox(sz, txt, ysz, cbgd)
  9388. local xposOffset = 0
  9389. local xposScale = self.drawX
  9390. local xszOffset = 0
  9391. local xszScale = sz
  9392. if not (self.drawX == 0) then
  9393. xszOffset = -5
  9394. if sz + self.drawX > 0.998 then
  9395. xszOffset = -10
  9396. end
  9397. elseif sz == 1 then
  9398. xszOffset = -(self.sepr) - 5
  9399. xposOffset = self.sepr/2
  9400. else
  9401. xszOffset = -4 + -(self.sepr/2)
  9402. xposOffset = self.sepr/2
  9403. end
  9404. if not ysz then ysz = 20 end
  9405. local obj = topkek.tools.util.Object("TextBox", {
  9406. Parent = self.main;
  9407. BackgroundColor3 = cbgd or color3(153, 52, 52);
  9408. BorderSizePixel = 0;
  9409. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  9410. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  9411. Font = 'SourceSans';
  9412. FontSize = 'Size14';
  9413. Text = txt;
  9414. TextSize = 14;
  9415. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  9416. })
  9417. if ysz > self.drawHeight then
  9418. self.drawHeight = ysz
  9419. end
  9420. self.drawX = self.drawX + sz
  9421. if self.drawX > 0.998 then
  9422. self.drawY = self.drawY + 3 + self.drawHeight
  9423. self.drawX = 0
  9424. self.drawHeight = 0
  9425. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9426. end
  9427. return obj
  9428. end
  9429.  
  9430. function self:drawImage(sz, img, ysz)
  9431. local xposOffset = 0
  9432. local xposScale = self.drawX
  9433. local xszOffset = 0
  9434. local xszScale = sz
  9435. if not (self.drawX == 0) then
  9436. xszOffset = -5
  9437. if sz + self.drawX > 0.998 then
  9438. xszOffset = -12
  9439. end
  9440. elseif sz == 1 then
  9441. xszOffset = -(self.sepr) - 5
  9442. xposOffset = self.sepr/2
  9443. else
  9444. xszOffset = -5 + -(self.sepr/2)
  9445. xposOffset = self.sepr/2
  9446. end
  9447. if not ysz then ysz = 20 end
  9448. local obj = topkek.tools.util.Object("ImageLabel", {
  9449. Parent = self.main;
  9450. BackgroundTransparency = 1;
  9451. BorderColor3 = Color3.new(27, 42, 53);
  9452. BorderSizePixel = 0;
  9453. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  9454. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  9455. Image = img;
  9456. })
  9457. if ysz > self.drawHeight then
  9458. self.drawHeight = ysz
  9459. end
  9460. self.drawX = self.drawX + sz
  9461. if self.drawX > 0.998 then
  9462. self.drawY = self.drawY + 3 + self.drawHeight
  9463. self.drawX = 0
  9464. self.drawHeight = 0
  9465. if (not ncan) then
  9466. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9467. end
  9468. end
  9469. return obj
  9470. end
  9471.  
  9472. function self:drawText(sz, txt, ysz)
  9473. local xposOffset = 0
  9474. local xposScale = self.drawX
  9475. local xszOffset = 0
  9476. local xszScale = sz
  9477. if not (self.drawX == 0) then
  9478. xszOffset = -5
  9479. if sz + self.drawX > 0.998 then
  9480. xszOffset = -10
  9481. end
  9482. elseif sz == 1 then
  9483. local bzz = 5
  9484. if ncan then
  9485. bzz = 0
  9486. end
  9487. xszOffset = -(self.sepr) - bzz
  9488. xposOffset = self.sepr/2
  9489. else
  9490. xszOffset = -4 + -(self.sepr/2)
  9491. xposOffset = self.sepr/2
  9492. end
  9493. if not ysz then ysz = 20 end
  9494. local obj = topkek.tools.util.Object("TextLabel", {
  9495. Parent = self.main;
  9496. BackgroundColor3 = Color3.new(148/255, 51/255, 51/255);
  9497. BorderSizePixel = 0;
  9498. Position = UDim2.new(xposScale, xposOffset, 0, self.drawY);
  9499. Size = UDim2.new(xszScale, xszOffset, 0, ysz);
  9500. Font = 'SourceSans';
  9501. FontSize = 'Size14';
  9502. Text = txt;
  9503. TextSize = 14;
  9504. TextColor3 = Color3.new(199/255, 199/255, 199/255);
  9505.  
  9506. })
  9507. if ysz > self.drawHeight then
  9508. self.drawHeight = ysz
  9509. end
  9510. self.drawX = self.drawX + sz
  9511. if self.drawX > 0.998 then
  9512. self.drawY = self.drawY + 3 + self.drawHeight
  9513. self.drawX = 0
  9514. self.drawHeight = 0
  9515. if (not ncan) then
  9516. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9517. end
  9518. end
  9519. return obj
  9520. end
  9521.  
  9522.  
  9523. function self:drawScrollingContainer(ysz)
  9524. local sz = UDim2.new(1, -(self.sepr/2) - 11, 0, ysz)
  9525. local pos = UDim2.new(0, self.sepr/2, 0, self.drawY)
  9526. local obj = topkek.tools.util.Object("ScrollingFrame", {
  9527. Parent = self.main;
  9528. BackgroundColor3 = color3(117, 42, 42);
  9529. BorderSizePixel = 0;
  9530. Position = pos;
  9531. Size = sz;
  9532. BottomImage = 'rbxassetid://368504177';
  9533. MidImage = 'rbxassetid://368504177';
  9534. TopImage = 'rbxassetid://368504177';
  9535. ScrollBarThickness = 5;
  9536. })
  9537.  
  9538. self.drawY = self.drawY + 5 + ysz
  9539. self.drawX = 0
  9540. self.drawHeight = 0
  9541. if (not ncan) then
  9542. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9543. end
  9544. return topkek.tools.gui:hookContainer(obj, false, 10, 3)
  9545. end
  9546.  
  9547. function self:drawContainer(xsz, ysz, xz, tz, sep)
  9548. local sz = UDim2.new(xsz, -(self.sepr/2) - 11, 0, ysz)
  9549. local pos = UDim2.new(tz or 0, self.sepr/2, 0, self.drawY)
  9550. local obj = topkek.tools.util.Object("Frame", {
  9551. Parent = self.main;
  9552. BackgroundColor3 = color3(117, 42, 42);
  9553. BorderSizePixel = 0;
  9554. Position = pos;
  9555. Size = sz;
  9556. })
  9557. if not xz then
  9558. self.drawY = self.drawY + 5 + ysz
  9559. end
  9560. self.drawX = 0
  9561. self.drawHeight = 0
  9562. if (not ncan) then
  9563. self.main.CanvasSize = UDim2.new(0, 0, 0, self.drawY + 5)
  9564. end
  9565. return topkek.tools.gui:hookContainer(obj, sep or 12, 5)
  9566. end
  9567.  
  9568. function self:addSpacing()
  9569. self.drawY = self.drawY + 3
  9570. end
  9571.  
  9572. function self:center()
  9573. local a,c,b=
  9574. self.main.Position.X.Scale,
  9575. self.main.Position.X.Offset,self.main.Size.Y.Offset
  9576. self.main.Position=UDim2.new(a,c+2, 0.5, -(b/2))
  9577. end
  9578.  
  9579. return self
  9580. end
  9581.  
  9582. --//anim//--
  9583. topkek.tools.animator.animateTo = function(source, dest)
  9584. -- holder2holder:
  9585. -- invis holder
  9586. -- clone holder; vis
  9587. -- move holder to right
  9588. -- vis dest container
  9589. -- tween clone holder left
  9590. -- tween dest holder right
  9591. print("nav",source,dest)
  9592. topkek.holder.Visible = false
  9593. local hclone = topkek.holder:Clone()
  9594. hclone.Parent = topkek.center
  9595. hclone.Name = 'animclone'
  9596. hclone.Visible = true
  9597. topkek.holder.Position = UDim2.new(-1, 0, 0, 30)
  9598. source.Visible = false
  9599. dest.Visible = true
  9600. dest.Container.Visible = true
  9601. dest.Container.ZIndex = 1
  9602. dest.ZIndex = 1
  9603. topkek.holder.Visible = true
  9604. topkek.holder:TweenPosition(UDim2.new(0, 150, 0, 30), "Out", "Quad", 0.3)
  9605. hclone:TweenPosition(UDim2.new(1, 0, 0, 30), "Out", "Quad", 0.3)
  9606. wait(0.3)
  9607. end
  9608. topkek.tools.animator.initialAnimation = function()
  9609. -- initanim:
  9610. -- join both composites
  9611. -- delete composites; vis solid
  9612. -- tween solid to nav topbar
  9613. -- copy topbar plrname; move outside region
  9614. -- tween in clone topbar
  9615. -- delete clone and solid; vis topbar
  9616. -- tween down topbar
  9617. -- tween holder out
  9618. local function abspos(x)
  9619. return UDim2.new(0, x.AbsolutePosition.X, 0, x.AbsolutePosition.Y)
  9620. end
  9621. local function abssz(x)
  9622. return UDim2.new(0, x.AbsoluteSize.X, 0, x.AbsoluteSize.Y)
  9623. end
  9624. local holder = topkek.holder
  9625. local nav = topkek.navigator
  9626. local topnav = nav.Topbar
  9627. local topbar = topkek.topbar
  9628. local pname = topbar.PlayerName:Clone()
  9629. local solid = topkek.gui.Solid
  9630. topkek.center.Size = UDim2.new(0, 150, 0, 30)
  9631. topkek.gui.Composite1:TweenPosition(UDim2.new(0.5, -50, 0.5, -50), 'Out', 'Quad', 0.5)
  9632. topkek.gui.Composite2:TweenPosition(UDim2.new(0.5, 0, 0.5, -50), 'Out', 'Quad', 0.5)
  9633. wait(0.52)
  9634. solid.Visible = true
  9635. topkek.gui.Composite1:Destroy()
  9636. topkek.gui.Composite2:Destroy()
  9637. wait(3)
  9638. solid.Label:TweenPosition(UDim2.new(0, 0, 1.5, 0), 'Out', 'Quad', 0.5)
  9639. solid:TweenSizeAndPosition(abssz(topnav), abspos(topnav), 'Out', 'Linear', 0.6)
  9640. wait(0.52)
  9641. solid.Label:Destroy()
  9642. wait(0.12)
  9643. topkek.center.Visible = true
  9644. topnav.Visible = true
  9645. solid:Destroy()
  9646. pname.Position = UDim2.new(0, -170, 0, 0)
  9647. pname.Parent = topnav
  9648. pname.Visible = true
  9649. pname:TweenPosition(UDim2.new(0, 10, 0, 0), 'Out', 'Quad', 0.2)
  9650. wait(0.25)
  9651. topkek.center:TweenSize(UDim2.new(0, 150, 0, 395), 'Out', 'Quad', 0.3)
  9652. spawn(topkek.navigation.buildNavigator)
  9653. wait(0.35)
  9654. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'In', 'Quad', 0.3)
  9655. wait(0.35)
  9656. topbar.PlayerName.Visible = true
  9657. pname:Destroy()
  9658. AllowHovers = true
  9659. end
  9660. --//nav//--
  9661. topkek.navigation.currentContainer = topkek.tools.util.getContainer('Home')
  9662. topkek.navigation.windowState = 0
  9663. topkek.navigation.gotoContainer = function(cont)
  9664. topkek.tools.animator.animateTo(topkek.navigation.currentContainer, cont)
  9665. topkek.navigation.currentContainer = cont
  9666. end
  9667. topkek.navigation.buildNavigator = function()
  9668. local nav = topkek.navigator
  9669. local hook = topkek.tools.gui:hookContainer(nav.Scroll, false)
  9670. local btns = {}
  9671. for l, x in pairs(topkek.data.windows) do
  9672. local container = topkek.tools.util.getContainer(x)
  9673. local btn = hook:drawButton(1, x, function() topkek.navigation.gotoContainer(container) end, 25)
  9674. local ZPos = btn.Position
  9675. btn.Position = btn.Position - UDim2.new(0, 0, 0, 5)
  9676. btn:TweenPosition(ZPos, 'Out', 'Bounce', 0.2)
  9677. btn.LayoutOrder = l
  9678. btn.ZIndex = 4
  9679. local OPos = btn.Position
  9680. btn.MouseEnter:connect(function()
  9681. if AllowHovers == false then
  9682. return
  9683. end
  9684. for i, v in pairs(btns) do
  9685. if v[1] ~= btn then
  9686. v[1]:TweenPosition(v[2], 'Out', 'Quad', 0.1)
  9687. end
  9688. end
  9689. btn:TweenPosition(OPos + UDim2.new(0, 3, 0, 0), 'Out', 'Quad', 0.1)
  9690. end)
  9691. btn.MouseLeave:connect(function()
  9692. btn:TweenPosition(OPos, 'Out', 'Quad', 0.1)
  9693. end)
  9694. table.insert(btns, {btn, OPos})
  9695. wait()
  9696. end
  9697. end
  9698. topkek.navigation.buildTopbar = function()
  9699. local top = topkek.topbar
  9700. local FELabel = top.Controllers.IsFE
  9701. top.PlayerName.Text = topkek.lplr.Name
  9702. if game:GetService('Workspace').FilteringEnabled == true then
  9703. FELabel.Text = "FE Game"
  9704. FELabel.TextColor3 = BrickColor.new("Bright red").Color
  9705. else
  9706. FELabel.Text = "Not FE"
  9707. FELabel.TextColor3 = BrickColor.new("Bright green").Color
  9708. end
  9709. top.Controllers.Hide.MouseButton1Down:connect(function()
  9710. if topkek.navigation.windowState == 0 then
  9711. topkek.navigation.windowState = 1
  9712. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.2)
  9713. else
  9714. topkek.navigation.windowState = 0
  9715. topkek.center:TweenSize(UDim2.new(0, 470, 0, 395), 'Out', 'Quint', 0.2)
  9716. end
  9717. end)
  9718. top.Controllers.Exit.MouseButton1Down:connect(function()
  9719. topkek.center:TweenSize(UDim2.new(0, 470, 0, 30), 'Out', 'Quint', 0.3)
  9720. wait(0.31)
  9721. topkek.center:TweenSize(UDim2.new(0, 0, 0, 0), 'Out', 'Quint', 0.3)
  9722. PlayerChatHook:disconnect()
  9723. end)
  9724.  
  9725. end
  9726. topkek.navigation.initCommandBar = function()
  9727. DistributedCmdBar, cmd = topkek.holder.Command, {}
  9728. loadstring(game:GetObjects("rbxassetid://685510751")[1].Source)()
  9729. DistributedCmdBar.FocusLost:connect(function(e)
  9730. if e == true then
  9731. cmd.commands.run(DistributedCmdBar.Text)
  9732. DistributedCmdBar.Text = ''
  9733. end
  9734. end)
  9735.  
  9736. PlayerChatHook = cmd.players.PlayerChatted:connect(function (_, plr, msg, _)
  9737. if cmd.util.isadmin(plr.Name) then
  9738. if msg:sub(1,1) == cmd.prefix or msg:sub(1,1) == cmd.hidden then
  9739. cmd.commands.run(msg:sub(2, #msg))
  9740. end
  9741. end
  9742. end)
  9743. end
  9744. topkek.navigation.buildHomePage = function()
  9745. local count = 0
  9746. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  9747. local hook = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Home').Container, true)
  9748. hook:drawText(1, 'T0PK3K 4.0 ProtoSmasher Edition edited by bork')
  9749. hook:drawText(1, 'Patch version 1.0.5')
  9750. hook:drawText(1, 'Commandbase patch version 1.0.0')
  9751. hook:drawText(1, 'Number of commands: ' .. tostring(count))
  9752. local stime = hook:drawText(1, 'Server Time: 0')
  9753. spawn(function()
  9754. while true do
  9755. stime.Text = 'Server Time: ' .. tostring(game:GetService('Workspace').DistributedGameTime)
  9756. wait(0.5)
  9757. end
  9758. end)
  9759. local ssz = hook:drawText(1, 'Server Size: 0')
  9760. spawn(function()
  9761. while true do
  9762. ssz.Text = 'Server Size: ' .. tostring(game:GetService('Players').NumPlayers)
  9763. wait(0.5)
  9764. end
  9765. end)
  9766. local fe = game:GetService('Workspace').FilteringEnabled
  9767. hook:drawText(1, 'FilteringEnabled: ' .. (fe and "YES" or "NO"))
  9768. hook:drawText(1, 'PlaceId: ' .. tostring(game.PlaceId))
  9769. hook:drawText(1, 'same', 55)
  9770. end
  9771. topkek.navigation.buildContainers = function()
  9772. for _, v in pairs(topkek.data.windows) do
  9773. topkek.tools.gui:makeContainer(v)
  9774. end
  9775. end
  9776.  
  9777. topkek.navigation.initCommandBar()
  9778. topkek.navigation.buildContainers()
  9779. topkek.navigation.buildTopbar()
  9780. topkek.navigation.buildHomePage()
  9781. wait()
  9782.  
  9783.  
  9784. --// actual code below lole //--
  9785.  
  9786. --// PLAYERS //--
  9787. local plrwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Players').Container)
  9788. local search = plrwin:drawButton(1, '', function()end)
  9789. drop = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), search, {'All'})
  9790. function fixPlayerDrop()
  9791. local t = {'All'}
  9792. for i, v in pairs(game.Players:GetPlayers()) do
  9793. table.insert(t, v.Name)
  9794. end
  9795. drop.SetTable(t)
  9796. end
  9797. game.Players.PlayerAdded:connect(function()
  9798. fixPlayerDrop()
  9799. end)
  9800. game.Players.PlayerRemoving:connect(function()
  9801. fixPlayerDrop()
  9802. end)
  9803. plrFrame = plrwin:drawContainer(1, 100)
  9804. headshotContainer = plrFrame:drawContainer(0.4, 94, true)
  9805. headshotContainer:setDrawY(20)
  9806. headshot = headshotContainer:drawImage(1, "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png", 74)
  9807. headshotContainer:setDrawY(0)
  9808. userNameText = headshotContainer:drawText(1, "[All]")
  9809. userNameText.ClipsDescendants = true
  9810. userNameText.Font = Enum.Font.SourceSansBold
  9811. infoContainer = plrFrame:drawContainer(0.5, 94, true, 0.5)
  9812. infoContainer.BackgroundColor3 = color3(108, 38, 38)
  9813. userIdText = infoContainer:drawText(1, "ID: 0")
  9814. userAgeText = infoContainer:drawText(1, "Age: 0")
  9815. userTeamText = infoContainer:drawText(1, "Team: Neutral")
  9816. cval = 'All'
  9817. fixPlayerDrop()
  9818.  
  9819. function updatePlayer(plri)
  9820. local plr = game:GetService('Players'):FindFirstChild(plri)
  9821. if not plr and plri ~= 'All' then
  9822. print("Couldn't find player!")
  9823. updatePlayer(topkek.lplr)
  9824. else
  9825. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=1&width=420&height=420&format=png"
  9826. userNameText.Text = "[All]"
  9827. userIdText.Text = 'ID: [multiple]'
  9828. userAgeText.Text = 'Age: [multiple]'
  9829. userTeamText.Text = 'Team: [multiple]'
  9830. cval = 'All'
  9831. end
  9832. local team = plr.TeamColor
  9833. if team == nil then
  9834. team = 'Neutral'
  9835. else
  9836. team = tostring(team)
  9837. end
  9838. headshot.Image = "https://www.roblox.com/bust-thumbnail/image?userId=" .. tostring(plr.UserId) .. "&width=420&height=420&format=png"
  9839. userNameText.Text = plr.Name
  9840. userIdText.Text = 'ID: ' .. tostring(plr.UserId)
  9841. userAgeText.Text = 'Age: ' .. tostring(plr.AccountAge)
  9842. userTeamText.Text = 'Team: ' .. team
  9843. cval = plr.Name
  9844.  
  9845. end
  9846. drop.Changed(updatePlayer)
  9847. --actual code ------__-
  9848. plrwin:addSpacing()
  9849. plrwin:drawButton(1/2, 'Kick', function()
  9850. tk.dp(cval, function(p)
  9851. topkek.banmgr.executeKick(p)
  9852. end)
  9853. end)
  9854.  
  9855. plrwin:drawButton(1/2, 'Ban', function()
  9856. tk.dp(cval, function(p)
  9857. topkek.banmgr.addSoftBan(p)
  9858. end)
  9859. end)
  9860. plrwin:drawButton(1/2,'Friendlag', function()
  9861. tk.dp(cval, function(p)
  9862. for i = 1, 10 do
  9863. spawn(function()
  9864. while wait() do
  9865. game.Players.LocalPlayer:RequestFriendship(p)
  9866. game.Players.LocalPlayer:RevokeFriendship(p)
  9867. end
  9868. end)
  9869. end
  9870. end)
  9871. end)
  9872. plrwin:drawButton(1/2, 'Hardban', function()
  9873. tk.dp(cval, function(p)
  9874. topkek.banmgr.addHardBan(p)
  9875. end)
  9876. end)
  9877. plrwin:addSpacing()
  9878. plrwin:drawButton(1/2, 'Bring', function()
  9879. tk.dp(cval, function(z)
  9880. if z.Character then
  9881. z.Character.HumanoidRootPart.CFrame =
  9882. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  9883. end
  9884. end)
  9885. end)
  9886. plrwin:drawButton(1/2, 'Goto', function()
  9887. tk.dp(cval, function(z)
  9888. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame =
  9889. z.Character.HumanoidRootPart.CFrame * CFrame.new(1,1,1)
  9890. end)
  9891. end)
  9892. plrwin:addSpacing()
  9893. plrwin:drawButton(1/3, 'Kill', function()
  9894. tk.dp(cval, function(p)
  9895. if p.Character and p.Character:FindFirstChild("Humanoid") then
  9896. p.Character.Humanoid.Health = 0
  9897. end
  9898. end)
  9899. end)
  9900. plrwin:drawButton(1/3, 'Seizure', function()
  9901. tk.dp(cval, function(p)
  9902. if p.Character and p.Character:FindFirstChild("Humanoid") and tk.gt(p) then
  9903. spawn(function()
  9904. p.Character.Humanoid.PlatformStand = true
  9905. tk.gt(p).CFrame = tk.gt(p).CFrame * CFrame.Angles(math.rad(90),0,0)
  9906. repeat
  9907. wait()
  9908. p.Character.Humanoid.PlatformStand = true
  9909. tk.gt(p).Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10))
  9910. tk.gt(p).RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  9911. until not p.Character:FindFirstChild("Humanoid") or not tk.gt(p)
  9912. end)
  9913. end
  9914. end)
  9915. end)
  9916. plrwin:drawButton(1/3, 'Stun', function()
  9917. tk.dp(cval, function(p)
  9918. if p.Character and p.Character:FindFirstChild("Humanoid") then
  9919. p.Character.Humanoid.PlatformStand = true
  9920. p.Character.Torso.CFrame = p.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  9921. end
  9922. end)
  9923. end)
  9924. plrwin:drawButton(1/3, 'Freeze', function()
  9925. tk.dp(cval, function(p)
  9926. if p.Character then
  9927. tk.gt(p).Anchored = true
  9928. end
  9929. end)
  9930. end)
  9931. plrwin:drawButton(1/3, 'Thaw', function()
  9932. tk.dp(cval, function(p)
  9933. if p.Character then
  9934. tk.gt(p).Anchored = false
  9935. end
  9936. end)
  9937. end)
  9938. plrwin:drawButton(1/3, 'Superslow', function()
  9939. tk.dp(cval, function(p)
  9940. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9941. p.Character.Humanoid.WalkSpeed = 1
  9942. end
  9943. end)
  9944. end)
  9945. plrwin:drawButton(1/3, 'Highjump', function()
  9946. tk.dp(cval, function(p)
  9947. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9948. p.Character.Humanoid.JumpPower = 125
  9949. end
  9950. end)
  9951. end)
  9952. plrwin:drawButton(1/3, 'God', function()
  9953. tk.dp(cval, function(p)
  9954. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9955. p.Character.Humanoid.MaxHealth = math.huge
  9956. p.Character.Humanoid.Health = math.huge
  9957. end
  9958. end)
  9959. end)
  9960. plrwin:drawButton(1/3, 'Semigod', function()
  9961. tk.dp(cval, function(p)
  9962. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9963. p.Character.Humanoid.MaxHealth = 9e9
  9964. p.Character.Humanoid.Health = 9e9
  9965. end
  9966. end)
  9967. end)
  9968. plrwin:drawButton(1/3, 'Fast', function()
  9969. tk.dp(cval, function(p)
  9970. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9971. p.Character.Humanoid.WalkSpeed = 50
  9972. end
  9973. end)
  9974. end)
  9975. Follow = false;
  9976. plrwin:drawButton(1/3, 'Annoy', function()
  9977. tk.dp(cval, function(p)
  9978. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9979. if Follow == true then
  9980. Follow = false; return
  9981. else Follow = true end
  9982. while Follow == true do
  9983. game:service'Players'.LocalPlayer.Character.HumanoidRootPart.CFrame=
  9984. p.Character.HumanoidRootPart.CFrame
  9985. wait()
  9986. end
  9987. end
  9988. end)
  9989. end)
  9990. plrwin:drawButton(1/3, 'Freefall', function()
  9991. tk.dp(cval, function(p)
  9992. if p.Character and p.Character:FindFirstChild('Humanoid') then
  9993. p.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame * CFrame.new(0, 10000, 0)
  9994. end
  9995. end)
  9996. end)
  9997. plrwin:drawButton(1/3, 'Destroy', function()
  9998. tk.dp(cval, function(p)
  9999. if p.Character and p.Character:FindFirstChild('Humanoid') then
  10000. p.Character.Humanoid:Destroy()
  10001. end
  10002. end)
  10003. end)
  10004. plrwin:drawButton(1/3, 'Fix', function()
  10005. tk.dp(cval, function(p)
  10006. if p.Character and p.Character:FindFirstChild('Humanoid') then
  10007. p.Character.Humanoid.Health = 100
  10008. p.Character.Humanoid.MaxHealth = 100
  10009. p.Character.Humanoid.JumpPower = 100
  10010. p.Character.Humanoid.WalkSpeed = 16
  10011. p.Character.Humanoid.PlatformStand = false
  10012. p.Character.Humanoid.Jump = true
  10013. end
  10014. end)
  10015. end)
  10016. plrwin:drawButton(1/3, 'Respawn', function()
  10017. tk.dp(cval, function(p)
  10018. if p.Character then
  10019. local a1 = Instance.new("Model", game:service'Workspace')
  10020. local a2 = Instance.new("Part", game:service'Workspace')
  10021. a2.CanCollide = true
  10022. a2.Anchored = true
  10023. a2.CFrame = CFrame.new(10000, 10000, 10000)
  10024. a2.Name = "Torso"
  10025. local a3 = Instance.new("Humanoid", a1)
  10026. a3.MaxHealth=100;a3.Health=100
  10027. p.Character = a1
  10028. a3.Health=0
  10029. end
  10030. end)
  10031. end)
  10032. plrwin:addSpacing()
  10033. local nameInp
  10034. plrwin:drawButton(1/3, 'Name', function()
  10035. tk.dp(cval, function(z)
  10036. local Character = z.Character
  10037. local newName = Instance.new("Model", z.Character)
  10038. newName.Name = nameInp.Text
  10039. local cl = Character:WaitForChild("Head"):Clone()
  10040. cl.Parent = newName
  10041. cl:WaitForChild("face"):Destroy()
  10042. local hum = Instance.new("Humanoid", newName)
  10043. hum.Name = "NameTag"
  10044. hum.MaxHealth = 0
  10045. hum.Health = 0
  10046. local weld = Instance.new("Weld", cl)
  10047. weld.Part0 = cl
  10048. weld.Part1 = Character:WaitForChild("Head")
  10049. Character:WaitForChild("Head").Transparency = 1
  10050. wait(.5)
  10051. cl.BrickColor = Character:WaitForChild("Head").BrickColor
  10052. end)
  10053. end)
  10054. nameInp = plrwin:drawTextBox(2/3, '')
  10055. local chatInp
  10056. plrwin:drawButton(1/3, 'Chat', function()
  10057. tk.dp(cval, function(z)
  10058. game:GetService('Chat'):Chat(z.Charcter, chatInp.Text)
  10059. end)
  10060. end)
  10061. chatInp = plrwin:drawTextBox(2/3, '')
  10062. local disgInp
  10063. plrwin:drawButton(1/3, 'Disguise', function()
  10064. tk.dp(cval, function(p)
  10065. local id = 0
  10066. if tonumber(disgInp.Text) then
  10067. id = tonumber(disgInp.Text)
  10068. else
  10069. id = game:GetService('Players'):GetUserIdFromNameAsync(disgInp.Text)
  10070. end
  10071. if p.Character:FindFirstChild("Humanoid") then
  10072. p.Character.Humanoid.Health = 0
  10073. end
  10074. p.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  10075. end)
  10076. end)
  10077. disgInp = plrwin:drawTextBox(2/3, 'ROBLOX')
  10078. plrwin:addSpacing()
  10079. clrR = plrwin:drawTextBox(1/3, '0')
  10080. clrG = plrwin:drawTextBox(1/3, '0')
  10081. clrB = plrwin:drawTextBox(1/3, '0')
  10082. function getColor()
  10083. local r = tonumber(clrR.Text)
  10084. local g = tonumber(clrG.Text)
  10085. local b = tonumber(clrB.Text)
  10086. if not (r and g and b) then return Color3.new(0,0,0) end
  10087. return Color3.new(r/255, g/255, b/255)
  10088. end
  10089. plrwin:drawButton(1/3, 'Sparkles', function()
  10090. tk.dp(cval, function(z)
  10091. Instance.new("Sparkles", tk.gt(z)).SparkleColor = getColor()
  10092. end)
  10093. end)
  10094. plrwin:drawButton(1/3, 'Smoke', function()
  10095. tk.dp(cval, function(z)
  10096. Instance.new("Smoke", tk.gt(z)).Color = getColor()
  10097.  
  10098. end)
  10099. end)
  10100. plrwin:drawButton(1/3, 'Fire', function()
  10101. tk.dp(cval, function(z)
  10102. local fr = Instance.new("Fire", tk.gt(z))
  10103. fr.Color = getColor()
  10104. fr.Heat = 30
  10105. fr.Size = 20
  10106. end)
  10107. end)
  10108. plrwin:drawButton(1/3, 'Forcefield', function()
  10109. tk.dp(cval, function(z)
  10110. if z.Character then
  10111. Instance.new("ForceField", z.Character)
  10112. end
  10113. end)
  10114. end)
  10115. plrwin:drawButton(1/3, 'Select', function()
  10116. tk.dp(cval, function(z)
  10117. if z.Character and tk.gt(z) then
  10118. Instance.new("SelectionBox", tk.gt(z)).Adornee = tk.gt(z)
  10119. end
  10120. end)
  10121. end)
  10122. plrwin:drawButton(1/3, 'Sphere', function()
  10123. tk.dp(cval, function(z)
  10124. if z.Character and tk.gt(z) then
  10125. Instance.new("SelectionSphere", tk.gt(z)).Adornee = tk.gt(z)
  10126. end
  10127. end)
  10128. end)
  10129. plrwin:drawButton(1/3, 'Fling', function()
  10130. tk.dp(cval, function(z)
  10131. spawn(function() --kohls admin commands lol
  10132. if z.Character and tk.gt(z) then
  10133. local xran, zran
  10134. repeat xran = math.random(5555, 9999) until math.abs(xran) >= 5555
  10135. repeat zran = math.random(5555, 9999) until math.abs(zran) >= 5555
  10136. z.Character.Humanoid.Sit = true
  10137. tk.gt(z).Velocity = Vector3.new(0,0,0)
  10138. local frc = Instance.new("BodyForce", tk.gt(z))
  10139. frc.Name = "BFRC"
  10140. frc.force = Vector3.new(xran*4,9999*5,zran*4)
  10141. game:GetService("Debris"):AddItem(frc, 0.1)
  10142. end
  10143. end)
  10144. end)
  10145. end)
  10146. plrwin:drawButton(1/3, 'Explode', function()
  10147. tk.dp(cval, function(z)
  10148. if z.Character and tk.gt(z) then
  10149. local explosion = Instance.new("Explosion")
  10150. explosion.Position = tk.gt(z).Position
  10151. explosion.Parent = workspace
  10152. end
  10153. end)
  10154. end)
  10155. plrwin:drawButton(1/3, 'Nuke', function()
  10156. tk.dp(cval, function(z)
  10157. if z.Character and tk.gt(z) then
  10158. local torso = tk.gt(z)
  10159. local nuke = Instance.new("Part", game.Workspace)
  10160. local opos = torso.CFrame
  10161. nuke.BrickColor = BrickColor.new("Bright yellow")
  10162. nuke.TopSurface = Enum.SurfaceType.Smooth
  10163. nuke.BottomSurface = Enum.SurfaceType.Smooth
  10164. nuke.Anchored = true
  10165. nuke.CanCollide = false
  10166. nuke.Shape = "Ball"
  10167. nuke.Transparency = 0.5
  10168. nuke.CFrame = torso.CFrame
  10169. nuke.Size = Vector3.new(1, 1, 1)
  10170. nuke.Touched:connect(function(p)
  10171. local expl = Instance.new("Explosion", p)
  10172. expl.BlastPressure = 50000
  10173. expl.BlastRadius = 50
  10174. expl.Position = p.Position
  10175. p.Material = Enum.Material.CorrodedMetal
  10176. p:BreakJoints()
  10177. end)
  10178. for i = 1, 150 do
  10179. nuke.Size = Vector3.new(i, i, i)
  10180. nuke.CFrame = opos
  10181. wait(0.08)
  10182. end
  10183. nuke:Destroy()
  10184. end
  10185. end)
  10186. end)
  10187. plrwin:drawButton(1/3, 'No Tools', function()
  10188. tk.dp(cval, function(p)
  10189. for _, t in pairs(p.Backpack:GetChildren()) do
  10190. t:Destroy()
  10191. end
  10192. end)
  10193. end)
  10194. plrwin:drawButton(1/3, 'Take Tools', function()
  10195. tk.dp(cval, function(p)
  10196. for _, t in pairs(p.Backpack:GetChildren()) do
  10197. t.Parent = game:service'Players'.LocalPlayer.Backpack
  10198. end
  10199. end)
  10200. end)
  10201. plrwin:drawButton(1/3, 'BTools', function()
  10202. tk.dp(cval, function(p)
  10203. local a = Instance.new("HopperBin")
  10204. a.BinType = "GameTool"
  10205. a.Parent = p.Backpack
  10206. local a = Instance.new("HopperBin")
  10207. a.BinType = "Clone"
  10208. a.Parent = p.Backpack
  10209. local a = Instance.new("HopperBin")
  10210. a.BinType = "Hammer"
  10211. a.Parent = p.Backpack
  10212. end)
  10213. end)
  10214. plrwin:drawButton(1/3, 'Hotdog', function()
  10215. tk.dp(cval, function(p)
  10216. if p.Character and tk.gt(p) then
  10217. topkek.tools.util.weenieHutJunior(p)
  10218. end
  10219. end)
  10220. end)
  10221. plrwin:drawButton(1/3, 'Quicksand', function()
  10222. tk.dp(cval, function(z)
  10223. if z.Character and z.Character:FindFirstChild("Humanoid") then
  10224. local tor = tk.gt(z)
  10225. local hole = Instance.new("Part", z.Character)
  10226. hole.Anchored = true
  10227. hole.Name = "Hole"
  10228. hole.FormFactor = Enum.FormFactor.Custom
  10229. hole.Size = Vector3.new(7, 1, 7)
  10230. hole.CanCollide = false
  10231. hole.CFrame = tor.CFrame * CFrame.new(0,-3.3,0)
  10232. hole.BrickColor = BrickColor.new("Cool yellow")
  10233. hole.Material = Enum.Material.Sand
  10234. local hm = Instance.new("CylinderMesh", hole)
  10235. tor.Anchored = true
  10236. if z.Character:FindFirstChild("Humanoid") then
  10237. z.Character.Humanoid.Jump = true
  10238. end
  10239. for x,m in pairs(z.Character:GetChildren()) do
  10240. if m:IsA("BasePart") or m:IsA("MeshPart") then
  10241. m.CanCollide = false
  10242. end
  10243. end
  10244. for i=1,75 do
  10245. tor.CFrame=tor.CFrame*CFrame.new(0,-0.1,0)
  10246. wait(0.06)
  10247. end
  10248. tor.CFrame=tor.CFrame*CFrame.new(0,
  10249. -500,0
  10250. )
  10251. z.Character.Humanoid.Health = 0
  10252. end
  10253. end)
  10254. end)
  10255. plrwin:drawButton(1/3, 'Insane', function()
  10256. tk.dp(cval, function(p)
  10257. if p.Character and tk.gt(p) then
  10258. for i,v in pairs(tk.gt(p):GetChildren()) do
  10259. if v:IsA("Motor6D") then
  10260. spawn(function()
  10261. while v do
  10262. v.C0=v.C0*CFrame.Angles(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  10263. wait()
  10264. end
  10265. end)
  10266. end
  10267. end
  10268. end
  10269. end)
  10270. end)
  10271. plrwin:drawButton(1/3, 'Invisible', function()
  10272. tk.dp(cval, function(p)
  10273. tk.rco(p.Character, 'BasePart', 'Transparency', 1)
  10274. tk.rco(p.Character, 'MeshPart', 'Transparency', 1)
  10275. end)
  10276. end)
  10277. plrwin:drawButton(1/3, 'Visible', function()
  10278. tk.dp(cval, function(p)
  10279. tk.rco(p.Character, 'BasePart', 'Transparency', 0)
  10280. tk.rco(p.Character, 'MeshPart', 'Transparency', 0)
  10281. end)
  10282. end)
  10283. plrwin:drawButton(1/3, 'Bighead', function()
  10284. tk.dp(cval, function(z)
  10285. if z.Character then
  10286. if z.Character:FindFirstChild('Head') then
  10287. z.Character.Head.Mesh.Scale=Vector3.new(5,5,5)
  10288. end
  10289. end
  10290. end)
  10291. end)
  10292. plrwin:drawButton(1/3, 'Goldify', function()
  10293. tk.dp(cval, function(z)
  10294. if z.Character then
  10295. tk.rco(z.Character, 'BasePart', 'Material', 'Marble')
  10296. tk.rco(z.Character, 'MeshPart', 'Material', 'Marble')
  10297. tk.rco(z.Character, 'BasePart', 'BrickColor', BrickColor.new('Bright yellow'))
  10298. tk.rco(z.Character, 'MeshPart', 'BrickColor', BrickColor.new('Bright yellow'))
  10299. end
  10300. end)
  10301. end)
  10302. plrwin:drawButton(1/3, 'Neon', function()
  10303. tk.dp(cval, function(z)
  10304. if z.Character then
  10305. tk.rco(z.Character, 'BasePart', 'Material', 'Neon')
  10306. tk.rco(z.Character, 'MeshPart', 'Material', 'Neon')
  10307. end
  10308. end)
  10309. end)
  10310. plrwin:drawButton(1/3, 'Shiny', function()
  10311. tk.dp(cval, function(z)
  10312. if z.Character then
  10313. tk.rco(z.Character, 'BasePart', 'Reflectance', 1)
  10314. tk.rcm(z.Character, 'MeshPart')
  10315. end
  10316. end)
  10317. end)
  10318. plrwin:drawButton(1/3, 'Shrek', function()
  10319. tk.dp(cval, function(z)
  10320. if z.Character then
  10321. local pchar = z.Character
  10322. for i,v in pairs(pchar:GetChildren()) do
  10323. if v:IsA("Hat") or v:IsA("Accessory") or v:IsA("CharacterMesh") or v:IsA("Shirt") or v:IsA("Pants") then
  10324. v:Destroy()
  10325. end
  10326. end
  10327. for i,v in pairs(pchar.Head:GetChildren()) do
  10328. if v:IsA("Decal") or v:IsA("SpecialMesh") then
  10329. v:Destroy()
  10330. end
  10331. end
  10332.  
  10333. local mesh = Instance.new("SpecialMesh", pchar.Head)
  10334. mesh.MeshType = "FileMesh"
  10335. pchar.Head.Mesh.MeshId = "http://www.roblox.com/asset/?id=19999257"
  10336. pchar.Head.Mesh.Offset = Vector3.new(-0.1, 0.1, 0)
  10337. pchar.Head.Mesh.TextureId = "http://www.roblox.com/asset/?id=156397869"
  10338.  
  10339. local Shirt = Instance.new("Shirt", z.Character)
  10340. local Pants = Instance.new("Pants", z.Character)
  10341.  
  10342. Shirt.ShirtTemplate = "rbxassetid://133078194"
  10343. Pants.PantsTemplate = "rbxassetid://133078204"
  10344. end
  10345. end)
  10346. end)
  10347. plrwin:drawButton(1/3, 'Duck', function()
  10348. tk.dp(cval, function(z)
  10349. if z.Character then
  10350. local pchar = z.Character
  10351. for i,v in pairs(pchar:GetChildren()) do
  10352. if v:IsA("Hat") or v:IsA("Accessory") then
  10353. v:Destroy()
  10354. end
  10355. end
  10356. local duck = Instance.new("SpecialMesh", z.Character.HumanoidRootPart)
  10357. duck.MeshType = "FileMesh"
  10358. duck.MeshId = "http://www.roblox.com/asset/?id=9419831"
  10359. duck.TextureId = "http://www.roblox.com/asset/?id=9419827"
  10360. duck.Scale = Vector3.new(5, 5, 5)
  10361. tk.rco(z.Character, 'Instance', 'Transparency', 1)
  10362. z.Character.HumanoidRootPart.Transparency = 0
  10363. end
  10364. end)
  10365. end)
  10366. plrwin:drawButton(1/3, 'Spheres', function()
  10367. tk.dp(cval, function(z)
  10368. if z.Character then
  10369. tk.rco(z.Character, 'BasePart', 'Shape', 'Cylinder')
  10370. end
  10371. end)
  10372. end)
  10373. plrwin:drawButton(1/3, 'Big', function()
  10374. tk.dp(cval, function(z)
  10375. if z.Character then
  10376. topkek.tools.util.scalePlayer(5, z)
  10377. end
  10378. end)
  10379. end)
  10380. plrwin:drawButton(1/3, 'Small', function()
  10381. tk.dp(cval, function(z)
  10382. if z.Character then
  10383. topkek.tools.util.scalePlayer(5, z)
  10384. end
  10385. end)
  10386. end)
  10387. plrwin:drawButton(1/3, 'Giraffe', function()
  10388. tk.dp(cval, function(z)
  10389. if z.Character then
  10390. local char=z.Character
  10391. local h=char.Head
  10392. local tor=char:FindFirstChild("Torso")
  10393. if not tor then return end
  10394. tor.Neck.C0=tor.Neck.C0*CFrame.new(0,0,5)
  10395. local fn=Instance.new("Part",char)
  10396. fn.Size=Vector3.new(1,5.5,1)
  10397. fn.Name="FakeNeck"
  10398. fn.Anchored=false
  10399. fn.CanCollide=false
  10400. if char:FindFirstChild("Body Colors") then
  10401. fn.BrickColor=char["Body Colors"].HeadColor
  10402. end
  10403. local cm=Instance.new("CylinderMesh",fn)
  10404. local we=Instance.new("Weld",h)
  10405. we.Part0=h
  10406. we.Part1=fn
  10407. we.C1=we.C1*CFrame.new(0,2.6,0)
  10408. end
  10409. end)
  10410. end)
  10411. plrwin:drawButton(1/3, 'Dab', function()
  10412. tk.dp(cval, function(z)
  10413. if z.Character and z.Character:FindFirstChild("Torso") then
  10414. local chr = z.Character
  10415. chr.Animate.Disabled = true
  10416. chr.Torso["Left Shoulder"].C1 = CFrame.new(0, 0.699999988, 0, 0.939692616, 0, -0.342020124, -0.330366075, -0.258819044, -0.907673359, -0.0885213241, 0.965925813, -0.243210346)
  10417. chr.Torso["Right Shoulder"].C1 = CFrame.new(-0.600000024, 0.5, -0.200000003, 0.664462984, 0.241844743, 0.707106769, -0.664462984, -0.241844788, 0.707106769, 0.342020154, -0.939692616, -3.09086197e-008)
  10418. chr.Torso["Neck"].C1 = CFrame.new(0, -0.600000024, 0, -0.866025388, 0.5, 0, -0.171010137, -0.29619807, 0.939692616, 0.469846278, 0.813797653, 0.342020124)
  10419. end
  10420. end)
  10421. end)
  10422. plrwin:drawButton(1/3, 'Force Follow', function()
  10423. tk.dp(cval, function(z)
  10424. game:GetService("RunService"):BindToRenderStep("_", 0, function()
  10425. z.Character.Humanoid:MoveTo(topkek.lplr.Character.Head.Position)
  10426. end)
  10427. end)
  10428. end)
  10429. plrwin:drawButton(1/3, 'Camlock', function()
  10430. tk.dp(cval, function(z)
  10431. z.CameraMode = "LockFirstPerson"
  10432. end)
  10433. end)
  10434. --// SERVER //--
  10435. local servwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Server').Container)
  10436. local detailWin = servwin:drawContainer(1, 100, nil, nil, 18)
  10437. detailWin:drawText(1, 'Job ID: ' .. (game.JobId and (game.JobId ~= "") or "???"))
  10438. detailWin:drawText(1, 'Game Name: ' .. game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name)
  10439. detailWin:drawText(1, 'Creator Name: ' .. game:GetService('Players'):GetNameFromUserIdAsync(game.CreatorId))
  10440. detailWin:drawText(1, 'Genre: ' .. tostring(game.Genre))
  10441. servwin:drawButton(1/2, 'Shutdown', function()
  10442. workspace.Gravity = 0/0
  10443. end)
  10444. servwin:drawButton(1/2, 'Clear', function()
  10445. for i,v in pairs(game:service'Workspace':GetChildren()) do
  10446. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  10447. v:Destroy()
  10448. end
  10449. end
  10450. end)
  10451. servwin:drawButton(1/2, 'Baseplate', function()
  10452. for X = -2500, 2500, 512 do
  10453. for Z = -2500, 2500, 512 do
  10454. local P = Instance.new("Part")
  10455. P.Anchored = true
  10456. P.Locked = true
  10457. P.Size = Vector3.new(512,3,512)
  10458. P.CFrame = CFrame.new(X,0,Z)
  10459. P.BrickColor = BrickColor.Green()
  10460. P.Parent = game:service'Workspace'
  10461. end
  10462. end
  10463. end)
  10464. servwin:drawButton(1/2, 'Reset', function()
  10465. for i,v in pairs(game:service'Workspace':GetChildren()) do
  10466. if (not v:IsA("Terrain"))and(v.Name~="Camera") then
  10467. v:Destroy()
  10468. end
  10469. end
  10470. for X = -2500, 2500, 512 do
  10471. for Z = -2500, 2500, 512 do
  10472. local P = Instance.new("Part")
  10473. P.Anchored = true
  10474. P.Locked = true
  10475. P.Size = Vector3.new(512,3,512)
  10476. P.CFrame = CFrame.new(X,0,Z)
  10477. P.BrickColor = BrickColor.Green()
  10478. P.Parent = game:service'Workspace'
  10479. end
  10480. end
  10481. for i, v in pairs(game:GetService('Players'):GetPlayers()) do
  10482. local a1 = Instance.new("Model", game:service'Workspace')
  10483. local a2 = Instance.new("Part", game:service'Workspace')
  10484. a2.CanCollide = true
  10485. a2.Anchored = true
  10486. a2.CFrame = CFrame.new(10000, 10000, 10000)
  10487. a2.Name = "Torso"
  10488. local a3 = Instance.new("Humanoid", a1)
  10489. a3.MaxHealth=100;a3.Health=100
  10490. v.Character = a1
  10491. a3.Health=0
  10492. end
  10493. end)
  10494. servwin:drawButton(1, 'Remove Sounds', function()
  10495. tk.rcm(game, 'Sound')
  10496. end)
  10497. servwin:addSpacing()
  10498. servwin:drawButton(1, 'Break All', function()
  10499. workspace:BreakJoints(workspace:GetChildren())
  10500. end)
  10501. local gravInp
  10502. servwin:drawButton(1/3, 'Gravity', function()
  10503. if not tonumber(gravInp.Text) then return end
  10504. workspace.Gravity = tonumber(gravInp.Text)
  10505. end)
  10506. gravInp = servwin:drawTextBox(2/3, '')
  10507. servwin:addSpacing()
  10508. servwin:drawButton(1, 'Reset Lighting', function()
  10509. local l = game:service'Lighting'
  10510. l.Ambient = Color3.new(0, 0, 0)
  10511. l.Brightness = 1
  10512. l.GlobalShadows = true
  10513. l.Outlines = true
  10514. l.FogEnd = 100000
  10515. l.FogStart = 0
  10516. l:SetMinutesAfterMidnight(12*60)
  10517. end)
  10518. local brightInp
  10519. servwin:drawButton(1/3, 'Brightness', function()
  10520. if not tonumber(brightInp.Text) then return end
  10521. game:GetService('Lighting').Brightness = tonumber(brightInp.Text)
  10522. end)
  10523. brightInp = servwin:drawTextBox(2/3, '100')
  10524. local fogInp
  10525. servwin:drawButton(1/3, 'Fog', function()
  10526. if not tonumber(fogInp.Text) then return end
  10527. game:GetService('Lighting').FogEnd = tonumber(fogInp.Text)
  10528. end)
  10529. fogInp = servwin:drawTextBox(2/3, '0')
  10530. local timeInp
  10531. servwin:drawButton(1/3, 'Hour', function()
  10532. if not tonumber(timeInp.Text) then return end
  10533. game:GetService('Lighting'):SetMinutesAfterMidnight(60*tonumber(timeInp.Text))
  10534. end)
  10535. timeInp = servwin:drawTextBox(2/3, '12')
  10536. servwin:addSpacing()
  10537. -- private server crap
  10538. local privateToggle
  10539. local privStatus = false
  10540. privateToggle = servwin:drawButton(1, 'Private Server OFF', function()
  10541. if privStatus == false then
  10542. privStatus = true
  10543. privateToggle.Text = 'Private Server ON'
  10544. topkek.banmgr.makePrivate()
  10545. else
  10546. privateToggle.Text = 'Private Server OFF'
  10547. topkek.banmgr.unprivate()
  10548. end
  10549. end)
  10550. servwin:addSpacing()
  10551. servwin:drawText(1, 'Whitelist')
  10552. local plrAddInp
  10553. servwin:drawButton(1/3, 'Add', function()
  10554. topkek.banmgr.doWhitelist(plrAddInp.Text)
  10555. ReorderWL()
  10556. end)
  10557. plrAddInp = servwin:drawTextBox(2/3, '')
  10558. wlCont = servwin:drawScrollingContainer(100)
  10559. function ReorderWL()
  10560. local wl = topkek.banmgr.whitelist
  10561. for i,v in pairs(wlCont:GetChildren()) do
  10562. v:Destroy()
  10563. end
  10564. wlCont:setDrawY(3)
  10565. for i,v in pairs(wl) do
  10566. wlCont:drawText(2/3, v)
  10567. wlCont:drawButton(1/3, 'Remove', function()
  10568. topkek.banmgr.unwhitelist(v)
  10569. ReorderWL()
  10570. end)
  10571. end
  10572. end
  10573. ReorderWL()
  10574. --// LOCALPLAYER //--
  10575. local lpwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('LocalPlayer').Container)
  10576. lpwin:drawButton(1, 'Reset Camera', function()
  10577. game.Workspace.CurrentCamera:remove()
  10578. wait(.1)
  10579. game.Workspace.CurrentCamera.CameraSubject = topkek.lplr.Character.Humanoid or
  10580. game.Workspace[topkek.lplr.Name].Humanoid
  10581. game.Workspace.CurrentCamera.CameraType = "Custom"
  10582. end)
  10583. lpwin:drawButton(1, 'Respawn', function()
  10584. local a1 = Instance.new("Model", game:service'Workspace')
  10585. local a2 = Instance.new("Part", game:service'Workspace')
  10586. a2.CanCollide = true
  10587. a2.Anchored = true
  10588. a2.CFrame = CFrame.new(10000, 10000, 10000)
  10589. a2.Name = "Torso"
  10590. local a3 = Instance.new("Humanoid", a1)
  10591. a3.MaxHealth=100;a3.Health=100
  10592. topkek.lplr.Character = a1
  10593. a3.Health=0
  10594. end)
  10595. lpwin:drawButton(1, 'Rejoin', function()
  10596. game:GetService('TeleportService'):Teleport(game.PlaceId)
  10597. end)
  10598. lpwin:addSpacing()
  10599. lpwin:drawButton(1/2, 'God', function()
  10600. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  10601. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  10602. topkek.lplr.Character.Humanoid.Health = math.huge
  10603. end
  10604. end)
  10605. lpwin:drawButton(1/2, 'Semigod', function()
  10606. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  10607. topkek.lplr.Character.Humanoid.MaxHealth = 9e9
  10608. topkek.lplr.Character.Humanoid.Health = 9e9
  10609. end
  10610. end)
  10611. Loopgod = false
  10612. lpwin:drawButton(1, 'Loopgod', function()
  10613. if Loopgod == false then
  10614. Loopgod = true
  10615. spawn(function()
  10616. repeat
  10617. topkek.lplr.Character.Humanoid.MaxHealth = math.huge
  10618. topkek.lplr.Character.Humanoid.Health = math.huge
  10619. wait()
  10620. until Loopgod == false
  10621. end)
  10622. else
  10623. Loopgod = false
  10624. end
  10625. end)
  10626. lpwin:addSpacing()
  10627. plrwin:addSpacing()
  10628. local Lev, Clip, Fly
  10629. lpwin:drawButton(1/2, 'Levitate', function()
  10630. if Lev == true then
  10631. Lev = false
  10632. return
  10633. end
  10634. Lev = true
  10635. repeat
  10636. topkek.lplr.Character.Humanoid:ChangeState(10)
  10637. wait(0)
  10638. until Lev == false
  10639. end)
  10640. lpwin:drawButton(1/2, 'Noclip', function()
  10641. if Clip == true then
  10642. Clip = false
  10643. return
  10644. end
  10645. Clip = true
  10646. game:GetService("RunService").Stepped:connect(function()
  10647. tk.gt(topkek.lplr).CanCollide = not Clip
  10648. topkek.lplr.Character.Head.CanCollide = not Clip
  10649. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  10650. if topkek.lplr.Character.UpperTorso then
  10651. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  10652. end
  10653. end)
  10654. topkek.lplr.Character.HumanoidRootPart.Changed:connect(function()
  10655. tk.gt(topkek.lplr).CanCollide = not Clip
  10656. topkek.lplr.Character.Head.CanCollide = not Clip
  10657. topkek.lplr.Character.HumanoidRootPart.CanCollide = not Clip
  10658. if topkek.lplr.Character.UpperTorso then
  10659. topkek.lplr.Character.LowerTorso.CanCollide = not Clip
  10660. end
  10661. end)
  10662. end)
  10663. lpwin:drawButton(1/2, 'Fly', function()
  10664. if Fly == true then
  10665. Fly = false
  10666. return
  10667. end
  10668. Fly = true
  10669. local mouse=game.Players.LocalPlayer:GetMouse''
  10670. localplayer=game.Players.LocalPlayer
  10671. game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart")
  10672. local torso = game.Players.LocalPlayer.Character.HumanoidRootPart
  10673. local speed=0
  10674. local keys={a=false,d=false,w=false,s=false}
  10675. local e1
  10676. local e2
  10677. local function start()
  10678. local pos = Instance.new("BodyPosition",torso)
  10679. local gyro = Instance.new("BodyGyro",torso)
  10680. pos.Name="EPIXPOS"
  10681. pos.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  10682. pos.position = torso.Position
  10683. gyro.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  10684. gyro.cframe = torso.CFrame
  10685. repeat
  10686. wait()
  10687. localplayer.Character.Humanoid.PlatformStand=true
  10688. local new=gyro.cframe - gyro.cframe.p + pos.position
  10689. if not keys.w and not keys.s and not keys.a and not keys.d then
  10690. speed=1
  10691. end
  10692. if keys.w then
  10693. new = new + workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  10694. speed=speed+0.01
  10695. end
  10696. if keys.s then
  10697. new = new - workspace.CurrentCamera.CoordinateFrame.lookVector * speed
  10698. speed=speed+0.01
  10699. end
  10700. if keys.d then
  10701. new = new * CFrame.new(speed,0,0)
  10702. speed=speed+0.01
  10703. end
  10704. if keys.a then
  10705. new = new * CFrame.new(-speed,0,0)
  10706. speed=speed+0.01
  10707. end
  10708. if speed>5 then
  10709. speed=5
  10710. end
  10711. pos.position=new.p
  10712. if keys.w then
  10713. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(-math.rad(speed*15),0,0)
  10714. elseif keys.s then
  10715. gyro.cframe = workspace.CurrentCamera.CoordinateFrame*CFrame.Angles(math.rad(speed*15),0,0)
  10716. else
  10717. gyro.cframe = workspace.CurrentCamera.CoordinateFrame
  10718. end
  10719. until not Fly
  10720. if gyro then gyro:Destroy() end
  10721. if pos then pos:Destroy() end
  10722. flying=false
  10723. localplayer.Character.Humanoid.PlatformStand=false
  10724. speed=0
  10725. end
  10726. e1=mouse.KeyDown:connect(function(key)
  10727. if not torso or not torso.Parent then flying=false e1:disconnect() e2:disconnect() return end
  10728. if key=="w" then
  10729. keys.w=true
  10730. elseif key=="s" then
  10731. keys.s=true
  10732. elseif key=="a" then
  10733. keys.a=true
  10734. elseif key=="d" then
  10735. keys.d=true
  10736. end
  10737. end)
  10738. e2=mouse.KeyUp:connect(function(key)
  10739. if key=="w" then
  10740. keys.w=false
  10741. elseif key=="s" then
  10742. keys.s=false
  10743. elseif key=="a" then
  10744. keys.a=false
  10745. elseif key=="d" then
  10746. keys.d=false
  10747. end
  10748. end)
  10749. start()
  10750. end)
  10751. lpwin:drawButton(1/2, 'Highjump', function()
  10752. local thrust = Instance.new("BodyVelocity")
  10753. game:GetService('UserInputService').InputBegan:connect(function(i, b)
  10754. if i.KeyCode == Enum.KeyCode.Space then
  10755. print("Got jump")
  10756. coroutine.resume(coroutine.create(function()
  10757. thrust.Parent = game.Players.LocalPlayer.Character.PrimaryPart
  10758. thrust.velocity = Vector3.new(0,50,0)
  10759. thrust.maxForce = Vector3.new(0,4e+050,0)
  10760. wait(0.2)
  10761. thrust.Parent = nil
  10762. end))
  10763. end
  10764. end)
  10765. end)
  10766. lpwin:addSpacing()
  10767. local apprInp
  10768. lpwin:drawButton(1/3, 'Appearance', function()
  10769. local id = 0
  10770. if tonumber(apprInp.Text) then
  10771. id = tonumber(apprInp.Text)
  10772. else
  10773. id = game:GetService('Players'):GetUserIdFromNameAsync(apprInp.Text)
  10774. end
  10775. if topkek.lplr.Character:FindFirstChild("Humanoid") then
  10776. topkek.lplr.Character.Humanoid.Health = 0
  10777. end
  10778. topkek.lplr.CharacterAppearance = 'https://assetgame.roblox.com/Asset/CharacterFetch.ashx?userId=' .. tostring(id)
  10779. end)
  10780. apprInp = lpwin:drawTextBox(2/3, 'ROBLOX')
  10781. local teamInp
  10782. lpwin:drawButton(1/3, 'Team', function()
  10783. topkek.lplr.TeamColor = BrickColor.new(teamInp.Text)
  10784. end)
  10785. teamInp = lpwin:drawTextBox(2/3, 'Bright red')
  10786. lpwin:drawButton(1/2, 'Naked', function()
  10787. topkek.lplr:ClearCharacterAppearance()
  10788. end)
  10789. lpwin:drawButton(1/2, 'Neutral', function()
  10790. topkek.lplr.Neutral = true
  10791. end)
  10792. lpwin:addSpacing()
  10793. lpwin:drawButton(1/2, 'Orb', function()
  10794. game.Players.LocalPlayer.Character = nil
  10795. --lp:Destroy()
  10796. local cam = game.Workspace.CurrentCamera
  10797. local m = Instance.new("Model", game.Workspace)
  10798. m.Name = game.Players.LocalPlayer.Name
  10799. local hum = Instance.new("Humanoid", m)
  10800. hum.Health = 0
  10801. hum.MaxHealth = 0
  10802. local orb = Instance.new("Part", m)
  10803. orb.Size = Vector3.new(1, 1, 1)
  10804. orb.Shape = "Ball"
  10805. orb.Name = "Head"
  10806. orb.Anchored = true
  10807. orb.CanCollide = true
  10808. orb.BottomSurface = Enum.SurfaceType.Smooth
  10809. orb.TopSurface = Enum.SurfaceType.Smooth
  10810. orb.Transparency = 0
  10811. spawn(function()
  10812. while true do
  10813. wait(0.1)
  10814. if orb then
  10815. orb.BrickColor = BrickColor.Random()
  10816. else break end
  10817. end
  10818. end)
  10819. cam.CameraSubject = orb
  10820. cam.CameraType = Enum.CameraType.Fixed
  10821. game:GetService("RunService").RenderStepped:connect(function()
  10822. orb.CFrame = cam.CoordinateFrame * CFrame.new(0, -2, -6)
  10823. end)
  10824. game.Players.LocalPlayer.Chatted:connect(function(a)
  10825. game:GetService("Chat"):Chat(orb, a)
  10826. end)
  10827. end)
  10828. lpwin:drawButton(1/2, 'Freecam', function()
  10829. local cam = game.Workspace.CurrentCamera
  10830. cam.CameraType = "Fixed"
  10831. cam.CameraSubject = nil
  10832. topkek.lplr.Character = nil
  10833. end)
  10834. lpwin:drawButton(1/2, 'NoGrav', function()
  10835. if topkek.lplr.Character then
  10836. for x,m in pairs(topkek.lplr.Character:GetChildren()) do
  10837. if m:IsA("BasePart") then
  10838. local bf = Instance.new("BodyForce", m)
  10839. bf.force = Vector3.new(0, 192.25, 0) * m:GetMass()
  10840. end
  10841. if m:IsA("Hat") or m:IsA("Accessory") then
  10842. if m:findFirstChild("Handle") then
  10843. local bf = Instance.new("BodyForce", m.Handle)
  10844. bf.force = Vector3.new(0, 192.25, 0) * m.Handle:GetMass()
  10845. end
  10846. end
  10847. end
  10848. end
  10849. end)
  10850. lpwin:drawButton(1/2, 'Trowel', function()
  10851. topkek.tools.util.trowel()
  10852. end)
  10853. lpwin:addSpacing()
  10854. lpwin:drawButton(1/2, 'Fedora', function()
  10855. local hats={
  10856. 98346834,
  10857. 215751161,
  10858. 119916949,
  10859. 72082328,
  10860. 147180077,
  10861. 100929604,
  10862. 63043890,
  10863. 1285307,
  10864. 1029025,
  10865. 334663683,
  10866. 259423244
  10867. }
  10868. game:GetObjects("rbxassetid://" .. tostring(hats[math.random(1,#hats)]))[1].Parent = topkek.lplr.Character
  10869. end)
  10870. lpwin:drawButton(1/2, 'Rainbow Name', function()
  10871. topkek.lplr.Neutral = false
  10872. repeat
  10873. wait()
  10874. topkek.lplr.TeamColor = BrickColor.Random()
  10875. until not topkek.lplr.Character.Humanoid
  10876. end)
  10877. local tagInp
  10878. lpwin:drawButton(1/3, 'Tag', function()
  10879. local len = 10
  10880. local bb = Instance.new("BillboardGui")
  10881. bb.Parent = topkek.lplr.Character.Head
  10882. bb.Adornee = topkek.lplr.Character.Head
  10883. bb.AlwaysOnTop = true
  10884. bb.Enabled = true
  10885. bb.Size = UDim2.new(len, 0, 1.5, 0)
  10886. bb.Name = "tag"
  10887. bb.StudsOffset = Vector3.new(0, 3, 0)
  10888. --local fr = Instance.new("Frame")
  10889. --fr.Parent = bb
  10890. --fr.Size = UDim2.new(1, 0, 1, 0)
  10891. --fr.Style = Enum.FrameStyle.RobloxRound
  10892. local tl = Instance.new("TextLabel")
  10893. tl.Parent = bb
  10894. tl.Font = Enum.Font.Code
  10895. tl.BackgroundTransparency = 1
  10896. tl.TextScaled = true
  10897. tl.TextColor3 = Color3.new(15/255, 15/255, 15/255)
  10898. tl.Size = UDim2.new(1, 0, 1, 0)
  10899. tl.Text = tagInp.Text
  10900. tl.Name = "trutag"
  10901. tl.Visible = true
  10902. tl.ZIndex = 2
  10903. end)
  10904. tagInp = lpwin:drawTextBox(2/3, '')
  10905. --// SCRIPTS //--
  10906. local scriptwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Scripts').Container)
  10907. local search = scriptwin:drawTextBox(1,'')
  10908. local origy = scriptwin:getDrawY()
  10909. scriptwin:addSpacing()
  10910. scriptwin:addSpacing()
  10911. local scripts = game:GetObjects("rbxassetid://376553985")[1]
  10912. local container = {}
  10913. function MakeList(condition)
  10914. for i,v in pairs(scriptwin:GetChildren()) do
  10915. if v.Name == "Script" then
  10916. v:Destroy()
  10917. end
  10918. end
  10919. scriptwin:setDrawY(origy)
  10920. for i, v in pairs(scripts:GetChildren()) do
  10921. if string.find(v.Name:lower(), condition:lower()) or (condition == "") or (condition == " ") then
  10922. local scr = scriptwin:drawButton(1, v.Name, function()
  10923. spawn(function() loadstring(v.Source)() end)
  10924. end, 25)
  10925. scr.Name = 'Script'
  10926. end
  10927. end
  10928. end
  10929. game:GetService("UserInputService").InputChanged:connect(function(inp)
  10930. if inp.UserInputType == Enum.UserInputType.TextInput then
  10931. if search:IsFocused() then
  10932. MakeList(search.Text)
  10933. end
  10934. end
  10935. end)
  10936. MakeList('')
  10937. --// DESTRUCTION // --
  10938. local destwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Destruction').Container)
  10939. local decals, seldec = destwin:drawScrollingContainer(100)
  10940. seldec = destwin:drawText(1, 'Selected Decal: None')
  10941. cursel = nil
  10942. local decs = {
  10943. {'Rain', '574772793'},
  10944. {'Robbie', '574773630'},
  10945. {'Pepe', '244905904'},
  10946. {'Troll Face', '48308661'},
  10947. {'Jeff', '109129888'},
  10948. {'Shrek', '170539018'},
  10949. {'Doge', '133720697'},
  10950. {'Dat Boi', '409578848'},
  10951. }
  10952. for _, v in pairs(decs) do
  10953. local b = decals:drawButton(1, v[1], function()seldec.Text="Selected Decal: " ..v[2] cursel=v[2] end,20)
  10954. topkek.tools.gui:addLeftIcon(b,'rbxassetid://'..v[2],20)
  10955. end
  10956. destwin:drawButton(1, 'Spam Decal', function()
  10957. if cursel ~= nil then
  10958. topkek.tools.util.recurseDecal(tonumber(cursel))
  10959. end
  10960. end)
  10961. destwin:drawButton(1, 'Spam Particles', function()
  10962. if cursel ~= nil then
  10963. topkek.tools.util.recurseParticles(tonumber(cursel))
  10964. end
  10965. end)
  10966. destwin:drawButton(1, 'Spam Both', function()
  10967. if cursel ~= nil then
  10968. topkek.tools.util.recurseUltimate(tonumber(cursel))
  10969. end
  10970. end)
  10971. destwin:drawButton(1, 'Rollback', function()
  10972. tk.rcm(workspace, 'Decal')
  10973. tk.rcm(workspace, 'ParticleEmitter')
  10974. end)
  10975. destwin:addSpacing()
  10976. destwin:drawButton(1, '666', function()
  10977. for i,v in next,workspace:children''do
  10978. if(v:IsA'BasePart')then
  10979. me=v;
  10980. bbg=Instance.new('BillboardGui',me);
  10981. bbg.Name='stuf';
  10982. bbg.Adornee=me;
  10983. bbg.Size=UDim2.new(2.5,0,2.5,0)
  10984. --bbg.StudsOffset=Vector3.new(0,2,0)
  10985. tlb=Instance.new'TextLabel';
  10986. tlb.Text='666 666 666 666 666 666';
  10987. tlb.Font='SourceSansBold';
  10988. tlb.FontSize='Size48';
  10989. tlb.TextColor3=Color3.new(1,0,0);
  10990. tlb.Size=UDim2.new(1.25,0,1.25,0);
  10991. tlb.Position=UDim2.new(-0.125,-22,-1.1,0);
  10992. tlb.BackgroundTransparency=1;
  10993. tlb.Parent=bbg;
  10994. end;end;
  10995. --coroutine.wrap(function()while wait''do
  10996. s=Instance.new'Sound';
  10997. s.Parent=workspace;
  10998. s.SoundId='rbxassetid://152840862';
  10999. s.Pitch=1;
  11000. s.Volume=1;
  11001. s.Looped=true;
  11002. s:play();
  11003. --end;end)();
  11004. function xds(dd)
  11005. for i,v in next,dd:children''do
  11006. if(v:IsA'BasePart')then
  11007. v.BrickColor=BrickColor.new'Really black';
  11008. v.TopSurface='Smooth';
  11009. v.BottomSurface='Smooth';
  11010. s=Instance.new('SelectionBox',v);
  11011. s.Adornee=v;
  11012. s.Color=BrickColor.new'Really red';
  11013. a=Instance.new('PointLight',v);
  11014. a.Color=Color3.new(1,0,0);
  11015. a.Range=15;
  11016. a.Brightness=5;
  11017. f=Instance.new('Fire',v);
  11018. f.Size=19;
  11019. f.Heat=22;
  11020. end;
  11021. game.Lighting.TimeOfDay=0;
  11022. game.Lighting.Brightness=0;
  11023. game.Lighting.ShadowColor=Color3.new(0,0,0);
  11024. game.Lighting.Ambient=Color3.new(1,0,0);
  11025. game.Lighting.FogEnd=200;
  11026. game.Lighting.FogColor=Color3.new(0,0,0);
  11027. local dec = 'http://www.roblox.com/asset/?id=19399245';
  11028. local fac = {'Front', 'Back', 'Left', 'Right', 'Top', 'Bottom'}
  11029. --coroutine.wrap(function()
  11030. --for _,__ in pairs(fac) do
  11031. --local ddec = Instance.new("Decal", v)
  11032. --ddec.Face = __
  11033. --ddec.Texture = dec
  11034. --end end)()
  11035. if #(v:GetChildren())>0 then
  11036. xds(v)
  11037. end
  11038. end
  11039. end
  11040. xds(game.Workspace)
  11041. end)
  11042. destwin:drawButton(1, 'Troll', function()
  11043. topkek.tools.util.recurseUltimate('48308661')
  11044. tk.play(154664102)
  11045. end)
  11046. destwin:addSpacing()
  11047. destwin:drawButton(1/2,'Colorize',function() -- when u skid off variable XDDDDDpranked
  11048. local materiallist =
  11049. {Enum.Material.Plastic,Enum.Material.Wood,Enum.Material.Slate,Enum.Material.Concrete,Enum.Material.CorrodedMetal,
  11050. Enum.Material.DiamondPlate,Enum.Material.Foil,Enum.Material.Grass,
  11051. Enum.Material.Ice,Enum.Material.Marble,Enum.Material.Granite,Enum.Material.Brick,
  11052. Enum.Material.Pebble,Enum.Material.Sand,Enum.Material.Sand,
  11053. Enum.Material.Fabric,Enum.Material.SmoothPlastic,Enum.Material.Metal,Enum.Material.WoodPlanks,Enum.Material.Neon,Enum.Material.Cobblestone}
  11054. local function r(where)
  11055. for _,v in pairs (where:GetChildren()) do
  11056. if v:IsA("BasePart") then
  11057. spawn(function() while wait(0.1) do v.Material = materiallist[math.random(#materiallist)] wait() end end) end r(v) end end r(workspace)
  11058. end)
  11059. destwin:drawButton(1/2,'Materialize',function()
  11060. local function r(where)
  11061. for _,v in pairs (where:GetChildren()) do
  11062. if v:IsA("BasePart") then
  11063. spawn(function() while wait(0.1) do v.Transparency = math.random(0,1) wait() end end) end r(v) end end r(workspace)
  11064. end)
  11065. destwin:drawButton(1/2,'Meshify',function()
  11066. local enums={
  11067. Enum.MeshType.Head;
  11068. Enum.MeshType.Torso;
  11069. Enum.MeshType.Wedge;
  11070. Enum.MeshType.Brick;
  11071. Enum.MeshType.Sphere;
  11072. Enum.MeshType.Cylinder;
  11073. }
  11074. tk.rcf('BasePart',function(o)
  11075. local mesh = Instance.new('SpecialMesh', o)
  11076. mesh.MeshType = enums[math.random(1,#enums)]
  11077. end)
  11078. end)
  11079. destwin:drawButton(1/2,'Loop-Meshify',function()
  11080. coroutine.wrap(function()
  11081. while true do
  11082. local enums={
  11083. Enum.MeshType.Head;
  11084. Enum.MeshType.Torso;
  11085. Enum.MeshType.Wedge;
  11086. Enum.MeshType.Brick;
  11087. Enum.MeshType.Sphere;
  11088. Enum.MeshType.Cylinder;
  11089. }
  11090. tk.rcf('BasePart',function(o)
  11091. if o:FindFirstChild("Mesh") then o.Mesh:Destroy() end
  11092. local mesh = Instance.new('SpecialMesh', o)
  11093. mesh.MeshType = enums[math.random(1,#enums)]
  11094. end)
  11095. wait(0.5)
  11096. end
  11097. end)()
  11098. end)
  11099. destwin:addSpacing()
  11100. destwin:drawButton(1, 'Rotations', function()
  11101. tk.rcf('BasePart', function(o)
  11102. o.Rotation = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  11103. end)
  11104. end)
  11105. destwin:drawButton(1, 'Collisions', function()
  11106. tk.rcf('BasePart', function(o)
  11107. o.CanCollide = false
  11108. end)
  11109. end)
  11110. destwin:drawButton(1, 'Velocity', function()
  11111. tk.rcf('BasePart', function(o)
  11112. o.Velocity = Vector3.new(math.random(0,180),math.random(0,180),math.random(0,180))
  11113. end)
  11114. end)
  11115. destwin:drawButton(1, 'Invisiblity', function()
  11116. tk.rcf('BasePart', function(o)
  11117. o.Transparency = 1
  11118. end)
  11119. end)
  11120. destwin:drawButton(1, 'BreakJoints', function()
  11121. tk.rcf('Model', function(o)
  11122. o:BreakJoints()
  11123. end)
  11124. end)
  11125. destwin:drawButton(1, 'Forces', function()
  11126. tk.rcf('BasePart', function(o)
  11127. local bf = Instance.new("BodyForce", o)
  11128. bf.Force = Vector3.new(math.random(0,180)*5,math.random(0,180)*5,math.random(0,180)*5)
  11129. end)
  11130. end)
  11131. destwin:drawButton(1, 'Brightness', function()
  11132. tk.rcf('BasePart', function(o)
  11133. local light = Instance.new("SpotLight", o)
  11134. light.Brightness = 9e9
  11135. light.Range = 60
  11136. end)
  11137. end)
  11138. --// CATALOG //--
  11139. local catwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Catalog').Container)
  11140. local page, currentkeyword = 1, ""
  11141. local searchbar, search, makeCatalog, res = 0, 0, 0, {}
  11142. local searchbar = catwin:drawTextBox(2/3,'')
  11143. local search = catwin:drawButton(1/3, 'Search', function()
  11144. page = 1
  11145. currentkeyword = searchbar.Text
  11146. makeCatalog(currentkeyword, page)
  11147. end)
  11148. local previous = catwin:drawButton(1/2, 'Previous Page', function()
  11149. if page > 1 then
  11150. page = page - 1
  11151. makeCatalog(currentkeyword, page)
  11152. end
  11153. end)
  11154. local previous = catwin:drawButton(1/2, 'Next Page', function()
  11155. if page >= 1 then
  11156. page = page + 1
  11157. makeCatalog(currentkeyword, page)
  11158. end
  11159. end)
  11160. local catalog_start = catwin:getDrawY()
  11161. function split(str,divider)
  11162. local found = ""
  11163. local results = {}
  11164. for i=1,string.len(str) do
  11165. if (string.lower(string.sub(str,i,i)) == string.lower(divider)) then
  11166. table.insert(results, found)
  11167. found = ""
  11168. else
  11169. found = found..string.sub(str,i,i)
  11170. end
  11171. end
  11172. table.insert(results, found)
  11173. return results
  11174. end
  11175. function GetName(nm)
  11176. local spl = split(nm," ")
  11177. local a,b,c,d,e=spl[1] or "",spl[2] or "",spl[3] or "", spl[4] or "", spl[5] or ""
  11178. return (a.." "..b.." "..c.." "..d.." "..e)
  11179. end
  11180. function makeCatalog(keyword, page)
  11181. local endpoint = "http://search.roblox.com/catalog/json?Category=6&Keyword="..keyword.."&IncludeNotForSale=false&ResultsPerPage=10&PageNumber="..tostring(page)
  11182. local results = game:HttpGet(endpoint, true)
  11183. local parse = game:GetService('HttpService'):JSONDecode(results)
  11184. for i, v in pairs(res) do
  11185. v:Destroy()
  11186. end
  11187. catwin:setDrawY(catalog_start)
  11188. catwin:addSpacing()
  11189. for i, v in pairs(parse) do
  11190. local img = catwin:drawImage(1/2, 'https://www.roblox.com/Thumbs/Asset.ashx?width=420&height=420&assetId='..tostring(v['AssetId']), 50)
  11191. local below = topkek.tools.util.Object("TextButton", {
  11192. Parent = img;
  11193. BackgroundColor3 = Color3.new(163/255, 57/255, 57/255);
  11194. BorderSizePixel = 0;
  11195. Position = UDim2.new(0, -45, 1, 5);
  11196. Size = UDim2.new(0,img.AbsoluteSize.X, 0, 20);
  11197. Font = 'SourceSans';
  11198. FontSize = 'Size14';
  11199. Text = GetName(v['Name']);
  11200. TextSize = 14;
  11201. TextColor3 = color3(199, 199, 199);
  11202. TextStrokeTransparency = 0.5;
  11203. ClipsDescendants = true;
  11204. })
  11205. below.MouseButton1Down:connect(function()
  11206. local Model = Instance.new("Model", workspace)
  11207. game:GetObjects('rbxassetid://'..tostring(v['AssetId']))[1].Parent = Model
  11208. Model:MakeJoints()
  11209. Model:MoveTo(topkek.lplr.Character.Head.Position)
  11210. end)
  11211. img.Size=UDim2.new(0,50,0,50)
  11212. img.Position=img.Position+UDim2.new(0,45,0,0)
  11213. if (i%2)==0 then
  11214. catwin:setDrawY(catwin:getDrawY() + 25)
  11215. end
  11216. if (i==10) then
  11217. catwin.main.CanvasSize = catwin.main.CanvasSize + UDim2.new(0,0,0,25)
  11218. end
  11219. table.insert(res,img)
  11220. end
  11221. end
  11222. makeCatalog("", 1)
  11223. --// CMDS //--
  11224. cmdwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Commands').Container)
  11225. count = 0
  11226. for _, _ in pairs(cmd.commands.store) do count = count + 1 end
  11227. cmdwin:drawText(1, tostring(count) .. " Commands")
  11228. cmdwin:drawText(1, 'Chat Prefix: /')
  11229. local cmdlist = cmdwin:drawScrollingContainer(260)
  11230. for i, v in pairs(cmd.commands.fmtstore) do
  11231. local xfmt = {}
  11232. local str = " ;" .. i .. " "
  11233. for form in v:gmatch("[^%%]+") do
  11234. if form ~= 'cmd' then
  11235. if form == 'inf' then form = 'str' end
  11236. str = str .. "{" .. form .. "} "
  11237. end
  11238. end
  11239. cmdlist:drawText(1, str)
  11240. end
  11241. --// MUSIC //--
  11242. musicwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Music').Container)
  11243. Sounds = {
  11244. {"caramell", 2303479};
  11245. {"epic", 27697743};
  11246. {"rick", 2027611};
  11247. {"halo", 1034065};
  11248. {"pokemon", 1372261};
  11249. {"cursed", 1372257};
  11250. {"extreme", 11420933};
  11251. {"awaken", 27697277};
  11252. {"alone", 27697392};
  11253. {"mario", 1280470};
  11254. {"choir", 1372258};
  11255. {"chrono" ,1280463};
  11256. {"dotr", 11420922};
  11257. {"entertain", 27697267};
  11258. {"fantasy", 1280473};
  11259. {"final", 787};
  11260. {"organ", 11231513};
  11261. {"tunnel", 9650822}
  11262. }
  11263.  
  11264. local cursel
  11265. local xcursel = 0
  11266. scr = musicwin:drawScrollingContainer(230)
  11267. for i, v in pairs(Sounds) do
  11268. scr:drawButton(1, v[1] .. " - " .. tonumber(v[2]), function()
  11269. cursel.Text = "Currently Selected - " .. v[1]
  11270. xcursel = v[2]
  11271. end)
  11272. end
  11273.  
  11274. cursel = musicwin:drawText(1, "Currently Selected - None")
  11275. local setInp
  11276. musicwin:drawButton(1/3, "Set", function()
  11277. if tonumber(setInp.Text) then
  11278. cursel.Text = "Currently Selected - " .. setInp.Text
  11279. xcursel = tonumber(setInp.Text)
  11280. end
  11281. end)
  11282. setInp = musicwin:drawTextBox(2/3, '')
  11283. musicwin:drawButton(1, "Play", function()
  11284. tk.rcm(game, 'Sound')
  11285. tk.play(xcursel)
  11286. end)
  11287. musicwin:drawButton(1, "Stop", function()
  11288. tk.rcm(game, 'Sound')
  11289. end)
  11290. --// FACES //--
  11291. facwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Faces').Container)
  11292. local faces = {
  11293. {name='Rofl',id=47595647},
  11294. {name='Sparta',id=74142203},
  11295. {name='UJelly',id=48989071},
  11296. {name='Troll',id=45120559},
  11297. {name='Horse',id=62079221},
  11298. {name='Angry',id=48258623},
  11299. {name='Okey',id=62830600},
  11300. {name='Yeaw',id=53646377},
  11301. {name='Here',id=62677045},
  11302. {name='Har',id=48260066},
  11303. {name='Baby Sun',id=47596170},
  11304. {name='LOL',id=48293007},
  11305. {name='Sad',id=53645378},
  11306. {name='Joseph Stalin',id=48290678},
  11307. {name='Doge',id=130742396},
  11308. {name='Forever Alone',id=156886272},
  11309. {name='RickRoll',id=5104631},
  11310. {name='Jim Carrey',id=74885351},
  11311. {name='Meh IRL',id=237553381}
  11312. }
  11313. local cursel, xcursel = nil, 0
  11314. faclist = facwin:drawScrollingContainer(260)
  11315. for i,v in pairs(faces) do
  11316. local btn = faclist:drawButton(1, v['name'], function()
  11317. xcursel = v['id']
  11318. cursel.Text = 'Currently Selected: ' .. v['name']
  11319. end)
  11320. topkek.tools.gui:addLeftIcon(btn,'rbxassetid://'..tostring(v['id']),20)
  11321. end
  11322. cursel = facwin:drawText(1, 'Currently Selected: None')
  11323. facwin:drawButton(1, 'Wear', function()
  11324. if not (xcursel == 0) then
  11325. if topkek.lplr.Character then
  11326. tk.rcm(topkek.lplr.Character, 'Accessory')
  11327. tk.rcm(topkek.lplr.Character, 'Hat')
  11328. topkek.tools.util.applyFace(xcursel)
  11329. end
  11330. end
  11331. end)
  11332. --// SETTINGS // --
  11333. setwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Settings').Container)
  11334. setwin:drawText(1, 'Patch: ' .. topkek.patch)
  11335. setwin:drawText(1, 'Devnote: foh skids')
  11336. setwin:drawText(1, [[
  11337. === CREDITS ===
  11338.  
  11339. Variable - retard that created Stella
  11340. KrystalTeam - provided critical design tips & advice
  11341. Circumvention - lol joey salads
  11342.  
  11343. Thanks to everyone that supported T0PK3K 4.0!
  11344.  
  11345. ]], 260)
  11346. --// BANLIST //--
  11347. banwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Banlist').Container)
  11348. local plrBanInp
  11349. banwin:drawButton(1/3, 'Add', function()
  11350. topkek.settings.get()
  11351. table.insert(topkek.settingsTable['Bans'], plrBanInp.Text)
  11352. topkek.settings.write()
  11353. UpdateBanlist()
  11354. end)
  11355. plrBanInp = banwin:drawTextBox(2/3, '')
  11356. banCont = banwin:drawScrollingContainer(288)
  11357. function UpdateBanlist(x)
  11358. topkek.settings.get()
  11359. local wl = x or topkek.settingsTable['Bans']
  11360. for i,v in pairs(banCont:GetChildren()) do
  11361. v:Destroy()
  11362. end
  11363. banCont:setDrawY(3)
  11364. for i,v in pairs(wl) do
  11365. banCont:drawText(2/3, v)
  11366. banCont:drawButton(1/3, 'Remove', function()
  11367. for x, m in pairs(wl) do
  11368. if m == v then
  11369. table.remove(topkek.settingsTable['Bans'], x)
  11370. topkek.settings.write()
  11371. UpdateBanlist()
  11372. topkek.banmgr.bans = topkek.settingsTable['Bans']
  11373. end
  11374. end
  11375. end)
  11376. end
  11377. end
  11378. UpdateBanlist()
  11379. --// HATS //--
  11380. hatwin = topkek.tools.gui:hookContainer(topkek.tools.util.getContainer('Hats').Container)
  11381. local hats={
  11382. {name='Dominus Empyreus',id=21070012},
  11383. {name='Dominus Vespertilio',id=96103379},
  11384. {name='Dominus Infernus',id=31101391},
  11385. {name='Dominus Rex',id=250395631},
  11386. {name='Dominus Frigidus',id=48545806},
  11387. {name='Dominus Astra',id=162067148},
  11388. {name='Dominus Aureus',id=138932314},
  11389. {name='DIY Dominus Empyreus',id=151789690},
  11390. {name='Dominus Messor',id=64444871},
  11391. {name='Demon Skeleton Wings',id=133554007},
  11392. {name='Gilded Wings of Glory',id=250405532},
  11393. {name='Majestic Ice Wings',id=188702967},
  11394. {name='Black Wings',id=215719598},
  11395. {name='Clockworks Shades',id=11748356},
  11396. {name='Faerie Wings',id=19399896},
  11397. {name='Orinthian Wings',id=223751505},
  11398. {name='Clockworks Headphones',id=1235488},
  11399. {name='Perfectly Legitimate Business Hat',id=19027209},
  11400. {name='Sparkling Angel Wings',id=192557913},
  11401. {name='Commander Crows Wings',id=133553855},
  11402. {name='Sunfire Wings',id=158068470},
  11403. {name='Royal Faerie Wings',id=119916756},
  11404. {name='Wings of Freedom',id=164174048},
  11405. {name='Firebrand Wings',id=128160626},
  11406. {name='Frozen Wings',id=136758613},
  11407. {name='Webbed Wings',id=120507280},
  11408. {name='Gargoyle Wings',id=120507201},
  11409. {name='Bat Wings',id=19399858},
  11410. {name='Wings of Fire',id=136758532},
  11411. {name='Headrow',id=1082935},
  11412. {name='Rubber Duckie',id=9254254},
  11413. {name='Valkyrie Helm',id=1365767},
  11414. {name='Hockey Mask',id=5161514}}
  11415. local searchi = hatwin:drawButton(1, '', function()end)
  11416. dropx = GUI.DropDown.New(UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0), searchi, {'All'})
  11417. function fixPlayerDropi()
  11418. local t = {'All'}
  11419. for i, v in pairs(game.Players:GetPlayers()) do
  11420. table.insert(t, v.Name)
  11421. end
  11422. dropx.SetTable(t)
  11423. end
  11424. game.Players.PlayerAdded:connect(function()
  11425. fixPlayerDropi()
  11426. end)
  11427. game.Players.PlayerRemoving:connect(function()
  11428. fixPlayerDropi()
  11429. end)
  11430. local eval = 'All'
  11431. dropx.Changed(function(p) eval = p end)
  11432. fixPlayerDrop()
  11433.  
  11434. local hatInp
  11435. hatlist = hatwin:drawScrollingContainer(260)
  11436. for i,v in pairs(hats) do
  11437. hatlist:drawButton(1, v['name'], function()
  11438. hatInp.Text = tostring(v['id'])
  11439. end)
  11440. end
  11441. hatwin:drawButton(1/3, 'Wear', function()
  11442. local hat = game:GetObjects("rbxassetid://"..tonumber(hatInp.Text))[1]
  11443. tk.dp(eval, function(x)
  11444. if x.Character then
  11445. hat:Clone().Parent = x.Character
  11446. end
  11447. end)
  11448. end)
  11449.  
  11450.  
  11451. hatInp = hatwin:drawTextBox(2/3, '')
  11452. topkek.tools.animator.initialAnimation()
  11453. topkek.banmgr.init()
  11454. end)
  11455.  
  11456. credits.Name = "credits"
  11457. credits.Parent = CoolBypass
  11458. credits.BackgroundColor3 = Color3.new(1, 1, 1)
  11459. credits.BackgroundTransparency = 1
  11460. credits.Position = UDim2.new(0.72217834, 0, 0.162162155, 0)
  11461. credits.Size = UDim2.new(0, 200, 0, 50)
  11462. credits.Font = Enum.Font.SourceSans
  11463. credits.Text = "Created by PacMan2009yo"
  11464. credits.TextColor3 = Color3.new(0, 0, 0)
  11465. credits.TextSize = 14
  11466. -- End
Add Comment
Please, Sign In to add comment