How can the player die in a lobby?
Reset character (30 chaaaaaaar)
And if that’s disabled?
aaaaaa
Who said to you that this is a lobby?
'''
game.Players:GetChildren().Character.HumanoidRootPart.CFrame = CFrame.new(game.Workspace:WaitForChild("LoadedMap").SpawnPlayersToMap.Position)
'''
would this be it?
All our codes work too, you don’t need to enforce him to use a certain one
Only problem is if I don’t do that, it won’t teleport at all
Can you screen record what’s happening
What kind of Instance is SpawnPlayersToMap
?
It is a part in a map (30 charrs)
Like I said it won’t work because it is a loop
Why is it a loop? Using for _, v in pairs already loops
This is starting to get way too much off topic, and I’m probably stepping out of line for saying this…
Please read the tutorials that have been given and reread over everything since all of us have provided stuff towards how to solve the issue at hand. If this continues, there is a high chance a post approval+ steps in and locks down the thread due to how much it’s getting out of hand. The OP has been answered multiple times in various ways. This must be an issue with your Roblox studios so I suggest contacting developer relations or a Roblox engineer to help you with this.
This entire thread has become a clutter.
You’re being given working codes, over and over again, and you consistently reply that it won’t work because your existing code is bad. Post your round script so that the problem can actually be diagnosed and end this continuous back and forth conversation of ‘loop no work’ nonsense.
I updated my script, by using a remote event instead
I would like to just add two things. Firstly, you never need to call WaitForChild from the server for any instances because they all are loaded on the server before the scripts begin. Secondly, none of the scripts posted here accounted for the character being added but aside from that they are all correct. Here is how you would account for it:
Character = Player.Character or Player.CharacterAdded:Wait()
Also, i recommend you add a check into your code that ensure that some minimum amount of players are in the server before you commence the round.
Is this a local or a server? For all players i believe it needs to be a server. Maybe try that. If not, no idea.
Just post your script. No one can help you if they don’t know what is wrong with your script.