local debounce = false
local part = script.Parent
local function onPartTouched(LeftFoot)
if debounce == false then
debounce = true
game.Workspace.Part2.Position = Vector3.new(-45.6, 3.9, 3.2)
wait(5)
debounce = false
end
end
part.Touched:Connect(onPartTouched)
So the Left foot of a player Touches a block named part in my work space, which in turn is supposed to teleport Part2 to a new position but it doesn’t... I’m unsure to as why because the function does run print

1 comment
Any errors in the output?