Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Rest Button Callback not working. Any idea why?

I was working on my game and I did a test and I noticed that I could reset. In my game I was using RestButtonCallback so that you couldn't reset. It has been previously working for over a year. So here is the script

game:GetService("StarterGui"):SetCore("ResetButtonCallback", false)

It was in a local script in StarterGui. If you are unaware as to what RestButtonCallback click that link. So anyway I looked all over the devfourms and saw no mention of this being removed. Any idea why this is not working? I just wanted to ask if anyone knew before I sent it to roblox as a bug.

1 answer

✓ Accepted answer

This is what I use to disable resetting. The button doesn't disappear, but the player is unable to reset:

newname = "NoReset"
game.Players.PlayerAdded:connect(function(plr)
	plr.CharacterAdded:connect(function(char)
		plr.Character.Humanoid.Name = newname
	end)
end)

Put this in a regular script and put it in ServerScriptService If this was not what you were hoping for, I apologize in advance.

2 comments

0

yeah I know.. I just wanted to know if anyone knew why this happend

0

It might be caused by recent Sudio updates or Roblox Player updates... I don't know for sure. It could even be deprecated for all I know.

This discussion is preserved as it was. New answers, comments, and votes are closed.