im making a script once the button is pressed, a framegui becomes visible once its pressed, the surfacegui is in ScreenGui adorneed to a part, but for some reason the script doesn't work
Script In Button In SurfaceGui In StarterGui
game:GetService("Players").PlayerAdded:Connect(function(plr)
script.Parent.MouseButton1Click:Connect(function()
plr.PlayerGui.hui.ImageLabel.UploadTab.Visible = true
end)
end)
