--Make the player freeze for 3 seconds when part touched

local function onTouched(otherPart)
	local humanoid = otherPart.Parent:FindFirstChild('Humanoid')
	if humanoid then
		humanoid.WalkSpeed = 0
		wait(3)
		humanoid.WalkSpeed = 16
	end
end
