I am trying to find out a way where if you reset, it detects that you reset. I am gonna use this so like that if someone resets the morph they chose stays on them.
This should help you.
1 Like
This just turns off the the reset button but what if I wanan do somethign when someone resets, for example print(“Hello”)
Nope you should read further, there is code to run code when the reset event runs
local resetBindable = Instance.new("BindableEvent")
resetBindable.Event:connect(function()
-- Implement custom reset logic here
end)
-- This will remove the current behavior for when the reset button
-- is pressed and just fire resetBindable instead.
game:GetService("StarterGui"):SetCore("ResetButtonCallback", resetBindable)
5 Likes