I'm making this game and I disabled the coregui but i need to disable reset. I searched to see other questions like this, but each script they gave me didn't work. I edited someone else's script that I was certain would work but, It didn't. I have a localscript named "reset" in the starterpack. Here is the code:
function resetLocalCharacter()
local player = game.Players.LocalPlayer
if player then
if player.Character and player.Character:FindFirstChild("Humanoid") then
player.Character.Humanoid.Name = "humanoid"
end
end
end
Thanks for reading! You can either make another code or edit this one.
