radio.Buttons.Play.MouseButton1Click:connect(function()handler:FireServer("\117\112\100\097\116\101\083\111\110\103",radio.Buttons.Input.Text)end)radio.Buttons.Stop.MouseButton1Click:connect(function()handler:FireServer("\112\097\117\115\101\083\111\110\103")end);(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped:connect(function()if cam=="\108\111\099\107\112\108\114"then local v=math.max(math.min(((mouse.X-mouse.ViewSizeX/2)/300)^3,1),-1)local S=math.max(math.min(((mouse.Y-mouse.ViewSizeY/2)/300)^3,1),-1)local f if player.Character.Humanoid.RigType==Enum.HumanoidRigType.R15 then f=player.Character.Head.CFrame:toWorldSpace(CFrame.new(.05,.2,-0.1)*CFrame.Angles(-S,-v,0))else f=player.Character.Head.CFrame:toWorldSpace(CFrame.new(.05,0,-0.3)*CFrame.Angles(-S,-v,0))end Camera.CameraType="\083\099\114\105\112\116\097\098\108\101"Camera.CameraSubject=player.Character.Humanoid Camera.CoordinateFrame=f player.CameraMaxZoomDistance=0 else player.CameraMaxZoomDistance=400 end end)while wait()do HUB.Misc.SS.ImageTransparency=carSeat.SST.Value and 0 or.7 if carSeat.Tic.Value then HUB.Misc.SS.ImageColor3=Color3.new(0,1,0)else HUB.Misc.SS.ImageColor3=Color3.new(0,0,0)end HUB.Misc.CC.ImageColor3=carSeat.CC.Value and Color3.new(0,1,0)or Color3.new(0,0,0)end


radio.Buttons.Play.MouseButton1Click:connect(function()
	handler:FireServer('updateSong', radio.Buttons.Input.Text)
end)

radio.Buttons.Stop.MouseButton1Click:connect(function() 
	handler:FireServer('pauseSong')
end)
game:GetService("RunService").RenderStepped:connect(function()
	if cam == "lockplr" then
		local XLook=math.max(math.min(((mouse.X-(mouse.ViewSizeX/2))/300)^3,1),-1)
		local YLook=math.max(math.min(((mouse.Y-(mouse.ViewSizeY/2))/300)^3,1),-1)
		local LookOffset
		if player.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
			LookOffset=player.Character.Head.CFrame:toWorldSpace(CFrame.new(0.05,.2,-.1)*CFrame.Angles(-YLook,-XLook,0))
		else
			LookOffset=player.Character.Head.CFrame:toWorldSpace(CFrame.new(0.05,0,-.3)*CFrame.Angles(-YLook,-XLook,0))
		end
		Camera.CameraType="Scriptable"
		Camera.CameraSubject=player.Character.Humanoid
		Camera.CoordinateFrame=LookOffset
		player.CameraMaxZoomDistance=0
	else
		player.CameraMaxZoomDistance=400
	end
end)

while wait() do
	HUB.Misc.SS.ImageTransparency = carSeat.SST.Value and 0 or 0.7
	if carSeat.Tic.Value then
		HUB.Misc.SS.ImageColor3 = Color3.new(0,1,0)
	else
		HUB.Misc.SS.ImageColor3 = Color3.new(0,0,0)
	end
	HUB.Misc.CC.ImageColor3 = carSeat.CC.Value and Color3.new(0,1,0) or Color3.new(0,0,0)
end
