When i teleport to destination point the platform is hidden and i fall

So In a game i made, i put a teleport button and a destination of it , but when i teleport to the destination i start falling like the platform was hidden. Is it a Glitch or i put something wrong in there?

1 Like

What are you using to get the destination?
If it’s a Part Position then is the Part Anchored and CanCollide false so it’s falling through the map?
If you are using an actual Position in your code double check that the Position is correct. This can be as simple as adding a Part in the workspace and putting it at the Position you want as the destination then copying it to the script.
Is it a free teleport, or did you write the code?
Since this could be a scripting issue please copy/paste the script you are using and put 3 backticks (```) before and after the code so it formats properly here.

I cant see the Destination Script, Its from the workspace And yes it free but here is the scripts i used for the platform script.Parent.Touched:Connect(function(part) if part.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(part.Parent) game:GetService("BadgeService"):AwardBadge(player.UserId, 4236864575 ) end end)

Nevermind, i can see the destination script now here is it

local ProximityPrompt = script.Parent
ProximityPrompt.Triggered:Connect(function(player)
	player.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.Interact.Position)
end)

Why you have to use HumanoidRootPart.CFrame when you can just teleport a player character with primary part with this simple stuff

local ProximityPrompt = script.Parent
ProximityPrompt.Triggered:Connect(function(player)
	player.Character:MoveTo(workspace.Interact.Position)
end)

Oh thanks, Im gonna try the script

Thanks, now it works. The platform is visible now

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.