function HighlightPianoKey(S,w)if not Settings.KeyAesthetics then return end local J=math.ceil(S/12)local Z=(S-1)%12+1 if IsBlack(S)then AnimateKey(S,0,.05,0,6,0,0,.13)else AnimateKey(S,0,.1,0,8,0,0,.13)end end
--[[
AnimateKey(note1,px,py,pz,ox,oy,oz,Time)
--note1(1-61), position x, position y, position z, orientation x, orientation y, orientation z, time

local obj = --object or gui or wahtever goes here
local Properties = {}
Properties.Size = UDim2.new()
Tween(obj,Properties,2,true,Enum.EasingStyle.Linear,Enum.EasingDirection.Out,0,false)
--Obj,Property,Time,wait,Easingstyle,EasingDirection,RepeatAmt,Reverse
]]

function HighlightPianoKey(note1, transpose)
	if not Settings.KeyAesthetics then
		return
	end
	local octave = math.ceil(note1 / 12)
	local note2 = (note1 - 1) % 12 + 1

	if IsBlack(note1) then
		AnimateKey(note1, 0, 0.05, 0, 6, 0, 0, 0.13)
	else
		AnimateKey(note1, 0, 0.1, 0, 8, 0, 0, 0.13)
	end
end
