Why is my UI UI visible?

  1. What do you want to achieve? That my UI is visible

  2. What is the issue? The script thinks it’s visible but the property isn’t checked while playtesting

  3. What solutions have you tried so far? I’ve tried looking but nothing worked

local player = game.Players.LocalPlayer

game.ReplicatedStorage.robuxBuyLabel.OnClientEvent:Connect(function()
	print("event fired!")
	script.Parent.ZIndex = 999999999999999999999999999
	print("Set ZIndex")
	script.Parent.Visible = true
	print("Visible")
end)

And yes all the prints show up in the output

I hope someone can help!

What do you mean by the property isn’t checked? Can you perhaps provide a code snippet of the serverscript that’s firing to client?

Oh, I just found out what it was… I made the figure of ZIndex to high- and I found this out after struggling for an hour… and then making a post…