Advertisement
Prokri43

Untitled

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