In some games, you can't reset. I don't know any scripts to do that, how do I make it so, when a player trys to reset, the game, won't allow him.
You can use the function :SetCore() of StarterGui to disable the reset button.
game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)
This must be ran on a localscript
https://devforum.roblox.com/t/resetbuttoncallback-has-not-been-registered-by-the-corescripts/78470/6
local coreCall do local MAX_RETRIES = 8 local StarterGui = game:GetService('StarterGui') local RunService = game:GetService('RunService') function coreCall(method, ...) local result = {} for retries = 1, MAX_RETRIES do result = {pcall(StarterGui[method], StarterGui, ...)} if result[1] then break end RunService.Stepped:Wait() end return unpack(result) end end coreCall('SetCore', 'ResetButtonCallback', false)
this will always work, incase your here and the other answers don't work.
so what about game:GetService("StarterGui"):SetCore("LeaveButtonCallback", false)