A local script is client sided and will only happen to the player, and a server-sided script will happen to all the players.
An easier and better way would be to just move the whole script to a local script instead, since GUIs like proximity prompts should be used in a local script
Like so:
local player = game.Players.LocalPlayer
player.CharacterAdded:Connect(function(char)
local ProximityPrompt = game.Workspace.Part.ProximityPrompt
ProximityPrompt.Triggered:Connect(function(player)
char:MoveTo(workspace.teste.Position)
end)
end)
Make sure to put your local script either in StarterPlayerScripts, or StarterGui since local scripts don’t work in the workspace