Note : "Cash" is not a leaderstat, its a value directly under Player.
function onClicked(player)
if player.Cash.Value >= 75 then
player.PlayerGui.Teleport.YouSure.Visible = true
elseif player.Cash.Value < 75 then player.PlayerGui.Teleport.Nope.Visible = true
wait(5) player.PlayerGui.Teleport.Nope.Visible = false
end end
script.Parent.ClickDetector.MouseClick:connect(Click)

1 comment
PlayerGui > Teleport > YouSure / Nope