How do fps games keep players in menus?

so i made a main menu for an fps game but i can still move my character and see my character how do fps games like arsenal and phantom forces store the characters

The simplest way to do this is probably to either store the character in a box, and set the WalkSpeed and JumpPower/JumpHeight to 0

ORRRRRRRRRRRRRR

you can go into Players and turn off “AutoLoadCharacter”

image

and when the player clicks play load the character

image

oh okay i’ve seen this before but haven’t tried it

how would i use this because i tried it and it wont load the gui

so i’ve looked into this and one why to bypass this is instead of having a gui in StarterGui, you can use a script to automatically clone a gui in plr.PlayerGui

game.Players.PlayerAdded:Connect(function(player)
	local temp = script.ScreenGui:Clone()
	temp.Parent = player.PlayerGui
end)

image

I know Phantom Forces just throws the player in a box underneath the map.

1 Like