Hello Everyone! i was wondering if anyone knew why UI would not be showing for members of the group that owns my game / the group i use for my game. When they join the group, the ui works and is able to become visible, but if they arent in the group it doesnt work. To my knowledge this isnt the doing of any of my scripts.
Could we see the script that handles the UI visibility changing?
I dont really wanna show the script since it’s a long script and im using it in my game, but it literally just sets the visibility to true when a tool is equipped and false when its unequipped. Im not sure if they have to be in the group now it seems like it just randomly works or doesnt
It’d at least help us get to see where the issue may lie about though, without it we just have to randomly guess what it could possibly be
its not an issue with the script, sometimes it works the whole game and sometimes it just doesnt work at all, its not an error within the script that sets the ui’s visibility
Global Domination - Roblox heres a link to the game this might help
tool.Equipped:Connect(function()
ui.Visible = true
equipped = true
selectionLasso = Instance.new("SelectionPartLasso")
selectionLasso.Parent = player.Character
selectionLasso.Color3 = Color3.fromRGB(255,255,255)
selectionLasso.Humanoid = player.Character.Humanoid
end)
tool.Unequipped:Connect(function()
ui.Visible = false
equipped = false
destroyMouseRadius()
selectionLasso:Destroy()
end)
I’d just add like 3 print statements: 1 at the start of the script, & 2 inside the Events so that they work fine
I figured out the issue, for some reason the screengui is no longer the uis parent when you die
Wait, is the ScreenGui object still parented to the Player’s Gui when LoadCharacter is called?
It has to be, otherwise the main UI still wouldnt show