help pls. The button is in the correct position on most screens but one player had it like this where it’s more towards the center. Why??
local Player = game.Players.LocalPlayer
local UI = Player.PlayerGui
local isVisible = true
local Icon = require(game.ReplicatedStorage:WaitForChild("Icon"))
local icon = Icon.new()
:setName("HideUI")
:setImage(102976018150012, "Deselected")
:setImage(78557519106400, "Selected")
:autoDeselect(false)
icon.toggled:Connect(function()
isVisible = not isVisible
for _, child in ipairs(UI:GetChildren()) do
if child:IsA("ScreenGui") and child.Name ~= "TopbarStandard" and child.Name ~= "AdminPanelGui" and child.Name ~= "PlayerGui" and child.Name ~= "ThumbnailUI" then
child.Enabled = isVisible
end
end
end)
