It has an error when i play the game With 2 Players and i'm not sure why Here's The Code
game.Players.LocalPlayer.PlayerGui.InventoryGui.Inventory2.MouseButton1Click:connect(function()
----------Open print("rgdr") game.Players.LocalPlayer.PlayerGui.InventoryGui.Frame.Visible = true ---------Spawn Plane game.Players.LocalPlayer.PlayerGui.InventoryGui.Frame.SpawnPlane.MouseButton1Click:connect(function() ----What Will Happen When you Spawn The Plane end) -----CLOSE if game.Players.LocalPlayer.PlayerGui.InventoryGui.Frame.Visible == true then game.Players.LocalPlayer.PlayerGui.InventoryGui.Frame.Close.MouseButton1Click:connect(function() game.Players.LocalPlayer.PlayerGui.InventoryGui.Frame.Visible = false end) end
end