My round system broke again

Hi everyone I was trying to make a round system it all works fine but it teleports players in a weird way here look

Here is my code

local gui = script.Parent
local char = game.Players.LocalPlayer.Character
for i = 30, 0, -1 do
	gui.Text = "game starts in "..i.."s"
	wait(1)
	gui.Text = "game starts in "..i.."s"
	if i == 0 then
		gui.Visible = false
		char.PrimaryPart.Position = game.Workspace.GreenPart.Position
	end
end

Try to replace it with:
char:PivotTo(game.Workspace.GreenPart.CFrame)

I’d set this in this way:

local Players = game:GetService("Players")
local Player = Players.LocalPlayer
local Char = Player.Character or Player.CharacterAdded:Wait()
1 Like

char:PivotTo(game.Workspace.GreenPart.CFrame)
WORKED THANKS

2 Likes