I have a local script inside of a text button, which is inside a surfacegui, inside workspace, when I click it it is supposed to make a frame called laptop visible, but it doesn't, it also doesn't print the text?

script.Parent.MouseButton1Click:Connect(function(plr)
	print("ok")
	plr.PlayerGui.ScreenGui.Laptop.Visible = true
end)

Thanks!