local function s()local s=tick()while tick()-s<=shakingDuration do plank.Position=originalPosition+Vector3.new(math.random(),math.random(),math.random())*shakeMagnitude wait()end plank.Position=originalPosition end

local function shake()
	local startTime = tick()
	while tick() - startTime <= shakingDuration do
		plank.Position = originalPosition + Vector3.new(math.random(), math.random(), math.random()) * shakeMagnitude
		wait()
	end
	plank.Position = originalPosition
end
