Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Anyone know why this isnt working for HDs topbar icons?

Asked by
FBS_8 25
3 years ago
local Icon = require(game:GetService("ReplicatedStorage").Icon)
local frame = game.StarterGui.Settings

Icon.new()
    :setImage(1188759245)
    :setTip("Settings")
    .deselected:Connect(function()
        frame.Enabled = false
    end)
    .selected:Connect(function()
        frame.Enabled = true
    end)

Answer this question