return function(W,w,g,l,N,y)N=N or Enum.EasingStyle.Quad y=y or Enum.EasingDirection.Out l=l or.5 local c={}local B=type(g)=="\116\097\098\108\101"for W,w in pairs(w)do c[w]=B and g[W]or g end local e=TweenInfo.new(l,N,y)local a=(game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")):Create(W,e,c)a:Play()return a end

return function (object, properties, value, duration, style, direction)
	style = style or Enum.EasingStyle.Quad
	direction = direction or Enum.EasingDirection.Out

	duration = duration or 0.5

	local propertyGoals = {}

	local isTable = type(value) == "table"

	for i,property in pairs(properties) do
		propertyGoals[property] = isTable and value[i] or value
	end
	local tweenInfo = TweenInfo.new(
		duration,
		style,
		direction
	)
	local tween = game:GetService("TweenService"):Create(object,tweenInfo,propertyGoals)
	tween:Play()

	return tween
end
