I'm trying to make a teleporter which I know how to make but for some reason this script isn't working. If you can help me that'd be awesome, thanks!
to = game.Workspace.MiniGame2.To reset = false script.Parent.Touched:Connect(function(hit) local humanoid = hit.Parent:FindFirstChild("Humanoid") if reset == false then reset = true hit.Parent.HumanoidRootPart.Position = to.Position wait(1) reset = false end end)
Try changing Position to CFrame? (I'm new so dont expect this to work)
I found the correction myself by experimenting random things. I apparently needed to just anchor both parts and then it worked for some reason, lol.