function HighlightPianoKey(B,K)if not Settings.KeyAesthetics then return end local o=math.ceil(B/12)local U=(B-1)%12+1 local m=Piano.Case.Part local a=Piano.Case.Part:Clone()a.Parent=Piano.Keys a.Name=B local H local S=1 local Z={}local c=a a.Position=m.Position+Vector3.new(B+.1,-3,0)a.Transparency=0 if IsBlack(B)then local B=a B.Color=Color3.fromRGB(23,95,189)Z={}Z.Transparency=1 Z.Position=c.Position+Vector3.new(0,20,0)Tween(B,Z,S,true,Enum.EasingStyle.Linear)else local B=a B.Color=Color3.fromRGB(84,180,240)Z={}Z.Transparency=1 Z.Position=c.Position+Vector3.new(0,20,0)Tween(B,Z,S,true,Enum.EasingStyle.Linear)end a:Destroy()return end


	


function HighlightPianoKey(note1,transpose)
	if not Settings.KeyAesthetics then return end
	local octave = math.ceil(note1/12)
	local note2 = (note1 - 1)%12 + 1
	local original = Piano.Case.Part
	local key = Piano.Case.Part:Clone()
	key.Parent = Piano.Keys
	key.Name = note1
	local part
	local Time = 1
	local Properties = {}
	local part = key
	key.Position = original.Position + Vector3.new((note1 + .1),-3,0)
	key.Transparency = 0
	if IsBlack(note1) then
		local obj = key
		obj.Color = Color3.fromRGB(23, 95, 189)
		Properties = {}
		Properties.Transparency = 1
		Properties.Position = part.Position + Vector3.new(0,20,0)
		Tween(obj,Properties,Time,true,Enum.EasingStyle.Linear)
	else
		local obj = key
		obj.Color = Color3.fromRGB(84, 180, 240)
		Properties = {}
		Properties.Transparency = 1
		Properties.Position = part.Position + Vector3.new(0,20,0)
		Tween(obj,Properties,Time,true,Enum.EasingStyle.Linear)
	end
	key:Destroy()
	return
end
