![]() ![]() TeleportPlayerEvent.OnServerEvent:Connect(TeleportPlayer) If player.Character and player.Character:FindFirstChild("HumanoidRootPart") then Local TeleportPlayerEvent = ReplicatedStorage:WaitForChild("TeleportPlayer") Local Target = Workspace:FindFirstChild("Part") ![]() Local ReplicatedStorage = game:GetService("ReplicatedStorage") Local Workspace = game:GetService("Workspace") We will use RemoteEvents for this.ġ) Insert a Remote Event in ReplicatedStorageģ) Insert Script2 in the dialog. The reason is because you are not connecting the code. I honestly do not believe that but you can still try it out. provided an interesting comment saying that the LocalPlayer does not need to be defined. 4) Teleportation does not work in Studio and make sure the game is actually published. 3) Make sure that the place id you put is of the starting place id and is active. MUST BE A STARTING PLACE AND ACTIVE 2) If you have checked the above criteria and the error still persists, then wait for the player to fully load. Criteriaġ) The precedence of the CurrentGame does not have to be ActiveĢ) The precedence of the OtherGame does all have to be Activeģ) The teleportation does not work unless you are referencing the OtherGame's starting place.ĬurrentGame := The game you are using to teleport the player. Since you explicitly pointed out, "Another Game", it is assumed that the destination is a completly different game and not a precedence of the current game. 1) Check whether the teleporting place is the starting place of the another main game. ![]() Since there are no particular errors to you code, you will have to re-check the code using my evaluation guidelines. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |