1 | Frame = game.StarterGui.ScreenGui.WarlandsGameInfo |
2 |
3 | function onClick() |
4 | Frame.Visible = true |
5 | end |
6 |
7 | script.Parent.MouseButton 1 Click:connect(onClick) |
WHen I click the button, nothing happens.
Because you have to get all the players, it doesnt update, try this
1 | Frame = ScreenGui.WarlandsGameInfo |
2 |
3 | function onClick() |
4 | for k, p in pairs (game.Players:GetPlayers()) do |
5 | p.PlayerGui.Frame.Visible = true |
6 | end |
7 |
8 | script.Parent.MouseButton 1 Click:connect(onClick) |