But I don’t understand how the character works like I am assuming the character just is nil or something when the person isn’t in the menu but I tried disable CharacterAutoLoads in players and ui doesn’t load. Only solution I got right now is putting the characters in a box that isnt visible from the map.
Does anyone have any solutions other than the one I got right now?
How do I remove the player’s character once I want him to go back to the menu? I made it so the menu is visible but I can’t do player.Character:Destroy()
local player = game:GetService("Players").LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
character.Parent = nil -- hide
character.Parent = workspace -- show