I need help with a problem I’m having. I’m working on a game that first starts off with a cutscene, which i have successfully made work, however my problem is that i want to make it, so that the player gets teleported to a certain location after the cutscene ends without the use of a typical teleport part. Sort of automatically. I can’t find any solution and my attempts have not worked out.
Scripting is overall not my strong side so any help would be appreciated!
(if i made anything unclear or you need some more explaining to understand what i mean please let me know!)
I found the solution, thank you for your answers they were really helpful!<3
local character = game.Players.LocalPlayer.Character
-- if this is run on a serverscript, use the appropriate player parameter, this is for localscript only
-- here goes your code
character:WaitForChild("HumanoidRootPart").Position = Vector3.new(x, y, z)