You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? Keep it simple and clear!
id like the script to reliably work
What is the issue? Include screenshots / videos if possible!
Issue is that the script does not reliably work and most of the time it only works 1 way
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
ive tried messing around with it a bit but im not a good scripter so i couldnt fix it also this is a free model
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
-- local ProximityPrompt = script.Parent
ProximityPrompt.Triggered:Connect(function(player)
player.Character.HumanoidRootPart.Position = workspace.Destination.Position
end)
OK i just tried that and the event is firing. It teleports me and prints something about 5 times total before it stops working. trying to fix it its quite annoying
you might have the same issue as mine before, do you change the character location with :SetPrimaryPartCFrame or changing the hrp.CFrame, and do you use part or vector3 for the teleport location, if you use part with streamingenabled then that would be the issue, if you change the hrp.CFrame instead of using :SetPrimaryPartCFrame then theres a chance where it only move the hrp and not the entire character, the character might be visible in client side on the right position but not serverside…
oh wait i know 1 thing this just can work in roblox studio so here is new script
local ProximityPrompt = script.Parent -- local Prox
ProximityPrompt.Triggered:Connect(function(player)
player.Character.HumanoidRootPart.CFrame = CFrame.new(workspace.Destination.Position) -- Teleport Player
end)