Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Not Teleporting when time waited?

So in a nutshell the code that warps all players isn't working when the timers done. here is the error script part:

if a >= 30 then
			a = 0
			Timer.Text = "Start!"
			Playing = true
			for i, player in ipairs(game.Players:GetChildren()) do
				player.Character.HumanoidRootPart.CFrame = target
				GunClone.Parent = player.BackPack
				
			end
		end

and the error message says: ServerScriptService.Teleport:19: bad argument #3 to 'CFrame' (CFrame expected, got Object)

2 comments

0

Wait I may have some solutions with trial and error

0

If your problem was solved then update your title to contain "[SOLVED]". It marks the question as answered and will let others know you are no longer in need of assistance.

1 answer

Nevermind I figured it out target needed to be target.Cframe THANKS MYSELF!

1 comment

0

xd

This discussion is preserved as it was. New answers, comments, and votes are closed.