So I basically want to make it so that if a player is on a certain team (In this instance the team is called "Staff") then This Text Button should be visible for them.
if game.Players.LocalPlayer.Team.Name == "Staff" then
local player = game.Players.LocalPlayer
player:WaitForChild("PlayerGui").ScreenGui.Spawn.Disable.Visible = true
end
I have no idea if this works under filtering enabled but when I tried "Play Solo" in studio it didn't work either Add me on discord if you don't get the question 3ptWRLD#8788

3 comments
You need remote events and learn server to client stuff.
Pretty sure it's not working because if statements run only once.
then put a loop lol