Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Load Everything Else But Not The Character?

Asked by 6 years ago

I'm having problems where I have a GUI that players use to select a vehicle and then the character loads. However the GUI decides not to load with CharacterAutoLoads off. Is there a way to stop this problem or do I have to improvise and just load the character but the camera is not on the character? All help is appreciated. :)

0
Well I think that if the player doesnt exist then the gui wouldnt be in the playergui cause the player doesnt exist. So maybe put it into startergear. I don't have much experience with this... Galicate 106 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

GalaxyFPS_Studios explained your problem well. You can

  • Do what GalaxyFPS_Studios suggested

Or

A method that I just thought up (not tested):

You create a hollow box some where where it will not be seen by players. Make the players spawn normally inside that box. However, you will need to modify the original CameraScript, so it doesn't show the player, but instead whatever you want it to. I have done this in my game. Tell me if you want to use my approach so I can give you something similar to what I use. Then, when you want the player to "spawn", you just teleport them to the "spawn" area via

player.Character:SetPrimaryPartCFrame(CFrame.new(position))

However, I bet this is ineffective, and perhaps GalaxyFPS_Studios's way will work better. I know its possible, as I have seen it being done.

Ad

Answer this question