Advertisement
LOLTIKE

How to disable reset and leaderboard/playerlist in roblox studio.

Feb 28th, 2024 (edited)
1,025
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | Gaming | 0 0
  1. --Guys if you have problem with horror game, like you can reset, then insert the localscript in startergui, open up it, and then type:
  2.  
  3. repeat
  4.     local success, errormsg = pcall(function()
  5.         local StarterGui = game:GetService("StarterGui")
  6.         StarterGui:SetCore("ResetButtonCallback", false)
  7.     end)
  8.     task.wait()
  9. until success
  10.  
  11. --but if you need to disable leaderboard, then insert the localscript in startergui, open up it, and then type:
  12.  
  13.     repeat
  14.         local success, errormsg = pcall(function()
  15.             local StarterGui = game:GetService("StarterGui")
  16.             StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
  17.         end)
  18.         task.wait()
  19.     until success
  20.  
  21.  
  22. --PASTE WILL UPD!!!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement