Character Teleporting Issues

– ok ill come now #30characters

Between teleporting player1 and player2, I went against the forum I was referencing and added a wait() and now it teleports both player 1 and 2 successfully… I have no idea how to explain this other than a bug in Roblox’s system. Can anyone else replicate my bug using this code?

local p1 = game.Players:FindFirstChild("Player1") or game.Players.PlayerAdded:Wait()

local p2 = game.Players:FindFirstChild("Player2") or game.Players.PlayerAdded:Wait()

local Character1 = p1.Character or p1.CharacterAdded:Wait()

local Character2 = p2.Character or p2.CharacterAdded:Wait()

Character1:SetPrimaryPartCFrame( workspace.A.CFrame)

--wait() --Try with the wait off and with it on to see what I am trying to explain.

Character2:SetPrimaryPartCFrame( workspace.B.CFrame)

The only resources you need:
-A place
-Two parts in workspace: “A” and “B”
-My script sample
-Run the studio in 2 player server mode and watch the results

Solution per the reply to my bug request:

4 Likes