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.
How do I disable the reset button?
3 answers
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
5 comments
Thank you, I will test if this works. If so, then I'll accept your answer.
It worked, thank you!
doesnt work anymore
good to know
still works to this day, make sure to put the script under startergui and put it as 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.
3 comments
^ local script
and place it in startplayerscripts
and place it in startplayerscripts
so what about game:GetService("StarterGui"):SetCore("LeaveButtonCallback", false)
3 comments
hmm interesting
doesnt work klwqehfliuwqhefowqefo;lqwefji;qwoef
good idea tho
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
why would you want to
For his game! Why did you ask that @nc2r?
@TheRealPotatoChips this is a post made 3 years ago, and you reply to a comment on it?