function touch(hit)
if hit.Parent:FindFirstChild("Humanoid") ~= nil then
local char = hit.Parent
char.Torso.Anchored = true
wait(3)
char.Torso.CFrame = script.Parent.Parent.Tele2.CFrame * CFrame.new(5, 0, 0)
wait(3)
char.Torso.Anchored = false
else return
end
end
script.Parent.Touched:connect(touch)
COMMUNITY QUESTION
This script works but teleport's the player sideways any idea why this is happening?
1 answer
Your Tele2 part is rotated -90 or 90, you can fix it by rotating that.
This discussion is preserved as it was. New answers, comments, and votes are closed.
