User=nil Connector=game.Workspace:FindFirstChild("\071\108\111\098\097\108\080\105\097\110\111\067\111\110\110\101\099\116\111\114")if not Connector or not Connector:IsA("\082\101\109\111\116\101\069\118\101\110\116")then error("\084\104\101 \112\105\097\110\111 \114\101\113\117\105\114\101\115 \097 \082\101\109\111\116\101\069\118\101\110\116 \110\097\109\101\100 \071\108\111\098\097\108\080\105\097\110\111\067\111\110\110\101\099\116\111\114 \116\111 \098\101 \105\110 \087\111\114\107\115\112\097\099\101\046")end local I=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")function Tween(b,V,p,h,...)local t=TweenInfo.new(p,...)local i=I:Create(b,t,V)i:Play()if h then i.Completed:wait()end return end for I,b in pairs(Piano.Keys.Keys:GetChildren())do b.Transparency=1 end
----------------------------------
------------VARIABLES-------------
----------------------------------

User = nil

Connector = game.Workspace:FindFirstChild("GlobalPianoConnector")
if not Connector or not Connector:IsA("RemoteEvent") then
	error("The piano requires a RemoteEvent named GlobalPianoConnector to be in Workspace.")
end
local TweenService = game:GetService("TweenService")
function Tween(obj, Goal, Time, Wait, ...)
	local TwInfo = TweenInfo.new(Time, ...)
	local twn = TweenService:Create(obj, TwInfo, Goal)
	twn:Play()
	if Wait then
		twn.Completed:wait()
	end
	return
end
for i, v in pairs(Piano.Keys.Keys:GetChildren()) do
	v.Transparency = 1
end
