local player = game.Players.LocalPlayer
if player.leaderstats.Items.Value > 2 then
	player.PlayerGui.ScreenGui.Frame.Visible = true
end

3 comments

0

Produces no errors

0

Is that all the code?

0

I have the code for when the button is pressed and the points.